WHSHLDTL – Shipment Line Detail

System
Warehouse (WH)
Prefix
WHD
Primary key
COMPANY, LOCATION, SHIPMENT-NBR, LINE-NBR, COMPONENT-SEQ, BIN, LOT, SUBLOT, UOM, SERIAL
Fields
24
Updated by
48 programs
Referenced by
3 programs

WHSHLDTL is the Shipment Line Detail table in Lawson Warehouse (prefix WHD). It is indexed by COMPANY, LOCATION, SHIPMENT-NBR, LINE-NBR, COMPONENT-SEQ, BIN, LOT, SUBLOT, UOM, SERIAL (WHDSET1); alternate indexes: WHDSET2. It is related 1:1 to ICCOMPANY, ICLOCATION, ITEMLOC, ITEMMAST, WHSHIPCOMP, WHSHIPLINE, WHSHIPMENT and SOHDETAIL and 1:M to ITCOMMENT and SOHDETAIL. It is updated by CX100, CX20.1, CX20.2, CX20.4, CX20.5, CX220, CX30.1, CX300 and 40 more and referenced by WH126, WH131 and WH224. The table has 24 fields, 2 indexes and 11 documented relations.

About WHSHLDTL

The Shipment Line Detail file holds records of shipment line items that are tracked by bin, lot, serial number, or multiple unit of measure.

Fields (24)

Column = COBOL field name without the WHD- 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
#WHD-COMPANY PK
COMPANY
Numeric 4This field contains the company number.WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +25 more
#WHD-SYSTEM-CD
SYSTEM_CD
Alpha 2This field indicates on which Lawson system the document originated.
  • OE Customer Order
  • RQ Requisitions
  • CX Case Cart
WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +24 more
#WHD-DOC-NBR
DOC_NBR
Alpha 10 (Right Justified)This field contains the document number of the shipment line that contains details.WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +25 more
#WHD-LOCATION PK
LOCATION
Alpha 5This field contains a valid stock location within the company inventory.WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +25 more
#WHD-SHIPMENT-NBR PK
SHIPMENT_NBR
Numeric 10This field contains the shipment number. One document can have several shipment numbers if the items were not shipped at the same time.WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +25 more
#WHD-LINE-NBR PK
LINE_NBR
Numeric 6This field contains the shipment line number.WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +25 more
#WHD-COMPONENT-SEQ PK
COMPONENT_SEQ
Numeric 3This field contains the component sequence number of the component item that contains details.WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +25 more
#WHD-BIN PK
BIN
Alpha 7This field contains the bin assigned to the shipment line.WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +25 more
#WHD-LOT PK
LOT
Alpha 10This field contains the lot assigned to the shipment line.WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +25 more
#WHD-SUBLOT PK
SUBLOT
Alpha 6This field contains the sublot assigned to the shipment line.WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +25 more
#WHD-SERIAL PK
SERIAL
Alpha 16This field contains the serial number assigned to the shipment line.WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +25 more
#WHD-UOM PK
UOM
Alpha 4This field contains the unit of measure assigned to the shipment line.WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +25 more
#WHD-UOM-MULT
UOM_MULT
Signed 13.7This field contains the multiplier for converting this unit of measure to the stock unit of measure.WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +25 more
#WHD-QUANTITY
QUANTITY
Signed 13.4This field contains the requested shipment line quantity.WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +25 more
#WHD-CATCH-WT-QTY
CATCH_WT_QTY
Signed 13.4This field contains the catch weight quantity in stock unit of measure.WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +27 more
#WHD-UPDATE-DATE
UPDATE_DATE
Numeric 8 (yyyymmdd)This field contains the date the record was updated.WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +24 more
#WHD-UPDATE-TIME
UPDATE_TIME
Numeric 6This field contains the system time when the record was updated.WH130, WH132, WH190, WH30.1, WH30.2, WH30.3, WH30.4, WH31.1 +24 more
#WHD-LOT-STRING
LOT_STRING
DerivedThis field contains the string that represents the lot/sublot or serial number (they are mutually exclusive).—
#WHD-BIN-STRING
BIN_STRING
DerivedThis field contains the bin/serial string for printing pick lists.—
#WHD-SERIAL-STRING
SERIAL_STRING
DerivedThis field contains the string field that represents the serial number.—
#WHD-UOM-STRING
UOM_STRING
DerivedThis field contains the string representing the unit of measure.—
#WHD-PRINT-STRING
PRINT_STRING
DerivedThis field indicates the lot, bin, serial number, or unit of measure to print on the pick list.—
#WHD-ITEM-X
ITEM_X
DerivedThis field indicates either the shipment line or the component line item.—
#WHD-ITEM-XG
ITEM_XG
DerivedThis field is used to help display the shipment line or component line item.—

