GENERAL DESCRIPTION |
To activate the data extraction process of the Accounts
Receivable package, the MCCR National Database - Field Component, using
indirection, will issue the following call using parameter passing:
D EN1^PRCANRU(PRQDAT,PRQSTR,PRQIDN,.PRQERR)
Where: PRQDAT is a pieced variable, with ^ as the piece delimiter, as
follows: site number ^ batch number ^ from date ^ to date
PRQSTR is a variable which defines a global root where the
package extraction routine will place the data according to the
format below.
PRQIDN is a unique identifier number
PRQERR is an error flag which will be set to
"1 DATA COLLECTION ABORTED". The extract routine
must reset this variable so it evaluates to zero as an indicator
that the extraction process ran to completion.
Data is stored using the global root as follows:
PRQSTR_","_criteria#1_"-"_criteria#2)=#count^$amount
for example: ^TMP("PRQ","2020D611","1-1")=50^25000
The actual line of code in the MCCR National Database - Field Component will
appear as:
D @(extractor entry point) D DRIVER^PRQSD.
Finally, the code for invoking the routine will exist as an entry in the MCCR
Collections Routine file.
The AR package may directly enter an extractor routine into the MCCR
Collection Routines file (file #466), as part of its installation procedure.
The entry must include routine name and status, and proper cross-references
for these two fields. The routine name should include a "#" character to
indicate the proper position of the "^". Status may be either active or
inactive. Inactive extractors will not be invoked by the MCCR National
Database software.
The following extractor will be entered during installation of the MCCR
National Database - Field Component:
EN1#PRCANRU(PRQDAT,PRQSTR,PRQIDN,.PRQERR).
This entry may be modified, or other entries added, in subsequent AR releases
with prior notification to, and concurrence of, the San Francisco ISC.
|