| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ACCOUNTNUMBER |
nvarchar(4000) | Default = '' | This constituent's account number at this institution | |
ACCOUNTTYPECODE |
tinyint | Default = 0 | The type of this constituent's account at this institution. | |
EFTSTATUSCODE |
tinyint | Default = 0 | Indicates the EFT status of this account. | |
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) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
DESCRIPTION |
nvarchar(254) (Computed) | ![]() |
dbo.UFN_CONSTITUENTACCOUNT_GETDESCRIPTION(ID) | Provides a tranlsation for this account. |
ACCOUNTNUMBERINDEX |
nvarchar(24) | ![]() |
||
ACCOUNTNAME |
nvarchar(100) | Default = '' | The actual name on the account per the bank records. | |
ACCOUNTTYPE |
nvarchar(8) (Computed) | ![]() |
CASE [ACCOUNTTYPECODE] WHEN 0 THEN N'Checking' WHEN 1 THEN N'Savings' END | Provides a translation for the 'ACCOUNTTYPECODE' field. |
EFTSTATUS |
nvarchar(10) (Computed) | ![]() |
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. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
CONSTITUENTID |
uniqueidentifier | CONSTITUENT.LOCALID | The constituent to which this account belongs. | |
FINANCIALINSTITUTIONID |
uniqueidentifier | FINANCIALINSTITUTION.ID | The financial institution to which this account applies. | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_CONSTITUENTACCOUNT_ACCOUNTNUMBERINDEX |
ACCOUNTNUMBERINDEX | |||
IX_CONSTITUENTACCOUNT_CONSTITUENTID |
CONSTITUENTID | |||
IX_CONSTITUENTACCOUNT_DATEADDED |
DATEADDED | ![]() |
||
IX_CONSTITUENTACCOUNT_DATECHANGED |
DATECHANGED | |||
PK_CONSTITUENTACCOUNT |
ID | ![]() |
![]() |
| Referenced by | Field |
|---|---|
CHECKPAYMENTMETHODDETAIL |
CONSTITUENTACCOUNTID |
DIRECTDEBITPAYMENTMETHODDETAIL |
CONSTITUENTACCOUNTID |
RECEIVABLEPAYMENTDIRECTDEBIT |
CONSTITUENTACCOUNTID |
REVENUESCHEDULEDIRECTDEBITPAYMENT |
CONSTITUENTACCOUNTID |
REVENUESCHEDULESTANDINGORDERPAYMENT |
CONSTITUENTACCOUNTID |
SALESORDERITEMREVENUESCHEDULE |
CONSTITUENTACCOUNTID |
STANDINGORDERPAYMENTMETHODDETAIL |
CONSTITUENTACCOUNTID |

ID
ACCOUNTNUMBER
TSLONG
CONSTITUENTID
IX_CONSTITUENTACCOUNT_ACCOUNTNUMBERINDEX
IX_CONSTITUENTACCOUNT_DATEADDED