Table

RetailTmpOrderItem

Temporary table for retail catalog and internal organization

Temporary table for retail catalog and internal organization data. Each row links a transaction and user to an item, its inventory dimensions, and optionally a product and product variant.

Table name
RetailTmpOrderItem
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
inventDimIdInventory dimension number, pointing to a record in the inventory dimensions table.String (20)
InventDimId
NoInventDim.inventDimIdNone
itemIdItem number, pointing to an item in the items table.String (20)
ItemId
NoInventTable.ItemIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProductSystem record ID of the product, pointing to a record in the products table.Int64
EcoResProductRecId
NoEcoResProduct.RecIdNone
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
retailVariantIdRetail variant number of the item.String
RetailVariantId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
transactionIdNumber of the retail transaction the row belongs to.String (44)
RetailTransactionId
NoNone
userIdUser the temporary row belongs to.String
UserId
NoNone
VariantSystem record ID of the product variant, pointing to a record in the product variants table.Int64
EcoResDistinctProductVariantRecId
NoEcoResDistinctProductVariant.RecIdNone

Indexes (1)

Relations (4)

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

  • EcoResDistinctProductVariant → EcoResDistinctProductVariant

    Join on Variant = EcoResDistinctProductVariant.RecId

    Many RetailTmpOrderItem records → zero or one EcoResDistinctProductVariant record

  • EcoResProduct → EcoResProduct

    Join on Product = EcoResProduct.RecId

    Many RetailTmpOrderItem records → zero or one EcoResProduct record

  • InventDim → InventDim

    Join on inventDimId = InventDim.inventDimId

    Many RetailTmpOrderItem records → zero or one InventDim record

  • InventTable → InventTable

    Join on itemId = InventTable.ItemId

    One or more RetailTmpOrderItem records → exactly one InventTable record

Get this data out

No public entity reads from RetailTmpOrderItem. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk