OEINVHDR – Invoice Header
- System
- Billing (BL)
- Prefix
OIH- Primary key
COMPANY,BATCH-NBR- Fields
- 10
- Updated by
- 1 program
- Referenced by
- 0 programs
OEINVHDR is the Invoice Header table in Lawson Billing (prefix OIH). It is indexed by COMPANY, BATCH-NBR (OIHSET1). It is related 1:1 to OECOMPANY and 1:M to OEINVOICE. It is updated by WH20.7. The table has 10 fields, 1 index and 2 documented relations.
About OEINVHDR
No description in the Lawson data dictionary.
Fields (10)
Column = COBOL field name without the OIH- 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 |
|---|---|---|---|
#OIH-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. | WH20.7 |
#OIH-BATCH-NBR PKBATCH_NBR | Numeric 6 | This identifies the batch the entered invoices, debit memos, and credit memos are a part of. | WH20.7 |
#OIH-STATUSSTATUS | Numeric 1 | This field displays the status of the transaction.
| — |
#OIH-BATCH-DATEBATCH_DATE | Numeric 8 (yyyymmdd) | This is the date the batch was created. | WH20.7 |
#OIH-DESCRIPTIONDESCRIPTION | Alpha 30 (Lower Case) | The description of the batch. | WH20.7 |
#OIH-BATCH-COUNTBATCH_COUNT | Signed 5.0 | Control total number of records in the batch. | WH20.7 |
#OIH-DETAIL-COUNTDETAIL_COUNT | Signed 5.0 | The total number of records that have been entered in the batch. | WH20.7 |
#OIH-BTCH-QUANTITYBTCH_QUANTITY | Signed 13.4 | Control total amount in the invoice batch. | WH20.7 |
#OIH-DTL-QUANTITYDTL_QUANTITY | Signed 13.4 | The total amount actually entered into the batch. | WH20.7 |
#OIH-INVC-SOURCEINVC_SOURCE | Alpha 1 | Identifies where the invoices within the batch came from. For example, were they interfaced, manually entered, or created by the system.
| WH20.7 |
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 |
|---|---|---|---|---|
OIHSET1 |
| Primary | WH20.7 |
Relations
One to one (1) — lookups and parents
| Relation | Table | Rules | Condition | Field map | |||
|---|---|---|---|---|---|---|---|
| Company | OECOMPANY | Required |
|
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Oeinvoice | OEINVOICE | Delete Cascades |
|
Programs
Updated by (1)
- WH20.7 Substitute Location