Lawson Software

Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Elements Libraries App Forms


                            WHDEMNDHDR FILE

                             Demand Header

The Demand Header file contains document header records.

REFERENCED BY

IC145     IC45.1    WH140     WH220     WH225     WH226

UPDATED BY

CXCP.1    DR100     IC141     IC142     IC83.1    POIJ.1
RQ12.1    RQ13.1    RQ300     WH110     WH120     WH130
WH21.1    WH21.2    WH21.3    WH21.4    WH210     WH22.1
WH33.1    WH33.2    WH33.3    WH33.4    WH33.5    WH33.6
WH33.8    WH33.9    WH34.1    WH34.2    WH34.3    WH34.4

FIELD NAME           DESCRIPTION/VALID VALUES                    UPDATED BY

WDH-COMPANY          Numeric 4                                   CXCP.1  DR100
Company              This field contains the company number.     IC141   IC142
                                                                 IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-SYSTEM-CD        Alpha 2                                     CXCP.1  DR100
System Code          This field indicates from which Lawson      IC141   IC142
                     system the document originated.             IC83.1  POIJ.1
                     OE = Customer Order                         RQ12.1  RQ13.1
                     RQ = Requisitions                           WH110   WH120
                     CX = Case Cart                              WH130   WH21.1
                     WO = Work Order                             WH21.2  WH21.3
                     PH = Pharmacy                               WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-DOC-NBR          Alpha 10  (Right Justified)                 CXCP.1  DR100
Doc Nbr              This field contains the document number     IC141   IC142
                     for this document header.                   IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-DOC-NBR-NUM      Numeric 10                                  CXCP.1  DR100
Doc Nbr Num          This field contains the numeric value       IC141   IC142
                     of the document number.                     IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-SHIP-COMP-FL     Alpha 1                                     CXCP.1  DR100
Ship Complete Flag   This field indicates whether or not the     IC141   IC142
                     customer requires complete shipments.       IC83.1  POIJ.1
                     Y = Ship Complete Only                      RQ12.1  RQ13.1
                     N = Partial Shipment Allowed                WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-SHIP-COMP-FAIL   Alpha 1                                     CXCP.1  DR100
Ship Complete Fail   This field indicates whether or not the     IC141   IC142
                     document is ready for ship complete.        IC83.1  POIJ.1
                     Y = Not Ready for Ship Complete             RQ12.1  RQ13.1
                     N = Ready for Ship Complete                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-HOLD-FL          Alpha 1                                     CXCP.1  DR100
Hold Flag            This field indicates whether or not the     IC141   IC142
                     document is on hold.                        IC83.1  POIJ.1
                     Y = Yes                                     RQ12.1  RQ13.1
                     N = No                                      WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-PROCESS-TYPE     Alpha 2                                     CXCP.1  DR100
Process Type         This field contains the process type        IC141   IC142
                     assigned to this document.                  IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-PICKING-REQ      Alpha 1                                     CXCP.1  DR100
Picking Required     This field indicates whether or not the     IC141   IC142
                     process type assigned to the document       IC83.1  POIJ.1
                     requires picking feedback.                  RQ12.1  RQ13.1
                     Y = Yes                                     WH110   WH120
                     N = No                                      WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-PACKING-REQ      Alpha 1                                     CXCP.1  DR100
Packing Required     This field indicates whether or not the     IC141   IC142
                     process type assigned to the document       IC83.1  POIJ.1
                     requires packing feedback.                  RQ12.1  RQ13.1
                     Y = Yes                                     WH110   WH120
                     N = No                                      WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-FREIGHT-REQ      Alpha 1                                     CXCP.1  DR100
Freight Required     This field indicates whether or not         IC141   IC142
                     freight charges need to be captured at      IC83.1  POIJ.1
                     shipping feedback time.  The value comes    RQ12.1  RQ13.1
                     from the Lawson Order Entry system.         WH110   WH120
                     N = Not Allowed                             WH130   WH21.1
                     O = Optional                                WH21.2  WH21.3
                     R = Required                                WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-FREIGHT-CODE     Alpha 2                                     CXCP.1  DR100
Freight Code         This field contains the freight code.       IC141   IC142
                     This must be valid in the Order Entry       IC83.1  POIJ.1
                     Freight Code file.  This determines         RQ12.1  RQ13.1
                     whether carrier and charge are allowed      WH110   WH120
                     for the shipment.                           WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-METHOD           Alpha 10                                    CXCP.1  DR100
