1.Functional Description
1.1Purpose
Note: New Configuration ID (when > 0) is used to override Configuration ID
when saving a cache record.
If New Configuration ID > 0 than New Company Key, New Document Order,
1.2Setup Notes and Prerequisites
This function assumes F3201 contains records for particular Configuration ID.
1.3Special Logic
None
2.Technical Specifications
2.1Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
CFGIDConfiguration IDIR
CFGCIDComponent IDIOLoading this filed will limit selection from F3201
JOBSCache Job NumberIR
CFGIDNew Configuration IDIO/RTo be loaded when duplicating existing Configuration into a New One
KCOONew Company KeyIO/RRequired when New Configuration ID > 0
DOCONew Document OrderIO/RRequired when New Configuration ID > 0
DCTONew Order TypeIO/RRequired when New Configuration ID > 0
LNIDNew Line NumberIO/RRequired when New Configuration ID > 0
SUPPSSuppress Error MessageIO
DTAIError Message IDOO
2.2Related Tables
Table Table Description
F3201Configurator Master Table
2.3Related Business Functions
Source NameFunction Name
B3201470CacheProcessConfigurationID
2.4Processing
Set Default Values
szErrorMessageID =
If (BF JobNumber <=0 OR BF ConfigIDNumber <= 0)
Load Error 032E
Else
If (BF NewConfigIDNumber > 0)
ConfigIDNumber = BF NewConfigIDNumber
If BF NewCompanyKey <= BLANK
OR BF NewDocumentOrder <= ZERO
OR BF NewOrderType <= BLANK
OR BF NewLineNumber <= ZERO
Load Errror 0003
End If
Else
ConfigIDNumber = BF ConfigIDNumber
End If
If (BF Component ID <= 0)
Select from F3201 using CFGID only
Else
Select from F3201 using CFGID and CFGCID
End If
If Select was successful
MoreRecords = 1
While (MoreRecords == 1)
F3216.FetchNext
If (Fetch was successful)
If (BF NewConfigIDNumber > 0)
CompanyKey = BF NewCompanyKey
DocoumentOrder = BF NewDocumentOrder
OrderType = BF NewOrderType
LineNumber = BF NewLineNumber
End If
Call B3201470 to save a cache record
If Cache Error != 0
Load Error 078O
End If
Else
MoreRecords = 0
End If
End while
Else
Load Error 078D
End If
End If
3.2 Where Used: APPs/UBEs/NERs/BSFNs
Application/Business FunctionApplication/BF Name
D3201670 - LoadConfigurationCache
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
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. | ||||
mnComponentIDNumber | CFGCID | MATH_NUMERIC | OPT | NONE |
A number that represents a component in a configuration. This number, which is generated by next numbers, always restarts at 1 and
| ||||
mnJobNumber | JOBS | MATH_NUMERIC | OPT | NONE |
The job number (work station ID) which executed the particular job. | ||||
mnNewConfigurationIDNumbe | 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. | ||||
szNewCompanyKey | KCOO | char | OPT | NONE |
A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a
| ||||
mnNewDocumentOrder | DOCO | MATH_NUMERIC | OPT | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
szNewOrderType | DCTO | char | OPT | 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
| ||||
mnNewLineNumber | LNID | MATH_NUMERIC | OPT | NONE |
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns
| ||||
cSuppressErrorMessage | SUPPS | char | OPT | NONE |
A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.
0 = allow
| ||||
szErrorMessageID | DTAI | char | OPT | 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
| ||||
mnLastLineNumberXREF | LNIX | MATH_NUMERIC | OPT | NONE |
cCopyMode | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. |
None |
None |