SETCODE |
This entry point is provided for IFCAP to set the
GENERIC CODE SHEET STACK File (#2100.1) M code which will be executed when the
code sheet is accepted or rejected by FMS in Austin.
The entry point is called as follows:
DO SETCODE^GECSSDCT(1,2)
where the variables 1, 2 must be passed by the calling program.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
1 |
Input |
The internal entry number of the GENERIC CODE SHEET
STACK File (#2100.1) entry. This variable is required and must be passed as
the first parameter.
|
2 |
Input |
The M code label^routine which will be executed when
processing the accept/reject server message. It should be in the form 'DO
LABEL^ROUTINE'. When LABEL^ROUTINE is called, it will use parameter passing
and pass the following variables:
1 The FMS document number which is the .01 entry
in the GENERIC CODE SHEET STACK File (#2100.1);
2 A flag to indicate if the code sheet was
accepted or rejected. Pass A for accepted, or
R for rejected.
Also, if the code sheet is rejected, the reject message will be stored in
TMP($J,"GECSSDCT",linenumber,0).
|
|
SETPARAM |
This entry point is provided for IFCAP to set the
parameters in the GENERIC CODE SHEET STACK File (#2100.1) which will be used
when rebuilding the FMS code sheets.
The entry point is called as follows:
DO SETPARAM^GECSSDCT(1,2)
where the variables 1, 2 must be passed by the calling program.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
1 |
Input |
The internal entry number of the GENERIC CODE SHEET
STACK File (#2100.1) entry. This variable is required and must be passed as
the first parameter.
|
2 |
Input |
The parameters used when rebuilding the code sheet.
This is free text from 1 to 200 characters. This variable is required and
must be passed as the second parameter.
|
|
PROCESS |
This entry point is provided for IFCAP to process the
document confirmation transaction (DCT) from the server. The entry point will
update the GENERIC CODE SHEET STACK File (#2100.1) entry as accepted or
rejected. If there is M code set by the entry point SETCODE^GECSSDCT, the M
code will be executed after setting the GENERIC CODE SHEET STACK File
(#2100.1) entry status.
The entry point is called as follows:
DO PROCESS^GECSSDCT(1,2)
where the variables 1, 2 must be passed by the calling program.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
1 |
Input |
The stack entry name .01 field. This variable is
required and must be passed as the first parameter.
|
2 |
Input |
Pass A for accepted or R for rejected. This variable
is required and must be passed as the second parameter.
|
TMP |
Input |
Pass the accept or reject mail message in the global
^TMP($J,"GECSSDCT",linenumber,0). The mail message will be sent to the users
responsible for submitting the code sheet. This global is optional.
|
|