Table
InventTransOriginProdTable
Relationship between the production order and the inventory transactions originator
Links a production order to an inventory transactions originator. The key is the company plus the production order ID. Used when production is enabled.
- Table name
InventTransOriginProdTable- Module
Inventory- Table group
Transaction- Table type
Regular- Data per company
No- Configuration key
Prod- Primary index
None- Replacement key
ProdOrderIdx- Key fields
ProdOrderDataAreaId, ProdOrderId- Model
Foundation
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ProdOrderDataAreaIdCompany of the linked production order. | StringDataAreaId | Yes | ProdTable.dataAreaId | None |
ProdOrderIdID of the linked production order (ProdTable). | String (20)ProdId | Yes | ProdTable.ProdId | None |
InventTransOriginPoints to the inventory transactions originator linked to the production order. | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
ProdOrderIdxReplacement keyProdOrderDataAreaId,ProdOrderIdUnique, alternate key.
InventTransOriginIdxUnique, alternate key.
Relations (2)
Each relation joins InventTransOriginProdTable to another table on the fields shown.
InventTransOrigin→InventTransOriginJoin on
InventTransOrigin = InventTransOrigin.RecIdZero or one InventTransOriginProdTable record → exactly one InventTransOrigin record
ProdTable→ProdTableJoin on
ProdOrderDataAreaId = ProdTable.dataAreaId,ProdOrderId = ProdTable.ProdIdZero or one InventTransOriginProdTable record → exactly one ProdTable record
Get this data out
No public entity reads from InventTransOriginProdTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with InventTransOriginProdTable in a report, an integration or a migration? Talk to Dr Dynamics.