BATCHREVENUECONSTITUENTACCOUNT (4.0SP17)

This table contains information about constituent accounts.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

BATCHID

uniqueidentifier

true

Fields
Field Field Type Null Notes Description

CONSTITUENTID

uniqueidentifier

false

The constituent to which this account belongs.

FINANCIALINSTITUTIONID

uniqueidentifier

false

The financial institution to which this account applies.

ACCOUNTNUMBER

nvarchar(4000)

false

''

This constituent's account number at this institution

ACCOUNTTYPECODE

tinyint

false

0

The type of this constituent's account at this institution.

EFTSTATUSCODE

tinyint

false

0

Indicates the EFT status of this account.

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.

ACCOUNTNUMBERINDEX

nvarchar(24)

true

ACCOUNTNAME

nvarchar(100)

false

''

The actual name on the account per the bank records.

ACCOUNTTYPE

nvarchar(8) (Computed)

true

Provides a translation for the 'ACCOUNTTYPECODE' field.

EFTSTATUS

nvarchar(10) (Computed)

true

Provides a translation for the 'EFTSTATUSCODE' field.

DESCRIPTION

nvarchar(254) (Computed)

true

Provides a tranlsation for this account.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BATCHREVENUECONSTITUENTACCOUNT_ACCOUNTNUMBERINDEX

ACCOUNTNUMBERINDEX

False

False

False

IX_BATCHREVENUECONSTITUENTACCOUNT_CONSTITUENTID

CONSTITUENTID

False

False

False

IX_BATCHREVENUECONSTITUENTACCOUNT_DATEADDED

DATEADDED

False

False

True

IX_BATCHREVENUECONSTITUENTACCOUNT_DATECHANGED

DATECHANGED

False

False

False

PK_BATCHREVENUECONSTITUENTACCOUNT

ID

True

True

False

Triggers
Trigger Name Description

TR_BATCHREVENUECONSTITUENTACCOUNT_AUDIT_UPDATE

TR_BATCHREVENUECONSTITUENTACCOUNT_AUDIT_DELETE

Referenced by
Referenced by Field

SEPAMANDATE

BATCHREVENUECONSTITUENTACCOUNTID