Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Conditions Elements Libraries APIs Forms

AM300


AM300 - Historical Purge

**Form Purpose
Run Historical Purge (AM300) to purge selected asset records, past or
current, from the Asset Management database. Typically, you use this form to
reduce the size of the database files, you would apply it to historical data
only. You can, however, purge current data such as test data.

You can purge one or more of the following types of records for the company
or company group and date range you select: Adjustments, Transfers, Disposals,
Transactions, Comments, URLs, Repairs.

If you select Yes (Y) in the Archive field, AM300 generates a comma-separated
value (CSV) file in the $LAWDIR/productline/work directory (UNIX) or in the
/LAWDIR/productline/work directory (iSeries) for each file that you selected
for purging.

Warning This program permanently deletes data. Before you run this program,
back up the data according to your organization's procedures. Before you
submit the report, carefully review the parameters.

Caution AM300 always uses the same file names (one for each type of file).
This means that any time you run AM300, the previously generated purge files
are overwritten by the new ones. If you want to preserve a previously archived
purge file, you must copy it to a different directory before running AM300
again.




Updated Files

    ADDRDATA   -

    AMASSET    - Records are deleted from this file based on parameters.

    AMASSETADJ - Records are deleted from this file based on parameters.

    AMASSETDSP - Records are deleted from this file based on parameters.

    AMASSETRIN -

    AMASSETTRF - Records are deleted from this file based on parameters.

    AMASTBKADJ - Records are deleted from this file based on parameters.

    AMASTBKDSP - Records are deleted from this file based on parameters.

    AMASTBKRIN -

    AMASTBKTRF - Records are deleted from this file based on parameters.

    AMASTBOOK  - Records are deleted from this file based on parameters.

    AMASTITADJ - Records are deleted from this file based on parameters.

    AMASTITDSP - Records are deleted from this file based on parameters.

    AMASTITEM  - Records are deleted from this file based on parameters.

    AMASTITRIN -

    AMASTITTRF - Records are deleted from this file based on parameters.

    AMASTRPAIR - Records are deleted from this file based on parameters.

    AMBKTRANS  - Records are deleted from this file based on parameter
                 selection.

    AMCNVASSET - Used to retrieve and delete AMCNASSET records.

    AMTRANS    - Records are deleted from this file based on parameters.

    CKPOINT    - Used for restart purposes.


Referenced Files

    GLADDRESS  - Used by a common library; not used by this program.

    GLCGCPY    - Used to validate the company group.

    GLCHART    - Used by a common library; not used by this program.

    GLSYSTEM   - Used to validate the company.

    INSTCTRYCD -

    WFSETUP    -


INVOKED Programs

    IFOB
    IFSG