Table

MCRItemSalesControl

Item sales control

Sets a sales control for an item over a date range. The control value is blank, encourage or discourage. Rows link to an item and to an inventory dimension combination, and have no defined key.

Table name
MCRItemSalesControl
Module
Commerce transactions and orders
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
MCRCallCenter
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventDimIdPoints to the inventory dimension combination the rule applies to.String (20)
InventDimId
NoInventDim.inventDimIdNone
ItemIdItem the sales control applies to.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
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
RuleBeginDateFirst date the rule is valid.Date
MCRRuleBeginDate
NoNone
RuleEndDateLast date the rule is valid.Date
MCRRuleEndDate
NoNone
SalesControlWhether selling the item is encouraged or discouraged, or left blank.Enum
MCRSalesControl (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many MCRItemSalesControl records → zero or one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many MCRItemSalesControl records → zero or one InventTable record

Get this data out

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

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

Email sales@drdynamics.co.uk