OEROUTE FILE
                           Order Entry Route
The Order Entry Route file contains all user-defined routes that are set up
in the Lawson Order Entry system.  If a company uses route processing, all
orders are picked and shipped for customers in the order each customer appears
on the route.
REFERENCED BY
WH21.3    WH21.4    CXCP.1    DR100     IC141     IC142
IC83.1    POIJ.1    RQ11.1    RQ12.1    RQ13.1    WH120
WH130     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
ORT-COMPANY          Numeric 4
Company              The company number represents an
                     established company and is entered on
                     all function codes.
ORT-LOCATION         Alpha 5
Location Code        This field contains a valid stock
                     location within the company inventory.
ORT-ROUTE            Numeric 4
Route                This field contains the route number.
                     The route assigned to the ship to
                     customer defaults from the Order Entry
                     Route file.  Routes are set up in OE60.1
                     (Routes).
ORT-STOP             Numeric 4
Stop                 This field contains the stop within the
                     route.  If left blank, the stop
                     associated with the ship-to customer
                     defaults from the Order Entry Route
                     file.
ORT-DAY-OF-WEEK      Numeric 1
Day Of Week          This field contains the day of the week
                     the route is used.
                     1 = Sunday
                     2 = Monday
                     3 = Tuesday
                     4 = Wednesday
                     5 = Thursday
                     6 = Friday
                     7 = Saturday
ORT-CUSTOMER         Alpha 9  (Right Justified)
Customer Number      This field contains the number that
                     represents a customer who has a stop on
                     the route.
ORT-SHIP-TO          Numeric 4
Ship-to Code         This field contains the ship to
                     customer's number that represents a stop
                     along the route.
                         OEROUTE FILE INDEX
NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN
ORTSET1   COMPANY                                                WH21.3  WH21.4
          LOCATION
          DAY-OF-WEEK
          ROUTE
          STOP
ORTSET2   COMPANY       KeyChange                                CXCP.1  DR100
          LOCATION                                               IC141   IC142
          CUSTOMER                                               IC83.1  POIJ.1
          SHIP-TO                                                RQ11.1  RQ12.1
          DAY-OF-WEEK                                            RQ13.1  WH120
          ROUTE                                                  WH130   WH33.1
          STOP                                                   WH33.2  WH33.3
                                                                 WH33.4  WH33.5
                                                                 WH33.6  WH33.8
                                                                 WH33.9  WH34.1
                                                                 WH34.2  WH34.3
                                                                 WH34.4
                         OEROUTE FILE RELATIONS
ONE TO ONE RELATIONS
RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH
Arcomp         ARCOMP       Required
                            ORT-COMPANY       -> ACO-COMPANY
Arcustomer     ARCUSTOMER   Required
                            ORT-COMPANY       -> ACM-COMPANY
                            ORT-CUSTOMER      -> ACM-CUSTOMER
Custdesc       CUSTDESC     Required
                            ACO-CUST-GROUP    -> CUD-CUST-GROUP
                            ORT-CUSTOMER      -> CUD-CUSTOMER
Iclocation     ICLOCATION   Required
                            ORT-COMPANY       -> ICL-COMPANY
                            ORT-LOCATION      -> ICL-LOCATION
Oecompany      OECOMPANY    Required
                            ORT-COMPANY       -> OEC-COMPANY
Shipto         SHIPTO       Required
                            When ORT-SHIP-TO > Zeroes
                            ORT-COMPANY       -> SHP-COMPANY
                            ORT-CUSTOMER      -> SHP-CUSTOMER
                            ORT-SHIP-TO       -> SHP-SHIP-TO
 |