SetLevelInboundMeterReadings

Set Level Errors - Inbound Meter Readings

Minor Business Rule

Object Name: BLM12120

Parent DLL: CMFG

Location: Client/Server

Language: C

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.



Data Structure

DLM12120 - Set Level Errors - Inbound Meter Readings

Parameter NameData ItemData TypeReq/OptI/O/Both
szEdiUserIdEDUScharOPTNONE

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 
field helps identify both the transaction and its point of origin.

szEdiBatchNumberEDBTcharOPTNONE

The number that the transmitter assigns to the batch.  During batch processing, the system assigns a new batch number to the PeopleSoft 
transactions for each control (user) batch number it finds. 

szEdiTransactNumberEDTNcharOPTNONE

The number that an Electronic Data Interchange (EDI) transmitter assigns to a transaction. In a non-EDI environment, you can assign any 
number that is meaningful to you to identify a transaction within a batch. It can be the same as a J.D. Edwards document number.

mnEdiLineNumberEDLNMATH_NUMERICOPTNONE

This is the line number you assign when originating an EDI transaction. This number can represent an order line number (applicable for any 
order type), an invoice pay item, a journal entry line number, and so on.

cIncludeInterconnectEV01charOPTNONE

Pass 1 if you want the message to have a link to P12120Z1 application. 

cDirectionIndicatorDRINcharOPTNONE

Use 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.

cViewModeEV01charOPTNONE

Use 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.

idPPATMessagePtrGENLNGIDOPTNONE

General purpose ID variable.

cErrorOrWarningEV01charOPTNONE

Use this flag to specify the type of level message.

1=Error message (level message LM12120 will be used)

2=Warning message (level message LM12120B will be used)

Related Functions

None

Related Tables

None