MERCHANTACCOUNT

Stores merchant account details.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
SECONDSTOPROCESSRECORD int Default = 0 Store the number of seconds it takes a merchant account to process a credit card transaction.
NUMBERTRANSACTIONSPERTHREAD int Default = 0 Stores the number of transactions processed per thread.
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) yes CONVERT(bigint, TS) Numeric representation of the timestamp.
ISDEFAULTAUTHORIZATIONACCOUNT bit Default = 0
ISDEFAULTCARDPRESENTACCOUNT bit Default = 0

Foreign Keys

Foreign Key Field Type Null Notes Description
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_MERCHANTACCOUNT_DATEADDED DATEADDED yes
IX_MERCHANTACCOUNT_DATECHANGED DATECHANGED
PK_MERCHANTACCOUNT ID yes yes

Triggers

Trigger Name Description
TR_MERCHANTACCOUNT_AUDIT_UPDATE
TR_MERCHANTACCOUNT_AUDIT_DELETE

Referenced by

Referenced by Field
MERCHANTACCOUNTSITE MERCHANTACCOUNTID