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)

TableDescriptionSystem
ACAMCODEActivity AssetAC
ADDRDATAAddress CodeIF
AMACCOUNTAsset Management AccountAM
AMACCTAUAsset Account AuditAM
AMACCTGPAUAsset Account Group AuditAM
AMACCTGRPAsset Account GroupAM
AMASSETAssetAM
AMASSETADJAsset AdjustmentAM
AMASSETDSPAsset DisposalAM
AMASSETGRPAsset GroupAM
AMASSETTRFAsset TransferAM
AMASTBKADJAsset Book AdjustmentAM
AMASTBKDSPAsset Book DisposalAM
AMASTBKTRFAsset Book TransferAM
AMASTBOOKAsset BookAM
AMASTITADJAsset Item AdjustmentAM
AMASTITDSPAsset Item DisposalAM
AMASTITEMAsset ItemAM
AMASTITTRFAsset Item TransferAM
AMASTMXVALAsset AttributesAM
AMASTRECAPAsset Depreciation RecaptureAM
AMASTRPAIRAsset RepairAM
AMASTTYPAUAsset Type AuditAM
AMASTTYPEAsset TypeAM
AMAUGROUPAsset Accounting Unit GroupAM
AMAUGRPAUAM Accounting Unit Group AuditAM
AMBKHISTAsset Book HistoryAM
AMBKHISTXPeriod Asset Book HistoryAM
AMBKTEMPLTBook TemplateAM
AMBKTRANSAsset Book TransactionsAM
AMCALENDARAsset CalendarAM
AMCLASSDEPThis file contains the depreciation information for account level depreciation to support Telecommunications Industry…AM
AMCNTRLAUAsset System Options AuditAM
AMCONTROLAsset Internal ControlAM
AMCTLTRANSAsset Control TransactionAM
AMDIVISIONAsset DivisionAM
AMDIVISNAUAM Division AuditAM
AMINTERAsset InterfaceAM
AMINTERAUAsset Interface AuditAM
AMLOCATIONAsset LocationAM
AMLOCAUDITAM Location AuditAM
AMMONITORNo description in the Lawson data dictionaryAM
AMPOASTDTLPO Asset DetailAM
AMPOASTHDRPO Asset HeaderAM
AMPODFLTSPO DefaultsAM
AMPUHISPersonal Use HistoryAM
AMSEGBLOCKNo description in the Lawson data dictionaryAM
AMTAXAUTHTax AuthorityAM
AMTEMPLATEAsset TemplateAM
AMTRANSAsset TransactionAM
AMTRANSUMMAsset Transaction SummaryAM
APACCRCODEInvoice Accrual CodeAP
APAPDHISTNo description in the Lawson data dictionaryAP
APAPIHISTVendor Invoice HistoryAP
APAPPHISTAP Payment HistoryAP
APAPPROVALInvoice ApprovalAP
APAPSHISTNo description in the Lawson data dictionaryAP
APASTDTLAsset DetailAP
APAUDITVendor Invoice AuditAP
APAUTHORAuthority CodeAP
APBATCHBatchAP
APCDISTRIBDistribution InterfaceAP
APCINVERRAP Invoice Conversion ErrorAP
APCINVOICEInvoice InterfaceAP
APCOMMENTSCommentsAP
APCOMPANYAccounts Payable CompanyAP
APCONTACTNo description in the Lawson data dictionaryAP
APCPAYMENTInvoice Payment InterfaceAP
APCPYVNDVendor Company CodesAP
APCRMEMOCredit Memo ApplicationAP
APCRMHISTNo description in the Lawson data dictionaryAP
APDFLHISTNo description in the Lawson data dictionaryAP
APDISCACCDiscountAP
APDISCCODEDiscount CodeAP
APDISTCODEDistribution Code DetailAP
APDISTHDRDistribution Code HeaderAP
APDISTRIBInvoice DistributionAP
APDRAFTSAP Bill of ExchangeAP
APDRFTCDESBill of Exchange Accrual CodeAP
APDRFTDISTBill of Exchange DistributionAP
APDSKHISTNo description in the Lawson data dictionaryAP
APDSUSRFLDAccounts Payable User FieldsAP
APHLDINVHoldAP
APINUSRFLDAP Invoice User FieldsAP
APINVOICEAccounts Payable InvoiceAP
APISRHISTNo description in the Lawson data dictionaryAP
APMONITORAccounts Payable MonitorAP
APPAYCORELPay Group-Company RelationshipAP
APPAYMENTInvoice PaymentAP
APPROCLEVAccounts Payable Process LevelAP
APSECWTHNo description in the Lawson data dictionaryAP
APSECWTHRTNo description in the Lawson data dictionaryAP
APTAXENTReportable Income Group EntityAP
APVENADDRAP Vendor AddressAP
APVENBALVendor BalanceAP
APVENCERTNo description in the Lawson data dictionaryAP
APVENGROUPVendor GroupAP
APVENLOCVendor LocationAP
APVENMASTVendor Master RecordAP
APVENPAYNo description in the Lawson data dictionaryAP
APWTHCODEIncome Withholding CodeAP
CBBANKINSTBank Transaction CodeCB
CBCASHCODECash CodeCB
CBCHECKAccounts Payable Cash PaymentCB
CKPOINTNo description in the Lawson data dictionary
CUSTDESCAR Group CustomerAR
EEADVANCEEmployee AdvanceAP
EEDISTRIBExpense DistributionAP
EEEXPENSEEmployee ExpenseAP
GLNLOCDTLNo description in the Lawson data dictionaryIC
MAAOCDTLInvoice Add On Cost DetailMA
MAAOIHISTNo description in the Lawson data dictionaryMA
MAINVDTLInvoice Line DetailMA
MAMAAHISTNo description in the Lawson data dictionaryMA
MAMADHISTNo description in the Lawson data dictionaryMA
MAPOINVMultiple PO InvoiceMA
MMDISTAccount DistributionsPO
MMUAVALNo description in the Lawson data dictionaryPO
MXLISTHDRAttribute List HeaderIF
MXLISTMBRAttribute ListIF
POAOCSPRDAdd On Cost SpreadPO
POAUDITAudit RecordsPO
POPOVUFNo description in the Lawson data dictionaryPO
POPSPHISTNo description in the Lawson data dictionaryPO
PORECLINEPO Line Item ReceivingsPO
POVENDLOCVendor Location MasterPO
POVENDORPO Vendor MasterPO
RQAUDITRequisition AuditRQ
SYSTEMCODESystem CodeIF
TXCODEMASTTax Code MasterTX
TXCOMPANYTax CompanyTX
TXTAXCODETax Code MaintenanceTX
TXTAXTABLETax TableTX

