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 descriptionType / EDT / enumMandatoryReferencesIn public entities
InventTransOriginPoints to the inventory transactions originator record (InventTransOrigin). It is the key of this table.Int64
InventTransOriginId
YesInventTransOrigin.RecIdNone
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
SalesTransInventTransIdLot ID that matches the retail sales transaction in RetailTransactionSalesTrans.String (20)
InventTransId
YesNone
SalesTransTableDataAreaIdCompany (legal entity) of the retail sales transaction.String
DataAreaId
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

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

  • InventTransOrigin → InventTransOrigin

    Join on InventTransOrigin = InventTransOrigin.RecId

    Zero or one InventTransOriginRetailSalesTransTable record → exactly one InventTransOrigin record

  • RetailTransactionSalesTrans → RetailTransactionSalesTrans

    Join on SalesTransTableDataAreaId = RetailTransactionSalesTrans.dataAreaId, SalesTransInventTransId = RetailTransactionSalesTrans.inventTransId

    Zero 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.

Email sales@drdynamics.co.uk