1. Fuctional Description
1.1 Purpose
The purpose of this business function is to update item cost to its parents based on the Parent Child
CACHE. This function will read Parent Child CACHE and call Update Total COst (B3000680)to update its
parent cost. It replaces B3001820.
2. Technical Specification
2.4. Processing
1.Get first parent record for input Item and Branch in Parent Child CACHE (B3003780) with
mode '1'
2.2. IF parent is a process by calling this if statement:
4.If UnitsBatchQuantity from cache is not equal to zero
6. If Batch UOM is not the same as primary UOM
6.1. Call B4000520 - GetItemUoMConversionFactor to get conversion factor.
6.2. If no error
6.2.1. Copy the conversion factor from B4000520 to dsB3000680.mnUOMConvertionFactor.
7. Call B3000680 - UpdateTotalCostInformation to update costs to F30026.
8. Remove data pointer to Parent child cache.
9. Gets next parent record by calling B30003780 - CostParentAndChildCache with mode '6'.
10.End While loop.
D3003820 - Costing Get Where Used
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnComponentShortItemNumber | ITM | MATH_NUMERIC | OPT | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szComponentBranch | CMCU | char | OPT | NONE |
A secondary or lower-level business unit. The system uses the value that you enter to indicate that a branch or plant contains several
| ||||
jdAsOfDate | ASDE1 | JDEDATE | OPT | NONE |
The date used for effectivity checking. Enter a specific date to display documents (orders, bills of material, routings, as applicable) that are
| ||||
szCostMethod | LEDG | char | OPT | NONE |
A user defined code (40/CM) that specifies the basis for calculating item costs. Cost methods 01 through 19 are reserved for J.D. Edwards
| ||||
idCostRollupLinkedList | GENLNG | ID | OPT | NONE |
General purpose ID variable. | ||||
cSingleLevelBOM | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cProcessCoByProducts | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cMasterRoutingYN | MRYN | char | OPT | NONE |
An option that determines whether the system uses the master routing for an item or a routing defined for the parent item. Both routings are
| ||||
mnJobNumber | JOBS | MATH_NUMERIC | OPT | NONE |
The job number (work station ID) which executed the particular job. | ||||
szComputerID | CTID | char | OPT | NONE |
B3000680 Update Total Cost Information | ||||
B3001610 Costing, Initialize CoBy Product Cache | ||||
B3001650 Cache, Process CoBy Product | ||||
B3003770 Cache Process Cost Item Information | ||||
B3003780 Cache Process Cost Parent And Child |
None |