STANDINGORDERSIMPORTPROCESS

Contains information pertaining to the standing orders import 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.
BATCHNUMBER nvarchar(60) Default = '' Specifies the batch number assigned to the batch used to hold the transactions.
IMPORTFILENAME nvarchar(255) Default = '' The path and name of the standing orders file to import.
DUEDATETYPECODE tinyint Default = 0 The process will look for unpaid commitments due on or before this date.
CUTOFFDATE datetime yes Used to specify the cut-off due date for unpaid commitments to be included in the process.
DAYSAFTER int Default = 0 Used to calculate the cut-off due date for unpaid commitments to be included in the process.
PAYFUTURE bit Default = 0 Pay future installments if no current unpaid commitments are found.
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.
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.

Foreign Keys

Foreign Key Field Type Null Notes Description
BATCHTEMPLATEID uniqueidentifier 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.
IMPORTTEMPLATEID uniqueidentifier STANDINGORDERSIMPORTTEMPLATE.ID The template used for the file import.
PDACCOUNTSYSTEMID uniqueidentifier yes PDACCOUNTSYSTEM.ID Foreign key to the Account System.

Indexes

Index Name Fields Unique Primary Clustered
IX_STANDINGORDERSIMPORTPROCESS_DATEADDED DATEADDED yes
IX_STANDINGORDERSIMPORTPROCESS_DATECHANGED DATECHANGED
PK_STANDINGORDERSIMPORTPROCESS ID yes yes
UC_STANDINGORDERSIMPORTPROCESS_NAME NAME yes

Triggers

Trigger Name Description
TR_STANDINGORDERSIMPORTPROCESS_AUDIT_UPDATE
TR_STANDINGORDERSIMPORTPROCESS_AUDIT_DELETE

Referenced by

Referenced by Field
STANDINGORDERSIMPORTPROCESSSTATUS PARAMETERSETID