Name | Value |
---|---|
NAME | SCRP QUERY VALIDATE |
TAG | VALID |
ROUTINE | SCRPBK4 |
RETURN VALUE TYPE | ARRAY |
AVAILABILITY | RESTRICTED |
DESCRIPTION | This RPC will validate the criteria specified in the query template definiton passed in as part of the call. The validation checks the criteria against what data is required the report assoicated with the template. If the validation check fails, then the errors found are returned as part of the RPC, otherwise a success flag(1) is returned. |
INPUT PARAMETER |
|
RETURN PARAMETER DESCRIPTION | Using SCDATA to represent the array, the following is returned: SCDATA(0) -> 1 - meaning validation checks found no errors --- OR --- SCDATA(0) -> 0 - meaning errors found ^ <number of errors> SCDATA(1...n) -> error text |