Table

MCRCustPaymEvent

Payment events

Holds a history of events on customer payments, such as creation, status changes, authorisation attempts, holds and declines. Each row records the payment type, status, amounts and authorisation details at that point. It links to sales orders, invoices, free text invoices, ledger journals and credit card authorisation transactions.

Table name
MCRCustPaymEvent
Module
Commerce payments
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
MCRPayment
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (30)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AuthAmountAmount that was authorised for the payment.Real
AmountCur
NoNone
AuthCodeAuthorisation code for the credit card payment.String (36)
CreditCardAuthorization
NoNone
AuthDateTimeDate and time when the authorisation was approved.UtcDateTime
ApprovedDateTime
NoNone
AuthRecIDPoints to the related credit card transaction record.Int64
RefRecId
NoCreditCardAuthTrans.RecIdNone
AuthStatusAuthorisation result, such as approved, declined, error, settled, pending or timed out.Enum
CreditCardProcessorStatus (enum)
NoNone
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
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
CustPaymStatusStatus of the customer payment, such as not submitted, authorised, declined, posted or paid.Enum
MCRCustPaymStatus (enum)
NoNone
CustPaymTypeKind of payment, such as on-account, cash, check, credit card, refund check, gift card or loyalty card.Enum
MCRCustPaymType (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DetailedStatusMore detailed status text for the payment.String (30)
MCRCustPaymDetailedStatus
NoNone
EventTypeKind of payment event recorded, for example created, status change, amount change, hold, release, declined or deleted.Enum
MCRPaymentEventType (enum)
NoNone
InvoiceIDCustomer invoice linked to the event.String (20)
CustInvoiceId
NoNone
JournalNumLedger journal batch number linked to the event.String (20)
LedgerJournalId
NoLedgerJournalTable.JournalNumNone
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
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field.Int64
ModifiedTransactionId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymAmountAmount of the payment.Real
AmountCur
NoNone
PaymReferenceReference text for the payment.String (35)
PaymReference
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
RefRecIDSystem record ID of a related record, a free text invoice according to the relation.low confidenceInt64
MCRRelatedTableRefRecId
NoNone
RefTableIDID of the table that the related record belongs to, a free text invoice table according to the relation.low confidenceInteger
RefTableId
NoNone
SalesIDSales order that the payment event belongs to.String (20)
SalesIdBase
NoSalesTable.SalesIdNone
SettlementAmountAmount that was settled.Real
AmountCur
NoNone
SettlementDateDate of the settlement.Date
TransDate
NoNone
SettlementStatusSettlement result, such as approved, declined, error, settled, pending or timed out.Enum
CreditCardProcessorStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (9)

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

  • CreditCardAuthTrans → CreditCardAuthTrans

    Join on AuthRecID = CreditCardAuthTrans.RecId

    Many MCRCustPaymEvent records → exactly one CreditCardAuthTrans record

  • CustInvoiceJour → CustInvoiceJour

    Join on InvoiceID = CustInvoiceJour.InvoiceId

    Many MCRCustPaymEvent records → zero or one CustInvoiceJour record

  • CustInvoiceTable → CustInvoiceTable

    Join on RefRecID = CustInvoiceTable.RecId, RefTableID = CustInvoiceTable.TableId

    Many MCRCustPaymEvent records → zero or one CustInvoiceTable record

  • LedgerJournalTable → LedgerJournalTable

    Join on RefRecID = LedgerJournalTable.RecId, RefTableID = LedgerJournalTable.TableId

    Many MCRCustPaymEvent records → zero or one LedgerJournalTable record

  • LedgerJournalTableJournalNum → LedgerJournalTable

    Join on JournalNum = LedgerJournalTable.JournalNum

    Many MCRCustPaymEvent records → exactly one LedgerJournalTable record

  • MCRCustPaymTable → MCRCustPaymTable

    Join on RefRecID = MCRCustPaymTable.RecId, RefTableID = MCRCustPaymTable.TableId

    Many MCRCustPaymEvent records → zero or one MCRCustPaymTable record

  • MCRFraudData → MCRFraudData

    Join on RefTableID = MCRFraudData.TableId, RefRecID = MCRFraudData.RecId

    Many MCRCustPaymEvent records → zero or one MCRFraudData record

  • SalesTable → SalesTable

    Join on RefRecID = SalesTable.RecId, RefTableID = SalesTable.TableId

    Many MCRCustPaymEvent records → zero or one SalesTable record

  • SalesTableOrig → SalesTable

    Join on SalesID = SalesTable.SalesId

    Many MCRCustPaymEvent records → exactly one SalesTable record

Get this data out

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

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

Email sales@drdynamics.co.uk