Lawson Insight Technical Documentation


ERDs Tables Elements Libraries App Forms

AP305

AP305 - AP Company Purge

Run AP305 (AP Company Purge) to delete an accounts payable company and
associated information, including process levels, invoices, invoice
distributions, split invoice payments, invoice payments, bill of exchange
payments, bill of exchange distributions, invoice accrual codes, distribution
codes, authority codes, and vendor balance information. The program does not
create a report of deleted information. The company must have Delete selected
in the Status field in AP00.4 (Company).

Use this program to delete a company and associated data created and used for
testing purposes, for example. To delete data for a production company, use
AP300 (History Purge).

Warning: You cannot inquire on, report on, or restore the information this
program deletes.

Updated Files

    APACCRCODE - Deletes invoice accrual code records.

    APAPPROVAL - Deletes approval criteria records.

    APASTDTL   - Deletes asset detail records.

    APAUTHOR   - Deletes authority codes.

    APBATCH    - Deletes batch records.

    APCOMPANY  - Deletes company records.

    APCPYVND   - Deletes company specific default records for a vendor.

    APCRMEMO   - Deletes credit memo application records.

    APDISCCODE - Deletes discount code records.

    APDISTCODE - Deletes distribution code detail records.

    APDISTHDR  - Deletes distribution code header records.

    APDISTRIB  - Deletes distribution records.

    APDRAFTS   - Deletes bill of exchange records.

    APDRFTCDES - Deletes bill of exchange accrual code records.

    APDRFTDIST - Deletes bill of exchange distribution records.

    APHLDINV   - Deletes transaction or vendor hold records.

    APINVOICE  - Deletes invoices.

    APMONITOR  - Deletes monitor records.

    APPAYCOREL - Deletes pay group - company relationship records.

    APPAYMENT  - Deletes invoice payment records.

    APPROCLEV  - Deletes process levels.

    APTAXENT   - Deletes reportable income group - company relationship
                 records.

    APUAVAL    - Updates user analysis information.

    APUDISTCD  - Maintains user analysis information.

    APVENBAL   - Deletes vendor balances.

    APWTHCODE  - Deletes income withholding code records.

    CBCHECK    - Deletes payments.

    CKPOINT    - Used to store restart information.

    EEADVANCE  - Deletes employee advance records.

    EEDISTRIB  - Deletes employee expense distribution records.

    EEEXPENSE  - Deletes employee expense records.


Referenced Files

    APPAYMENT  - Deletes invoice payment records.