1.Functional Description
1.1Purpose
In Cost Rollup, if we are processing the current level for an item, we and we have determined that
this item is a Process, we have already called BF B3001610 to setup the CoByProduct Cache. Therefore,
we have determined all the CoByProducts that exist for this Process. We have already costed B1-C4 for
the Process, as well as the CoBy in R30818.
In this function we are updating the extra XX and factor and rate add ons to the Process. Then we
are essentially going to apportion these costs accross all the CoByProducts that exist for the Process.
1.2Setup Notes and Prerequisites
This function is performed once per Process if the CoByProducts are being rolled and
CoByProductsFound.
If CoByProductFound = '1'
This business function is called From BF B3001460 UpdateCurrentLevelCosts
1.3Special Logic
2.Technical Specifications
2.4Processing
Work Fields
CoByProductAmt 29.9
Cache
COBYCoByProductAS/400 @CB
KITCoByProduct ItemAS/400 @CK
KITLCoByProduct Item2ndAS/400 @C2
KITACoByProduct Item3rdAS/400 @C3
BQTYCoByProduct QuantityPrimary?
BQTY CoByProduct QuantityTranactionAS/400 @CQ
CONVConversionFactorAS/400 @CU
MMCUCoByProduct BranchAS/400 @CM
OPSQOperationSequenceAS/400 @CO
F$RPFeatureCostPercentAS/400 @CF
F$RPCoByProductCostPercent.AS/400 @CC
F$RPCoByProduct%RateAS/400 @CE
XSMCCoByTotB1-C4AS/400 @CL
XSMCCoBy%B1-C4AS/400 @CP
1.0. Call BF 3001650 to Read sequentially, each CoByProduct from cache memory, processing all steps
for each CoBy until all CoByProducts are read. Must use DS JOBS to make sure we are getting the right
cache. (LOOP)
subsequent calls, 5 > process mode, keys '0'
F30026 Branch = Cache CoByProductBranch
F30026 Location and Lot = Blanks
F30026 Cost Method = DS Cost Method
F30026 Cost Type = DS Cost Type
step 1.0.
1.3. If DS Manufactured Cost NE 0 (Apportion Add ons)
1.3.2. Decrease cost by ratio of B1-C4 to Process.
and WK CoByProductAmt != 0
and Cache CoByProductCostPercent != 1.0
CoByProductCostPercent.
1.3.4.2. If WK TotalProcessQuantity = 0
WK TotalProcessQuantity = WK TotalProcessQuantity x DS Process Conv Factor
sar# ? change following two lines from GT 1 to NE zeros.
1.3.4.4. If Cache CoByProductQuantityTransaction NE zero
CoByProductQuantityTransaction.
WK CoByProductAmt = WK CoByProductAmt / Cache Conversion Factor.
CoByProduct Item3rd to F30026 AITM, and updateF30026 otherwise, just write F30026 record.
^
D3001630 - Costing Process Current Level
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnManufacturedCost | MN29D9 | MATH_NUMERIC | NONE | NONE |
This is a generic field used as a work field in Everest. | ||||
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
| ||||
mnProcessBatchQuantity | BQTY | MATH_NUMERIC | NONE | NONE |
The quantity of finished units that you expect this bill of material or routing to produce. You can specify varying quantities of components
| ||||
mnProcessConversionFactor | CONV | MATH_NUMERIC | NONE | NONE |
The factor that the system uses to convert one unit of measure to another unit of measure. | ||||
cDeleteFlag | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szCostType | COST | char | NONE | NONE |
A code that designates each element of cost for an item. Examples of the cost object types are:
o A1 Purchased raw material
o B1
| ||||
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
| ||||
mnJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. | ||||
szWorkCenter | MCU | char | OPT | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
cCostByWorkCenter | CWC | char | OPT | NONE |
A code, maintained in the Manufacturing Constants program (P3009), that indicates whether the system tracks cost variances for discrete
|
B3001650 Cache, Process CoBy Product | ||||
B9800100 Get Audit Information |
F30026 Item Cost Component Add-Ons | ||||
F300261 Item Cost Component Detail |