APAPIHIST – Vendor Invoice History
- System
- Accounts Payable (AP)
- Prefix
AH1- Primary key
COMPANY,VENDOR,INVOICE,SUFFIX,CANCEL-SEQ- Fields
- 155
- Updated by
- 14 programs
- Referenced by
- 308 programs
APAPIHIST is the Vendor Invoice History table in Lawson Accounts Payable (prefix AH1). It is indexed by COMPANY, VENDOR, INVOICE, SUFFIX, CANCEL-SEQ (AH1SET1); alternate indexes: AH1SET10, AH1SET11, AH1SET12, AH1SET13, AH1SET3, AH1SET4, AH1SET5, AH1SET6 and 1 more. It is related 1:1 to APCOMPANY, APINCCODE, APVENMAST, APPROCLEV, APVENLOC, EEADVANCE, EEEXPENSE, APISRHIST and 1 more and 1:M to APAPDHIST, APAPPHIST, APDISTPAY, MAAOIHIST, MAMAAHIST, MAMADHIST, APAPIHIST, PORECEIVE and 1 more. It is updated by AP115, AP136, AP180, AP181, AP190, AP198, AP232, AP28.1 and 6 more and referenced by AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 and 300 more. The table has 155 fields, 10 indexes and 23 documented relations.
About APAPIHIST
No description in the Lawson data dictionary.
Fields (155)
Column = COBOL field name without the AH1- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
AH1-COMPANY PKCOMPANY | Numeric 4 | Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources. | AP198, AP300 |
AH1-VENDOR PKVENDOR | Alpha 9 (Right Justified) | The vendor's identification code. | AP115, AP198, AP300 |
AH1-INVOICE PKINVOICE | Alpha 22 | Used to identify the invoice. | AP115, AP198, AP300 |
AH1-SUFFIX PKSUFFIX | Numeric 3 | This is the suffix for the invoice. | AP198, AP300 |
AH1-CANCEL-SEQ PKCANCEL_SEQ | Numeric 4 | An automatically assigned sequence number. | AP198, AP300 |
AH1-CANCEL-DATECANCEL_DATE | Numeric 8 (yyyymmdd) | The cancellation date. | AP198 |
AH1-BATCH-NUMBATCH_NUM | Numeric 6 | This identifies the batch the entered invoices, debit memos, and credit memos are a part of. | AP198 |
AH1-BATCH-DATEBATCH_DATE | Numeric 8 (yyyymmdd) | — | AP198 |
AH1-VOUCHER-NBRVOUCHER_NBR | Alpha 10 | — | AP198 |
AH1-AUTH-CODEAUTH_CODE | Alpha 3 | A user-defined code representing a person or department responsible for approving a registered invoice. | AP198 |
AH1-PROC-LEVELPROC_LEVEL | Alpha 5 | This field contains the process level, which is the reporting hierarchy below company. | AP198 |
AH1-ACCR-CODEACCR_CODE | Alpha 4 | A user-defined code representing a general ledger accrual account. | AP198 |
AH1-INVOICE-TYPEINVOICE_TYPE | Alpha 1 | THis field will be filled in from the Invoice based on PO number. This is a carrier for the field. The PORECEIVE file will have to be updated with this field. | AP198 |
AH1-INV-CURRENCYINV_CURRENCY | Alpha 5 | — | AP198 |
AH1-PAY-CURRENCYPAY_CURRENCY | Alpha 5 | — | AP198 |
AH1-INVOICE-DTEINVOICE_DTE | Numeric 8 (yyyymmdd) | — | AP198 |
AH1-PURCH-FR-LOCPURCH_FR_LOC | Alpha 4 | The vendor's purchase from location. | AP115, AP198 |
AH1-PO-NUMBERPO_NUMBER | Alpha 14 (Right Justified) | This field contains the number representing the purchase order. | AP198 |
AH1-PO-RELEASEPO_RELEASE | Numeric 4 | Used to identify a purchase order release (created from a Blanket or Standing order). | AP198 |
AH1-PO-CODEPO_CODE | Alpha 4 | This is the purchase order code. | AP198 |
AH1-DESCRIPTIONDESCRIPTION | Alpha 30 (Lower Case) | This field displays the description. | AP198 |
AH1-BASE-INV-AMTBASE_INV_AMT | Signed 18.2 | — | AP198 |
AH1-BASE-ACT-AMTBASE_ACT_AMT | Signed 18.2 | — | AP198 |
AH1-BASE-NDBASE_ND | Numeric 1 | The number of decimal positions defined for the company base currency. | AP198 |
AH1-TRAN-INV-AMTTRAN_INV_AMT | Signed 18.2 | — | AP198 |
AH1-TRAN-ALOW-AMTTRAN_ALOW_AMT | Signed 18.2 | — | AP198 |
AH1-TRAN-TXBL-AMTTRAN_TXBL_AMT | Signed 18.2 | — | AP198 |
AH1-TRAN-TOT-TXBLTRAN_TOT_TXBL | Signed 18.2 | — | AP198 |
AH1-TRAN-NDTRAN_ND | Numeric 1 | The number of decimals assigned to a particular account as determined by the account currency. | AP198 |
AH1-TRAN-TAX-AMTTRAN_TAX_AMT | Signed 18.2 | — | AP198 |
AH1-BASE-DISC-AMTBASE_DISC_AMT | Signed 18.2 | — | AP198 |
AH1-TRAN-DISC-AMTTRAN_DISC_AMT | Signed 18.2 | — | AP198 |
AH1-BASE-TOT-PMTBASE_TOT_PMT | Signed 18.2 | — | AP198 |
AH1-TRAN-TOT-PMTTRAN_TOT_PMT | Signed 18.2 | — | AP198 |
AH1-BASE-TOT-DISTBASE_TOT_DIST | Signed 18.2 | — | AP198 |
AH1-TRAN-TOT-DISTTRAN_TOT_DIST | Signed 18.2 | — | AP198 |
AH1-TRAN-TOT-TAXTRAN_TOT_TAX | Signed 18.2 | — | AP198 |
AH1-TRAN-PAID-AMTTRAN_PAID_AMT | Signed 18.2 | — | AP198 |
AH1-ORIG-CNV-RATEORIG_CNV_RATE | Signed 14.7 | — | AP198 |
AH1-ANTICIPATIONANTICIPATION | Alpha 1 | The anticipation flag. | AP198 |
AH1-DISCOUNT-RTDISCOUNT_RT | Percent 5.3 (Percent) | — | AP198 |
AH1-DISC-DATEDISC_DATE | Numeric 8 (yyyymmdd) | This field displays the system date when this was created. | AP198 |
AH1-DUE-DATEDUE_DATE | Numeric 8 (yyyymmdd) | The transaction due date. | AP198 |
AH1-NBR-SPLIT-PMTNBR_SPLIT_PMT | Numeric 3 | — | AP198 |
AH1-SPLIT-PMT-SCHSPLIT_PMT_SCH | Alpha 1 | — | AP198 |
AH1-NBR-RECUR-PMTNBR_RECUR_PMT | Numeric 3 | — | AP198 |
AH1-RECUR-FREQRECUR_FREQ | Alpha 1 | — | AP198 |
AH1-REMIT-TO-CODEREMIT_TO_CODE | Alpha 4 | A user-defined code that represents a vendor's remittance address. | AP115, AP198 |
AH1-CASH-CODECASH_CODE | Alpha 4 | A cash code represents a bank account. More than one company can use the same cash code. The cash code must be linked to a bank in the Lawson Cash Ledger system. | AP115, AP198 |
AH1-BANK-INST-CODEBANK_INST_CODE | Alpha 3 | A transaction code represents a type of cash payment, bill of exchange payment, or bank service transaction. | AP115, AP198 |
AH1-CURR-RECALCCURR_RECALC | Alpha 1 | — | AP198 |
AH1-TAX-CODETAX_CODE | Alpha 10 | This field contains a code representing specific tax information. This must be valid Tax Code. | AP198 |
AH1-INCOME-CODEINCOME_CODE | Alpha 4 | A user-defined code that represents a type of income withholding. Used to track reportable income for reporting or withholding. | AP198 |
AH1-DIST-CODEDIST_CODE | Alpha 9 | A user-defined code used to automatically create expense distributions or expense distribution "shells" for invoices or to split an invoice distribution into multiple distributions. | AP198 |
AH1-REC-STATUSREC_STATUS | Numeric 1 | The record status. | AP198 |
AH1-CREATE-DATECREATE_DATE | Numeric 8 (yyyymmdd) | The creation date. | AP198 |
AH1-DISTRIB-DATEDISTRIB_DATE | Numeric 8 (yyyymmdd) | This field displays the system date when this was created. | AP198 |
AH1-OPERATOROPERATOR | Alpha 10 | This field is used to store the login id of the person who entered the record. | AP198 |
AH1-CREATION-TIMECREATION_TIME | Numeric 6 (hhmmss) | The creation time. | AP198 |
AH1-VENDOR-GROUPVENDOR_GROUP | Alpha 4 | A vendor group represents a group of vendors that can be shared by one or more companies. | AP198 |
AH1-PAY-VENDORPAY_VENDOR | Alpha 9 (Right Justified) | The vendor's identification code. | AP115, AP198 |
AH1-PAY-GROUPPAY_GROUP | Alpha 4 | A pay group is used for processing accounts payable payments. A pay group lets you create a single payment for a vendor to pay invoices received by all company process levels assigned to the pay group. | AP198 |
AH1-INVOICE-GROUPINVOICE_GROUP | Alpha 4 | A user-defined character expression. An invoice group can be assigned to one more invoices. AP150 (Cash Requirements) has an option to select all invoices assigned the same invoice group. | AP115, AP198 |
AH1-LAST-DIST-SEQLAST_DIST_SEQ | Numeric 6 | A unique sequence number. | AP198 |
AH1-LAST-PMT-SEQLAST_PMT_SEQ | Numeric 4 | An automatically assigned sequence number. | AP198 |
AH1-DISCOUNT-CODEDISCOUNT_CODE | Alpha 10 | A user-defined code that represents a general ledger discount account. | AP198 |
AH1-INVOICE-SOURCEINVOICE_SOURCE | Alpha 1 | Indicates the source for creation of the invoice (manual, EDI, evaluated receipts settlement). | AP198 |
AH1-INVC-REF-TYPEINVC_REF_TYPE | Alpha 2 | Indicates the type of number the vendor is providing to reference the invoice. | AP198 |
AH1-APPROVED-FLAGAPPROVED_FLAG | Alpha 1 | — | AP198 |
AH1-APPRV-OPERATORAPPRV_OPERATOR | Alpha 10 | This field is used to store the login id of the person who entered the record. | AP198 |
AH1-RETURN-NUMBERRETURN_NUMBER | Numeric 10 | This is the number assigned to the return for purposes of referencing the return internally and with the customer or vendor. | AP198 |
AH1-JRNL-BOOK-NBRJRNL_BOOK_NBR | Alpha 12 | The journal book assigned to the transaction. | AP198 |
AH1-TAX-POINTTAX_POINT | Alpha 1 | — | AP198 |
AH1-OBJ-IDOBJ_ID | Numeric 12 | This is the object identifier. It is used to relate commitments or posted transactions back to the originating subsystems. Each subsystem record that is updated as a commitment or posted transaction is assigned an object identifier. The object identifier is maintained in the subsystem files and in the Activity Commitments Detail and Activity Transaction files. The object identifier is a unique key used to drill back from Activity Management to the subsystems. | AP198 |
AH1-RECON-DATERECON_DATE | Numeric 8 (yyyymmdd) | Represents the date the transaction cleared the bank or was voided. | AP136, AP198, AP232 |
AH1-POD-PRINTEDPOD_PRINTED | Numeric 1 | — | AP198 |
AH1-MATCH-REF-NBRMATCH_REF_NBR | Alpha 22 | — | AP198 |
AH1-MATCH-FLMATCH_FL | Alpha 1 | This field determines whether a transaction is considered to be a match transaction. | AP198 |
AH1-TERMS-CDTERMS_CD | Alpha 5 | A user-defined code representing a method of determining invoice due and discount dates. | AP198 |
AH1-RCPT-INV-DATERCPT_INV_DATE | Numeric 8 (yyyymmdd) | This field displays the system date when this was created. | AP198 |
AH1-RETAIL-AMTRETAIL_AMT | Signed 18.2 | — | AP198 |
AH1-MATCH-STATUSMATCH_STATUS | Numeric 1 | — | AP198 |
AH1-REASON-CODEREASON_CODE | Alpha 4 | This field contains the reason code, which indicates the cause for credit memos. | AP198 |
AH1-HANDLING-CODEHANDLING_CODE | Alpha 4 | — | AP198 |
AH1-MATCH-AMTMATCH_AMT | Signed 18.2 | — | AP198 |
AH1-AOC-ALLOW-AMTAOC_ALLOW_AMT | Signed 18.2 | — | AP198 |
AH1-LOCATIONLOCATION | Alpha 5 | This field contains a valid stocking location within the company inventory. | AP198 |
AH1-MATCH-OBJ-IDMATCH_OBJ_ID | Numeric 12 | This is the object identifier. It is used to relate commitments or posted transactions back to the originating subsystems. Each subsystem record that is updated as a commitment or posted transaction is assigned an object identifier. The object identifier is maintained in the subsystem files and in the Activity Commitments Detail and Activity Transaction files. The object identifier is a unique key used to drill back from Activity Management to the subsystems. | AP198 |
AH1-CBPRINT-FLCBPRINT_FL | Alpha 1 | — | AP198 |
AH1-MATCH-TABLEMATCH_TABLE | Alpha 10 | — | AP198 |
AH1-TAX-CODE-CNTLTAX_CODE_CNTL | Alpha 1 | This control field defines the tax code usage in invoicing and approving taxes. For PO Invoices, if set to O (Override) all lines approved for payment will use the tax code defined for the whole invoice. If set to I (Ignore) no PO lines approved for payment will be taxed. | AP198 |
AH1-LAST-MATCH-LNLAST_MATCH_LN | Numeric 4 | — | AP198 |
AH1-MATCH-LEVELMATCH_LEVEL | Alpha 3 | — | AP198 |
AH1-MATCH-DATEMATCH_DATE | Numeric 8 (yyyymmdd) | This field displays the system date when this was created. | AP198 |
AH1-PO-INV-TAXPO_INV_TAX | Signed 18.2 | — | AP198 |
AH1-BYPASS-MATCHBYPASS_MATCH | Alpha 1 | — | AP198 |
AH1-SERVICE-FLSERVICE_FL | Alpha 1 | This field indicates a transaction is a Service only transaction. | AP198 |
AH1-SERVICE-AMTSERVICE_AMT | Signed 18.2 | — | AP198 |
AH1-NOTCNOTC | Alpha 2 | The Nature of Transaction code. Must be a valid code defined in IN07.1 (NOTC Maintenance). | AP198 |
AH1-STAT-PROCSTAT_PROC | Alpha 6 | The statistical procedure code applied to the data. The code must be defined in IN06.1. (Statistical Procedure Maintenance). | AP198 |
AH1-SHIP-VIASHIP_VIA | Alpha 12 (Lower Case) | — | AP198 |
AH1-UNLOADING-PORTUNLOADING_PORT | Alpha 5 | The prot where the goods are unloaded if required. Must be defined in IN04.1 (Port Maintenance) | AP198 |
AH1-INTRASTAT-NBRINTRASTAT_NBR | Numeric 12 | The number assigned by the Intrastat system to a transaction that involves Intrastat reporting after it has been added. | AP198 |
AH1-DROPSHIP-FLDROPSHIP_FL | Alpha 1 | This flag indicates whether goods being shipped by the vendor directly to a non standard location need to have the receiving process performed. | AP198 |
AH1-FOB-CODEFOB_CODE | Alpha 3 | The user defined Free On Board Code. | AP198 |
AH1-TAX-OUT-BALTAX_OUT_BAL | Derived | — | — |
AH1-TXB-OUT-BALTXB_OUT_BAL | Derived | Derived field to show difference between header taxable input and total taxable amount from distributions. | — |
AH1-PMT-OUT-BALPMT_OUT_BAL | Derived | — | — |
AH1-DIST-OUT-BALDIST_OUT_BAL | Derived | — | — |
AH1-OUT-BAL-FLAGOUT_BAL_FLAG | Derived | — | — |
AH1-INV-STATUSINV_STATUS | Derived | — | — |
AH1-NET-PAYABLENET_PAYABLE | Derived | — | — |
AH1-REV-SIGN-AMTREV_SIGN_AMT | Derived | — | — |
AH1-TYPE-SHORT-NMETYPE_SHORT_NME | Derived | — | — |
AH1-PO-RELEASE-3PO_RELEASE_3 | Derived | The PO release number converted to a three-character field for purposes of display and printing the shorter field. | — |
AH1-JBK-SEQ-NBRJBK_SEQ_NBR | Numeric 10 | The journal book sequence number assigned to a journal book transaction when it is added or interfaced to the Lawson system. Used only when Auto Journal Book Seq Nbr is set to Yes in GL10.1 (Company). | AP198 |
AH1-DIVERSE-CODEDIVERSE_CODE | Alpha 5 | Diversity Code for Account Payable Vendors | AP115, AP198 |
AH1-FLEX-FLAGFLEX_FLAG | Alpha 1 | — | AP198 |
AH1-RULE-GROUPRULE_GROUP | Alpha 10 | — | AP198 |
AH1-FLOAT-DAYSFLOAT_DAYS | Numeric 3 | — | AP198 |
AH1-MTCH-PREPAY-FLMTCH_PREPAY_FL | Alpha 1 | — | AP198 |
AH1-MTCH-PREPAY-MTMTCH_PREPAY_MT | Numeric 1 | — | AP198 |
AH1-PREPAY-DATEPREPAY_DATE | Numeric 8 (yyyymmdd) | — | AP198 |
AH1-COCO-FLCOCO_FL | Numeric 1 | This is the flag when added to the handling code denotes that the invoice will be reviewed for match based on header, line, and Cost components (AOC) | AP198 |
AH1-MATCH-AOCMATCH_AOC | Signed 18.2 | — | AP198 |
AH1-HASH-QTYHASH_QTY | Signed 15.4 | — | AP198 |
AH1-XREF-VENDORXREF_VENDOR | Alpha 9 (Right Justified) | This is a vendor that is supported on a system outside Lawson. When records are interfaces we will maintain this vendor on the file but we will use the Lawson vendor while in the lawson application. | AP198 |
AH1-MTCH-ERR-TYPEMTCH_ERR_TYPE | Numeric 2 | This is the reason the match was not successful for Invoice Match.
| AP198 |
AH1-BT-AMTBT_AMT | Signed 18.2 | — | AP198 |
AH1-DISC-POINTDISC_POINT | Numeric 1 | — | AP198 |
AH1-BUYERBUYER | Alpha 3 | — | — |
AH1-FINAL-DST-FLAGFINAL_DST_FLAG | Alpha 1 | — | — |
AH1-PRPY-DISC-CODEPRPY_DISC_CODE | Alpha 10 | — | — |
AH1-PRPY-REF-NBRPRPY_REF_NBR | Alpha 22 | — | — |
AH1-PRPY-RTL-AMTPRPY_RTL_AMT | Signed 18.2 | — | — |
AH1-PRPY-AMTPRPY_AMT | Signed 18.2 | — | — |
AH1-PRPY-AOC-AMTPRPY_AOC_AMT | Signed 18.2 | — | — |
AH1-PRPY-TAX-AMTPRPY_TAX_AMT | Signed 18.2 | — | — |
AH1-PRPY-SERV-AMTPRPY_SERV_AMT | Signed 18.2 | — | — |
AH1-TAX-FLAGTAX_FLAG | Alpha 1 | — | — |
AH1-STATEMENTSTATEMENT | Alpha 22 | Used to identify the invoice. | — |
AH1-MTCH-PROC-TYPEMTCH_PROC_TYPE | Alpha 2 | —
| AP198 |
AH1-RET-ACCR-CODERET_ACCR_CODE | Alpha 4 | — | AP198 |
AH1-RET-TRAN-AMTRET_TRAN_AMT | Signed 18.2 | — | AP198 |
AH1-RET-BASE-AMTRET_BASE_AMT | Signed 18.2 | — | AP198 |
AH1-RET-TRAN-PMTRET_TRAN_PMT | Signed 18.2 | — | AP198 |
AH1-RET-BASE-PMTRET_BASE_PMT | Signed 18.2 | — | AP198 |
AH1-CONTRACT-GROUPCONTRACT_GROUP | Alpha 4 | — | AP198 |
AH1-CM-CONTRACTCM_CONTRACT | Numeric 15 | — | AP198 |
AH1-REBATE-TYPEREBATE_TYPE | Alpha 25 | — | AP198 |
AH1-REBATE-DUE-DTEREBATE_DUE_DTE | Numeric 8 (yyyymmdd) | — | AP198 |
AH1-TAX-TYPETAX_TYPE | Alpha 1 | —
| — |
AH1-SEC-WITHHOLDSEC_WITHHOLD | Alpha 1 | —
| AP198 |
AH1-FOR-ECON-CODEFOR_ECON_CODE | Alpha 10 | — | — |
AH1-REFERENCE-NOREFERENCE_NO | Alpha 25 (Right Justified) | — | AP198 |
Indexes (10)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
AH1SET1 | COMPANY, VENDOR, INVOICE, SUFFIX, CANCEL-SEQ | Primary | AP00.4, AP01.1, AP115, AP125, AP126, AP131, AP136, AP180 +22 more (list truncated in source) | |
AH1SET10 | COMPANY, RECON-DATE, ACCR-CODE, INV-CURRENCY, VENDOR, INVOICE, SUFFIX, CANCEL-SEQ, REC-STATUS | KeyChange | AP136, AP232 | |
AH1SET11 | COMPANY, VENDOR, MATCH-REF-NBR, OBJ-ID | KeyChange, Subset | Where MATCH-REF-NBR != Spaces | — |
AH1SET12 | COMPANY, CBPRINT-FL, VENDOR, INVOICE-DTE, INVOICE, SUFFIX, CANCEL-SEQ | Subset | Where INVOICE-TYPE = "C" | AP131 |
AH1SET13 | COMPANY, VENDOR, MATCH-OBJ-ID, INVOICE, SUFFIX, CANCEL-SEQ | KeyChange | AP131, AP136, AP232 | |
AH1SET3 | REC-STATUS, COMPANY, BATCH-NUM, AUTH-CODE, OPERATOR, CREATE-DATE, CREATION-TIME, VENDOR, INVOICE, SUFFIX, CANCEL-SEQ | KeyChange | AP300 | |
AH1SET4 | COMPANY, VOUCHER-NBR, REC-STATUS, VENDOR, INVOICE, SUFFIX, CANCEL-SEQ | KeyChange | AP00.4, AP520, AP96.2 | |
AH1SET5 | VENDOR-GROUP, VENDOR, INVOICE, SUFFIX, CANCEL-SEQ, COMPANY | KeyChange | AC160, AM115, AM117, AM15.1, AM15.2, AM15.3, AM15.4, AM19.1 +22 more (list truncated in source) | |
AH1SET6 | COMPANY, VENDOR, INVOICE-DTE, INVOICE, SUFFIX, CANCEL-SEQ | KeyChange | AP251, AP300 | |
AH1SET9 | COMPANY, VENDOR, PO-NUMBER, PO-RELEASE, PO-CODE, LOCATION, INVOICE, SUFFIX, CANCEL-SEQ | KeyChange | AP96.3 |
Relations
One to one (12) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Apcompany | APCOMPANY | Required | AH1-COMPANY → CPY-COMPANY | |
| Apinccode | APINCCODE | Not Required | AH1-INCOME-CODE → TYP-INCOME-CODE | |
| Appayvenmast | APVENMAST | Required | CPY-VENDOR-GROUP → VEN-VENDOR-GROUP, AH1-PAY-VENDOR → VEN-VENDOR | |
| Approclev | APPROCLEV | Required | AH1-COMPANY → APR-COMPANY, AH1-PROC-LEVEL → APR-PROC-LEVEL | |
| Apvenlocpurch | APVENLOC | Required | When AH1-PURCH-FR-LOC != Spaces | AH1-VENDOR-GROUP → VLO-VENDOR-GROUP, AH1-VENDOR → VLO-VENDOR, AH1-PURCH-FR-LOC → VLO-LOCATION-CODE |
| Apvenlocremit | APVENLOC | Required | When AH1-REMIT-TO-CODE != Spaces | AH1-VENDOR-GROUP → VLO-VENDOR-GROUP, AH1-PAY-VENDOR → VLO-VENDOR, AH1-REMIT-TO-CODE → VLO-LOCATION-CODE |
| Apvenmast | APVENMAST | Required | CPY-VENDOR-GROUP → VEN-VENDOR-GROUP, AH1-VENDOR → VEN-VENDOR | |
| Eeadvance A | EEADVANCE | Required | When AH1-INVOICE-TYPE = "A" | AH1-COMPANY → EEA-COMPANY, AH1-VENDOR → EEA-VENDOR, AH1-INVOICE → EEA-ADVANCE-NBR |
| Eeadvance M | EEADVANCE | Required | When AH1-INVOICE-TYPE = "M" | AH1-COMPANY → EEA-COMPANY, AH1-VENDOR → EEA-VENDOR, AH1-INVOICE → EEA-ADVANCE-NBR |
| Eeexpense | EEEXPENSE | Required | When AH1-INVOICE-TYPE = "E" | AH1-COMPANY → EXP-COMPANY, AH1-VENDOR → EXP-VENDOR, AH1-INVOICE → EXP-EXPENSE-NBR |
| Invusrfld | APISRHIST | Not Required | AH1-OBJ-ID → AH9-OBJ-ID | |
| Reasoncd | MAREASONCD | Not Required | AH1-REASON-CODE → MAR-REASON-CODE |
One to many (11) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Apapdhist | APAPDHIST | Delete Cascades | AH1-OBJ-ID → AH2-API-OBJ-ID, → AH2-DIST-SEQ-NBR | |
| Apapphist | APAPPHIST | Delete Cascades | AH1-COMPANY → AH3-COMPANY, AH1-VENDOR → AH3-VENDOR, AH1-INVOICE → AH3-INVOICE, AH1-SUFFIX → AH3-SUFFIX, AH1-CANCEL-SEQ → AH3-CANCEL-SEQ, → AH3-SEQ-NBR, → AH3-VOID-SEQ | |
| Apdistpay | APDISTPAY | AH1-COMPANY → DTY-COMPANY, AH1-VENDOR → DTY-VENDOR, AH1-INVOICE → DTY-INVOICE, AH1-SUFFIX → DTY-SUFFIX, → DTY-PMT-SEQ-NBR, → DTY-LINE-NBR, → DTY-MAD-SEQ-NBR, → DTY-DIST-SEQ-NBR | ||
| Maaoihist | MAAOIHIST | Delete Restricted | AH1-COMPANY → MH2-COMPANY, AH1-VENDOR → MH2-VENDOR, AH1-INVOICE → MH2-INVOICE, AH1-SUFFIX → MH2-SUFFIX, → MH2-PO-NUMBER, → MH2-PO-RELEASE, → MH2-PO-CODE | |
| Mamaahist | MAMAAHIST | AH1-COMPANY → MMH-COMPANY, AH1-VENDOR → MMH-VENDOR, AH1-INVOICE → MMH-INVOICE, AH1-SUFFIX → MMH-SUFFIX, AH1-PO-NUMBER → MMH-PO-NUMBER, AH1-PO-RELEASE → MMH-PO-RELEASE, AH1-PO-CODE → MMH-PO-CODE, → MMH-LINE-NBR, → MMH-AOC-CODE, → MMH-SEQ-NBR | ||
| Mamaahist 2 | MAMAAHIST | AH1-COMPANY → MMH-COMPANY, AH1-VENDOR → MMH-VENDOR, AH1-INVOICE → MMH-INVOICE, AH1-SUFFIX → MMH-SUFFIX, → MMH-PO-NUMBER, → MMH-PO-RELEASE, → MMH-PO-CODE, → MMH-LINE-NBR, → MMH-AOC-CODE, → MMH-SEQ-NBR | ||
| Mamadhist | MAMADHIST | AH1-COMPANY → MH1-COMPANY, AH1-VENDOR → MH1-VENDOR, AH1-INVOICE → MH1-INVOICE, AH1-SUFFIX → MH1-SUFFIX, AH1-PO-NUMBER → MH1-PO-NUMBER, AH1-PO-RELEASE → MH1-PO-RELEASE, AH1-PO-CODE → MH1-PO-CODE, → MH1-LINE-NBR, → MH1-AOC-CODE, → MH1-SEQ-NBR | ||
| Mamadhist 2 | MAMADHIST | AH1-COMPANY → MH1-COMPANY, AH1-VENDOR → MH1-VENDOR, AH1-INVOICE → MH1-INVOICE, AH1-SUFFIX → MH1-SUFFIX, → MH1-PO-NUMBER, → MH1-PO-RELEASE, → MH1-PO-CODE, → MH1-LINE-NBR, → MH1-AOC-CODE, → MH1-SEQ-NBR | ||
| Match Trans | APAPIHIST | AH1-COMPANY → AH1-COMPANY, AH1-VENDOR → AH1-VENDOR, AH1-MATCH-OBJ-ID → AH1-MATCH-OBJ-ID, → AH1-INVOICE, → AH1-SUFFIX, → AH1-CANCEL-SEQ | ||
| Por Match Ref | PORECEIVE | AH1-COMPANY → POR-COMPANY, AH1-VENDOR → POR-VENDOR, AH1-MATCH-REF-NBR → POR-MATCH-REF-NBR, → POR-REC-NUMBER | ||
| Porecline | PORECLINE | AH1-COMPANY → PRL-COMPANY, AH1-MATCH-OBJ-ID → PRL-MATCH-OBJ-ID, → PRL-MATCH-SEQ-NBR, → PRL-REC-NUMBER, → PRL-LINE-NBR |
Programs
Updated by (14)
- AP115 Vendor Merge
- AP136 Invoice Accrual Reconciliation
- AP180 Bill of Exchange Cashing Update
- AP181 Bill of Exchange Statement Update
- AP190 Invoice Reinstatement
- AP198 Invoice Data Archival
- AP232 Invoice Accrual Reconciliation Report
- AP28.1 Bill of Exchange Acceptance by Vendor
- AP28.2 Bill of Exchange Acceptance by Date
- AP300 Invoice and Vendor History Purge
- AP305 Accounts Payable Company Purge
- AP45.1 Reportable Income Adjustment
- API1.1 Add Invoice
- MA540 Invoice Interface
Referenced by (308)
- AC160 Asset Management Interface
- AM115 Mass Additions
- AM117 Mass Distribution Split
- AM15.1 Single Invoice Interface
- AM15.2 Combine Invoice Interface
- AM15.3 Single Activity Interface
- AM15.4 Combine Activity Interface
- AM19.1 PO Line Asset Detail
- AM19.2 Create Detail
- AM20.1 Quick Addition
- AM20.3 Items
- AM21.1 Leased Asset Quick Addition
- AM21.3 Items
- AM22.1 Items
- AM500 Asset Management Interface
- AM51.1 Item Update Adjust Interface Maint
- AM551 Item Update Adjustment Interface
- AM97.1 Item Interface Adjustment
- AP00.4 Company
- AP01.1 Pay Group
- AP03.3 Query List Members
- AP10.1 Vendor
- AP110 Mass Vendor Update
- AP125 Batch Release
- AP126 Mass Invoice Release
- AP131 Chargeback
- AP150 Cash Requirements
- AP197 Vendor Balance Rebuild
- AP20.1 Basic Invoice
- AP20.2 Taxed Invoice
- AP20.3 Detail Invoice
- AP20.4 Invoice Line Detail
- AP20.5 Multiple Invoice
- AP20.6 Prepayment
- AP20.7 Distributions
- AP21.1 View Distributions
- AP210 Vendor Listing
- AP212 Comments Listing
- AP220 Invoice Edit Report
- AP23.1 Transit Invoice Entry
- AP245 Reportable Income Report
- AP246 Secondary Withholding Report
- AP25.1 Batch Control
- AP25.2 Batch Review
- AP251 Match Analysis Report
- AP255 Bank Account Payment History
- AP26.1 Invoice Release
- AP27.1 Single Invoice Release
- AP270 Vendor Payment History
- AP271 Vendor Spend Report
- AP275 Invoice Distribution History
- AP30.2 Distribution Adjustments
- AP30.4 Invoice Cancel
- AP32.1 Workflow Approval Maintenance
- AP510 Vendor Conversion
- AP520 Invoice Interface
- AP90.1 Invoice Search by Vendor, Invoice
- AP91.1 Vendor Activity
- AP93.1 Archived Vendor Invoices
- AP93.2 Archived Pay Group Invoices
- AP96.1 Archived Invoice Search by Vendor, Invoice
- AP96.2 Archived Invoice Search by Voucher
- AP96.3 Archived Invoice Search by Purchase Order
- APH1.1 APC Comments
- API2.1 Add Invoice
- API3.1 Vendor Location Invoke
- API4.1 Vendor Master Invoke
- CX100 Pick List Print
- CX20.1 Case Build
- CX20.2 Case Detail
- CX20.4 Substitute Items
- CX20.5 Insert line
- CX220 Case, Preference Listing
- CX30.1 Case Completion Feedback
- CX300 Preference List Purge
- CX506 HL7 Schedules Import Interface
- CXCP.1 Copy preference to case
- DR100 Distribution Requirements Report
- EE20.1 Employee Advance
- EE20.2 Employee Expense
- EE20.4 Employee Payback
- IC12.1 Item Location
- IC140 Vendor Reorder Advice
- IC141 Location Replenishment Report
- IC142 Replenishment by Requisition PO's
- IC145 Stock Status Report
- IC243 Killed Item Report
- IC330 Item Mass Change
- IC64.1 Global Location Nbr Assignment GL/IC Company
- IC64.2 Global Location Nbr Assignment IC Location
- IC64.3 Global Location Number Assignment RQ Location
- IC64.4 Global Location Number Assignment Manuf Code
- IC64.5 Global Location Number Assignment Manuf Div
- IC64.6 Global Location Number Assignment Vendor
- IC64.7 Global Location Number Assignment Vendor Location
- IC64.8 Global Location Number Assignment IC Bin
- IC64.9 Global Location Number Assignment Buyer
- IC66.1 Replenishment PO Worksheet
- IC83.1 Par Location Counts
- IC840 Cart Par Location Conversion
- MA126 Auto Matching
- MA180 Open Receipt Archive
- MA278 Cost Variance Analysis
- MA279 Invoice AOC Detail Report
- MA41.1 Add-On Cost Detail - Purchase Order
- MA41.2 Add On Cost Lookup
- MA41.4 Miscellaneous Add-On Cost
- MA41.7 AOC Approval Entry
- MA42.1 Memo Line Detail - Purchase Order
- MA42.2 Memo Line AOC Detail
- MA43.1 Invoice Line Detail - Purchase Order
- MA43.2 Purchase Order Lookup
- MA43.3 Invoice Line Detail - Receipt
- MA43.4 Invoice Line Detail - Service
- MA43.6 Service Agreement Detail
- MA43.7 GL Distribution
- MA44.1 Invoice Line Detail - Purchase Order
- MA44.2 Invoice Line Detail- Service
- MA53.1 Receipt Interface
- MA530 ERS Invoice Creation
- MA531 Receipt Interface
- MA60.2 Invoice Level Match
- MA60.3 Detail Level Match
- MA60.5 Receipt Match Reference Adjustment
- MA61.1 Match Invoice Approval
- MA63.1 Invoice Line Match
- MA65.1 Invoice Line Adjustment
- MA66.2 Invoice Message - Details
- MA67.2 Invoice Match from frontend
- MA67.3 Detail Match from frontend
- MA68.2 Invoice Level Match - Prepaid
- MA68.3 Detail Level Match - Prepaid
- MA68.5 Receipt Match Reference Adjustment
- MA69.1 AOC Level Detail Match
- MA70.1 Invoice Unmatch
- MA75.1 PO Invoice Cancel
- MA80.1 Receipt Archive
- MAI1.1 Invoke for MAMATCH Object
- MX123 List Member Build
- MX500 Attribute Value Population
- PD10.1 P-Card Card Request
- PD10.2 P-Card Cardholder
- PD130 P-Card Invoice and Release
- PD20.1 P-Card Charge Approval
- PD20.2 P-Card Charge Approval Level
- PD20.3 P-Card Charge Approval SEA
- PD235 P-Card Merchant Report
- PD570 P-Card Charge Import
- PO04.1 Buyer
- PO04.2 Buyer Purchasing Class
- PO10.1 PO Vendor
- PO10.2 Vendor Purchase From Location
- PO100 Purchase Order Interface from Lawson Applications
- PO101 Create Standing PO Release
- PO115 Procurement Template Mass Changes
- PO120 Mass PO Issue
- PO122 Transmitted PO Acknowledgement
- PO131 Receiving Log
- PO132 Print Vendor Return Material Authorization
- PO136 Matched, Not Received Report
- PO15.1 Procurement Templates
- PO15.2 Procurement Template Participants
- PO15.4 Procurement Template Line Detail
- PO150 Bid Load to Contract or Catalog
- PO17.1 Purchase Order Approval Review
- PO190 Close Purchase Order Header
- PO192 PO Vendor Item Audit Report
- PO195 PO Vendor Agreement Audit Report
- PO20.1 Purchase Order Entry
- PO20.6 Substitute Vendor Items
- PO20.9 Multiple Lines
- PO204 Buyer Master Listing
- PO21.1 Select and Copy
- PO21.2 Add-On Cost Spread
- PO21.3 Account Distribution
- PO21.4 Miscellaneous Add-On Cost
- PO21.5 Item Add-On Cost
- PO22.1 Authorization, Release
- PO22.2 Mass Cancel or Delete Purchase Orders
- PO22.3 Mass Cancel or Delete Purchase Orders
- PO22.4 Mass Cancel or Delete Purchase Order Lines
- PO22.5 Purchase Order Line Inquiry
- PO220 PO Status Report
- PO222 Remaining PO Balance Report
- PO223 Buyer Expediting Report
- PO224 PO Revision Report
- PO225 Vendor Agreement Listing
- PO229 Vendor Agreement Format Print
- PO23.1 Purchase Order Worksheet
- PO230 Unreleased Receivings Listing
- PO233 PO Received Quantity Exceptions
- PO234 PO Interface Listing Report
- PO24.1 Purchase Order Direct Approval
- PO25.1 Vendor Agreements
- PO25.5 Vendor Agreement Item Add-On Cost
- PO25.6 Vendor Agreement Line
- PO25.7 Service Agreement Line
- PO251 PO Buyer Message Listing
- PO253 Item Receipt Volume Report
- PO254 PO Inquiry Report
- PO26.3 Vendor Agreement Commitments Spread
- PO26.7 Mass Release of Vendor Agreements
- PO26.9 Vendor Agreement Release
- PO27.2 Select Blanket Lines
- PO27.3 Create PO From Procurement Template
- PO27.4 Select and Copy Template
- PO275 Delivery Date Analysis
- PO276 Deliver Quantity Analysis
- PO277 Deliver Quality Analysis
- PO278 RNI Aging Report
- PO28.2 Vendor Agreement Line Detail List
- PO280 Purchases By Class
- PO29.1 Copy Purchase Order
- PO30.1 PO Receiving
- PO30.2 Substitute Item
- PO30.3 Additional Tracking Numbers
- PO30.4 PO Receiving Line Detail List
- PO300 PO and Receipt Purge
- PO31.1 Vendor Return
- PO31.2 Vendor Return Item Selection
- PO32.2 Item Detail
- PO32.4 Cancel Detail
- PO33.1 Receiving Adjustment
- PO34.1 Inspection Accept or Reject
- PO35.1 Receiving Approval and Release
- PO36.1 Identify Lawson Items by Vendor Agreement Line
- PO36.2 Vendor Agreement Import Manual Input
- PO38.1 Invoice AOC
- PO39.1 Additional Receiving Entry
- PO39.2 Additional Adjustment/Rejection Entry
- PO44.1 PO Line Source
- PO50.1 Buyer Message Entry
- PO52.1 Buyer Message - Receiving
- PO520 Purchase Order Interface from Non Lawson
- PO529 PO Receiving File Create
- PO536 Vendor Price Agreement Load
- PO54.1 Purchase Order Inquiry
- PO54.2 Purchase Order Inquiry
- PO54.3 Purchase Order Inquiry
- PO54.4 Purchase Order Inquiry
- PO54.5 PO Line Detail List
- POA3.1 Data Load for Vendor Analysis
- POCP.1 POC Comments Copy
- POI3.1 Invoke for POPI70PD
- POID.1 PO Delivery Ticket Select
- POII.1 Invoke for POPCRUPD
- POIJ.1 Invoke for POPLIUPD
- PR05.1 Deduction
- PR05.3 Additional Vendors
- PR226 United States Employee Garnishment Listing
- PR247 Canada Employee Garnishment Listing
- PR26.1 United States Employee Garnishment
- PR47.1 Canada Employee Garnishment
- PR514 Employee Deduction Master Load
- RQ01.1 Requesting Locations
- RQ10.1 Requisition
- RQ10.2 Account Distribution
- RQ10.3 Select and Copy
- RQ10.4 Requisition Line Entry Detail
- RQ10.5 Substitutes
- RQ11.1 Kit Accessories
- RQ12.1 Approval Review
- RQ13.1 Direct Approval
- RQ13.2 Direct Line Approval
- RQ260 Requisitioned Items Report
- RQ35.1 Requisition Returns
- RQ44.1 Requisition Inquiry
- RQ500 Requisition Interface
- RQ810 Request Location Load
- RQIB.1 RQRQHUPD Invoke Object
- RQIF.1 RQRLNUPD Invoke Object
- RQII.1 Invoke for Reqheader Inquiry
- RQIJ.1 Requisition Copy
- WH130 Pick List Print
- WH132 Batch Feedback
- WH190 Shipment Release
- WH20.2 Nonstock and Special Allocation
- WH20.7 Substitute Location
- WH222 Shipments In Process
- WH30.1 Picking Feedback by Document
- WH30.2 Picking Feedback by Shipment
- WH30.3 Picking by Batch
- WH30.4 Bin Sequence Picking Feedback
- WH31.1 Packing Feedback by Document
- WH31.2 Packing Feedback by Shipment
- WH31.3 Packing by Batch
- WH31.4 Bin Sequence Packing Feedback
- WH32.1 Shipping Feedback by Document
- WH32.2 Shipping Feedback by Shipment
- WH32.3 Shipping by Batch
- WH32.4 Bin Sequence Shipping Feedback
- WH32.5 Shipping Line Feedback
- WH33.1 Bins
- WH33.2 Lots
- WH33.3 Serials
- WH33.4 UOMs
- WH33.5 Additional Shipment Information
- WH33.6 Catch Weight
- WH33.8 Preassembled Kits
- WH33.9 Line Options
- WH34.1 Component Bins
- WH34.2 Component Lots
- WH34.3 Component Serials
- WH34.4 Component UOMs
- WH40.1 Bill of Lading
- WH40.2 Bill of Lading Feedback
- WH520 Batch Feedback Interface
- WH830 Shipment Load Program