ConfiguratorFormatBatchError

Configurator Format Batch Error Message

Minor Business Rule

Object Name: N3201080

Parent DLL: CMFG

Location: Client/Server

Language: NER

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.




^

Data Structure

D3201080 - Format Batch Configurator Error

Parameter NameData ItemData TypeReq/OptI/O/Both
cMode_1SV_2CSE_3AIREV01charNONENONE

An option that specifies the type of processing for an event.

cSuppressErrorMessagesEV01charNONENONE

An option that specifies the type of processing for an event.

szErrorMessageIDDTAIcharNONENONE

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 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cSegmentErrorTypeEV01charNONENONE

An option that specifies the type of processing for an event.

mnOrderNumberDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderTypeDCTOcharNONENONE

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 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szCompanyKeyOrderNoKCOOcharNONENONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnLineNumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

mnItemNumber_ShortITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szItemBranchMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szItemDescriptionDSC1charNONENONE

Brief information about an item; a remark or an explanation.

szPrimaryDisplayItemNumberUITMcharNONENONE

A number that the system assigns to an item. It can be in short, long, or third item number format.

mnParentSegmentNumberPELMATH_NUMERICNONENONE

A number that establishes the sequence in which the segments were defined in the system. Segment numbers are user 
defined. Cross-segment editing rules reference the segment numbers to ensure that the set of values defines a valid configuration. Assembly inclusion rules 
reference segment numbers and their associated values to define prices, component parts, routing, and calculated values for configured items.

szSegmentDescriptionDSC2charNONENONE

A second, 30-character description, remark, or explanation.

mnRuleNumberATO#MATH_NUMERICNONENONE

The number associated with a set of cross-segment editing rules or assembly inclusion rules.

mnRuleSequenceATOSMATH_NUMERICNONENONE

The Sequence number is the rule number within an edit group of cross-segment editing rules or assembly inclusion rules. You can insert a 
line within a rule to assign a new sequence number.

mnCacheJobNumberJOBSMATH_NUMERICNONENONE

The job number (work station ID) which executed the particular job.

szMode1SegmentValueSGVLcharNONENONE

An answer to the configurator feature and option questions that appear during order entry. When you define cross-segment editing rules, 
you compare the segment answers to values to determine invalid configurations. When you define assembly inclusion rules, you create unique 
configurations by comparing the segment answers to values to assign parts, prices, calculated values, or routing steps.

szMode1SystemCodeSYcharNONENONE

A user defined code (98/SY) that identifies a system. Valid values include: 01 Address Book 03B Accounts Receivable 04 Accounts 
Payable 09 General Accounting 11 Multicurrency

szMode1UserDefinedCodesRTcharNONENONE

A code that identifies the table that contains user defined codes. The table is also referred to as a UDC type.

idPPAT_MsgPtrGENLNGIDNONENONE

General purpose ID variable.

szUserID_ErrorMsgCTIDcharNONENONE

szConfiguratorSequenceIDATSQcharOPTNONE

Reserved by J.D. Edwards A string that is generated to uniquely identify and sequence items in a configuration.

Related Functions

None

Related Tables

None