GENERATEEFTFILEPROCESS

Contains information pertaining to the generate direct debit file business process.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(100) Default = '' The name of the parameter set.
DESCRIPTION nvarchar(255) Default = '' The description of the parameter set.
DATETYPECODE tinyint Default = 0 Designates whether to use today's date or a specific date in the process as the financial processing date.
DATE datetime yes This date is used as the financial processing date for the direct debits.
IMMEDIATEDESTINATIONNAME nvarchar(23) Default = '' The name of the authorizing institution that approves and authorizes all banking account transactions.
CREATECREDITOFFSETTRANSACTION bit Default = 0 Designates whether or not the credit offset transaction is included in the EFT transmission file.
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.
DATETYPE nvarchar(30) (Computed) yes CASE [DATETYPECODE] WHEN 0 THEN N'Date this process runs' WHEN 1 THEN N'Specific date' WHEN 2 THEN N'X days after this process runs' END Provides a translation for the 'DATETYPECODE' field.
DUEDATETYPECODE tinyint Default = 0 Designates whether to use the date this process runs or a number of days after this process runs or a specific date in the process as the cutoff date.
DUEDATETYPE nvarchar(30) (Computed) yes CASE [DUEDATETYPECODE] WHEN 0 THEN N'Date this process runs' WHEN 1 THEN N'Specific date' WHEN 2 THEN N'X days after this process runs' END Provides a translation for the 'DUEDATETYPECODE' field.
CUTOFFDATE datetime yes Specifies the cut-off date for transactions to be included in the process.
DAYSAFTER int Default = 1 Number of days after this process runs that will be used to calculate the cutoff date
TRANSACTIONTYPECODE tinyint Default = 0 Specifies the type of transactions to generate.
FINDAYSAFTER int Default = 1 Number of days after this process runs that will be used to calculate the financial processing date
CONSOLIDATEPAYMENTS bit Default = 0 Consolidate multiple commitments to a single payment by constituent.
TRANSACTIONTYPE nvarchar(32) (Computed) yes CASE [TRANSACTIONTYPECODE] WHEN 0 THEN N'Pledge & Recurring Gift Payments' WHEN 1 THEN N'Pledge Payments' WHEN 2 THEN N'Recurring Gift Payments' WHEN 3 THEN N'Membership Installment Payments' END

Foreign Keys

Foreign Key Field Type Null Notes Description
SPONSORINGINSTITUTIONID uniqueidentifier yes FINANCIALINSTITUTION.ID A foreign key to the sponsoring bank of the EFT.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
BATCHID uniqueidentifier yes BATCH.ID A foreign key to the batch used to filter the records included in the generate EFT file process.
IDSETREGISTERID uniqueidentifier yes IDSETREGISTER.ID Indicates the IDSETREGISTER to use filter records included in the process.
BATCHTEMPLATEID uniqueidentifier yes BATCHTEMPLATE.ID Specifies the batch instance to be used to create the batch to hold the transactions.
OWNERID uniqueidentifier yes APPUSER.ID The user who will be the owner of the batch once it is created by the process.
BANKACCOUNTID uniqueidentifier yes BANKACCOUNT.ID Foreign key to the bank account table

Indexes

Index Name Fields Unique Primary Clustered
IX_GENERATEEFTFILEPROCESS_DATEADDED DATEADDED yes
IX_GENERATEEFTFILEPROCESS_DATECHANGED DATECHANGED
PK_GENERATEEFTFILEPROCESS ID yes yes
UC_GENERATEEFTFILEPROCESS_NAME NAME yes

Triggers

Trigger Name Description
TR_GENERATEEFTFILEPROCESS_AUDIT_UPDATE
TR_GENERATEEFTFILEPROCESS_AUDIT_DELETE

Referenced by

Referenced by Field
GENERATEEFTFILEPROCESSSTATUS PARAMETERSETID