Summary
How it works
Crystal Reports
Date
COPY_ARRAY
IS_WEEKEND
Decimal
COPY_ARRAY
Development
LINK_OPEN
VALIDATE
VALIDATE_TRANSACTION
VIEW_SCREEN
Integer
COPY_ARRAY
Short Integer
COPY_ARRAY
File
CREATE_DIRECTORY
CSV_TO_XLSX
DEL_DIRECTORY
DOWNLOAD
GET_COMPLETE_NAME
GET_EXTENSION
GET_HASH
GET_NAME
LIST_DIRECTORIES
LIST_FILES
PATH_TO_VOLUME
UNZIP
UPLOAD
VOLUME_TO_PATH
ZIP
FTP
DELETE
DOWNLOAD
LIST
UPLOAD
Image
GENERATE_CODE
IMAP
LIST_DIRECTORIES
JSON
COUNT
DEL_KEY
GET_KEYS
GET_ONE
GET_POS_KEY
GET_TYPE
GET_VALUE
SET_VALUE
TO_ARRAY
SMS
SEND
SMTP
SEND_EMAIL
Stock
GET_AVAILABLE_QTY
GET_COST
Text
COPY_ARRAY
COUNT_OCCURRENCES
HTML_DECODE
HTML_ENCODE
HTML_TO_TXT
IS_NUMERIC
LINK_DECODE
LINK_ENCODE
RANDOM
REPLACE
RTF_TO_TXT
SPLIT
TO_BASE64
User
CHECK_PASSWORD
Sale
CLOSE_ORDER
GET_PRICE
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