Table
WHSSourceDocumentLineDetails
Source document line details
Holds line-level details for source documents, keyed by inventory transaction originator, source type and warehouse. Each record links to a parent source document details record and to the inventory transaction originator.
- Table name
WHSSourceDocumentLineDetails- Module
Inventory- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
SourceDocumentNumberIdx- Replacement key
None- Key fields
SourceInventTransOrigin, SourceType, InventLocationId- Model
WarehouseExecutionWorkloadBackoffice
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SourceInventTransOriginRecord ID of the inventory transaction originator for the line. | Int64InventTransOriginId | Yes | InventTransOrigin.RecId | None |
SourceTypeType of source document, such as purchase order or transfer order. | EnumWHSWarehouseOrderSourceDocumentType (enum) | Yes | None | |
InventLocationIdWarehouse the line relates to. | StringInventLocationId | Yes | None | |
AccountNameName of the customer or vendor account. | String (60)AccountName | No | None | |
AccountNumCustomer or vendor account number. | String (20)CustVendAC | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SourceDocumentDetailsRecord ID of the parent source document details record. | Int64WHSSourceDocumentDetailsRecId | Yes | WHSSourceDocumentDetails.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
SourceDocumentNumberIdxPrimary indexSourceInventTransOrigin,SourceType,InventLocationIdUnique.
Relations (2)
Each relation joins WHSSourceDocumentLineDetails to another table on the fields shown.
SourceInventTransOrigin→InventTransOriginJoin on
SourceInventTransOrigin = InventTransOrigin.RecIdMany WHSSourceDocumentLineDetails records → exactly one InventTransOrigin record
SourceDocumentDetails→WHSSourceDocumentDetailsJoin on
SourceDocumentDetails = WHSSourceDocumentDetails.RecIdOne or more WHSSourceDocumentLineDetails records → exactly one WHSSourceDocumentDetails record
Get this data out
No public entity reads from WHSSourceDocumentLineDetails. Its data is only reachable through the application, a custom entity or a database export.
Need help with WHSSourceDocumentLineDetails in a report, an integration or a migration? Talk to Dr Dynamics.