AP305 – Accounts Payable Company Purge
- System
- Accounts Payable (AP)
- Type
- Batch program
- Updates
- 133 tables
- References
- 97 tables
AP305 (Accounts Payable Company Purge) is a Lawson Accounts Payable batch program. It updates ACAMCODE, ADDRDATA, AMACCOUNT, AMACCTAU, AMACCTGPAU, AMACCTGRP, AMASSET, AMASSETADJ and 125 more and references AMASSETBOD, AMASSETDSP, AMASSETTRF, AMASTBKDSP, AMASTBKTRF, AMASTITDSP, AMASTITTRF, AMASTMXVAL and 89 more.
About AP305
Run Accounts Payable Company Purge (AP305) 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 form does not create a report of deleted information. The company must have Delete selected in the Status field on Company (AP00.4). Use this form to delete a company and associated data created and used for testing purposes, for example. To delete data for a production company, run Invoice and Vendor History Purge (AP300). WARNING This form permanently deletes data. Before you run this form, back up your data according to your company's procedures. Before you submit the report, carefully review the parameters. WARNING You cannot inquire on, report on, or restore the information this form deletes.
Updated files (133)
| Table | Description | System |
|---|---|---|
| ACAMCODE | Activity Asset | AC |
| ADDRDATA | Address Code | IF |
| AMACCOUNT | Asset Management Account | AM |
| AMACCTAU | Asset Account Audit | AM |
| AMACCTGPAU | Asset Account Group Audit | AM |
| AMACCTGRP | Asset Account Group | AM |
| AMASSET | Asset | AM |
| AMASSETADJ | Asset Adjustment | AM |
| AMASSETDSP | Asset Disposal | AM |
| AMASSETGRP | Asset Group | AM |
| AMASSETTRF | Asset Transfer | AM |
| AMASTBKADJ | Asset Book Adjustment | AM |
| AMASTBKDSP | Asset Book Disposal | AM |
| AMASTBKTRF | Asset Book Transfer | AM |
| AMASTBOOK | Asset Book | AM |
| AMASTITADJ | Asset Item Adjustment | AM |
| AMASTITDSP | Asset Item Disposal | AM |
| AMASTITEM | Asset Item | AM |
| AMASTITTRF | Asset Item Transfer | AM |
| AMASTMXVAL | Asset Attributes | AM |
| AMASTRECAP | Asset Depreciation Recapture | AM |
| AMASTRPAIR | Asset Repair | AM |
| AMASTTYPAU | Asset Type Audit | AM |
| AMASTTYPE | Asset Type | AM |
| AMAUGROUP | Asset Accounting Unit Group | AM |
| AMAUGRPAU | AM Accounting Unit Group Audit | AM |
| AMBKHIST | Asset Book History | AM |
| AMBKHISTX | Period Asset Book History | AM |
| AMBKTEMPLT | Book Template | AM |
| AMBKTRANS | Asset Book Transactions | AM |
| AMCALENDAR | Asset Calendar | AM |
| AMCLASSDEP | This file contains the depreciation information for account level depreciation to support Telecommunications Industry… | AM |
| AMCNTRLAU | Asset System Options Audit | AM |
| AMCONTROL | Asset Internal Control | AM |
| AMCTLTRANS | Asset Control Transaction | AM |
| AMDIVISION | Asset Division | AM |
| AMDIVISNAU | AM Division Audit | AM |
| AMINTER | Asset Interface | AM |
| AMINTERAU | Asset Interface Audit | AM |
| AMLOCATION | Asset Location | AM |
| AMLOCAUDIT | AM Location Audit | AM |
| AMMONITOR | No description in the Lawson data dictionary | AM |
| AMPOASTDTL | PO Asset Detail | AM |
| AMPOASTHDR | PO Asset Header | AM |
| AMPODFLTS | PO Defaults | AM |
| AMPUHIS | Personal Use History | AM |
| AMSEGBLOCK | No description in the Lawson data dictionary | AM |
| AMTAXAUTH | Tax Authority | AM |
| AMTEMPLATE | Asset Template | AM |
| AMTRANS | Asset Transaction | AM |
| AMTRANSUMM | Asset Transaction Summary | AM |
| APACCRCODE | Invoice Accrual Code | AP |
| APAPDHIST | No description in the Lawson data dictionary | AP |
| APAPIHIST | Vendor Invoice History | AP |
| APAPPHIST | AP Payment History | AP |
| APAPPROVAL | Invoice Approval | AP |
| APAPSHIST | No description in the Lawson data dictionary | AP |
| APASTDTL | Asset Detail | AP |
| APAUDIT | Vendor Invoice Audit | AP |
| APAUTHOR | Authority Code | AP |
| APBATCH | Batch | AP |
| APCDISTRIB | Distribution Interface | AP |
| APCINVERR | AP Invoice Conversion Error | AP |
| APCINVOICE | Invoice Interface | AP |
| APCOMMENTS | Comments | AP |
| APCOMPANY | Accounts Payable Company | AP |
| APCONTACT | No description in the Lawson data dictionary | AP |
| APCPAYMENT | Invoice Payment Interface | AP |
| APCPYVND | Vendor Company Codes | AP |
| APCRMEMO | Credit Memo Application | AP |
| APCRMHIST | No description in the Lawson data dictionary | AP |
| APDFLHIST | No description in the Lawson data dictionary | AP |
| APDISCACC | Discount | AP |
| APDISCCODE | Discount Code | AP |
| APDISTCODE | Distribution Code Detail | AP |
| APDISTHDR | Distribution Code Header | AP |
| APDISTRIB | Invoice Distribution | AP |
| APDRAFTS | AP Bill of Exchange | AP |
| APDRFTCDES | Bill of Exchange Accrual Code | AP |
| APDRFTDIST | Bill of Exchange Distribution | AP |
| APDSKHIST | No description in the Lawson data dictionary | AP |
| APDSUSRFLD | Accounts Payable User Fields | AP |
| APHLDINV | Hold | AP |
| APINUSRFLD | AP Invoice User Fields | AP |
| APINVOICE | Accounts Payable Invoice | AP |
| APISRHIST | No description in the Lawson data dictionary | AP |
| APMONITOR | Accounts Payable Monitor | AP |
| APPAYCOREL | Pay Group-Company Relationship | AP |
| APPAYMENT | Invoice Payment | AP |
| APPROCLEV | Accounts Payable Process Level | AP |
| APSECWTH | No description in the Lawson data dictionary | AP |
| APSECWTHRT | No description in the Lawson data dictionary | AP |
| APTAXENT | Reportable Income Group Entity | AP |
| APVENADDR | AP Vendor Address | AP |
| APVENBAL | Vendor Balance | AP |
| APVENCERT | No description in the Lawson data dictionary | AP |
| APVENGROUP | Vendor Group | AP |
| APVENLOC | Vendor Location | AP |
| APVENMAST | Vendor Master Record | AP |
| APVENPAY | No description in the Lawson data dictionary | AP |
| APWTHCODE | Income Withholding Code | AP |
| CBBANKINST | Bank Transaction Code | CB |
| CBCASHCODE | Cash Code | CB |
| CBCHECK | Accounts Payable Cash Payment | CB |
| CKPOINT | No description in the Lawson data dictionary | — |
| CUSTDESC | AR Group Customer | AR |
| EEADVANCE | Employee Advance | AP |
| EEDISTRIB | Expense Distribution | AP |
| EEEXPENSE | Employee Expense | AP |
| GLNLOCDTL | No description in the Lawson data dictionary | IC |
| MAAOCDTL | Invoice Add On Cost Detail | MA |
| MAAOIHIST | No description in the Lawson data dictionary | MA |
| MAINVDTL | Invoice Line Detail | MA |
| MAMAAHIST | No description in the Lawson data dictionary | MA |
| MAMADHIST | No description in the Lawson data dictionary | MA |
| MAPOINV | Multiple PO Invoice | MA |
| MMDIST | Account Distributions | PO |
| MMUAVAL | No description in the Lawson data dictionary | PO |
| MXLISTHDR | Attribute List Header | IF |
| MXLISTMBR | Attribute List | IF |
| POAOCSPRD | Add On Cost Spread | PO |
| POAUDIT | Audit Records | PO |
| POPOVUF | No description in the Lawson data dictionary | PO |
| POPSPHIST | No description in the Lawson data dictionary | PO |
| PORECLINE | PO Line Item Receivings | PO |
| POVENDLOC | Vendor Location Master | PO |
| POVENDOR | PO Vendor Master | PO |
| RQAUDIT | Requisition Audit | RQ |
| SYSTEMCODE | System Code | IF |
| TXCODEMAST | Tax Code Master | TX |
| TXCOMPANY | Tax Company | TX |
| TXTAXCODE | Tax Code Maintenance | TX |
| TXTAXTABLE | Tax Table | TX |
Referenced files (97)
| Table | Description | System |
|---|---|---|
| AMASSETBOD | No description in the Lawson data dictionary | AM |
| AMASSETDSP | Asset Disposal | AM |
| AMASSETTRF | Asset Transfer | AM |
| AMASTBKDSP | Asset Book Disposal | AM |
| AMASTBKTRF | Asset Book Transfer | AM |
| AMASTITDSP | Asset Item Disposal | AM |
| AMASTITTRF | Asset Item Transfer | AM |
| AMASTMXVAL | Asset Attributes | AM |
| AMASTRPAIR | Asset Repair | AM |
| AMBOOK | Asset Book Name | AM |
| AMCOMPUTE | Compute | AM |
| AMLOCDTL | Location Detail | AM |
| AMMETHOD | Asset Method | AM |
| AMPUCODE | Asset Personal Use Code | AM |
| AMTABLEPCT | Percent Table | AM |
| AMTABLETAX | Asset Management Tax Table | AM |
| AMTRANSBOD | No description in the Lawson data dictionary | AM |
| AMTYPALLOC | The The Asset Management Type Allocation file stores the allocation history for a type (type and subtype). | AM |
| AMTYPALLOX | The Asset Type Allocation Detail file stores the accounting units and percentages for each company, asset type (or… | AM |
| AMUOPPDS | Units of Production Periods | AM |
| APAPPHIST | AP Payment History | AP |
| APCDISTRIB | Distribution Interface | AP |
| APCOMMENTS | Comments | AP |
| APCONTACT | No description in the Lawson data dictionary | AP |
| APCPAYMENT | Invoice Payment Interface | AP |
| APDFLHIST | No description in the Lawson data dictionary | AP |
| APDISCACC | Discount | AP |
| APDSKHIST | No description in the Lawson data dictionary | AP |
| APDSUSRFLD | Accounts Payable User Fields | AP |
| APHOLDCODE | Hold Code | AP |
| APINCCODE | Income Code | AP |
| APPAYMENT | Invoice Payment | AP |
| APPMTBOD | No description in the Lawson data dictionary | AP |
| APPROCGRP | Process Group | AP |
| APUAVAL | No description in the Lawson data dictionary | AP |
| APUSRFLDEF | AP User Field Definition | AP |
| APVENCERT | No description in the Lawson data dictionary | AP |
| APVENCLASS | Vendor Class | AP |
| APVENLCBOD | No description in the Lawson data dictionary | AP |
| APVENLOC | Vendor Location | AP |
| APVNMXVAL | No description in the Lawson data dictionary | AP |
| ARCUSTGRP | Accounts Receivable Cust Group | AR |
| CBBANKENT | Bank | CB |
| CBCASHFORM | Cash Payment Format | CB |
| CBPAYMENT | Cash Payment | CB |
| CBRECPTHDR | Cash Receipt Deposit | CB |
| CBTRANS | Bank Transaction | CB |
| CBTRANSBOD | No description in the Lawson data dictionary | CB |
| CBUSER | Cash Ledger User | CB |
| CBUSRCLASS | Cash Ledger User Class | CB |
| CUCODES | Currency Codes | IF |
| CUCONV | Currency Exhange Rate | IF |
| CURELAT | Currency Relationships | IF |
| EEAPPROVAL | Expense Advance Approval Code | AP |
| GLADDRESS | General Ledger Company Address | IF |
| GLCGCPY | Company Group Company | IF |
| GLCHART | General Ledger Chart | IF |
| GLCHARTDTL | General Ledger Chart Detail | IF |
| GLCODES | General Ledger Codes | IF |
| GLINTCO | General Ledger Intercompany | IF |
| GLMASTER | General Ledger Account Master | IF |
| GLNLOCDTL | No description in the Lawson data dictionary | IC |
| GLSYSTEM | General Ledger Company | IF |
| ICCOMPANY | Inventory Company Information | IC |
| INSTCTRYCD | Intrastat Country Codes | TX |
| INSTREGN | Intrastat Region Code | TX |
| LMLEASE | Lease Information | LM |
| LMLEASESEG | This file stores the user analysis values for a lease. | LM |
| MACOMPANY | Matching Company | MA |
| MAINVHAND | Invoice Handling Code | MA |
| MAMATCHTBL | Match Table | MA |
| MAMSGTOL | No description in the Lawson data dictionary | MA |
| MAMTCHRULE | Matching Rules | MA |
| MXCATDEF | Attribute Definition | IF |
| MXELEMENT | Attribute Element | IF |
| MXLISTDTL | Attribute List Detail | IF |
| MXOBJCAT | Attribute Object | IF |
| POAOCDTL | Add On Cost Detail | PO |
| POAOCMAST | Add On Cost Master | PO |
| POAUDRULES | Audit Rules | PO |
| POAUDTYPE | Audit Types | PO |
| POCOMPANY | Company System Master | PO |
| POITEMVEN | PO Vendor Item Information | PO |
| POLINE | Line Items | PO |
| PORECLINE | PO Line Item Receivings | PO |
| POREVISION | PO Revision | PO |
| PORLNUF | No description in the Lawson data dictionary | RQ |
| PORQHUF | No description in the Lawson data dictionary | RQ |
| POVAGRMTHD | Vendor Agreement | PO |
| POVENDLOC | Vendor Location Master | PO |
| PROCUREGRP | Procurement Group | PO |
| PURCHORDER | Purchase Order Master | PO |
| REQHEADER | Requisition Header | RQ |
| REQLINE | Requisition Line | RQ |
| TXTAXRATE | Tax Rate | TX |
| VBABOD | No description in the Lawson data dictionary | AP |
| WFSETUP | No description in the Lawson data dictionary | WF |
Program calls
Invoked programs (27)
ACAC, ACTA, AMCO, API3, API4, GLCC, ICI1, IFAC, IFAU, IFCU, IFFC, IFGT, IFLU, IFOB, IFRS, IFSC, IFSG, IFUP, POIF, POIG, POIL, POIM, SLFD, SLSB, SLSE, SLSS, SLSU