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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CardNumberCredit card number. | String (20)CreditCardNumber | No | None | |
CardTokenToken that stands for the card with the payment service. | String (-1)CreditCardPaymentCardToken | 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 | |
CreditCardProcessorsPayment service that handles the card. | Int64CreditCardProcessorsId | No | CreditCardProcessors.RecId | None |
CreditCardTypeNameType of credit card. | String (20)CreditCardTypeName | No | None | |
CustAccountCustomer account that owns the card. | String (20)CustAccount | No | CustTable.AccountNum | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExpiryDateExpiry date of the card. | String (7)CreditCardExpiryDate | No | 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 | |
NameName of the card holder. | String (60)PersonName | No | None | |
NotesFree-text note about the card. | String (254)CreditCardNotes | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
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 | |
TokenScopeScope of the token: Unknown, Customer, Sales order or Non-recurring. | EnumRetailTokenScope (enum) | No | None | |
UniqueCardIdUnique ID of the card, written as a GUID string. | String (38)CreditCardUniqueCardId | No | MCRContinuityCustomerPaymentEntityMCRCustomerCreditPaymentEntityMCRCustomerInvoicePaymentEntityand 2 more |
Indexes (2)
AccountIdxNot unique.
UniqueCardIdUnique.
Relations (3)
Each relation joins CreditCardCust to another table on the fields shown.
CreditCardProcessors→CreditCardProcessorsJoin on
CreditCardProcessors = CreditCardProcessors.RecIdZero or one CreditCardCust record → exactly one CreditCardProcessors record
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany CreditCardCust records → zero or one CustTable record
SalesTable→SalesTableJoin on
CustAccount = SalesTable.InvoiceAccountMany 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.
MCRContinuityCustomerPaymentEntity· 1 field from this tableMCRCustomerCreditPaymentEntity· 1 field from this tableMCRCustomerInvoicePaymentEntity· 1 field from this tableMCRInstallmentPlanCustomerPaymentEntity· 1 field from this tableMCRSalesOrderCustomerPaymentEntity· 1 field from this table
Need help with CreditCardCust in a report, an integration or a migration? Talk to Dr Dynamics.