Documentation >
MAC-PAC Technical Library >
Distribution >
Synchro >
Programs >
Shipping Planning Work File Generation - Purpose >
Shipping Planning Work File Generation - Calculations
Shipping Planning Work File Generation - Calculations
GA280E
A. Mainline
1. Subroutine PCDROR reads through the Offset Release file (GA200M). For each open offset release, the scheduled shipments are sorted by date, delivery point, and consolidation point. Quantities of each item are accumulated and the overall weight and volume of the shipments are determined. Planned shipments headers are written to GA850AP (subroutine PCHDSH); lines are written to GA850BP (subroutine PCLNPT). The backlog quantity on the Item/Delivery Point Workfile (GA850CP) is updated.
2. PCPKHL processes the shipping proposal header and detail files (GA230M1, GA230M2) to find all planned shipments after the given date (input parameter DATENT). Header and detail records are written to GA850AP and GA850BP, respectively.