MACINVDTL – Invoice Conversion/Interface
- System
- Matching (MA)
- Prefix
MOP- Primary key
COMPANY,VENDOR,EDI-NBR,INVOICE,SUFFIX,SEQ-NBR- Fields
- 48
- Updated by
- 3 programs
- Referenced by
- 0 programs
MACINVDTL is the Invoice Conversion/Interface table in Lawson Matching (prefix MOP). It is indexed by COMPANY, VENDOR, EDI-NBR, INVOICE, SUFFIX, SEQ-NBR (MOPSET1). It is updated by MA54.1, MA54.3 and MA540. The table has 48 fields, 1 index and 0 documented relations.
About MACINVDTL
No description in the Lawson data dictionary.
Fields (48)
Column = COBOL field name without the MOP- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored. PK = primary key (present in every index); SETn = leading/alternate key of that index.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
#MOP-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. | MA54.3, MA540 |
#MOP-VENDOR PKVENDOR | Alpha 9 (Right Justified) | The vendor's identification code. | MA54.3, MA540 |
#MOP-EDI-NBR PKEDI_NBR | Alpha 15 | The electronic data interchange (EDI) number assigned to the vendor. | MA54.3, MA540 |
#MOP-INVOICE PKINVOICE | Alpha 22 | Used to identify the invoice. | MA54.3, MA540 |
#MOP-SUFFIX PKSUFFIX | Numeric 3 | This is the suffix for the invoice. | MA54.3, MA540 |
#MOP-SEQ-NBR PKSEQ_NBR | Numeric 4 | An automatically assigned sequence number. | MA54.3, MA540 |
#MOP-LINE-NBRLINE_NBR | Numeric 6 | This field contains the line number of the purchase order. | MA54.3, MA540 |
#MOP-PO-NUMBERPO_NUMBER | Alpha 14 (Right Justified) | This field contains the number representing the purchase order. | MA54.3, MA540 |
#MOP-PO-RELEASEPO_RELEASE | Numeric 4 | Used to identify a purchase order release (created from a Blanket or Standing order). | MA54.3, MA540 |
#MOP-PO-CODEPO_CODE | Alpha 4 | This is the purchase order code. | MA54.3, MA540 |
#MOP-ITEMITEM | Alpha 32 | This field contains the item identifier. | MA54.3, MA540 |
#MOP-VEN-ITEMVEN_ITEM | Alpha 32 | This field contains the item identifier. | MA54.3, MA540 |
#MOP-ENTERED-QTYENTERED_QTY | Signed 13.4 | Required. The quantity of goods being invoiced on the detail line. | MA54.3, MA540 |
#MOP-ENT-UOMENT_UOM | Alpha 4 | The unit of measure the entered quantity is expressed in. If left blank, the unit of measure will default from the item/vendor definition, if it exists. If no item/vendor definition exists, the default vendor buy unit of measure will be used. The unit of measure must be valid for the item. | MA54.3, MA540 |
#MOP-UNIT-COSTUNIT_COST | Signed 18.5 | Required. The unit cost of the line item detail. | MA54.3, MA540 |
#MOP-EXTENDED-AMTEXTENDED_AMT | Signed 18.2 | The total value of all the items received on a given receiver. | MA540 |
#MOP-LOCATIONLOCATION | Alpha 5 | This field contains a valid stocking location within the company inventory system. Must be equal to the invoice company location. | MA54.3, MA540 |
#MOP-AOC-CODEAOC_CODE | Alpha 2 | This field contains the identifier for the add on cost associated with this line item. | MA540 |
#MOP-TOTAL-AOCTOTAL_AOC | Signed 18.2 | The total add on cost amount. Required if an AOC code is defined. | MA540 |
#MOP-RTL-UNIT-COSTRTL_UNIT_COST | Signed 18.5 | The retail unit cost of the line item detail. | MA54.3, MA540 |
#MOP-ELEMENT-VALELEMENT_VAL | Alpha 32 Occurs 10 Times ×10 | — | MA54.3, MA540 |
#MOP-DIST-COMPANYDIST_COMPANY | 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. | MA54.3, MA540 |
#MOP-ACCT-UNITACCT_UNIT | Alpha 15 | The accounting unit is a shorthand notation representing the variable level number. When used in the General Ledger Account Master file, the accounting unit must be defined in the General Ledger Names file as a posting accounting unit. | MA54.3, MA540 |
#MOP-ACCOUNTACCOUNT | Numeric 6 | This field along with the accounting unit and subaccount make up the location (account) where amounts and other account information is stored. | MA54.3, MA540 |
#MOP-SUB-ACCTSUB_ACCT | Numeric 4 | This field contains the subaccount from your general ledger chart of accounts that was charged with the amount carried on this record. | MA54.3, MA540 |
#MOP-ACTIVITYACTIVITY | Alpha 15 | Activities are the processes or procedures that produce work. Cost objects (products, services, customers, and so on) are the reasons for performing the activity. | MA54.3, MA540 |
#MOP-ACCT-CATEGORYACCT_CATEGORY | Alpha 5 | Account categories are groupings of costs, revenues, or a combination of both used for reporting and inquiries for activities in the Activity Management system. All transactions are posted to an account category within an activity. You can assign a specific General Ledger account or range of accounts (company, accounting unit, account, and subaccount) that make up the transactions posted to an account category using AC07.1 (Account Assignment). Period-to-date, year-to-date, and life-to-date balances are maintained by account category for activities. Account categories must be assigned to activities before you do any budgeting or transaction processing. Valid account category types are: cost revenue accrual pass thru | MA54.3, MA540 |
#MOP-BILL-CATEGORYBILL_CATEGORY | Alpha 32 | — | MA54.3, MA540 |
#MOP-TAX-CODETAX_CODE | Alpha 10 | This field contains a code representing specific tax information. This must be valid Tax Code. | MA54.3, MA540 |
#MOP-NO-TAX-FLAGNO_TAX_FLAG | Alpha 1 | —
| MA54.3, MA540 |
#MOP-TAX-USAGE-CDTAX_USAGE_CD | Alpha 10 | The tax usage coe for the vendor. This filed is required if the AP Company inidcates that VAT reporting required. | MA54.3, MA540 |
#MOP-ICN-CODEICN_CODE | Alpha 8 | — | MA54.3, MA540 |
#MOP-SUPLMNTARY-QTYSUPLMNTARY_QTY | Signed 13.4 | This field contains the desired quantity. | MA54.3, MA540 |
#MOP-WEIGHTWEIGHT | Signed 9.3 | This field contains the unit weight of the item based on the stocking UOM. | MA54.3, MA540 |
#MOP-SEGMENT-BLOCKSEGMENT_BLOCK | Alpha 103 | This field identifies the user analysis values included in the transaction. You can either type up to four values or use Define (F6) to open the User Analysis Entry subform. Use this subform to select the user analysis values you want to include in the transaction. If you choose to type values, use commas to separate them. For example: value1,value2,value3,value4 There are three conditions that affect how you can select user analysis values. See the User Analysis Entry form help or the Strategic Ledger procedures manual for additional information. | MA54.3, MA540 |
#MOP-PREPAY-QTYPREPAY_QTY | Signed 13.4 | — | — |
#MOP-PRPY-UNIT-CSTPRPY_UNIT_CST | Signed 18.5 | — | — |
#MOP-PRPY-TAX-CODEPRPY_TAX_CODE | Alpha 10 | — | — |
#MOP-PRPY-TAX-AMTPRPY_TAX_AMT | Signed 18.2 | — | — |
#MOP-PRPY-RTL-UCSTPRPY_RTL_UCST | Signed 18.5 | — | — |
#MOP-PREPAY-DATEPREPAY_DATE | Numeric 8 (yyyymmdd) | — | — |
#MOP-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. | — |
#MOP-CATCH-WGT-COSTCATCH_WGT_COST | Signed 18.5 | — | — |
#MOP-COMMODITY-CODECOMMODITY_CODE | Alpha 35 | — | MA54.3, MA540 |
#MOP-RET-PCTRET_PCT | Percent 5.2 (Percent) | — | MA54.3, MA540 |
#MOP-GTINGTIN | Numeric 14 | — | MA54.3, MA540 |
#MOP-GLBL-LINE-TYPEGLBL_LINE_TYPE | Alpha 15 | — | MA54.3, MA540 |
#MOP-COST-OPTIONCOST_OPTION | Alpha 1 | " " = Default from PO line
| — |
Indexes (1)
Keys are listed in index order; ↓ marks a descending key. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
MOPSET1 |
| Primary | MA54.1, MA54.3, MA540 |