1.Functional Description
1.1Purpose
This program reads records from F3211 Batch Segments Values and F3291 Configured Item Segments, and loads Segments Cache.
1.2Setup Notes and Prerequisites
The calling application is responsible for loading all appropriate key values to the data structure and identifying the mode.
There is no special logic within this function.
2.Technical Specifications
2.1Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
EV01 cValidateEnables segment validationI
EV01 cSuppressErrorsSuppress Error
MessagingI
DTAI szErrorMessageIDError Message IDO
DOCO mnOrderNumberSales Order NumberIYes
DCTO szOrderTypeSales Order Document
TypeIYes
KCOO szOrderCompanySales Order Key CompanyIYes
LNID mnParentLineSales Order Line of the ParentIYes
ITM mnItemNumberConfigured Item
NumberINot used for B9
MCU szBranchConfigured Item BranchINot used for B9
ATSQ szConfigSequenceConfigurator Sequence No.INot used for
B9
JOBS mnCacheJobCache Control NumberIYes
LNID mnLine_ToCacheLine No. to load to cacheIServer line number override
GENLNG
idPPAT_ErrorError messaging group IDI
CTID szUser_ErrorMsgError messaging User IDI
CFGIDConfigurationID #IYesStore and Forward Orig.
Config.
CFGIDNewConfigurationID #IYes
2.2Related Tables
File NameFile DescriptionPrimary/SecondaryInput/Update/Output
F3291Configured Item SegmentsPrimaryI
F3211Batch Segments
ValuesPrimaryI/U/O
2.3Related Business Functions
Source NameFunction Name
None.
2.4Processing
Select from F3211 records matching key (Config. ID#)
While (cExists ==1)
F3211.Fetch Next
Save Segment # , Segment Value and Component ID
If F3211Z1.Fetch fails
cExists = 0
Else
F3215.Fetch Single to get ShortNumber and Branch Plant
F3291.Fetch Single using ShortNumber, Branch Plant
If F3291.Fetch fails
cExists = 0
cTempCode = 5
ErrorMsgID = 2833
Else
If the validate segments option is set
Validate the segment answer for:
Ranges
UDC table lookup
Required Segment
ErrorMsgID = f(cTempCode)
End If
If ErrorMsgID is not equal
cExists = 0
Insert record to Segment Values (B3200350)
End If
If ErrorMsgID is less than or equal
cTempCode = 9
cExists = 0
End If
End If ErrorMsgID
End While
End If
If BF szErrorMessageID is greater than
Call N3201080 (Configurator Format Batch Error Message)
End If
3.2 Where Used: APPs/UBEs/NERs/BSFNs
ApplicationApplication Name
N3200700Write Configurator Files at End Doc
N3201090Configurator Batch Processing
D3201060 - F3211 Load Segment Cache
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cValidateSegments | 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
| ||||
mnSalesOrderNumber | 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
| ||||
mnParentSOLineNumber | 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 | 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
| ||||
mnCacheJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. | ||||
szConfiguratorSequenceNumb | ATSQ | char | NONE | NONE |
Reserved by J.D. Edwards A string that is generated to uniquely identify and sequence items in a configuration. | ||||
mnLineNumber_ToCache | 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
| ||||
idPPAT_MsgPtr | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
szUser_ErrorMsg | CTID | char | NONE | NONE |
mnConfigurationIDNumber | CFGID | MATH_NUMERIC | OPT | NONE |
An identifier that represents a unique configuration. It is generated by a next number value and is the key to the configuration tables. | ||||
mnNewConfigurationIDNumber | CFGID | MATH_NUMERIC | OPT | NONE |
An identifier that represents a unique configuration. It is generated by a next number value and is the key to the configuration tables. |
None |
None |