EFTHEADER

Contains information pertaining to the EFT transmission file header.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
COMPANYNAME nvarchar(100) Default = '' The name of the organization.
COMPANYID nvarchar(9) Default = '' The organization's ID number.
IMMEDIATEDESTINATIONNUMBER nvarchar(9) Default = '' The routing number of the authorizing institution that approves and authorizes all banking account transactions.
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.
COMPANYIDPREFIX tinyint Default = 0 The prefix of the Company ID.

Foreign Keys

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

Indexes

Index Name Fields Unique Primary Clustered
IX_EFTHEADER_DATEADDED DATEADDED yes
IX_EFTHEADER_DATECHANGED DATECHANGED
PK_EFTHEADER ID yes yes
UC_EFTHEADER_COMPANYID COMPANYID yes
UC_EFTHEADER_COMPANYNAME COMPANYNAME yes

Triggers

Trigger Name Description
TR_EFTHEADER_AUDIT_UPDATE
TR_EFTHEADER_AUDIT_DELETE