1.Functional Description
1.1Purpose
The UpdateF30026CostSimulation business function updates all standard routing cost records and
routing outside operation cost records in the Item Cost Component Add-ons Table (F30026). If the Item Cost
Component Add-on record does not exist, the record will be added. If the Item Cost Component Add-on
record exists, the cost passed in the BF data structure will be accumulated to the cost in the existing
record.
1.2Setup Notes and Prerequisites
B3001660 - loads a link list with the outside operation costs.
B3001670 - calculates the Parent Cost Percent.
Determine if the parent item is a Process or not prior to calling this business function.
Processing Options determine:
whether or not CoByProducts are rolled up.
1.3Special Logic
2.Technical Specifications
2.4Processing
1.0. Process all standard costs (B1, B2, B3, B4, C1, C2, C3, C4). Then if the DS Outside
OperationPointer is not equal to NULL, read through OutsideOperation Linked list processing all Outside
Operation Costs.
Set WK CostType = B1, B2, B3, B4, C1, C2, C3, C4, or Cost Type from
Outside Operation Linked list.
WK cost type.
1.2. Retrieve date, time, userid, and workstation ID using BF GetAuditInfo.
1.3. Move Cost to a work field.
If WK CostType is equal to 'B2', assign WK Cost = DS B2SetupLabor.
If WK CostType is equal to 'B3', assign WK Cost = DS B3MachineRun.
IF WK CostType is equal to 'B4', assign WK Cost = DS B4LaborEfficiency.
If WK CostType is equal to 'C1', assign WK Cost = DS C1MachineVariableOH.
If WK CostType is equal to 'C2', assign WK Cost = DS C2MachineFixedOH.
If WK CostType is equal to 'C3', assign WK Cost = DS C3LaborVariableOH.
IF WK CostType is equal to 'C4', assign WK Cost = DS C4LaborFixedOH.
If ProcessingOutsideOperation, assign WK Cos t = LL OutsideOperationCost.
1.3. If DS RollCoByProducts = '1', and DS ProcessItem = '1', and WK Cost not equal to zero, and
DS ParentCostPercent ne 1, WK Cost = WK Cost * DS ParentCostPercent.
1.3. If the record exists, update existing record.
1.4. If the record does not exist, add the record to the Item Cost Component Add-on Table.
Number, and Program ID from the data structure.
1.4.5. Move WK Cost Type to COST.
D3000880 - Update Cost Rollup Routing
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
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
| ||||
szBranch | MMCU | char | NONE | NONE |
A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which
| ||||
szLocation | LOCN | char | NONE | NONE |
The storage location from which goods will be moved. | ||||
szLot | LOT | char | NONE | NONE |
A lot is a quantity of items that you want to group together because they have similar characteristics. | ||||
szCostMethod | LEDG | char | NONE | 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
| ||||
sz3rdItemNumber | AITM | char | NONE | NONE |
The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item
| ||||
sz2ndItemNumber | LITM | char | NONE | NONE |
A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to
| ||||
mnB1DirectLabor | XSMC | MATH_NUMERIC | NONE | NONE |
Used to calculate cost during the simulation process. | ||||
mnB2SetupLabor | XSMC | MATH_NUMERIC | NONE | NONE |
Used to calculate cost during the simulation process. | ||||
mnB3MachineRun | XSMC | MATH_NUMERIC | NONE | NONE |
Used to calculate cost during the simulation process. | ||||
mnB4LaborEfficiency | XSMC | MATH_NUMERIC | NONE | NONE |
Used to calculate cost during the simulation process. | ||||
mnC1MachineVariableOH | XSMC | MATH_NUMERIC | NONE | NONE |
Used to calculate cost during the simulation process. | ||||
mnC2MachineFixedOH | XSMC | MATH_NUMERIC | NONE | NONE |
Used to calculate cost during the simulation process. | ||||
mnC3LaborVariableOH | XSMC | MATH_NUMERIC | NONE | NONE |
Used to calculate cost during the simulation process. | ||||
mnC4LaborFixedOH | XSMC | MATH_NUMERIC | NONE | NONE |
Used to calculate cost during the simulation process. | ||||
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
| ||||
szProgramID | PID | char | NONE | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
idOutsideOperPointer | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
szOutsideOperCostMethod | LEDG | char | NONE | 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
| ||||
cProcessItem | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cRollCoByProducts | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnParentCostPercent | F$RP | MATH_NUMERIC | NONE | NONE |
A percentage that the Simulate Cost Rollup program uses to calculate the cost of a feature or option item as a percentage of the total cost
|
B3001660 Costing Process Outside Operation | ||||
B9800100 Get Audit Information |
F30026 Item Cost Component Add-Ons |