Table
MCRSalesStatsCustItem
Sales item statistics
Sales statistics for a customer and item, including optional product dimensions such as configuration, colour, size and version. It has no defined key. It holds average, highest and lowest order quantities, typical order values and invoiced totals.
- Table name
MCRSalesStatsCustItem- Module
Commerce transactions and orders- Table group
TransactionLine- Table type
Regular- Data per company
Yes- Configuration key
MCRCallCenter- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (25)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AvgInvoicedQtyAverage invoiced quantity. | RealQtyAverage | No | None | |
AvgOrderedQtyAverage ordered quantity. | RealQtyAverage | No | None | |
ConfigIdConfiguration of the item. | String (50)EcoResConfigurationName | No | EcoResConfiguration.Name | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustAccountCustomer account the statistics belong to. | String (20)CustAccount | Yes | CustTable.AccountNumMCRSalesStatsCustTable.CustAccount | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventColorIdColour of the item. | StringEcoResColorName | No | EcoResColor.Name | None |
InventSizeIdSize of the item. | StringEcoResSizeName | No | EcoResSize.Name | None |
InventVersionIdVersion of the item. | StringEcoResVersionName | No | EcoResVersion.Name | None |
ItemIdItem the statistics belong to. | String (20)ItemId | Yes | InventTable.ItemId | None |
MaxOrderedQtyHighest quantity ordered. | RealQtyHighest | No | None | |
MinOrderedQtyLowest quantity ordered. | RealQtyLowest | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
OrderFrequencyNumber of orders placed. | IntegerCounter | No | None | |
OrderModeFrequencyHow often the typical order quantity occurs. | IntegerMCRSalesQtyModeFrequency | No | None | |
OrderQtyModeMost common order quantity. | RealMCROrderQtyMode | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProductTotalInvoiceAmountMSTTotal invoiced amount for the product in the accounting currency. | RealAmountMST | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TotalInvoicedQtyTotal invoiced quantity. | RealQty | No | None | |
TotalOrderedQtyTotal ordered quantity. | RealQty | No | None |
Indexes (1)
ItemIdxCustAccount,ItemId,ConfigId,InventSizeId,InventColorIdUnique.
Relations (7)
Each relation joins MCRSalesStatsCustItem to another table on the fields shown.
ConfigID→EcoResConfigurationJoin on
ConfigId = EcoResConfiguration.NameMany MCRSalesStatsCustItem records → zero or one EcoResConfiguration record
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumOne or more MCRSalesStatsCustItem records → exactly one CustTable record
InventColorId→EcoResColorJoin on
InventColorId = EcoResColor.NameExactly one MCRSalesStatsCustItem record → zero or one EcoResColor record
InventVersionId→EcoResVersionJoin on
InventVersionId = EcoResVersion.NameMany MCRSalesStatsCustItem records → zero or one EcoResVersion record
InventSizeId→EcoResSizeJoin on
InventSizeId = EcoResSize.NameMany MCRSalesStatsCustItem records → zero or one EcoResSize record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdOne or more MCRSalesStatsCustItem records → exactly one InventTable record
MCRSalesStatsCustTable→MCRSalesStatsCustTableJoin on
CustAccount = MCRSalesStatsCustTable.CustAccountMany MCRSalesStatsCustItem records → exactly one MCRSalesStatsCustTable record
Get this data out
No public entity reads from MCRSalesStatsCustItem. Its data is only reachable through the application, a custom entity or a database export.
Need help with MCRSalesStatsCustItem in a report, an integration or a migration? Talk to Dr Dynamics.