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
  1. type is the name of the front call type
  2. status is an error status string
  3. errorMessage holds details of an error message
  4. The returnValues array holds the list of the function's return values:
    1. isNull if set, a null value is allowed
    2. value holds the return value
    3. index holds the index position
    4. dataType 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()