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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
inventDimIdInventory dimension number, pointing to a record in the inventory dimensions table. | String (20)InventDimId | No | InventDim.inventDimId | None |
itemIdItem number, pointing to an item in the items table. | String (20)ItemId | No | InventTable.ItemId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProductSystem record ID of the product, pointing to a record in the products table. | Int64EcoResProductRecId | No | EcoResProduct.RecId | 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 | |
retailVariantIdRetail variant number of the item. | StringRetailVariantId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
transactionIdNumber of the retail transaction the row belongs to. | String (44)RetailTransactionId | No | None | |
userIdUser the temporary row belongs to. | StringUserId | No | None | |
VariantSystem record ID of the product variant, pointing to a record in the product variants table. | Int64EcoResDistinctProductVariantRecId | No | EcoResDistinctProductVariant.RecId | None |
Indexes (1)
userTxnItemIdxuserId,transactionId,itemId,retailVariantIdNot unique.
Relations (4)
Each relation joins RetailTmpOrderItem to another table on the fields shown.
EcoResDistinctProductVariant→EcoResDistinctProductVariantJoin on
Variant = EcoResDistinctProductVariant.RecIdMany RetailTmpOrderItem records → zero or one EcoResDistinctProductVariant record
EcoResProduct→EcoResProductJoin on
Product = EcoResProduct.RecIdMany RetailTmpOrderItem records → zero or one EcoResProduct record
InventDim→InventDimJoin on
inventDimId = InventDim.inventDimIdMany RetailTmpOrderItem records → zero or one InventDim record
InventTable→InventTableJoin on
itemId = InventTable.ItemIdOne 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.