Functional Description
Purpose
The DraftRemittanceFromatDriver launches the UBE by using the values passed to it.
Setup Notes and Prerequisites
This function is used primarily in R03B672. The function calls a UBE based upon the UBE name and its
version passed into parameter szProgramID and szVersion. If this function is used anywhere else other
than R03B672, ignore any additional parameters other than Program ID, Version, and User. When called
within R03B672, additional parameters are returned (see output parameters below) that are used only by
R03B672.
Special Logic
This function will also pass parameters to the data structure of the UBE that it calls. If it calls
R74S540, the function will pass szProgramIdKey, szVersionKey, and szUserId to the R74S540. If it
calls other UBEs, the function will pass szProgramId, szVersion, and szUserId to the UBEs.
Technical Specification
Parameters:
Data Item Data Structure DescriptionI/OReqNotes
PIDszProgramIdIY
VERSszVersionIY
USERszUserIdIY
PIDszProgramIdKeyIN
VERSszVersionKeyIN
GPBTmnBatchNumberONThe F007101 batch
error occurred.
Related Tables
F983051Versions List
Processing
Initialize fields.
Open table F983051.
Load keys to versions list table.
Fetch versions list record to retrieve report id and version id.
Retrieve computer information.
If szProgramId is not equal to R74S540
Load parameters to call UBE.
Else
Load specific parameters for R74S540.
Launch UBE using jdeLaunchUBE.
Load return parameters (GPBT, GPTN, Error Status, Format Type).
Close table F983051.
^
D03B0160 - Draft Remittance Format Driver
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szProgramId | PID | char | NONE | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
szVersion | VERS | char | NONE | NONE |
A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined
| ||||
szUserId | USER | char | NONE | NONE |
The code that identifies a user profile. | ||||
szProgramIdKey | PID | char | OPT | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
szVersionKey | VERS | char | OPT | NONE |
A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined
| ||||
mnBatchNumber | GPBT | MATH_NUMERIC | OPT | OUTPUT |
A number that identifies a group of transactions that the system processes together. The system assigns this number using Next Numbers. | ||||
szTransactionNumber | GPTN | char | OPT | OUTPUT |
A unique alphanumeric field that identifies a text batch. The transaction number is determined by the process that creates the text batch. | ||||
cErrorStatus | EV01 | char | OPT | OUTPUT |
An option that specifies the type of processing for an event. | ||||
cFormatType | EV01 | char | OPT | OUTPUT |
An option that specifies the type of processing for an event. |
None |
None |