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
How it works
This library contains only funprog functions which most often request parameters by value and return a value.
The name of the variables indicates whether they are expected in Value (_IN) or Variable (_OUT).
The variable [Global Char GX3MESS(255)] contains messages and warnings.
The [Global Char GX3ERR(255)] variable contains error messages if any.
The [Global Shortint GX3TEST] variable (or the standard [V]GTEST variable) is used to indicate whether you want to write in the log (or display) the details of the operations and the errors to debug operations.
Parameters and returns with two states Yes or No are always 1 or 0 to avoid confusion.
In order to quickly find what you are looking for, the functions are prefixed by type or module:
Types :
- TEXT_ > Operations to be performed on char or clobs
- DATE_ > Operations to be performed on dates
- FILE_ > Operations to be performed on files and directories
- ...
Modules :
- PURCHASE_ > Operations concerning a functional notion of the purchasing module
- DEV_ > Operations concerning the X3 development module
- FINANCE_ > Operations concerning a functional notion of the finance module
- ...
Everything can be called in the same way everywhere in the ERP via: func X3.XXX
A demo video is also available: