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_JSON_SET_VALUE(Clbfile JSON_OUT, Char KEY_IN, Char TYPE_IN, Clbfile VALUE_IN) : Tinyint
Add or modify a key and a value to a Json
- JSON_OUT Clbfile : Original Json and returned modified
- KEY_IN Char : Key to insert / update
- TYPE_IN Char : Type of data to insert:
- b : boolean (true, false)
- a : alphanumeric (SageX3, L.V. expertise X3)
- n : numeric (10, 1.23)
- d : date (YYYY-MM-DDThh:mm:ssZ)
- c : collection ([{},{}])
- t : array (["",""])
- j : json ({...})
- o : BinData
- i : ObjectId
- u : NumberInt
- z : not determined (not found or null)
- VALUE_IN Clbfile : The value to insert in one of the following formats:
- Strings : string > "string"
- Dates : 2021-01-16T21:42:42.132Z : "ISODate("2021-01-16T21:42:42.132Z")"
- Numerics : 2.30 > 2.30
- Booleans : true > true
- Collections : [{},{}] > [{},{}]
- Json : {} > {}
- Null : null > null
- ObjectId : 123456789 > ObjectId("123456789")