Method Code          This field contains the shipping method     IC141   IC142
                     which defines how documents are to be       IC83.1  POIJ.1
                     shipped.                                    RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-TRANS-ID         Alpha 20                                    CXCP.1  DR100
Trans Id             This field contains the transportation      IC141   IC142
                     identification, which prints on the         IC83.1  POIJ.1
                     invoice and Bill of Lading.                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-CURRENCY-CODE    Alpha 5
Currency Code        This field contains the company's base
                     currency code defined in the Lawson
                     General Ledger system.

WDH-CURR-ND          Numeric 1
Currency Number of   This field represents the number of
Decimals             decimals defined for the currency of the
                     document.

WDH-COD-FL           Alpha 1
COD Flag             This field indicates whether or not the
                     document is defined as Cash On Delivery.


WDH-CUSTOMER         Alpha 9  (Right Justified)                  CXCP.1  DR100
Customer Number      This field contains the number that         IC141   IC142
                     represents a customer.                      IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-DESTINATION      Alpha 15                                    CXCP.1  DR100
Destination          This field contains the destination for     IC141   IC142
                     the document.                               IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-DEST-NAME        Alpha 30  (Lower Case)                      CXCP.1  DR100
Destination Name     This field contains the destination         IC141   IC142
                     name for the document.                      IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-DEST-ADDR1       Alpha 30  (Lower Case)                      CXCP.1  DR100
Destination Address  This field contains the first line of       IC141   IC142
Line 1               the destination address.                    IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-DEST-ADDR2       Alpha 30  (Lower Case)                      CXCP.1  DR100
Destination Address  This field contains the second line of      IC141   IC142
Line 2               the destination address.                    IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-DEST-ADDR3       Alpha 30  (Lower Case)                      CXCP.1  DR100
Destination Address  This field contains the third line of       IC141   IC142
Line 3               the destination address.                    IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-DEST-ADDR4       Alpha 30  (Lower Case)                      CXCP.1  DR100
Destination Address  This field contains the fourth line of      IC141   IC142
Line 4               the destination address.                    IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-DEST-CITY        Alpha 18                                    CXCP.1  DR100
Destination City     This field contains the city of the         IC141   IC142
                     destination.                                IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-DEST-STATE       Alpha 2                                     CXCP.1  DR100
Destination State    This field contains the state of the        IC141   IC142
                     destination.                                IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-DEST-ZIP         Alpha 10                                    CXCP.1  DR100
Destination ZIP Code This field contains the ZIP code of the     IC141   IC142
                     destination.                                IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-DEST-CNTRY       Alpha 30  (Lower Case)                      CXCP.1  DR100
Destination Country  This field contains the Country of the      IC141   IC142
                     destination.                                IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-DEST-COUNTY      Alpha 25  (Lower Case)
Dest County          This field contains the County of the
                     destination.

WDH-BILL-NAME        Alpha 30  (Lower Case)                      CXCP.1  DR100
Billing Name         This field contains the name of the         IC141   IC142
                     company being billed.                       IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-BILL-ADDR1       Alpha 30  (Lower Case)                      CXCP.1  DR100
Billing Address      This field contains the first line of       IC141   IC142
Line 1               the billing address.                        IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-BILL-ADDR2       Alpha 30  (Lower Case)                      CXCP.1  DR100
Billing Address      This field contains the second line of      IC141   IC142
Line 2               the billing address.                        IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-BILL-ADDR3       Alpha 30  (Lower Case)                      CXCP.1  DR100
Billing Address      This field contains the third line of       IC141   IC142
Line 3               the billing address.                        IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-BILL-ADDR4       Alpha 30  (Lower Case)                      CXCP.1  DR100
Billing Address      This field contains the fourth line of      IC141   IC142
Line 4               the billing address.                        IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-BILL-CITY        Alpha 18                                    CXCP.1  DR100
Billing City         This field contains the billing city.       IC141   IC142
                                                                 IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-BILL-STATE       Alpha 2                                     CXCP.1  DR100
Billing State        This field contains the billing state.      IC141   IC142
                                                                 IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-BILL-ZIP         Alpha 10                                    CXCP.1  DR100
Billing ZIP Code     This field contains the billing ZIP         IC141   IC142
                     code.                                       IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-BILL-CNTRY       Alpha 30  (Lower Case)                      CXCP.1  DR100
Billing Country      This field contains the billing Country.    IC141   IC142
                                                                 IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-BILL-COUNTY      Alpha 25  (Lower Case)
Bill County          This field contains the billing County.

