Lawson Insight Technical Documentation


ERDs Tables Elements Libraries App Forms

MA190

MA190 - History PO Report

Use this form to add the company identification code and run the PO Closed
Report. This report lists all purchase orders for the company whose line items
meet the criteria for a closed purchase order line. To close a purchase order,
all lines must be closed based on this criteria:

- each line item must be fully received and approved
OR
- the backorder must be canceled if the line item was not fully received and
the received amount must equal the amount approved
OR
- if you received an overshipment, the received quantity must equal the
quantity approved for payment
OR
- all the lines on the order have been canceled
OR
- the purchase order has been canceled

The system automatically closes a purchase order line once it has met all the
criteria. When all the line items meet the criteria, the purchase order is
labeled as closed and becomes an historic purchase order, but you must then
run this program to actually close it. A purchase order must have a closed
status in order to be purged in MA300 (PO Purge Request). The Closed PO Report
lists this information for each line item on each closed purchase order:

- line number
- item identification code
- item type code
- ordered quantity
- received quantity
- substitute quantity
- rejected quantity
- a flag to indicate if the backorder has been canceled
- approved quantity
- unit cost
- date closed
- original line amount
- PO number
- vendor
- PO date
- buyer
- purchase-from location code

Updated Files

    CKPOINT    - Updates program restart information.

    POAOCDTL   - Updates add-on cost close date.

    POINTAOC   - Updates interface close date.

    PORETURNHD - Used to update the header record for a purchase order return
                 with credit memo amount.

    PURCHORDER - Primary file maintained by program.


Referenced Files

    APCOMPANY  - Used to validate the Accounts Payable company.

    APCPYVND   - Used to retrieve company-specific defaults for a vendor.

    APHLDINV   - Used to create records of invoices on hold.

    APVENCLASS - Used when editing.

    APVENGROUP - Used when editing.

    APVENLOC   - Used to report vendor location information.

    APVENMAST  - Used to report vendor information.

    BUYER      - Used to report buyer information.

    ICCOMPANY  - Used to validate the Inventory Control company.

    ITEMMAST   - Used to report nonstock and inventory item information.

    POCOMPANY  - Used to validate the Purchase Order company.

    POLINE     - Used to report purchase order line item information.