MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Technical Library > Distribution > Synchro > Programs > Synchro Advance Netting - Purpose > Synchro Advance Netting - Calculations

Synchro Advance Netting - Calculations

GA224E

A.   Mainline

1.   If the entry parameter list specifies a single item/delivery point (WZGBKO), information about that item/delivery point is retrieved from the Item/Delivery Point file (GA120ML7).  Only offset releases associated with this item/delivery point will be processed.  If WZGBKO is blank, all offset releases will be processed, and information for the first item/delivery point is retrieved from GA120ML7.

2.   The first offset release for the item/delivery point is retrieved from GA200ML3.  

3.   If the net requirement on the offset release is greater than zero, the advance quantity is applied against the requirement.

a.   If the advance quantity is greater than the net requirement, the net requirement is subtracted from the advance quantity to give the remaining advance quantity.  The net requirement on the offset release is set to zero, and the Offset Release Header file is updated.

b.   If the net requirement is greater than the advance quantity, the advance quantity is subtracted from the net requirement to give the new net requirement.  The net requirement on the Offset Header file is updated with the new requirement.  The advance quantity is set to zero, and processing stops.

4.   Processing continues for the next offset release for the item/delivery point.  When the last release for the item/delivery point has been processed, the next item/delivery point is read from GA120ML7 (if all item/delivery points are to be processed).  If a single item/delivery point was specified, processing ends after the final release for that item/delivery point is processed.

5.   Processing will continue as long as the remaining advance quantity equals zero or until all releases have been processed.

GA224E Program Menu