Table

WHSDocumentRoutingLine

Document routing printers

Links a document routing record to a printer and a document routing layout. Each row is identified by the routing, the printer name and the layout ID.

Table name
WHSDocumentRoutingLine
Module
Inventory
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
None
Replacement key
DocumentRoutingTablePrinterNameIdx
Key fields
DocumentRoutingTable, PrinterName, LayoutId
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DocumentRoutingTableSystem record ID of the document routing record. Points to the Document routing table.Int64
RefRecId
YesWHSDocumentRoutingTable.RecIdWHSDocumentRoutingPrinterEntity
PrinterNameName of the printer.String (60)
Name
NoWHSDocumentRoutingPrinterEntity
LayoutIdLayout used for printing. Points to the Document routing layouts table.String (20)
WHSLayoutId
YesWHSDocumentRoutingLayout.LayoutIdWHSDocumentRoutingPrinterEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UseSpecifiedPrinterChoice of whether the named printer is always used or only as a fallback.Enum
WHSDocumentRoutingUseSpecifiedPrinter (enum)
NoWHSDocumentRoutingPrinterEntity

Indexes (1)

Relations (2)

Each relation joins WHSDocumentRoutingLine to another table on the fields shown.

  • WHSDocumentRoutingLayout → WHSDocumentRoutingLayout

    Join on LayoutId = WHSDocumentRoutingLayout.LayoutId

    Many WHSDocumentRoutingLine records → exactly one WHSDocumentRoutingLayout record

  • WHSDocumentRoutingTable → WHSDocumentRoutingTable

    Join on DocumentRoutingTable = WHSDocumentRoutingTable.RecId

    Many WHSDocumentRoutingLine records → exactly one WHSDocumentRoutingTable record

Get this data out

Tables are not exposed directly. These public entities read from WHSDocumentRoutingLine; use one of them in Power BI, Power Platform or a data management project.

Need help with WHSDocumentRoutingLine in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk