Table

CreditCardRequest

Credit card request log

Log of requests sent for credit card payments. Each row records the operation type, status, payment connector, processor, authorization code and amount. It links to customer payments, sales orders, invoices and payment services.

Table name
CreditCardRequest
Module
Commerce payments
Table group
Reference
Table type
Regular
Data per company
Yes
Configuration key
CreditCard
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AmountCurAmount of the request, in the transaction currency.Real
AmountCur
NoNone
AuthorizationAuthorization code for the card payment.String (36)
CreditCardAuthorization
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
CreditCardConnectorNameName of the payment connector.String (50)
CreditCardConnectorName
NoNone
CreditCardOperationType of operation, such as Authorization, Credit, Void or Finalization.Enum
CreditCardOperation (enum)
NoNone
CreditCardProcessorsPayment service (processor) used. It points to a payment service record.Int64
CreditCardProcessorsId
NoCreditCardProcessors.RecIdNone
CreditCardRequestStatusStatus of the request, such as In process, Received or Network error.Enum
CreditCardRequestStatus (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
IdempotencyKeyPayment tracking ID for the request.String (-1)
MCRPaymentTrackingId
NoNone
MCRPaymLineNumPayment sequence number.Real
LineNum
NoNone
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
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
RefRecIdSystem record ID of the related customer payment.Int64
RefRecId
YesNone
RefTableIdID of the table that holds the related customer payment.Integer
RefTableId
YesNone
RequestPayloadCredit card token held in the request.String (-1)
CreditCardPaymentCardToken
NoNone
SalesIdSales order the request relates to.String (20)
SalesId
YesSalesTable.SalesIdNone
SalesInvoiceIdInvoice the request relates to. It relates to the customer invoice journal.String (20)
SalesInvoiceId
NoNone
SeqNumSequence number of the request.IntegerYesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (5)

Relations (5)

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

  • CreditCardProcessors → CreditCardProcessors

    Join on CreditCardProcessors = CreditCardProcessors.RecId

    Zero or one CreditCardRequest record → exactly one CreditCardProcessors record

  • MCRCustPaymTable → MCRCustPaymTable

    Join on RefTableId = MCRCustPaymTable.TableId, RefRecId = MCRCustPaymTable.RecId

    Many CreditCardRequest records → zero or one MCRCustPaymTable record

  • SalesTable → SalesTable

    Join on RefTableId = SalesTable.TableId, RefRecId = SalesTable.RecId

    Many CreditCardRequest records → zero or one SalesTable record

  • SalesId → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many CreditCardRequest records → zero or one SalesTable record

  • SalesInvoice → CustInvoiceJour

    Join on SalesInvoiceId = CustInvoiceJour.InvoiceId

    Many CreditCardRequest records → zero or one CustInvoiceJour record

Get this data out

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

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

Email sales@drdynamics.co.uk