GENERATETRANSACTIONSPROCESS

Contains parameter information for the Generate Payments 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.
CUTOFFDATE datetime Specifies the cut-off date for transactions to be included in the process.
BATCHNUMBER nvarchar(100) Default = '' Specifies the batch number assigned to the batch used to hold the transactions.
TRANSACTIONTYPECODE tinyint Default = 0 Specifies the type of transactions to generate.
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.
OVERRIDEBATCHNUMBER bit Default = 0 Indicates whether or not to use the default numbering scheme for the batch.
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.
DAYSAFTER int Default = 1 Number of days after this process runs that will be used to calculate the cutoff 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
IDSETREGISTERID uniqueidentifier yes IDSETREGISTER.ID Indicates the IDSETREGISTER to use filter records included in the process.
BATCHTEMPLATEID uniqueidentifier BATCHTEMPLATE.ID Specifies the batch instance to be used to create the batch to hold the transactions.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
OWNERID uniqueidentifier yes APPUSER.ID The user who will be the owner of the batch once it is created by the process.
PDACCOUNTSYSTEMID uniqueidentifier yes PDACCOUNTSYSTEM.ID Foreign key to the account system.

Indexes

Index Name Fields Unique Primary Clustered
IX_GENERATETRANSACTIONSPROCESS_DATEADDED DATEADDED yes
IX_GENERATETRANSACTIONSPROCESS_DATECHANGED DATECHANGED
PK_GENERATETRANSACTIONSPROCESS ID yes yes
UC_GENERATETRANSACTIONSPROCESS_NAME NAME yes

Triggers

Trigger Name Description
TR_GENERATETRANSACTIONSPROCESS_AUDIT_UPDATE
TR_GENERATETRANSACTIONSPROCESS_AUDIT_DELETE

Referenced by

Referenced by Field
GENERATETRANSACTIONSPROCESSSTATUS PARAMETERSETID