1.Functional Description
1.1Purpose
This business function sets level messages for errors encountered during processing of Inbound Transactions for Condition Based Alerts.
1.2Setup Notes and Prerequisites
The function is designed specifically for setting Workflow Messages for the Inbound Meter Reading transactions. Therefore several set up steps need
to be done before and after calling this function.
1.3Special Logic
The Form Interconnect will bring the user to the Work With Meter Reading Transactions application (P2120Z1).
2.Technical Specifications
2.1BSFN Data Structure - DLM12120
2.2Parameters:
Data Structure
DescriptionI/ORequiredNotes
EDUSszEdiUserIdI
EDBTszEdiBatchNumberI
EDTNszEdiTransactNumberI
EDLNmnEdiLineNumberI
EV01cErrorOrWarningI1 =Error message. 2=Warning message
EV01cIncludeInterconnectI1= Display a link to P12120Z1 in the work
center
DRINcDirectionIndicatorIUse this parameter if IncludeInterconnect is selected.
Specify the Direction Indicator for P12120Z1 application. This
will be used
when calling the P12120Z1application from the
link on the Work Center.
1 = Display inbound records
2 = Display outbound records
Blank = Use
default Direction Indicator specified in P12120Z1
processing options.
Note: Currently P12120Z1 displays only Inbound transactions
because there is no
outbound transaction process at this time.
EV01cViewModeIUse this parameter if IncludeInterconnect is selected.
Specify the View Mode for
P12120Z1 application. This will be
used when calling the P12120Z1application from the link on
the Work Center.
1 = Display unprocessed records
2 =
Display successfully processed records
3 = Display records with errors
* = Display all records
Blank = Use default View Mode specified in P12120Z1
processing options.
GENLNGidPPATMessagePtrI
2.3Processing
Copy the Input User Id, Batch, Transaction Number and Line Number into the Level Error Message (LM12120) or the
Level Warning Message (LM12120B) depending on the cErrorOrWarning flag and set it as the level message.
If IncludeInterconnect = 1 then include a form interconnect in the level message andwill store the values of szEdiUserId,
szEdiBatchNumber, szEdiTransactNumber, DirectionIndicatorand, and cViewMode with this interconnect. A form
interconnect will be displayed for the level message in the Work Center. When interconnect clicked, it will launch P12120Z1
application with the above parameters.
DLM12120 - Set Level Errors - Inbound Meter Readings
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szEdiUserId | EDUS | char | OPT | NONE |
The source of the transaction. This can be a user ID, a workstation, the address of an external system, a node on a network, and so on. This
| ||||
szEdiBatchNumber | EDBT | char | OPT | NONE |
The number that the transmitter assigns to the batch. During batch processing, the system assigns a new batch number to the PeopleSoft
| ||||
szEdiTransactNumber | EDTN | char | OPT | NONE |
The number that an Electronic Data Interchange (EDI) transmitter assigns to a transaction. In a non-EDI environment, you can assign any
| ||||
mnEdiLineNumber | EDLN | MATH_NUMERIC | OPT | NONE |
This is the line number you assign when originating an EDI transaction. This number can represent an order line number (applicable for any
| ||||
cIncludeInterconnect | EV01 | char | OPT | NONE |
Pass 1 if you want the message to have a link to P12120Z1 application. | ||||
cDirectionIndicator | DRIN | char | OPT | NONE |
Use this parameter if IncludeInterconnect is selected. | ||||
cViewMode | EV01 | char | OPT | NONE |
Use this parameter if IncludeInterconnect is selected. | ||||
idPPATMessagePtr | GENLNG | ID | OPT | NONE |
General purpose ID variable. | ||||
cErrorOrWarning | EV01 | char | OPT | NONE |
Use this flag to specify the type of level message. |
None |
None |