WHDEMNDDTL – Demand Detail
- System
- Warehouse (WH)
- Prefix
WDD- Primary key
COMPANY,LOCATION,SYSTEM-CD,DOC-NBR,LINE-NBR,COMPONENT-SEQ,BIN,LOT,SUBLOT,SERIAL,UOM- Fields
- 17
- Updated by
- 40 programs
- Referenced by
- 2 programs
WHDEMNDDTL is the Demand Detail table in Lawson Warehouse (prefix WDD). It is indexed by COMPANY, LOCATION, SYSTEM-CD, DOC-NBR, LINE-NBR, COMPONENT-SEQ, BIN, LOT, SUBLOT, SERIAL, UOM (WDDSET1). It is related 1:1 to ICCOMPANY, ICLOCATION, ITEMLOC, SOHDETAIL and WHDEMAND. It is updated by RQD0.1, WH130, WH132, WH190, WH20.3, WH20.4, WH20.5, WH20.6 and 32 more and referenced by CX100 and WH210. The table has 17 fields, 1 index and 5 documented relations.
About WHDEMNDDTL
The Demand Detail file contains details (bin, lot, serial number, and multiple unit of measure) assigned to the document line.
Fields (17)
Column = COBOL field name without the WDD- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
WDD-COMPANY PKCOMPANY | Numeric 4 | This field contains the company number. | WH20.3, WH20.4, WH20.5, WH20.6, WHD3.1 |
WDD-SYSTEM-CD PKSYSTEM_CD | Alpha 2 | This field indicates on which Lawson system the document originated.
| WH20.3, WH20.4, WH20.5, WH20.6, WHD3.1 |
WDD-DOC-NBR PKDOC_NBR | Alpha 10 (Right Justified) | This field contains the document number for the document line requiring details. | WH20.3, WH20.4, WH20.5, WH20.6, WHD3.1 |
WDD-DOC-NBR-NUMDOC_NBR_NUM | Numeric 10 | This field contains the numeric value of the document number. | WHD3.1 |
WDD-LINE-NBR PKLINE_NBR | Numeric 6 | This field contains the document line number. | WH20.3, WH20.4, WH20.5, WH20.6, WHD3.1 |
WDD-COMPONENT-SEQ PKCOMPONENT_SEQ | Numeric 3 | This field contains the component sequence number for kit component items on the document line. | WH20.3, WH20.4, WH20.5, WH20.6, WHD3.1 |
WDD-BIN PKBIN | Alpha 7 | This field contains the bin assigned to the document line. | WH20.3, WH20.4, WH20.5, WH20.6, WHD3.1 |
WDD-LOT PKLOT | Alpha 10 | This field contains the lot assigned to the document line. | WH20.3, WH20.4, WH20.5, WH20.6 |
WDD-SUBLOT PKSUBLOT | Alpha 6 | This field contains the sublot assigned to the document line. | WH20.3, WH20.4, WH20.5, WH20.6, WHD3.1 |
WDD-SERIAL PKSERIAL | Alpha 16 | This field contains the serial number assigned to the document line. | WH20.3, WH20.4, WH20.5, WHD3.1 |
WDD-UOM PKUOM | Alpha 4 | This field contains the unit of measure assigned to the document line. | WH20.3, WH20.4, WH20.5, WH20.6, WHD3.1 |
WDD-LOCATION PKLOCATION | Alpha 5 | This field contains a valid stocking location within the company inventory. | WH20.3, WH20.4, WH20.5, WH20.6, WHD3.1 |
WDD-UOM-MULTUOM_MULT | Signed 13.7 | This field contains the multiplier for converting this unit of measure to the stock unit of measure. | WH20.3, WH20.4, WH20.5, WH20.6, WHD3.1 |
WDD-QUANTITYQUANTITY | Signed 13.4 | This field contains the requested document line quantity. | WH20.3, WH20.4, WH20.5, WH20.6, WHD3.1 |
WDD-CATCH-WT-QTYCATCH_WT_QTY | Signed 13.4 | This field contains the catch weight quantity in secondary unit of measure. | WHD3.1 |
WDD-UPDATE-DATEUPDATE_DATE | Numeric 8 (yyyymmdd) | This field contains the date the record was updated. | WHD3.1 |
WDD-UPDATE-TIMEUPDATE_TIME | Numeric 6 | This field contains the system time when the record was updated. | WHD3.1 |
Indexes (1)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
WDDSET1 | COMPANY, LOCATION, SYSTEM-CD, DOC-NBR, LINE-NBR, COMPONENT-SEQ, BIN, LOT, SUBLOT, SERIAL, UOM | Primary | CX100, RQD0.1, WH130, WH132, WH190, WH20.3, WH20.4, WH20.5 +22 more (list truncated in source) |
Relations
One to one (5) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Iccompany | ICCOMPANY | Required | WDD-COMPANY → ICC-COMPANY | |
| Iclocation | ICLOCATION | Required | WDD-COMPANY → ICL-COMPANY, WDD-LOCATION → ICL-LOCATION | |
| Itemloc | ITEMLOC | Required | WDD-COMPANY → ITL-COMPANY, WDD-LOCATION → ITL-LOCATION, WDM-ITEM → ITL-ITEM | |
| Sohdetail | SOHDETAIL | Required | WDD-COMPANY → SDT-COMPANY, WDD-LOCATION → SDT-LOCATION, WDM-ITEM → SDT-ITEM, WDD-UOM → SDT-UOM, WDD-LOT → SDT-LOT, WDD-SUBLOT → SDT-SUBLOT, WDD-BIN → SDT-BIN | |
| Whdemand | WHDEMAND | Required | WDD-COMPANY → WDM-COMPANY, WDD-SYSTEM-CD → WDM-SYSTEM-CD, WDD-DOC-NBR → WDM-DOC-NBR, WDD-LINE-NBR → WDM-LINE-NBR, WDD-COMPONENT-SEQ → WDM-COMPONENT-SEQ, WDD-LOCATION → WDM-LOCATION |
Programs
Updated by (40)
- RQD0.1 Invoke for RQ Orphan Check
- WH130 Pick List Print
- WH132 Batch Feedback
- WH190 Shipment Release
- WH20.3 Bin Allocation
- WH20.4 Lot Allocation
- WH20.5 Serial Allocation
- WH20.6 UOM Allocation
- WH30.1 Picking Feedback by Document
- WH30.2 Picking Feedback by Shipment
- WH30.3 Picking by Batch
- WH30.4 Bin Sequence Picking Feedback
- WH31.1 Packing Feedback by Document
- WH31.2 Packing Feedback by Shipment
- WH31.3 Packing by Batch
- WH31.4 Bin Sequence Packing Feedback
- WH32.1 Shipping Feedback by Document
- WH32.2 Shipping Feedback by Shipment
- WH32.3 Shipping by Batch
- WH32.4 Bin Sequence Shipping Feedback
- WH32.5 Shipping Line Feedback
- WH33.1 Bins
- WH33.2 Lots
- WH33.3 Serials
- WH33.4 UOMs
- WH33.5 Additional Shipment Information
- WH33.6 Catch Weight
- WH33.8 Preassembled Kits
- WH33.9 Line Options
- WH34.1 Component Bins
- WH34.2 Component Lots
- WH34.3 Component Serials
- WH34.4 Component UOMs
- WH40.1 Bill of Lading
- WH40.2 Bill of Lading Feedback
- WH520 Batch Feedback Interface
- WH830 Shipment Load Program
- WHD0.1 WH Orphan Record Check
- WHD2.1 WH-IC Integrity Check
- WHD3.1 WH-IC Detail Integrity Check