WDH-INTRAN-DOC-CTR   Numeric 3                                   WH130   WH33.5
Intransit Document   This field contains the intransit           WH34.1  WH34.2
Counter              document counter, which the system uses     WH34.3  WH34.4
                     to keep track of partial demands.

WDH-ORIGIN           Derived
Origin               This field indicates the Lawson system
                     from which the document originated.

WDH-RQST-SHIP-DT     Derived
Requested Ship Date  This field contains the customer
                     requested ship date for the document
                     header.

WDH-DEST-CTRY-CD     Alpha 2                                     CXCP.1  DR100
Dest Ctry Cd                                                     IC141   IC142
                                                                 IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-DEST-REGION      Alpha 2                                     CXCP.1  DR100
Dest Region          The region of the country to which the      IC141   IC142
                     goods were shipped, if required.  Must      IC83.1  POIJ.1
                     be a valid region in IN02.1 (Region         RQ12.1  RQ13.1
                     Maintenance)                                WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-DEST-EC-CTRY     Numeric 3                                   CXCP.1  DR100
Dest Ec Ctry                                                     IC141   IC142
                                                                 IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-DEST-ISO-CTRY    Numeric 3                                   CXCP.1  DR100
Dest Iso Ctry                                                    IC141   IC142
                                                                 IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-BILL-CTRY-CD     Alpha 2                                     CXCP.1  DR100
Bill Ctry Cd                                                     IC141   IC142
                                                                 IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-BILL-REGION      Alpha 2
Bill Region          The Bill-To region code. Must be a
                     valid region for the country, defined in
                     IN02.1 (Region Maintenance).

WDH-BILL-EC-CTRY     Numeric 3                                   CXCP.1  DR100
Bill Ec Ctry                                                     IC141   IC142
                                                                 IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

WDH-BILL-ISO-CTRY    Numeric 3                                   CXCP.1  DR100
Bill Iso Ctry                                                    IC141   IC142
                                                                 IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 WH110   WH120
                                                                 WH130   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH33.1
                                                                 WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4

                         WHDEMNDHDR FILE INDEX

NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN

WDHSET1   COMPANY       Primary index used for accessing and     CXCP.1  DR100
          SYSTEM-CD     updating the table.                      IC141   IC142
          DOC-NBR                                                IC145   IC45.1
                                                                 IC83.1  POIJ.1
                                                                 RQ12.1  RQ13.1
                                                                 RQ300   WH110
                                                                 WH120   WH130
                                                                 WH140   WH21.1
                                                                 WH21.2  WH21.3
                                                                 WH21.4  WH210
                                                                 WH22.1  WH220
                                                                 WH225   WH226
                                                                 WH33.1  WH33.2
                                                                 WH33.3  WH33.4
                                                                 WH33.5  WH33.6
                                                                 ...

WDHSET3   COMPANY       Subset
          SYSTEM-CD     Where DOC-NBR-NUM != Zeroes
          DOC-NBR-NUM

                         WHDEMNDHDR FILE RELATIONS

ONE TO ONE RELATIONS


RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH

Custorder      CUSTORDER    Required
                            When WDH-SYSTEM-CD = "OE"

                            WDH-COMPANY        -> COR-COMPANY
                            WDH-DOC-NBR-NUM    -> COR-ORDER-NBR

Requistion     REQHEADER    Required
                            When WDH-SYSTEM-CD = "RQ"

                            WDH-COMPANY        -> RQH-COMPANY
                            WDH-DOC-NBR-NUM    -> RQH-REQ-NUMBER

Return         RETURNHDR    Required
                            When WDH-SYSTEM-CD = "RT"

                            WDH-COMPANY        -> RTN-COMPANY
                            WDH-DOC-NBR-NUM    -> RTN-AUTH-NO

                         WHDEMNDHDR FILE RELATIONS

ONE TO MANY RELATIONS


RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH

Caseheader     CXCASEHEAD
                            Valid When WDH-SYSTEM-CD = "CX"

                            WDH-COMPANY        -> CXH-COMPANY
                            WDH-DOC-NBR        -> CXH-CASE
                                                  CXH-REQ-LOCATION

Whdemand       WHDEMAND

                            WDH-COMPANY        -> WDM-COMPANY
                            WDH-SYSTEM-CD      -> WDM-SYSTEM-CD
                            WDH-DOC-NBR        -> WDM-DOC-NBR
                                                  WDM-LINE-NBR
                                                  WDM-COMPONENT-SEQ
                                                  WDM-LOCATION