Table

MCRRFMHistory

RFM history

Transaction history used for RFM analysis. Each record is keyed by sales order, customer account and date. It holds the amounts, charges and sales tax for the order.

Table name
MCRRFMHistory
Module
Commerce transactions and orders
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
MCRCallCenter
Primary index
RecId
Replacement key
RFMHistoryIdx
Key fields
SalesId, CustAccount, TransDate
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SalesIdSales order the record refers to.String (20)
SalesId
NoSalesTable.SalesIdNone
CustAccountCustomer account that placed the order.String (20)
CustAccount
NoCustTable.AccountNumNone
TransDateDate of the transaction.Date
TransDate
NoNone
CostAmountAmount in the accounting currency.Real
AmountMST
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
MarkupValueValue of charges on the order; currency not stated in the metadata.Real
MarkupValue
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
SaleAmountSales amount in the transaction currency.Real
AmountCur
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountSales tax amount; currency not stated in the metadata.Real
TaxAmount
NoNone

Indexes (2)

Relations (2)

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

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many MCRRFMHistory records → exactly one CustTable record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many MCRRFMHistory records → exactly one SalesTable record

Get this data out

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

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

Email sales@drdynamics.co.uk