FrontCallRequest
The FrontCallRequest type defines a record for retrieving front call request details.
Syntax
PUBLIC TYPE FrontCallRequest RECORD
frontCall RECORD
moduleName STRING,
functionName STRING,
paramCount INTEGER,
returnCount INTEGER,
parameters DYNAMIC ARRAY OF RECORD
dataType STRING,
isNull BOOLEAN,
value STRING
END RECORD
END RECORD,
errorMessage STRING
END RECORD
moduleName
is the name of the front call modulefunctionName
is the name of the front call functionparamCount
holds the number of function parametersreturnCount
holds the number of values returned by the function- The
parameters
array holds the list of the function parameters and their details in the record:dataType
is the data type of the parameterisNull
if set, a null value is allowedvalue
holds the parameter value
errorMessage
contains details of an error message
Usage
It provides an API to inspect a front call request; typically the module name, the function name,
parameters, etc. A variable of the type FrontCallRequest
must be defined to call
these methods, for example:
DEFINE fcRequest FrontCallRequest
DEFINE moduleName STRING
...
LET moduleName = fcRequest.getModuleName()