Table
CreditCardAuthTrans
Credit card transactions
Records card payment transactions handled by a payment service, such as authorisations, credits and voids. Each record has the amount, currency, result codes and processor status. It can link to a sales order, invoice, payment journal, payment schedule or an earlier card transaction.
- Table name
CreditCardAuthTrans- Module
Accounts receivable- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
CreditCard- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (39)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AddressVerificationResultResult of the address check: none, returned, not returned, not supported or system unavailable. | EnumCreditCardAddressVerificationResult (enum) | No | None | |
ApprovalAmountCurAmount of the transaction. The currency is given by the currency code field. | RealAmountCur | No | None | |
ApprovalCodeApproval code returned for the payment. | String (12)RetailApprovalCode | No | None | |
ApprovalExpiredYes/No flag showing that the approval has expired. | EnumNoYes (enum) | No | None | |
ApprovalTypeKind of card operation, such as authorisation, credit, void or finalisation. | EnumCreditCardOperation (enum) | No | None | |
ApprovalVoidYes/No flag showing that the approval was voided. | EnumNoYes (enum) | No | None | |
ApprovedDateTimeDate and time of the approval. | UtcDateTimeApprovedDateTime | No | None | |
AuthorizationAuthorisation code for the transaction. | String (36)CreditCardAuthorization | No | None | |
CardTokenRequestCard token text used in the request. | String (-1)CreditCardPaymentCardToken | No | None | |
CardTokenResultCard token text returned in the result. | String (-1)CreditCardPaymentCardToken | No | None | |
CreditCardNumberCard number, as held for the transaction. | String (20)CreditCardNumber | No | None | |
CreditCardProcessorsPoints to the payment service that handled the transaction. | Int64CreditCardProcessorsId | No | CreditCardProcessors.RecId | None |
CreditCardTypeNameName of the card type, for example the card brand. | String (20)CreditCardTypeName | No | None | |
CurrencyCodeCurrency of the transaction. It points to the currency table. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
CVCResultResult of the card verification value check: success, failure, issuer not registered, not processed or unknown. | EnumCreditCardMSCVCResultCode (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionText explaining the approval or rejection reason. | String (256)CreditCardApprovalRejectReason | No | None | |
IsPaymentDataArchivedYes/No flag. Purpose not clear from the metadata, but the name suggests it shows archived payment data.low confidence | EnumNoYes (enum) | No | None | |
LineNumLine number of the record. | RealLineNum | No | None | |
MCRCustPaymSchedNameName of the payment schedule linked to the transaction. | String (30)CustPaymSchedId | No | PaymSched.Name | None |
MCRInvoiceIdFree text invoice number linked to the transaction. | String (20)CustInvoiceId | No | None | |
MCRJournalNumNumber of the ledger journal linked to the transaction. | String (20)LedgerJournalId | No | LedgerJournalTable.JournalNum | None |
MCRPaymRecIdPoints to the customer payment record linked to the transaction. | Int64MCRCustPaymTableRecID | No | MCRCustPaymTable.RecId | None |
MCRTrackingIdTracking identifier for the payment, used by connectors to avoid processing the same request twice. | String (-1)MCRPaymentTrackingId | No | None | |
OrigAuthRecIdPoints to the earlier card transaction that this one refers back to. | Int64CreditCardAuthTransRefRecId | No | CreditCardAuthTrans.RecId | None |
OrigSalesIdSales order of the original transaction. No relation is given in the metadata.low confidence | String (20)SalesId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProcessorPaymentProcessor payment method that this transaction is mapped to. | String (50)RetailProcessorPaymentMethod | No | None | |
ProcessorReferenceReference number given by the payment processor. | String (68)RetailProcessorReference | No | None | |
ProcessorStatusStatus given by the processor, such as approved, declined, error, settled, pending or timed out. | EnumCreditCardProcessorStatus (enum) | 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 | |
RefundStatusRefund state of the transaction: none, marked or completed. | EnumCreditCardRefundStatus (enum) | No | None | |
SalesIdSales order that the transaction relates to. | String (20)SalesId | No | SalesTable.SalesId | None |
SalesInvoiceIdCustomer invoice that the transaction relates to. | String (20)SalesInvoiceId | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransactionTypeTells whether the record is a transactional operation or an informational one. | EnumCreditCardTransactionType (enum) | No | None | |
UniqueCardIdUnique identifier of the card, held as a GUID in text form. | String (38)CreditCardUniqueCardId | No | None |
Indexes (5)
SalesCCApprovalIdxSalesId,LineNum,ApprovalTypeNot unique.
SalesApprovalDateIdxNot unique.
MCRPaymRecIdIdxNot unique.
SalesUniqueCardIdxSalesId,UniqueCardId,ApprovalType,DataAreaId,PartitionNot unique.
ApprovedDateIsArchivedIdxApprovedDateTime,IsPaymentDataArchived,DataAreaId,PartitionNot unique.
Relations (9)
Each relation joins CreditCardAuthTrans to another table on the fields shown.
CreditCardProcessors→CreditCardProcessorsJoin on
CreditCardProcessors = CreditCardProcessors.RecIdMany CreditCardAuthTrans records → exactly one CreditCardProcessors record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany CreditCardAuthTrans records → zero or one Currency record
MCRCustInvoiceId→CustInvoiceTableJoin on
MCRInvoiceId = CustInvoiceTable.InvoiceIdMany CreditCardAuthTrans records → zero or one CustInvoiceTable record
MCRCustPaymTable→MCRCustPaymTableJoin on
MCRPaymRecId = MCRCustPaymTable.RecIdMany CreditCardAuthTrans records → zero or one MCRCustPaymTable record
MCRLedgerJournalTable→LedgerJournalTableJoin on
MCRJournalNum = LedgerJournalTable.JournalNumMany CreditCardAuthTrans records → zero or one LedgerJournalTable record
MCRPaymSched→PaymSchedJoin on
MCRCustPaymSchedName = PaymSched.NameMany CreditCardAuthTrans records → exactly one PaymSched record
SalesInvoice→CustInvoiceJourJoin on
SalesInvoiceId = CustInvoiceJour.InvoiceIdMany CreditCardAuthTrans records → zero or one CustInvoiceJour record
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdMany CreditCardAuthTrans records → zero or one SalesTable record
CreditCardAuthTrans→CreditCardAuthTransJoin on
OrigAuthRecId = CreditCardAuthTrans.RecIdMany CreditCardAuthTrans records → zero or one CreditCardAuthTrans record
Get this data out
No public entity reads from CreditCardAuthTrans. Its data is only reachable through the application, a custom entity or a database export.
Need help with CreditCardAuthTrans in a report, an integration or a migration? Talk to Dr Dynamics.