AP300 – Invoice and Vendor History Purge

System
Accounts Payable (AP)
Type
Batch program
Updates
67 tables
References
73 tables

AP300 (Invoice and Vendor History Purge) is a Lawson Accounts Payable batch program. It updates APAPDHIST, APAPIHIST, APAPPHIST, APAPPROVAL, APAPSHIST, APASTDTL, APAUDIT, APCOMMENTS and 59 more and references APACCRCODE, APAPDHIST, APAPPHIST, APAUTHOR, APCOMPANY, APCRMEMO, APCRMHIST, APDFLHIST and 65 more.

About AP300

Run Invoice and Vendor History Purge (AP300) to delete historical Accounts Payable transactions, records, and contact information from Accounts Payable database files and archive the records to a .csv file. Before you deleteinformation, consider running Bank Account Payment History (AP255), Vendor Payment History (AP270), and Invoice Distribution History (AP275) through the cut-off date you define to list information you are deleting. You cannot inquire or report on the information this form deletes. 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.

Updated files (67)

TableDescriptionSystem
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
APCOMMENTSCommentsAP
APCONTACTNo description in the Lawson data dictionaryAP
APCPYVNDVendor Company CodesAP
APCRMEMOCredit Memo ApplicationAP
APCRMHISTNo description in the Lawson data dictionaryAP
APDFLHISTNo description in the Lawson data dictionaryAP
APDISCACCDiscountAP
APDISTPAYFor invoices with retainage, it is required to track what has been paid against a vendor agreement or purchase order…AP
APDISTRIBInvoice 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
APPAYMENTInvoice PaymentAP
APPOVNXREFNo description in the Lawson data dictionaryAP
APUAVALNo description in the Lawson data dictionaryAP
APUAVHISTNo description in the Lawson data dictionaryAP
APVENADDRAP Vendor AddressAP
APVENBALVendor BalanceAP
APVENCERTNo description in the Lawson data dictionaryAP
APVENDIVThe APVENDIV file stores the diversity codes and their certification dates for the related vendor in APVENMASTAP
APVENGROUPVendor GroupAP
APVENLOCVendor LocationAP
APVENMASTVendor Master RecordAP
APVENPAYNo description in the Lawson data dictionaryAP
APVENTABLEVendor TableAP
CBBANKINSTBank Transaction CodeCB
CBCASHCODECash CodeCB
CKPOINTNo description in the Lawson data dictionary
CUSTDESCAR Group CustomerAR
EEADVANCEEmployee AdvanceAP
EEDISTRIBExpense DistributionAP
EEEXPENSEEmployee ExpenseAP
EEMATCHINGAdvance Expense MatchingAP
EEUAVALNo description in the Lawson data dictionaryAP
GLNLOCDTLNo description in the Lawson data dictionaryIC
ITEMSRCItem SourceIC
MAAOCDTLInvoice Add On Cost DetailMA
MAAOIHISTNo description in the Lawson data dictionaryMA
MAINVDTLInvoice Line DetailMA
MAINVMSGInvoice and PO Cost MessageMA
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
POPOVUFNo description in the Lawson data dictionaryPO
POPSPHISTNo description in the Lawson data dictionaryPO
POVENDLOCVendor Location MasterPO
POVENDORPO Vendor MasterPO
TXCODEMASTTax Code MasterTX
TXCOMPANYTax CompanyTX
TXTAXCODETax Code MaintenanceTX
TXTAXTABLETax TableTX

Referenced files (73)

TableDescriptionSystem
APACCRCODEInvoice Accrual CodeAP
APAPDHISTNo description in the Lawson data dictionaryAP
APAPPHISTAP Payment HistoryAP
APAUTHORAuthority CodeAP
APCOMPANYAccounts Payable CompanyAP
APCRMEMOCredit Memo ApplicationAP
APCRMHISTNo description in the Lawson data dictionaryAP
APDFLHISTNo description in the Lawson data dictionaryAP
APDISCACCDiscountAP
APDISCCODEDiscount CodeAP
APDISTHDRDistribution Code HeaderAP
APDISTRIBInvoice DistributionAP
APDRAFTSAP Bill of ExchangeAP
APDSKHISTNo description in the Lawson data dictionaryAP
APDSUSRFLDAccounts Payable User FieldsAP
APHLDINVHoldAP
APHOLDCODEHold CodeAP
APINCCODEIncome CodeAP
APPAYMENTInvoice PaymentAP
APPMTBODNo description in the Lawson data dictionaryAP
APPROCGRPProcess GroupAP
APUSRFLDEFAP User Field DefinitionAP
APVENCERTNo description in the Lawson data dictionaryAP
APVENCLASSVendor ClassAP
APVENLCBODNo description in the Lawson data dictionaryAP
APVNMXVALNo description in the Lawson data dictionaryAP
ARCUSTGRPAccounts Receivable Cust GroupAR
CBBANKENTBankCB
CBCASHFORMCash Payment FormatCB
CBCHECKAccounts Payable Cash PaymentCB
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
EEDISTRIBExpense DistributionAP
EEMATCHINGAdvance Expense MatchingAP
GLNLOCDTLNo description in the Lawson data dictionaryIC
GLSYSTEMGeneral Ledger CompanyIF
INSTCTRYCDIntrastat Country CodesTX
INSTREGNIntrastat Region CodeTX
ITEMSRCItem SourceIC
MAAOCDTLInvoice Add On Cost DetailMA
MAAOIHISTNo description in the Lawson data dictionaryMA
MAINVDTLInvoice Line DetailMA
MAINVHANDInvoice Handling CodeMA
MAINVMSGInvoice and PO Cost MessageMA
MAMAAHISTNo description in the Lawson data dictionaryMA
MAMADHISTNo description in the Lawson data dictionaryMA
MAMATCHTBLMatch TableMA
MAMSGTOLNo description in the Lawson data dictionaryMA
MAMTCHRULEMatching RulesMA
MAPOINVMultiple PO InvoiceMA
MMDISTAccount DistributionsPO
MXCATDEFAttribute DefinitionIF
MXELEMENTAttribute ElementIF
MXLISTDTLAttribute List DetailIF
MXOBJCATAttribute ObjectIF
POAOCDTLAdd On Cost DetailPO
POAOCSPRDAdd On Cost SpreadPO
POITEMVENPO Vendor Item InformationPO
POPSPHISTNo description in the Lawson data dictionaryPO
POVAGRMTHDVendor AgreementPO
PROCUREGRPProcurement GroupPO
PURCHORDERPurchase Order MasterPO
TXTAXRATETax RateTX
VBABODNo description in the Lawson data dictionaryAP
WFSETUPNo description in the Lawson data dictionaryWF

Program calls

Invoked programs (11)

ACAC, ACTA, API4, IFAC, IFCU, IFLU, IFOB, IFSG, IFUP, SLSE, SLSU