MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Technical Library > Distribution > Purchasing > Programs > Purchase Order Close - Purpose

Purchase Order Close - Purpose

PO215E

The Purchase Order Close program (PO215E) allows the user to close purchase orders by vendor, by buyer, or by last activity date.  The user may either close selected purchase orders, or use a function key to perform a mass close of all purchase orders for a particular vendor or buyer, or perform a mass close of those orders with a last activity date equal to or earlier than a user specified date. 

If the option of last activity date is selected, the last activity date for each purchase order is considered to be the earliest of the following dates:

      Last receipt date (PODTLR) from the PO Header Master File (PO180M1)

      Last maintenance date(POLMDT) from the PO Header Master File (PO180M1)

      Last maintenance date (RHLMDT) from the Receipt Header File (PO210M1)

      Last quantity control date (RLQYDT) from the Receipt Line Detail File (PO210M2)

      Last quality control date (RLQADT) from the Receipt Line Detail File (PO210M2)

      Last maintenance date (RLLMDT) from the Receipt Line Detail File (PO210M2)

When orders are selected to be closed, a message is sent to the Purchase Order Asynchronous Message Queue (POASYNMSGQ), which triggers the Purchase Order Asynchronous Monitor (POASYNCMON) to call the Purchase Order Maintenance Program (PO180E) to perform the close processing.  The PO header and associated PO lines and releases will be closed.

PO215E Program Menu