Table
InventTransOriginRetailSalesTransTable
Relationship between the production orders for the co/by products and the inventory transactions originator
Links a retail sales transaction line to an inventory transactions originator record. The key is the originator record. The relation is to RetailTransactionSalesTrans, matched on lot ID and company.
- Table name
InventTransOriginRetailSalesTransTable- Module
Inventory- Table group
Transaction- Table type
Regular- Data per company
No- Configuration key
Retail- Primary index
None- Replacement key
InventTransOriginIdx- Key fields
InventTransOrigin- Model
Foundation
Fields (7)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
InventTransOriginPoints to the inventory transactions originator record (InventTransOrigin). It is the key of this table. | Int64InventTransOriginId | Yes | InventTransOrigin.RecId | 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 | |
SalesTransInventTransIdLot ID that matches the retail sales transaction in RetailTransactionSalesTrans. | String (20)InventTransId | Yes | None | |
SalesTransTableDataAreaIdCompany (legal entity) of the retail sales transaction. | StringDataAreaId | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
SalesTransTableRefIdIdxSalesTransTableDataAreaId,SalesTransInventTransIdUnique, alternate key.
InventTransOriginIdxReplacement keyUnique, alternate key.
Relations (2)
Each relation joins InventTransOriginRetailSalesTransTable to another table on the fields shown.
InventTransOrigin→InventTransOriginJoin on
InventTransOrigin = InventTransOrigin.RecIdZero or one InventTransOriginRetailSalesTransTable record → exactly one InventTransOrigin record
RetailTransactionSalesTrans→RetailTransactionSalesTransJoin on
SalesTransTableDataAreaId = RetailTransactionSalesTrans.dataAreaId,SalesTransInventTransId = RetailTransactionSalesTrans.inventTransIdZero or one InventTransOriginRetailSalesTransTable record → exactly one RetailTransactionSalesTrans record
Get this data out
No public entity reads from InventTransOriginRetailSalesTransTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with InventTransOriginRetailSalesTransTable in a report, an integration or a migration? Talk to Dr Dynamics.