Referenced files (97)

TableDescriptionSystem
AMASSETBODNo description in the Lawson data dictionaryAM
AMASSETDSPAsset DisposalAM
AMASSETTRFAsset TransferAM
AMASTBKDSPAsset Book DisposalAM
AMASTBKTRFAsset Book TransferAM
AMASTITDSPAsset Item DisposalAM
AMASTITTRFAsset Item TransferAM
AMASTMXVALAsset AttributesAM
AMASTRPAIRAsset RepairAM
AMBOOKAsset Book NameAM
AMCOMPUTEComputeAM
AMLOCDTLLocation DetailAM
AMMETHODAsset MethodAM
AMPUCODEAsset Personal Use CodeAM
AMTABLEPCTPercent TableAM
AMTABLETAXAsset Management Tax TableAM
AMTRANSBODNo description in the Lawson data dictionaryAM
AMTYPALLOCThe The Asset Management Type Allocation file stores the allocation history for a type (type and subtype).AM
AMTYPALLOXThe Asset Type Allocation Detail file stores the accounting units and percentages for each company, asset type (or…AM
AMUOPPDSUnits of Production PeriodsAM
APAPPHISTAP Payment HistoryAP
APCDISTRIBDistribution InterfaceAP
APCOMMENTSCommentsAP
APCONTACTNo description in the Lawson data dictionaryAP
APCPAYMENTInvoice Payment InterfaceAP
APDFLHISTNo description in the Lawson data dictionaryAP
APDISCACCDiscountAP
APDSKHISTNo description in the Lawson data dictionaryAP
APDSUSRFLDAccounts Payable User FieldsAP
APHOLDCODEHold CodeAP
APINCCODEIncome CodeAP
APPAYMENTInvoice PaymentAP
APPMTBODNo description in the Lawson data dictionaryAP
APPROCGRPProcess GroupAP
APUAVALNo description in the Lawson data dictionaryAP
APUSRFLDEFAP User Field DefinitionAP
APVENCERTNo description in the Lawson data dictionaryAP
APVENCLASSVendor ClassAP
APVENLCBODNo description in the Lawson data dictionaryAP
APVENLOCVendor LocationAP
APVNMXVALNo description in the Lawson data dictionaryAP
ARCUSTGRPAccounts Receivable Cust GroupAR
CBBANKENTBankCB
CBCASHFORMCash Payment FormatCB
CBPAYMENTCash PaymentCB
CBRECPTHDRCash Receipt DepositCB
CBTRANSBank TransactionCB
CBTRANSBODNo description in the Lawson data dictionaryCB
CBUSERCash Ledger UserCB
CBUSRCLASSCash Ledger User ClassCB
CUCODESCurrency CodesIF
CUCONVCurrency Exhange RateIF
CURELATCurrency RelationshipsIF
EEAPPROVALExpense Advance Approval CodeAP
GLADDRESSGeneral Ledger Company AddressIF
GLCGCPYCompany Group CompanyIF
GLCHARTGeneral Ledger ChartIF
GLCHARTDTLGeneral Ledger Chart DetailIF
GLCODESGeneral Ledger CodesIF
GLINTCOGeneral Ledger IntercompanyIF
GLMASTERGeneral Ledger Account MasterIF
GLNLOCDTLNo description in the Lawson data dictionaryIC
GLSYSTEMGeneral Ledger CompanyIF
ICCOMPANYInventory Company InformationIC
INSTCTRYCDIntrastat Country CodesTX
INSTREGNIntrastat Region CodeTX
LMLEASELease InformationLM
LMLEASESEGThis file stores the user analysis values for a lease.LM
MACOMPANYMatching CompanyMA
MAINVHANDInvoice Handling CodeMA
MAMATCHTBLMatch TableMA
MAMSGTOLNo description in the Lawson data dictionaryMA
MAMTCHRULEMatching RulesMA
MXCATDEFAttribute DefinitionIF
MXELEMENTAttribute ElementIF
MXLISTDTLAttribute List DetailIF
MXOBJCATAttribute ObjectIF
POAOCDTLAdd On Cost DetailPO
POAOCMASTAdd On Cost MasterPO
POAUDRULESAudit RulesPO
POAUDTYPEAudit TypesPO
POCOMPANYCompany System MasterPO
POITEMVENPO Vendor Item InformationPO
POLINELine ItemsPO
PORECLINEPO Line Item ReceivingsPO
POREVISIONPO RevisionPO
PORLNUFNo description in the Lawson data dictionaryRQ
PORQHUFNo description in the Lawson data dictionaryRQ
POVAGRMTHDVendor AgreementPO
POVENDLOCVendor Location MasterPO
PROCUREGRPProcurement GroupPO
PURCHORDERPurchase Order MasterPO
REQHEADERRequisition HeaderRQ
REQLINERequisition LineRQ
TXTAXRATETax RateTX
VBABODNo description in the Lawson data dictionaryAP
WFSETUPNo description in the Lawson data dictionaryWF

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