respAddNumValueAsString()

This procedure adds Numeric value as string value for existing field. The big numeric (more than 15 digits) must be passed as string via JSON.

ParameterTypeDescription
ptrPOINTERMandatoryPointer to field
numericValue30P 9MandatoryNumeric value

The procedure returns pointer of field. If procedure can’t add value, then returns null.

NOTE: Numeric values must be rounded to reqired number of decimals prior to add value to response. `

Examples:

xxPtr = respAddField('data': 'palletId');
respAddNumericValue(xxPtr: 123456789012345678);
//This will put into response 'palletId':'123456789012345678'