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
moduleNameis the name of the front call modulefunctionNameis the name of the front call functionparamCountholds the number of function parametersreturnCountholds the number of values returned by the function- The
parametersarray holds the list of the function parameters and their details in the record:dataTypeis the data type of the parameterisNullif set, a null value is allowedvalueholds the parameter value
errorMessagecontains 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()