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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AvgInvoicedQtyAverage invoiced quantity.Real
QtyAverage
NoNone
AvgOrderedQtyAverage ordered quantity.Real
QtyAverage
NoNone
ConfigIdConfiguration of the item.String (50)
EcoResConfigurationName
NoEcoResConfiguration.NameNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CustAccountCustomer account the statistics belong to.String (20)
CustAccount
YesCustTable.AccountNumMCRSalesStatsCustTable.CustAccountNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventColorIdColour of the item.String
EcoResColorName
NoEcoResColor.NameNone
InventSizeIdSize of the item.String
EcoResSizeName
NoEcoResSize.NameNone
InventVersionIdVersion of the item.String
EcoResVersionName
NoEcoResVersion.NameNone
ItemIdItem the statistics belong to.String (20)
ItemId
YesInventTable.ItemIdNone
MaxOrderedQtyHighest quantity ordered.Real
QtyHighest
NoNone
MinOrderedQtyLowest quantity ordered.Real
QtyLowest
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OrderFrequencyNumber of orders placed.Integer
Counter
NoNone
OrderModeFrequencyHow often the typical order quantity occurs.Integer
MCRSalesQtyModeFrequency
NoNone
OrderQtyModeMost common order quantity.Real
MCROrderQtyMode
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProductTotalInvoiceAmountMSTTotal invoiced amount for the product in the accounting currency.Real
AmountMST
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TotalInvoicedQtyTotal invoiced quantity.Real
Qty
NoNone
TotalOrderedQtyTotal ordered quantity.Real
Qty
NoNone

Indexes (1)

Relations (7)

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

  • ConfigID → EcoResConfiguration

    Join on ConfigId = EcoResConfiguration.Name

    Many MCRSalesStatsCustItem records → zero or one EcoResConfiguration record

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    One or more MCRSalesStatsCustItem records → exactly one CustTable record

  • InventColorId → EcoResColor

    Join on InventColorId = EcoResColor.Name

    Exactly one MCRSalesStatsCustItem record → zero or one EcoResColor record

  • InventVersionId → EcoResVersion

    Join on InventVersionId = EcoResVersion.Name

    Many MCRSalesStatsCustItem records → zero or one EcoResVersion record

  • InventSizeId → EcoResSize

    Join on InventSizeId = EcoResSize.Name

    Many MCRSalesStatsCustItem records → zero or one EcoResSize record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    One or more MCRSalesStatsCustItem records → exactly one InventTable record

  • MCRSalesStatsCustTable → MCRSalesStatsCustTable

    Join on CustAccount = MCRSalesStatsCustTable.CustAccount

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

Email sales@drdynamics.co.uk