STANDINGORDERPAYMENTMETHODDETAIL (4.0SP20)

Stores standing order detail information for a revenue record when the payment method is standing order.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

CONSTITUENTACCOUNTID

uniqueidentifier

true

FK to CONSTITUENTACCOUNT

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

REFERENCEDATE

UDT_FUZZYDATE

false

'00000000'

The date that the reference was made.

REFERENCENUMBER

nvarchar(20)

false

''

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_STANDINGORDERPAYMENTMETHODDETAIL_DATEADDED

DATEADDED

False

False

True

IX_STANDINGORDERPAYMENTMETHODDETAIL_DATECHANGED

DATECHANGED

False

False

False

PK_STANDINGORDERPAYMENTMETHODDETAIL

ID

True

True

False

Triggers
Trigger Name Description

TR_STANDINGORDERPAYMENTMETHODDETAIL_AUDIT_UPDATE

TR_STANDINGORDERPAYMENTMETHODDETAIL_AUDIT_DELETE