1.Functional Description
1.1Purpose
This Named ER was originally designed specifically for Sales Order Entry, however after redesign it is open for different options . It writes
configurator files using the data stored in the configurator caches. It should be called after processing it's cache/work file has been completed.
1.2Setup Notes and Prerequisites
Before using, all choices have been made, all rules processed, all caches loaded..
'b7
1.3Special Logic
There is no special logic within this function.
2.Technical Specifications
2.1Parameters:
Common Parameters:
Data Item DescriptionsI/OReqNotes
DOCOSales Order NumberIN
DCTOSales Order Document TypeIN
KCOOSales Order CompanyIN
JOBSJob NumberIY
EV01ModeIY '1' Adding Sales Order (System 42) '2' - Canceled out of Sales Order (System 42) Note: All other systems use
mode 1 only
EV01WebModeI
EV01Store & Forward FlagIO'1' - Store and Forward Mode
SYSystem CodeIY
SFXOOrder SuffixIN
2.2Related Tables
Table Table Description
F3201Configurator Master Table
F3211Configurator Segment Detail
F3215Configurator Component Table
F3216Configurator Price/Cost Table
2.3Related Business Functions
Source NameFunction Name
N3201640UWriteConfigF3216Records
B3201600WriteConfigF3211Records
B3201580WriteConfigF3215Records
N3201500WriteConfigF3201Records
B3200350Cache, Process Segment Values
B3200370Cache, Process All Components
B3200400Cache, Process Price Cost
2.4Processing
ActionCode=1 (Read First)
CacheCodeErrror = 0
SaveConfigID = 0
If ( Mode is not 2 )
Determine ProgramID based on System Code
If System Code == 48 OR 42
Call X4801 End Document
End If
While (CacheCodeErrror == 0)
Call "CacheProcessConfigurationID" (B3201470)
Retrieve : Configuration ID Number
ActionCode=6 (Read Next)
If (CacheCodeErrror == 0 && SaveConfigID != B3201470.ConfigID)
Call N3201620 to write Configurator's Zero Records
SaveConfigID = B3201470.ConfigID
End If
End While
Close cursor for B3201470
WriteConfigF3201Records (N3201500)
WriteConfigF3215Records (B3201580)
WriteConfigF3211Records (B3201600)
WriteConfigF3216Records (N3201640)
Terminate Cache:
Cache, Process Work Order Reatachment (B3201220)
End If
Terminate Caches:
Cache Process Segment Values (B3200350)
Cache Process All Components (B3200370)
CacheProcessPriceCost (B3200400)
Cache Process Common Attributes (B3201350)
CacheProcessConfigurationID (B3201470)
D3200700 - Driver to Unload Configurator Caches
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
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
| ||||
mnJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. | ||||
cMode | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cStoreandForwardFlag | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cWebMode | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szVersionOfConfigurator | VERS | char | OPT | NONE |
A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined
| ||||
szSystemCode | SY | char | OPT | NONE |
A user defined code (98/SY) that identifies a system. Valid values include:
01
Address Book
03B
Accounts Receivable
04
Accounts
| ||||
szOrderSuffix | SFXO | char | OPT | NONE |
In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies
|
None |
None |