Summary
How it works
Date
COPY_ARRAY
IS_WEEKEND
Decimal
COPY_ARRAY
Development
LINK_OPEN
VALIDATE
VALIDATE_TRANSACTION
VIEW_SCREEN
Integer
COPY_ARRAY
File
CREATE_DIRECTORY
UNZIP
UPLOAD
LIST_FILES
LIST_DIRECTORIES
GET_HASH
GET_EXTENSION
GET_NAME
GET_COMPLETE_NAME
PATH_TO_VOLUME
DOWNLOAD
VOLUME_TO_PATH
ZIP
Image
GENERATE_CODE
IMAP
LIST_DIRECTORIES
JSON
COUNT
SET_VALUE
GET_KEYS
GET_TYPE
GET_POS_KEY
GET_ONE
GET_VALUE
DEL_KEY
TO_ARRAY
SMS
SEND
SMTP
SEND_EMAIL
Stock
GET_COST
GET_AVAILABLE_QTY
Text
RANDOM
COUNT_OCCURRENCES
COPY_ARRAY
SPLIT
IS_NUMERIC
HTML_DECODE
HTML_ENCODE
HTML_TO_TXT
LINK_DECODE
LINK_ENCODE
REPLACE
RTF_TO_TXT
User
CHECK_PASSWORD
Sale
GET_PRICE
CLOSE_ORDER
func X3.EN_DEV_VALIDATE_TRANSACTION(Char MODULE_IN, Integer TYPE_IN, Char CODE_IN, Char FOLDER_IN) : Tinyint
Validate transactions.
- MODULE_IN Char Code of the module to validate:
- "SAL" : Sale
- "PUR" : Purchase
- "STK" : Stock
- "MFG" : Production
- "CPT" : Accounting
- "HDK" : Customer relationship
- "GTC" : Consultation screens
- TYPE_IN Integer Function to validate according to the module:
- "SAL" :
- 0 = All
- 1 = Quote
- 2 = Order
- 3 = Open Order
- 4 = Delivery
- 5 = Invoice
- 6 = Customer Return
- 7 = Back Ready
- 8 = Return of subcontracted materials
- 52= Credit
- "PUR" :
- 0 = All
- 1 = Tenders
- 2 = Purchase requests
- 3 = Orders
- 5 = Open Orders
- 6 = Supplier receipts
- 7 = Supplier Returns
- 8 = Invoices/Credits
- 9 = Subcontracting orders
- "STK" :
- 0 = All
- 1 = Miscellaneous Inputs
- 2 = Miscellaneous outputs
- 3 = Stock Changes
- 4 = Lots Change
- 5 = Storage Plan
- 6 = Inventories
- 8 = Quality Control
- 9 = Replenishment Plan
- 10= Preparation Plan
- 11= Packing
- 12= Preparation Plan
- 51= Global production schedule
- 52= Planning workbench
- 53= Groupings
- "MFG" :
- 0 = All
- 1 = Production order
- 2 = Manufacturing follow-up
- 60= Time tracking plan
- 61= Consumption Plan
- 62= Production plan
- 63= Reintegration plan
- 65= Piloting plans
- 66= Data Sheet Map
- 90= Weigh Plan
- "HDK" :
- 0 = All
- 1 = Park
- 2 = Service Requests
- 3 = Intervention
- CODE_IN Char Code of a particular transaction to validate: STD, ALL, etc ...
- FOLDER_IN Char Name of the folder in which to validate the transactions
Example
func X3.EN_DEV_VALIDATE_TRANSACTION("SAL", 1, "", nomap)
Validates all Sales Quote entry transactions in the current file