Documentation >
MAC-PAC Technical Library >
Manufacturing >
Product Costing >
Programs >
Simulated Cost Rollover - Purpose >
Simulated Cost Rollover - Calculations
Simulated Cost Rollover - Calculations
PC125E
A. Housekeeping
1. Work fields are initialized. The company name record (COMNAM) is obtained from the System Control file (CT100M). If this information is not available, a warning message is sent to the system operator and processing continues.
2. The first record of the Product Costing Transaction file is read and the processing options for the request are determined.
B. Mainline
1. The Simulated Cost Rollover Open Query File CL program (PC125CLP2) is called to perform the select logic on the Part Master file and to open the query file. The select logic includes the following:
a. Only parts for the specified plant are selected.
b. If a full simulated cost rollover has been requested, the program selects parts that have the simulated cost activity flag (OLFLG6) set on.
c. If a selective simulated cost rollover has been requested, the program selects parts that have the simulated cost activity flag (OLFLG6) set on and the simulated cost rollover flag (OLFLG8) set on.
2. The Part Master file is opened and the following processing occurs for each record read:
a. This-Level Simulated Cost fields are moved to either This-Level Current or Standard Cost fields.
b. Total Simulated Cost fields are moved to either Total Current or Standard Cost fields.
c. Simulated cost error and warning flags (PMCE2 and PMCW2) are moved to either the current cost error and warning flags (PMCE and PMCW) or the standard cost error and warning flags (PMCE1 and PMCW1).
d. The simulated rollover flag (OLFLG8) is set to zero.
e. For each Part Master File record processed, all corresponding part cost element records are updated, moving the Simulated Cost to either the Current or Standard Cost field.
3. If a full simulated cost rollover has been requested, the following processing also occurs for each Workcenter File record.
a. Simulated Labor Rate, Labor Based Overhead, and Machine Based Overhead fields are moved to either the Current or Standard Labor Rate, Labor Based Overhead, and Machine Based Overhead field.
b. For each Workcenter File record processed, all corresponding workcenter rate element records are updated, moving the simulated rate to either the Current or Standard rate field.
4. The Simulated Cost rollover report (PC125) is printed to indicate which options were selected.