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 descriptionType / EDT / enumMandatoryReferencesIn public entities
itemIdThe item linked to the activity, pointing to the item record.String (20)
ItemId
YesInventTable.ItemIdRetailInventTable.itemIdNone
activityTypeIdThe type of activity, pointing to the activity type record.String
RetailInventItemActivityTypeId
YesRetailInventItemActivityType.typeIdNone
activityIdThe activity the item is linked to, matched together with the activity type.String (20)
RetailInventItemActivityId
YesRetailInventItemActivityTable.activityIdNone
automaticYes/no flag for whether the link is automatic.Enum
RetailAutomatic
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
endingDateDate when the item's link to the activity ends.Date
RetailEndingDate
NoNone
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
startingDateDate when the item's link to the activity starts.Date
RetailStartingDate
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (4)

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

  • actityTable → RetailInventItemActivityTable

    Join on activityTypeId = RetailInventItemActivityTable.activityTypeId, activityId = RetailInventItemActivityTable.activityId

    Many RetailInventItemActivityTrans records → exactly one RetailInventItemActivityTable record

  • InventTable → InventTable

    Join on itemId = InventTable.ItemId

    Many RetailInventItemActivityTrans records → exactly one InventTable record

  • RetailInventItemActivityType → RetailInventItemActivityType

    Join on activityTypeId = RetailInventItemActivityType.typeId

    One or more RetailInventItemActivityTrans records → exactly one RetailInventItemActivityType record

  • RetailInventTable → RetailInventTable

    Join on itemId = RetailInventTable.itemId

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

Email sales@drdynamics.co.uk