Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 CARDHOLDERNAME nvarchar(255)   Default = '' The name on the credit card that was used when making this gift.
 EXPIRESON UDT_FUZZYDATE   Default = '00000000' The expiration date of the credit card for a credit card payment.
 AUTHORIZATIONCODE nvarchar(20)   Default = '' The authorization code for a credit card payment, if applicable.
 DATEADDED datetime   Default = getdate() Indicates the date this record was added.
 DATECHANGED datetime   Default = getdate() Indicates the date this record was last changed.
 TS timestamp   Timestamp.
 TSLONG bigint (Computed) CONVERT(bigint, TS) Numeric representation of the timestamp.
 CREDITCARDPARTIALNUMBER nvarchar(4)   Default = '' Used to store the last few digits of a credit card number for credit card payments.
 TRANSACTIONID uniqueidentifier The BBPS transaction ID.

Foreign Key Field Type Null Notes Description
 ID uniqueidentifier   REVENUEPAYMENTMETHOD.ID Primary Key.
 CREDITTYPECODEID uniqueidentifier CREDITTYPECODE.ID The type of credit card used when making a credit card payment.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_CREDITCARDPAYMENTMETHODDETAIL_DATEADDED DATEADDED    
 IX_CREDITCARDPAYMENTMETHODDETAIL_DATECHANGED DATECHANGED      
 PK_CREDITCARDPAYMENTMETHODDETAIL ID  

Trigger Name Description
 TR_CREDITCARDPAYMENTMETHODDETAIL_T2BDELETE
 TR_CREDITCARDPAYMENTMETHODDETAIL_AUDIT_UPDATE
 TR_CREDITCARDPAYMENTMETHODDETAIL_AUDIT_DELETE

Referenced by Field
 DOCUMENTPRINTINGHISTORY CREDITCARDPAYMENTMETHODDETAILID

Entity-Relationship diagram of this table