1.Functional Description
1.1Purpose
Note: New Configuration ID (when > 0) is used to override Configuration ID
when saving a cache record.
1.2Setup Notes and Prerequisites
This function assumes F3216 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 F3216
JOBSCache Job NumberIR
CFGIDNew Configuration IDIO/RTo be loaded when duplicating existing Configuration Records into a New One
SUPPSSuppress Error MessageIO
DTAIError Message IDOO
2.2Related Tables
Table Table Description
2.3Related Business Functions
Source NameFunction Name
B3200400Cache Process Price Cost
2.4Processing
Set Default Values
szErrorMessageID =
If (BF JobNumber <=0 OR BF ConfigIDNumber <= 0)
Load Error 078D
Else
If (BF NewConfigIDNumber > 0)
ConfigIDNumber = BF NewConfigIDNumber
Else
ConfigIDNumber = BF ConfigIDNumber
End If
If (BF Component ID <= 0)
Select from F3216 using CFGID only
Else
Select from F3216 using CFGID and CFGCID
End If
If Select was successful
MoreRecords = 1
While (MoreRecords == 1)
F3216.FetchNext
If (Fetch was successful)
Call B3200400 to save a cache record
If Cache Error != 0
Load Error 078O
End If
Else
MoreRecords = 0
End If
End while
Else
Load Error 078J
End If
End If
3.2 Where Used: APPs/UBEs/NERs/BSFNs
Application/Business FunctionApplication/BF Name
D3201660 - LoadPriceCostCache
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnConfigurationIDNumber | CFGID | MATH_NUMERIC | REQ | 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 | REQ | NONE |
The job number (work station ID) which executed the particular job. | ||||
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. | ||||
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
|
None |
None |