Documentation >
MAC-PAC Technical Library >
Manufacturing >
Design Engineering >
Programs >
Batch Part Cost Maintenance - Purpose >
Batch Part Cost Maintenance - Calculations
Batch Part Cost Maintenance - Calculations
DE240E
A. Housekeeping
1. See the Common Processing Routines Section of this manual for a general discussion of this subroutine. Processing that is specific to this program is described below.
B. Mainline
1. The part cost transactions are read from the Part Cost Transaction file.
2. The transactions are validated.
a. The transaction type is validated as being either PCA or PCC.
b. The plant must exist on the Warehouse Description file (IC170M).
c. The part must exist on the Part Master file (DE100M), within the plant specified.
d. The cost element must exist on the Part Cost file (DE105M) for the part in the plant specified.
3. Valid transactions are processed.
a. If the Product Costing module is not installed, cost elements for all part types can be maintained because the system does not generate cost detail.
b. If the Product Costing module is installed, cost elements can be maintained only for the following part types: purchased, raw material, transfer, and nonstocked.
c. If the Product Costing module is installed, this-level costs can be maintained for manufactured parts only if the Manufacturing Engineering module is not installed, the production type for the part is JIT, or the routing file present flag is no.
d. The cost element must exist on Reference File category C17 (cost elements).
If the cost element exists on the Reference file, it is validated as being numeric with the correct number of significant and decimal numbers.
If an invalid change was made to this-level costs, an error message is formatted.
4. Steps 2 and 3 are repeated until all transactions are read.
5. All valid transactions are posted to the Part Master and Part Cost files.