This table contains information about constituent accounts.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
ACCOUNTNUMBER |
nvarchar(4000) |
|
Default = '' |
This constituent's account number at this institution |
ACCOUNTNUMBERINDEX |
nvarchar(24) |
yes |
|
|
ACCOUNTTYPECODE |
tinyint |
|
Default = 0 |
The type of this constituent's account at this institution. |
ACCOUNTTYPE |
nvarchar(8) (Computed) |
yes |
CASE [ACCOUNTTYPECODE] WHEN 0 THEN N'Checking' WHEN 1 THEN N'Savings' END |
Provides a translation for the 'ACCOUNTTYPECODE' field. |
EFTSTATUSCODE |
tinyint |
|
Default = 0 |
Indicates the EFT status of this account. |
EFTSTATUS |
nvarchar(10) (Computed) |
yes |
CASE [EFTSTATUSCODE] WHEN 0 THEN N'Prenotify' WHEN 1 THEN N'In process' WHEN 2 THEN N'EFT' WHEN 3 THEN N'Inactive' END |
Provides a translation for the 'EFTSTATUSCODE' field. |
DESCRIPTION |
nvarchar(254) (Computed) |
yes |
dbo.UFN_BATCHSPONSORSHIPCONSTITUENTACCOUNT_GETDESCRIPTION(ID) |
Provides a translation for this account. |
ACCOUNTNAME |
nvarchar(100) |
|
Default = '' |
The actual name on the account per the bank records. |
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. |
Foreign Keys
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_BATCHSPONSORSHIPCONSTITUENTACCOUNT_ACCOUNTNUMBERINDEX |
ACCOUNTNUMBERINDEX |
|
|
|
IX_BATCHSPONSORSHIPCONSTITUENTACCOUNT_CONSTITUENTID |
CONSTITUENTID |
|
|
|
IX_BATCHSPONSORSHIPCONSTITUENTACCOUNT_DATEADDED |
DATEADDED |
|
|
yes |
IX_BATCHSPONSORSHIPCONSTITUENTACCOUNT_DATECHANGED |
DATECHANGED |
|
|
|
IX_BATCHSPONSORSHIPCONSTITUENTACCOUNT_FINANCIALINSTITUTIONID |
FINANCIALINSTITUTIONID |
|
|
|
PK_BATCHSPONSORSHIPCONSTITUENTACCOUNT |
ID |
yes |
yes |
|
Triggers
Referenced by
Referenced by |
Field |
SEPAMANDATE
|
BATCHSPONSORSHIPCONSTITUENTACCOUNTID |