ROR REPORTS AVAILABLE

TITLEVALUE
NAMEROR REPORTS AVAILABLE
DESCRIPTIONThe ROR REPORTS AVAILABLE remote procedure returns a list of reports (and
their parameters) available for the registry.
TAGRPAVAIL
ROUTINERORRP011
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERREGIEN
DESCRIPTIONThe REGIEN parameter should contain a valid registry IEN (IEN of the
registry parameters record in the ROR REGISTRY PARAMETERS file #798.1).
The output list will contain reports available for the registry defined by
this parameter.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONA negative value of the first "^"-piece of the Results[0] indicates that
an error occurred during the execution of the remote procedure. In this
case, the second piece of the Results[0] will contain number of the error
descriptors returned in the subsequent nodes of the Results array:

Results[0] Result Descriptor
^01: The last error code
^02: Number of the error descriptors

Results[i] Error Descriptor
^01: Error code
^02: Message
^03: Place of the error

Otherwise, number of reports and number of nodes in each report descriptor
are returned in the Results[0] and the subsequent nodes of the Results
array contain the report parameters extracted from the ROR REPORT
PARAMETERS file (#799.12).

Results[0] Result Descriptor
^01: Number of report descriptors returned
in the Results array (NREP)
^02: Number of nodes that make a single
report descriptor (RPN)

Results[1] Report Name
Results[2] Background Processing (0/1)
Results[3] reserved
Results[4] Report Code
Results[5] Report Parameters IEN
Results[6] Inactivation Date (FileMan)
Results[7] National (0/1)
Results[8] List of parameter panels
Results[9] Report Builder ($$TAG^ROUTINE)
Results[10] Default parameters (NAME=VALUE),
separated by '<*>'
Results[11] Default sorting modes (TABLE=FIELD),
separated by '<*>'

Results[12] Report Name
Results[13] Background Processing (0/1)
...

You can calculate the subscript of the item RI (from 1 to RPN) of the
report RN (from 1 to NREP) using the following formula: i = (RN-1)*RPN+RI.
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED