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    AP125     AP126     AP131     AP25.1
AP25.2    AP26.1    AP27.1    CXCP.1    DR100     IC141
IC142     IC28.1    IC83.1    MA180     MA43.9    MA530
MA531     MA60.2    MA60.3    MA60.5    MA61.1    MA66.3
MA67.1    MA67.2    MA70.1    MAI1.1    PO100     PO101
PO122     PO131     PO20.1    PO21.2    PO21.3    PO21.4
PO21.5    PO22.1    PO23.1    PO29.1    PO30.1    PO30.2
PO30.3    PO300     PO31.1    PO31.2    PO32.2    PO33.1
PO34.1    PO35.1    PO38.1    PO39.1    PO39.2    PO44.1
PO50.1    PO52.1    PO520     POI3.1    POIE.1    POII.1
POIJ.1    RQ10.1    RQ10.2    RQ10.3    RQ11.1    RQ12.1
RQ13.1    RQ35.1    RQ500     RQIF.1    WH120     WH130
WH132     WH190     WH20.1    WH20.2    WH20.7    WH222
WH25.1    WH25.2    WH30.1    WH30.2    WH30.3    WH30.4
WH31.1    WH31.2    WH31.3    WH31.4    WH32.1    WH32.2
WH32.3    WH32.4    WH33.1    WH33.2    WH33.3    WH33.4
WH33.5    WH33.6    WH33.8    WH33.9    WH34.1    WH34.2
WH34.3    WH34.4    WH40.1    WH40.2    WH520     WH830
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                                AP125   AP126
          LOCATION                                               AP131   AP25.1
          CUSTOMER                                               AP25.2  AP26.1
          SHIP-TO                                                AP27.1  CXCP.1
          DAY-OF-WEEK                                            DR100   IC141
          ROUTE                                                  IC142   IC28.1
          STOP                                                   IC83.1  MA180
                                                                 MA43.9  MA530
                                                                 MA531   MA60.2
                                                                 MA60.3  MA60.5
                                                                 MA61.1  MA66.3
                                                                 MA67.1  MA67.2
                                                                 MA70.1  MAI1.1
                                                                 PO100   PO101
                                                                 PO122   PO131
                                                                 ...
                         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
 |