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.

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 marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
RDCSET1COMPANY, LOCATION, DATE, ROUTE, STOP, DOC-NBRPrimaryAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)

Relations

One to one (5) — lookups and parents

RelationTableRulesConditionField map
IccompanyICCOMPANYRequiredRDC-COMPANYICC-COMPANY
IclocationICLOCATIONRequiredRDC-COMPANYICL-COMPANY, RDC-LOCATIONICL-LOCATION
RoutehdrROUTEHDRRequiredRDC-COMPANYRTE-COMPANY, RDC-LOCATIONRTE-LOCATION, RDC-DATERTE-DATE, RDC-ROUTERTE-ROUTE
RoutestopROUTESTOPRequiredRDC-COMPANYRTS-COMPANY, RDC-LOCATIONRTS-LOCATION, RDC-DATERTS-DATE, RDC-ROUTERTS-ROUTE, RDC-STOPRTS-STOP
WhdemndhdrWHDEMNDHDRRequiredRDC-COMPANYWDH-COMPANY, RDC-SYSTEM-CDWDH-SYSTEM-CD, RDC-DOC-NBRWDH-DOC-NBR

Programs

Updated by (229)

Referenced by (1)