OEINVCDTL – Invoice Lot/Serial/Bin Dtls

System
Billing (BL)
Prefix
OID
Primary key
COMPANY, INVC-PREFIX, INVC-NUMBER, LINE-NBR, UOM, LOT, SUBLOT, BIN, SERIAL
Fields
17
Updated by
1 program
Referenced by
0 programs

OEINVCDTL is the Invoice Lot/Serial/Bin Dtls table in Lawson Billing (prefix OID). It is indexed by COMPANY, INVC-PREFIX, INVC-NUMBER, LINE-NBR, UOM, LOT, SUBLOT, BIN, SERIAL (OIDSET1). It is related 1:1 to COLINE, ICCOMPANY, ITEMLOC, ITEMMAST and OEINVCLINE. It is updated by WH20.7. The table has 17 fields, 1 index and 5 documented relations.

About OEINVCDTL

No description in the Lawson data dictionary.

Fields (17)

Column = COBOL field name without the OID- 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 / columnTypeDescription & valuesUpdated by
#OID-COMPANY PK
COMPANY
Numeric 4Identifies 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.—
#OID-INVC-PREFIX PK
INVC_PREFIX
Alpha 2Invoice prefix is assigned from either the company or process level depending on the invoice level option chosen.—
#OID-INVC-NUMBER PK
INVC_NUMBER
Numeric 8Invoice number assigned by the system. Invoice numbers are assigned at the company or process level, depending on an invoice level option on the company file.—
#OID-LINE-NBR PK
LINE_NBR
Numeric 6Indicates the line number on the invoice to which this detail record belongs.—
#OID-UOM PK
UOM
Alpha 4This is the selling unit of measure for the invoice line this detail is attached to.—
#OID-LOT PK
LOT
Alpha 10Identifier for a homogeneous quantity of material. Only necessary if the item is defined as lot tracking.—
#OID-SUBLOT PK
SUBLOT
Alpha 6Identifier for a detail breakdown of a lot number. Only necessary if the item on this line is defined as lot tracking.—
#OID-BIN PK
BIN
Alpha 7A storage area for an item or any number of items. Only necessary if the item on this line is bin tracked.—
#OID-SERIAL PK
SERIAL
Alpha 16Serial number of this particular line on the invoice. Only necessary if the item is serial tracked.—
#OID-QUANTITY
QUANTITY
Signed 13.4This is the requested quantity for the line item.—
#OID-INVC-CW-QTY
INVC_CW_QTY
Signed 13.4Invoice catch weight quantity. This field is valid only for catch weight items. This is used in extended price calculation, but quantity is used for pricing.—
#OID-UOM-MULT
UOM_MULT
Signed 13.7This field contains the multiplier for converting this unit of measure to stock unit of measure.—
#OID-LOT-STRING
LOT_STRING
DerivedIf the item is lot tracked, this field identifies the format for the lot information to print on the invoice.—
#OID-BIN-STRING
BIN_STRING
DerivedIf the item is bin tracked, this field identifies the format in which the bin number should print on the invoice.—
#OID-SERIAL-STRING
SERIAL_STRING
DerivedIf the item is serial tracked, this field identifies the format in which the serial number should print on the invoice.—
#OID-UOM-STRING
UOM_STRING
DerivedThis field identifies the format of the unit of measure that should print on the invoice.—
#OID-PRINT-STRING
PRINT_STRING
DerivedThis field determines the format of the detail for the line to print on the invoice.—

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.

IndexKeysFlagsConditionUsed in
OIDSET1
  1. COMPANY
  2. INVC-PREFIX
  3. INVC-NUMBER
  4. LINE-NBR
  5. UOM
  6. LOT
  7. SUBLOT
  8. BIN
  9. SERIAL
PrimaryWH20.7

Relations

Relationship map — 1:1 lookups/parents on the left, 1:M children on the right (up to 14 each)
COLINEICCOMPANYITEMLOCITEMMASTOEINVCLINEOEINVCDTL

One to one (5) — lookups and parents

RelationTableRulesConditionField map
ColineCOLINERequired
OID-COMPANY→COL-COMPANY
OIL-ORDER-NBR→COL-ORDER-NBR
OIL-LINE-NBR→COL-LINE-NBR
IccompanyICCOMPANYRequired
OID-COMPANY→ICC-COMPANY
ItemlocITEMLOCRequired
OID-COMPANY→ITL-COMPANY
OIL-LOCATION→ITL-LOCATION
OIL-ITEM→ITL-ITEM
ItemmastITEMMASTRequired
ICC-ITEM-GROUP→ITE-ITEM-GROUP
OIL-ITEM→ITE-ITEM
OeinvclineOEINVCLINERequired
OID-COMPANY→OIL-COMPANY
OID-INVC-PREFIX→OIL-INVC-PREFIX
OID-INVC-NUMBER→OIL-INVC-NUMBER
OID-LINE-NBR→OIL-LINE-NBR

Programs

Updated by (1)