OEROUTE – Order Entry Route

System
OE (OE)
Prefix
ORT
Primary key
COMPANY, LOCATION, DAY-OF-WEEK, ROUTE, STOP
Fields
7
Updated by
0 programs
Referenced by
0 programs

OEROUTE is the Order Entry Route table in Lawson OE (prefix ORT). It is indexed by COMPANY, LOCATION, DAY-OF-WEEK, ROUTE, STOP (ORTSET1); alternate indexes: ORTSET2. It is related 1:1 to ARCOMP, ARCUSTOMER, CUSTDESC, ICLOCATION, OECOMPANY and SHIPTO. The table has 7 fields, 2 indexes and 6 documented relations.

About OEROUTE

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.

Fields (7)

Column = COBOL field name without the ORT- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
ORT-COMPANY PK
COMPANY
Numeric 4Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources.
ORT-LOCATION PK
LOCATION
Alpha 5This field contains a valid stock location within the company inventory.
ORT-ROUTE PK
ROUTE
Numeric 4This 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 PK
STOP
Numeric 4This 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 PK
DAY_OF_WEEK
Numeric 1This 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
CUSTOMER
Alpha 9 (Right Justified)This field contains the number that represents a customer who has a stop on the route.
ORT-SHIP-TO
SHIP_TO
Numeric 4This field contains the ship to customer's number that represents a stop along the route.

Indexes (2)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
ORTSET1COMPANY, LOCATION, DAY-OF-WEEK, ROUTE, STOPPrimaryWH21.3, WH21.4
ORTSET2COMPANY, LOCATION, CUSTOMER, SHIP-TO, DAY-OF-WEEK, ROUTE, STOPKeyChangeAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)

Relations

One to one (6) — lookups and parents

RelationTableRulesConditionField map
ArcompARCOMPRequiredORT-COMPANYACO-COMPANY
ArcustomerARCUSTOMERRequiredORT-COMPANYACM-COMPANY, ORT-CUSTOMERACM-CUSTOMER
CustdescCUSTDESCRequiredACO-CUST-GROUPCUD-CUST-GROUP, ORT-CUSTOMERCUD-CUSTOMER
IclocationICLOCATIONRequiredORT-COMPANYICL-COMPANY, ORT-LOCATIONICL-LOCATION
OecompanyOECOMPANYRequiredORT-COMPANYOEC-COMPANY
ShiptoSHIPTORequiredWhen ORT-SHIP-TO > ZeroesORT-COMPANYSHP-COMPANY, ORT-CUSTOMERSHP-CUSTOMER, ORT-SHIP-TOSHP-SHIP-TO

Programs

No Lawson programs are documented as updating or referencing this table.