Indexes (2)

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
WHDSET1
  1. COMPANY
  2. LOCATION
  3. SHIPMENT-NBR
  4. LINE-NBR
  5. COMPONENT-SEQ
  6. BIN
  7. LOT
  8. SUBLOT
  9. UOM
  10. SERIAL
PrimaryCX100, CX20.1, CX20.2, CX20.4, CX20.5, CX220, CX30.1, CX300 +22 more (list truncated in source)
WHDSET2
  1. COMPANY
  2. LOCATION
  3. SHIPMENT-NBR
  4. BIN
  5. LOT
  6. SUBLOT
  7. SERIAL
  8. UOM
  9. LINE-NBR
  10. COMPONENT-SEQ
KeyChangeWH130, WH30.4, WH31.4, WH32.4, WH33.7, WHD3.1

Relations

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

One to one (9) — lookups and parents

RelationTableRulesConditionField map
IccompanyICCOMPANYRequired
WHD-COMPANY→ICC-COMPANY
IclocationICLOCATIONNot Required
WHD-COMPANY→ICL-COMPANY
WHD-LOCATION→ICL-LOCATION
ItemlocITEMLOCRequired
WHD-COMPANY→ITL-COMPANY
WHD-LOCATION→ITL-LOCATION
WHD-ITEM-XG→ITL-ITEM
ItemmastITEMMASTRequired
ICC-ITEM-GROUP→ITE-ITEM-GROUP
WHD-ITEM-XG→ITE-ITEM
Itemmast XITEMMASTNot Required
ICC-ITEM-GROUP→ITE-ITEM-GROUP
WHD-ITEM-XG→ITE-ITEM
ShipcompWHSHIPCOMPRequiredWhen WHD-COMPONENT-SEQ > Zeroes
WHD-COMPANY→WHC-COMPANY
WHD-LOCATION→WHC-LOCATION
WHD-SHIPMENT-NBR→WHC-SHIPMENT-NBR
WHD-LINE-NBR→WHC-LINE-NBR
WHD-COMPONENT-SEQ→WHC-COMPONENT-SEQ
ShiplineWHSHIPLINERequired
WHD-COMPANY→WHL-COMPANY
WHD-LOCATION→WHL-LOCATION
WHD-SHIPMENT-NBR→WHL-SHIPMENT-NBR
WHD-LINE-NBR→WHL-LINE-NBR
ShipmentWHSHIPMENTRequired
WHD-COMPANY→WHS-COMPANY
WHD-LOCATION→WHS-LOCATION
WHD-SHIPMENT-NBR→WHS-SHIPMENT-NBR
SohdetailSOHDETAILRequiredWhen ITL-BIN-TRACK-FL = "Y"
WHD-COMPANY→SDT-COMPANY
WHD-LOCATION→SDT-LOCATION
WHL-ITEM→SDT-ITEM
WHD-BIN→SDT-BIN
WHD-UOM→SDT-UOM
WHD-LOT→SDT-LOT
WHD-SUBLOT→SDT-SUBLOT

One to many (2) — child tables

RelationTableRulesConditionField map
Com ItcommentITCOMMENT
ICC-ITEM-GROUP→ICO-ITEM-GROUP
WHC-ITEM→ICO-ITEM
—→ICO-LANGUAGE-CODE
—→ICO-SEQ
SohSOHDETAIL
WHD-COMPANY→SDT-COMPANY
WHD-LOCATION→SDT-LOCATION
WHL-ITEM→SDT-ITEM
WHD-UOM→SDT-UOM
—→SDT-LOT
—→SDT-SUBLOT
—→SDT-BIN

Programs

Updated by (48)

Referenced by (3)