BANKACCOUNTEFTINFO

EFT information for a bank account

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
IMMEDIATEDESTINATIONNUMBER nvarchar(10) Default = '' The routing number of the authorizing institution that approves and authorizes all banking account transactions.
IMMEDIATEDESTINATIONNAME nvarchar(23) Default = '' The name of the authorizing institution that approves and authorizes all banking account transactions.
IMMEDIATEORIGINNUMBEROPTIONCODE tinyint Default = 0 The immediate origin number type for the EFT file.
IMMEDIATEORIGINNUMBEROPTION nvarchar(27) (Computed) yes CASE [IMMEDIATEORIGINNUMBEROPTIONCODE] WHEN 0 THEN N'Bank account routing number' WHEN 1 THEN N'Organization EIN' WHEN 2 THEN N'Other number' END Provides a translation for the 'IMMEDIATEORIGINNUMBEROPTIONCODE' field.
IMMEDIATEORIGINNUMBER nvarchar(10) Default = '' The immediate origin number for the EFT file.
IMMEDIATEORIGINNAMEOPTIONCODE tinyint Default = 0 The immediate origin name for the EFT file.
IMMEDIATEORIGINNAMEOPTION nvarchar(17) (Computed) yes CASE [IMMEDIATEORIGINNAMEOPTIONCODE] WHEN 0 THEN N'Organization name' WHEN 1 THEN N'Other name' END Provides a translation for the 'IMMEDIATEORIGINNAMEOPTIONCODE' field.
IMMEDIATEORIGINNAME nvarchar(23) Default = '' The name of the originating institution for the EFT file.
REFERENCECODE nvarchar(8) Default = '' The reference code for the EFT file.
COMPANYNAMEOPTIONCODE tinyint Default = 0 The company name for the EFT file.
COMPANYNAMEOPTION nvarchar(17) (Computed) yes CASE [COMPANYNAMEOPTIONCODE] WHEN 0 THEN N'Organization name' WHEN 1 THEN N'Other name' END Provides a translation for the 'COMPANYNAMEOPTIONCODE' field.
COMPANYNAME nvarchar(16) Default = '' The name of the organization.
COMPANYIDPREFIX tinyint Default = 0 The prefix of the Company ID.
COMPANYID nvarchar(9) Default = '' The organization's ID number.
CREATEOFFSETTINGTRANSACTIONS bit Default = 0 Used to signify if the process will create an offsetting transactions
INCLUDECARRIAGERETURN bit Default = 1 Used to signify if the process will include a carriage return/line feed
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

Foreign Key Field Type Null Notes Description
ID uniqueidentifier BANKACCOUNT.ID Primary Key.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_BANKACCOUNTEFTINFO_DATEADDED DATEADDED yes
IX_BANKACCOUNTEFTINFO_DATECHANGED DATECHANGED
PK_BANKACCOUNTEFTINFO ID yes yes

Triggers

Trigger Name Description
TR_BANKACCOUNTEFTINFO_AUDIT_DELETE
TR_BANKACCOUNTEFTINFO_AUDIT_UPDATE