GENERATEBACSFILEPROCESS

Contains information pertaining to the generate BACS file 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.
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.
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
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.
REQUESTAUDITTRAIL bit Default = 0 Designates whether to fill in the audit print identifier on the BACS file header.
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.
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.
APPENDLINEFEED bit Default = 0 Designates whether to append a CR/LF after each record.
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.
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.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
BANKACCOUNTID uniqueidentifier yes BANKACCOUNT.ID A foreign key to the bank account of the EFT.

Indexes

Index Name Fields Unique Primary Clustered
IX_GENERATEBACSFILEPROCESS_DATEADDED DATEADDED yes
IX_GENERATEBACSFILEPROCESS_DATECHANGED DATECHANGED
PK_GENERATEBACSFILEPROCESS ID yes yes
UC_GENERATEBACSFILEPROCESS_NAME NAME yes

Triggers

Trigger Name Description
TR_GENERATEBACSFILEPROCESS_AUDIT_UPDATE
TR_GENERATEBACSFILEPROCESS_AUDIT_DELETE

Referenced by

Referenced by Field
GENERATEBACSFILEPROCESSSTATUS PARAMETERSETID