Table

CreditCardCust

Customer credit card

Stores credit cards saved for customers, with the card number, token and expiry date. Each row links to a customer account and to the payment service (processor) used. It also records the card type, card holder and the scope of the token.

Table name
CreditCardCust
Module
Accounts receivable
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
CreditCard
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CardNumberCredit card number.String (20)
CreditCardNumber
NoNone
CardTokenToken that stands for the card with the payment service.String (-1)
CreditCardPaymentCardToken
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
CreditCardProcessorsPayment service that handles the card.Int64
CreditCardProcessorsId
NoCreditCardProcessors.RecIdNone
CreditCardTypeNameType of credit card.String (20)
CreditCardTypeName
NoNone
CustAccountCustomer account that owns the card.String (20)
CustAccount
NoCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExpiryDateExpiry date of the card.String (7)
CreditCardExpiryDate
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
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field.Int64
ModifiedTransactionId
NoNone
NameName of the card holder.String (60)
PersonName
NoNone
NotesFree-text note about the card.String (254)
CreditCardNotes
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
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
TokenScopeScope of the token: Unknown, Customer, Sales order or Non-recurring.Enum
RetailTokenScope (enum)
NoNone
UniqueCardIdUnique ID of the card, written as a GUID string.String (38)
CreditCardUniqueCardId
NoMCRContinuityCustomerPaymentEntityMCRCustomerCreditPaymentEntityMCRCustomerInvoicePaymentEntityand 2 more

Indexes (2)

Relations (3)

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

  • CreditCardProcessors → CreditCardProcessors

    Join on CreditCardProcessors = CreditCardProcessors.RecId

    Zero or one CreditCardCust record → exactly one CreditCardProcessors record

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many CreditCardCust records → zero or one CustTable record

  • SalesTable → SalesTable

    Join on CustAccount = SalesTable.InvoiceAccount

    Many CreditCardCust records → zero or one SalesTable record

Get this data out

Tables are not exposed directly. These public entities read from CreditCardCust; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk