1.Functional Description
1.1Purpose
This program Sends error messages to the Agent Message Center (PPAT). Three formats are produced.
Segment Validation error messages are created for either segment data that is miss-matched to the
Configured Item Segments (F3291), or for segment answers that do not pass segment validation. For these
situations the message will be derived using text substitution on error message LM0062.
Cross Segment Editing errors will have a verbose message created using the existing configurator
business function. For these situations the message will be derived using text substitution on error
message LM0063.
Assembly Inclusion errors will be sent to the Agent Message Center using text substitution on error
message LM0064.
1.2Setup Notes and Prerequisites
The calling program must have already created the message stream, and included the idPPAT_MsgPtr
address of the stream.
1.3Special Logic
2.Technical Specifications
2.4Processing
All Modes
If the primary item number and description are not passed as parameters
Call Get Item Master From Short Item (X4101)
Mode 1 Segment Validation
If the segment description is blank
Call Get Configured Item Segment Row (B3200220)
Format the PPAT message using the following input parameters:
Configured component primary item number UITM
Configured component item description DSC1
Segment Number PEL
Segment Description DSC2
If the error is a segment miss-match (input parameter)
Append the formatted message with "Segment Data Not Matched"
Else (the segment answer did not pass validation)
Append the formatted message with the description of the segment error mode (input
parameters)
Call Get Data Dictionary Definition (B9800420) to get the text string for Mode 1 Detail
End If
Call Segment Validation Error BLM0062 to generate the PPAT message
Mode 2 Formatted Cross Segment Editing Errors
Format the PPAT message using the following input parameters:
Configured component primary item number UITM
Configured component item description DSC1
CSE Rule Number - ATO#
CSE Rule Sequence -ATOS
Call F3292 Get Cross Segment Editing Row (B3200200) to format the error message
Call Cross Segment Editing Error BLM0063 to generate the PPAT message
Mode 3 Formatted Assembly Inclusion Errors
Format the PPAT message using the following input parameters:
Configured component item number ITM
Configured component item description DSC1
Call Assembly Inclusion Error BLM0064 to generate the PPAT message
All Modes
Process Batch Errors to the JDEM System Send level 3 messages to the agent message center.
^
D3201080 - Format Batch Configurator Error
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cMode_1SV_2CSE_3AIR | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cSuppressErrorMessages | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorMessageID | DTAI | char | NONE | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
| ||||
cSegmentErrorType | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnOrderNumber | DOCO | MATH_NUMERIC | NONE | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
szOrderType | DCTO | char | NONE | NONE |
A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has
| ||||
szCompanyKeyOrderNo | KCOO | char | NONE | NONE |
A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a
| ||||
mnLineNumber | LNID | MATH_NUMERIC | NONE | NONE |
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns
| ||||
mnItemNumber_Short | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szItemBranch | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szItemDescription | DSC1 | char | NONE | NONE |
Brief information about an item; a remark or an explanation. | ||||
szPrimaryDisplayItemNumber | UITM | char | NONE | NONE |
A number that the system assigns to an item. It can be in short, long, or third item number format. | ||||
mnParentSegmentNumber | PEL | MATH_NUMERIC | NONE | NONE |
A number that establishes the sequence in which the segments were defined in the system. Segment numbers are user
| ||||
szSegmentDescription | DSC2 | char | NONE | NONE |
A second, 30-character description, remark, or explanation. | ||||
mnRuleNumber | ATO# | MATH_NUMERIC | NONE | NONE |
The number associated with a set of cross-segment editing rules or assembly inclusion rules. | ||||
mnRuleSequence | ATOS | MATH_NUMERIC | NONE | NONE |
The Sequence number is the rule number within an edit group of cross-segment editing rules or assembly inclusion rules. You can insert a
| ||||
mnCacheJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. | ||||
szMode1SegmentValue | SGVL | char | NONE | NONE |
An answer to the configurator feature and option questions that appear during order entry.
When you define cross-segment editing rules,
| ||||
szMode1SystemCode | SY | char | NONE | NONE |
A user defined code (98/SY) that identifies a system. Valid values include:
01
Address Book
03B
Accounts Receivable
04
Accounts
| ||||
szMode1UserDefinedCodes | RT | char | NONE | NONE |
A code that identifies the table that contains user defined codes. The table is also referred to as a UDC type. | ||||
idPPAT_MsgPtr | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
szUserID_ErrorMsg | CTID | char | NONE | NONE |
szConfiguratorSequenceID | ATSQ | char | OPT | NONE |
Reserved by J.D. Edwards A string that is generated to uniquely identify and sequence items in a configuration. |
None |
None |