ROUTEDOC – Route Document

System
Warehouse (WH)
Prefix
RDC
Primary key
COMPANY, LOCATION, DATE, ROUTE, STOP, DOC-NBR
Fields
10
Updated by
229 programs
Referenced by
1 program

ROUTEDOC is the Route Document table in Lawson Warehouse (prefix RDC). It is indexed by COMPANY, LOCATION, DATE, ROUTE, STOP, DOC-NBR (RDCSET1). It is related 1:1 to ICCOMPANY, ICLOCATION, ROUTEHDR, ROUTESTOP and WHDEMNDHDR. It is updated by AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 and 221 more and referenced by WH210. The table has 10 fields, 1 index and 5 documented relations.

About ROUTEDOC

The Route Document file contains documents that are to be delivered along a route, referencing which route they are to be delivered along and which stop the document is dropped off at.

Fields (10)

Column = COBOL field name without the RDC- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored. PK = primary key (present in every index); SETn = leading/alternate key of that index.

Field / columnTypeDescription & valuesUpdated by
#RDC-COMPANY PK
COMPANY
Numeric 4This field contains the company number.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#RDC-LOCATION PK
LOCATION
Alpha 5This field contains a valid stock location within the company inventory.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#RDC-ROUTE PK
ROUTE
Numeric 4This field contains the route number. The route assigned to the ship-to customer defaults from the Route file.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#RDC-DATE PK
DATE
Numeric 8 (yyyymmdd)This field contains the system date this route was created.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#RDC-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 Route file.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#RDC-SYSTEM-CD
SYSTEM_CD
Alpha 2This field indicates on which Lawson system the document originated.
  • OE Customer Order
  • RQ Requisition
—
#RDC-DOC-NBR PK
DOC_NBR
Alpha 10 (Right Justified)This field contains the document number containing the route.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#RDC-CUBIC-FEET
CUBIC_FEET
Signed 9.3This field contains the cubic feet of the item based on the stock unit of measure.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#RDC-WEIGHT
WEIGHT
Signed 9.3This field contains the weight of the item based on the stock unit of measure.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
#RDC-PIECES
PIECES
Signed 13.4This field contains the total number of pieces to deliver for this route.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)

Indexes (1)

Keys are listed in index order; ↓ marks a descending key. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
RDCSET1
  1. COMPANY
  2. LOCATION
  3. DATE
  4. ROUTE
  5. STOP
  6. DOC-NBR
PrimaryAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)

Relations

Relationship map — 1:1 lookups/parents on the left, 1:M children on the right (up to 14 each)
ICCOMPANYICLOCATIONROUTEHDRROUTESTOPWHDEMNDHDRROUTEDOC

One to one (5) — lookups and parents

RelationTableRulesConditionField map
IccompanyICCOMPANYRequired
RDC-COMPANY→ICC-COMPANY
IclocationICLOCATIONRequired
RDC-COMPANY→ICL-COMPANY
RDC-LOCATION→ICL-LOCATION
RoutehdrROUTEHDRRequired
RDC-COMPANY→RTE-COMPANY
RDC-LOCATION→RTE-LOCATION
RDC-DATE→RTE-DATE
RDC-ROUTE→RTE-ROUTE
RoutestopROUTESTOPRequired
RDC-COMPANY→RTS-COMPANY
RDC-LOCATION→RTS-LOCATION
RDC-DATE→RTS-DATE
RDC-ROUTE→RTS-ROUTE
RDC-STOP→RTS-STOP
WhdemndhdrWHDEMNDHDRRequired
RDC-COMPANY→WDH-COMPANY
RDC-SYSTEM-CD→WDH-SYSTEM-CD
RDC-DOC-NBR→WDH-DOC-NBR

Programs

Updated by (229)

Referenced by (1)