FrontCallAnswer
The FrontCallAnswer type defines a record for retrieving the result of a front call.
Syntax
PUBLIC TYPE FrontCallAnswer RECORD
type STRING,
status STRING,
errorMessage STRING,
returnValues DYNAMIC ARRAY OF RECORD
isNull BOOLEAN,
value STRING,
index INTEGER,
dataType STRING
END RECORD
END RECORD
type
is the name of the front call type-
status
is an error status string errorMessage
holds details of an error message- The
returnValues
array holds the list of the function's return values:isNull
if set, a null value is allowedvalue
holds the return valueindex
holds the index positiondataType
is the data type of the return value
Usage
It provides an API to inspect a front call answer; typically the module, and the function status,
error type, and return values. A variable of the type FrontCallAnswer
must be
defined, for example:
DEFINE fcAnswer FrontCallAnswer
...
CALL fcAnswer.moduleNotFound()