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.

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 marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
OIDSET1COMPANY, INVC-PREFIX, INVC-NUMBER, LINE-NBR, UOM, LOT, SUBLOT, BIN, SERIALPrimaryWH20.7

Relations

One to one (5) — lookups and parents

RelationTableRulesConditionField map
ColineCOLINERequiredOID-COMPANYCOL-COMPANY, OIL-ORDER-NBRCOL-ORDER-NBR, OIL-LINE-NBRCOL-LINE-NBR
IccompanyICCOMPANYRequiredOID-COMPANYICC-COMPANY
ItemlocITEMLOCRequiredOID-COMPANYITL-COMPANY, OIL-LOCATIONITL-LOCATION, OIL-ITEMITL-ITEM
ItemmastITEMMASTRequiredICC-ITEM-GROUPITE-ITEM-GROUP, OIL-ITEMITE-ITEM
OeinvclineOEINVCLINERequiredOID-COMPANYOIL-COMPANY, OID-INVC-PREFIXOIL-INVC-PREFIX, OID-INVC-NUMBEROIL-INVC-NUMBER, OID-LINE-NBROIL-LINE-NBR

Programs

Updated by (1)