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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AddressVerificationResultResult of the address check: none, returned, not returned, not supported or system unavailable.Enum
CreditCardAddressVerificationResult (enum)
NoNone
ApprovalAmountCurAmount of the transaction. The currency is given by the currency code field.Real
AmountCur
NoNone
ApprovalCodeApproval code returned for the payment.String (12)
RetailApprovalCode
NoNone
ApprovalExpiredYes/No flag showing that the approval has expired.Enum
NoYes (enum)
NoNone
ApprovalTypeKind of card operation, such as authorisation, credit, void or finalisation.Enum
CreditCardOperation (enum)
NoNone
ApprovalVoidYes/No flag showing that the approval was voided.Enum
NoYes (enum)
NoNone
ApprovedDateTimeDate and time of the approval.UtcDateTime
ApprovedDateTime
NoNone
AuthorizationAuthorisation code for the transaction.String (36)
CreditCardAuthorization
NoNone
CardTokenRequestCard token text used in the request.String (-1)
CreditCardPaymentCardToken
NoNone
CardTokenResultCard token text returned in the result.String (-1)
CreditCardPaymentCardToken
NoNone
CreditCardNumberCard number, as held for the transaction.String (20)
CreditCardNumber
NoNone
CreditCardProcessorsPoints to the payment service that handled the transaction.Int64
CreditCardProcessorsId
NoCreditCardProcessors.RecIdNone
CreditCardTypeNameName of the card type, for example the card brand.String (20)
CreditCardTypeName
NoNone
CurrencyCodeCurrency of the transaction. It points to the currency table.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
CVCResultResult of the card verification value check: success, failure, issuer not registered, not processed or unknown.Enum
CreditCardMSCVCResultCode (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionText explaining the approval or rejection reason.String (256)
CreditCardApprovalRejectReason
NoNone
IsPaymentDataArchivedYes/No flag. Purpose not clear from the metadata, but the name suggests it shows archived payment data.low confidenceEnum
NoYes (enum)
NoNone
LineNumLine number of the record.Real
LineNum
NoNone
MCRCustPaymSchedNameName of the payment schedule linked to the transaction.String (30)
CustPaymSchedId
NoPaymSched.NameNone
MCRInvoiceIdFree text invoice number linked to the transaction.String (20)
CustInvoiceId
NoNone
MCRJournalNumNumber of the ledger journal linked to the transaction.String (20)
LedgerJournalId
NoLedgerJournalTable.JournalNumNone
MCRPaymRecIdPoints to the customer payment record linked to the transaction.Int64
MCRCustPaymTableRecID
NoMCRCustPaymTable.RecIdNone
MCRTrackingIdTracking identifier for the payment, used by connectors to avoid processing the same request twice.String (-1)
MCRPaymentTrackingId
NoNone
OrigAuthRecIdPoints to the earlier card transaction that this one refers back to.Int64
CreditCardAuthTransRefRecId
NoCreditCardAuthTrans.RecIdNone
OrigSalesIdSales order of the original transaction. No relation is given in the metadata.low confidenceString (20)
SalesId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProcessorPaymentProcessor payment method that this transaction is mapped to.String (50)
RetailProcessorPaymentMethod
NoNone
ProcessorReferenceReference number given by the payment processor.String (68)
RetailProcessorReference
NoNone
ProcessorStatusStatus given by the processor, such as approved, declined, error, settled, pending or timed out.Enum
CreditCardProcessorStatus (enum)
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
RefundStatusRefund state of the transaction: none, marked or completed.Enum
CreditCardRefundStatus (enum)
NoNone
SalesIdSales order that the transaction relates to.String (20)
SalesId
NoSalesTable.SalesIdNone
SalesInvoiceIdCustomer invoice that the transaction relates to.String (20)
SalesInvoiceId
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransactionTypeTells whether the record is a transactional operation or an informational one.Enum
CreditCardTransactionType (enum)
NoNone
UniqueCardIdUnique identifier of the card, held as a GUID in text form.String (38)
CreditCardUniqueCardId
NoNone

Indexes (5)

Relations (9)

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

  • CreditCardProcessors → CreditCardProcessors

    Join on CreditCardProcessors = CreditCardProcessors.RecId

    Many CreditCardAuthTrans records → exactly one CreditCardProcessors record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many CreditCardAuthTrans records → zero or one Currency record

  • MCRCustInvoiceId → CustInvoiceTable

    Join on MCRInvoiceId = CustInvoiceTable.InvoiceId

    Many CreditCardAuthTrans records → zero or one CustInvoiceTable record

  • MCRCustPaymTable → MCRCustPaymTable

    Join on MCRPaymRecId = MCRCustPaymTable.RecId

    Many CreditCardAuthTrans records → zero or one MCRCustPaymTable record

  • MCRLedgerJournalTable → LedgerJournalTable

    Join on MCRJournalNum = LedgerJournalTable.JournalNum

    Many CreditCardAuthTrans records → zero or one LedgerJournalTable record

  • MCRPaymSched → PaymSched

    Join on MCRCustPaymSchedName = PaymSched.Name

    Many CreditCardAuthTrans records → exactly one PaymSched record

  • SalesInvoice → CustInvoiceJour

    Join on SalesInvoiceId = CustInvoiceJour.InvoiceId

    Many CreditCardAuthTrans records → zero or one CustInvoiceJour record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many CreditCardAuthTrans records → zero or one SalesTable record

  • CreditCardAuthTrans → CreditCardAuthTrans

    Join on OrigAuthRecId = CreditCardAuthTrans.RecId

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

Email sales@drdynamics.co.uk