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 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 | |
InventDimIdPoints to the inventory dimension combination the rule applies to. | String (20)InventDimId | No | InventDim.inventDimId | None |
ItemIdItem the sales control applies to. | 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 | |
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 | |
RuleBeginDateFirst date the rule is valid. | DateMCRRuleBeginDate | No | None | |
RuleEndDateLast date the rule is valid. | DateMCRRuleEndDate | No | None | |
SalesControlWhether selling the item is encouraged or discouraged, or left blank. | EnumMCRSalesControl (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
ItemIdDateRangeItemId,RuleBeginDate,RuleEndDate,InventDimIdNot unique.
Relations (2)
Each relation joins MCRItemSalesControl to another table on the fields shown.
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany MCRItemSalesControl records → zero or one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany 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.