Table
RetailInventItemActivityTrans
Retail product activity trans
Links items to retail product activities. The key combines item, activity type and activity, and each row has start and end dates and an automatic flag.
- Table name
RetailInventItemActivityTrans- Module
Inventory management- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
itemActivityIdx- Replacement key
None- Key fields
itemId, activityTypeId, activityId- Model
Foundation
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
itemIdThe item linked to the activity, pointing to the item record. | String (20)ItemId | Yes | InventTable.ItemIdRetailInventTable.itemId | None |
activityTypeIdThe type of activity, pointing to the activity type record. | StringRetailInventItemActivityTypeId | Yes | RetailInventItemActivityType.typeId | None |
activityIdThe activity the item is linked to, matched together with the activity type. | String (20)RetailInventItemActivityId | Yes | RetailInventItemActivityTable.activityId | None |
automaticYes/no flag for whether the link is automatic. | EnumRetailAutomaticNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
endingDateDate when the item's link to the activity ends. | DateRetailEndingDate | No | 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 | |
startingDateDate when the item's link to the activity starts. | DateRetailStartingDate | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
itemActivityIdxPrimary indexitemId,activityTypeId,activityIdUnique, alternate key.
Relations (4)
Each relation joins RetailInventItemActivityTrans to another table on the fields shown.
actityTable→RetailInventItemActivityTableJoin on
activityTypeId = RetailInventItemActivityTable.activityTypeId,activityId = RetailInventItemActivityTable.activityIdMany RetailInventItemActivityTrans records → exactly one RetailInventItemActivityTable record
InventTable→InventTableJoin on
itemId = InventTable.ItemIdMany RetailInventItemActivityTrans records → exactly one InventTable record
RetailInventItemActivityType→RetailInventItemActivityTypeJoin on
activityTypeId = RetailInventItemActivityType.typeIdOne or more RetailInventItemActivityTrans records → exactly one RetailInventItemActivityType record
RetailInventTable→RetailInventTableJoin on
itemId = RetailInventTable.itemIdMany RetailInventItemActivityTrans records → exactly one RetailInventTable record
Get this data out
No public entity reads from RetailInventItemActivityTrans. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailInventItemActivityTrans in a report, an integration or a migration? Talk to Dr Dynamics.