BATCHPLEDGEWRITEOFFRECOGNITIONCREDITS

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
AMOUNT money Default = 0
REVENUESPLITID uniqueidentifier yes
DATEADDED datetime Default = getdate()
DATECHANGED datetime Default = getdate()
TS timestamp
TSLONG bigint (Computed) yes CONVERT(bigint, TS)

Foreign Keys

Foreign Key Field Type Null Notes Description
BATCHPLEDGEWRITEOFFID uniqueidentifier BATCHPLEDGEWRITEOFF.ID
ADDEDBYID uniqueidentifier CHANGEAGENT.ID
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID

Indexes

Index Name Fields Unique Primary Clustered
IX_BATCHPLEDGEWRITEOFFRECOGNITIONCREDITS_BATCHPLEDGEWRITEOFFID BATCHPLEDGEWRITEOFFID
IX_BATCHPLEDGEWRITEOFFRECOGNITIONCREDITS_DATEADDED DATEADDED yes
IX_BATCHPLEDGEWRITEOFFRECOGNITIONCREDITS_DATECHANGED DATECHANGED
PK_BATCHPLEDGEWRITEOFFRECOGNITIONCREDITS ID yes yes

Triggers

Trigger Name Description
TR_BATCHPLEDGEWRITEOFFRECOGNITIONCREDITS_AUDIT_UPDATE
TR_BATCHPLEDGEWRITEOFFRECOGNITIONCREDITS_AUDIT_DELETE