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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AuthAmountAmount that was authorised for the payment. | RealAmountCur | No | None | |
AuthCodeAuthorisation code for the credit card payment. | String (36)CreditCardAuthorization | No | None | |
AuthDateTimeDate and time when the authorisation was approved. | UtcDateTimeApprovedDateTime | No | None | |
AuthRecIDPoints to the related credit card transaction record. | Int64RefRecId | No | CreditCardAuthTrans.RecId | None |
AuthStatusAuthorisation result, such as approved, declined, error, settled, pending or timed out. | EnumCreditCardProcessorStatus (enum) | No | 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 | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
CustPaymStatusStatus of the customer payment, such as not submitted, authorised, declined, posted or paid. | EnumMCRCustPaymStatus (enum) | No | None | |
CustPaymTypeKind of payment, such as on-account, cash, check, credit card, refund check, gift card or loyalty card. | EnumMCRCustPaymType (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DetailedStatusMore detailed status text for the payment. | String (30)MCRCustPaymDetailedStatus | No | None | |
EventTypeKind of payment event recorded, for example created, status change, amount change, hold, release, declined or deleted. | EnumMCRPaymentEventType (enum) | No | None | |
InvoiceIDCustomer invoice linked to the event. | String (20)CustInvoiceId | No | None | |
JournalNumLedger journal batch number linked to the event. | String (20)LedgerJournalId | No | LedgerJournalTable.JournalNum | 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 | |
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field. | Int64ModifiedTransactionId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymAmountAmount of the payment. | RealAmountCur | No | None | |
PaymReferenceReference text for the payment. | String (35)PaymReference | 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 | |
RefRecIDSystem record ID of a related record, a free text invoice according to the relation.low confidence | Int64MCRRelatedTableRefRecId | No | None | |
RefTableIDID of the table that the related record belongs to, a free text invoice table according to the relation.low confidence | IntegerRefTableId | No | None | |
SalesIDSales order that the payment event belongs to. | String (20)SalesIdBase | No | SalesTable.SalesId | None |
SettlementAmountAmount that was settled. | RealAmountCur | No | None | |
SettlementDateDate of the settlement. | DateTransDate | No | None | |
SettlementStatusSettlement result, such as approved, declined, error, settled, pending or timed out. | EnumCreditCardProcessorStatus (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
RefRecIdxNot unique.
Relations (9)
Each relation joins MCRCustPaymEvent to another table on the fields shown.
CreditCardAuthTrans→CreditCardAuthTransJoin on
AuthRecID = CreditCardAuthTrans.RecIdMany MCRCustPaymEvent records → exactly one CreditCardAuthTrans record
CustInvoiceJour→CustInvoiceJourJoin on
InvoiceID = CustInvoiceJour.InvoiceIdMany MCRCustPaymEvent records → zero or one CustInvoiceJour record
CustInvoiceTable→CustInvoiceTableJoin on
RefRecID = CustInvoiceTable.RecId,RefTableID = CustInvoiceTable.TableIdMany MCRCustPaymEvent records → zero or one CustInvoiceTable record
LedgerJournalTable→LedgerJournalTableJoin on
RefRecID = LedgerJournalTable.RecId,RefTableID = LedgerJournalTable.TableIdMany MCRCustPaymEvent records → zero or one LedgerJournalTable record
LedgerJournalTableJournalNum→LedgerJournalTableJoin on
JournalNum = LedgerJournalTable.JournalNumMany MCRCustPaymEvent records → exactly one LedgerJournalTable record
MCRCustPaymTable→MCRCustPaymTableJoin on
RefRecID = MCRCustPaymTable.RecId,RefTableID = MCRCustPaymTable.TableIdMany MCRCustPaymEvent records → zero or one MCRCustPaymTable record
MCRFraudData→MCRFraudDataJoin on
RefTableID = MCRFraudData.TableId,RefRecID = MCRFraudData.RecIdMany MCRCustPaymEvent records → zero or one MCRFraudData record
SalesTable→SalesTableJoin on
RefRecID = SalesTable.RecId,RefTableID = SalesTable.TableIdMany MCRCustPaymEvent records → zero or one SalesTable record
SalesTableOrig→SalesTableJoin on
SalesID = SalesTable.SalesIdMany 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.