Documentation >
MAC-PAC Technical Library >
Manufacturing >
Product Costing >
Programs >
Standard Cost Update - Purpose >
Standard Cost Update - Calculations
Standard Cost Update - Calculations
PC120E
A. Housekeeping
1. Work fields are defined and program constants are initialized.
2. The company name record (COMNAM) is obtained from the System Control file (CT100M) for output on the System Error report (CT010X). If this record is not available, a message is sent to the system operator and processing continues.
3. The Product Costing control record (PCCTL2) is obtained from the System Control file for the processing option selected, full or selective.
B. Mainline
1. If a full standard cost update has been requested, the following processing occurs:
a. This-Level Current Cost fields are moved to This-Level Standard Cost Fields on all Part Master File records.
b. Total Current Cost fields are moved to Total Standard Cost fields on all Part Master File records. The Current Cost Error code (PMCE) is moved to the Standard Cost Error code field (PMCE1).
c. Current to Standard Rollover Flag (OLFLG1) is set to zero on all Part Master File records.
d. For each Part Master File record processed, all corresponding part cost element records are updated, moving the current cost to the Standard Cost field.
e. Current Labor Rate and Current Burden Rate fields are moved to the Standard Labor Rate and Standard Burden Rate fields for all Workcenter File records.
f. For each Workcenter File record processed, all corresponding workcenter rate element records are updated, moving the current rate to the Standard Rate field.
g. The Current Cost Actual Effectively Date (CZDAT1) and Generation Date (CZDAT2) fields are moved to the Standard Cost Actual Effectively Date (CZDAT3) and Generation Date (CZDAT4) fields.
2. If a selective standard cost rollover is requested, the following steps are performed on the Part Master File records for the selected parts using the logical Part Master file (DE100ML9).
a. This-Level Current Cost fields are moved to This-Level Standard Cost fields.
b. Total Current Cost fields are moved to Total Standard Cost fields.
c. The current to standard rollover flag is set to zero and the Current Cost Error field (PMCE) is moved to the Standard Cost Error field (PMCE1).
d. For each Part Master File record processed, all corresponding part cost element records are updated, moving the current cost to the Standard Cost field.
3. The Standard Cost Rollover report (PC120) is printed to indicate which option was selected.