DISBURSEMENTPROCESSFORMAT

Holds the list of formats to use in each process

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
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.

Foreign Keys

Foreign Key Field Type Null Notes Description
DISBURSEMENTPROCESSID uniqueidentifier DISBURSEMENTPROCESS.ID Foreign key to the disbursement process.
DISBURSEMENTFORMATID uniqueidentifier DISBURSEMENTFORMAT.ID Foreign key to the disbursement format
PRINTERID uniqueidentifier SECUREPRINTER.ID The printer to be used for the format.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_DISBURSEMENTPROCESSFORMAT_DATEADDED DATEADDED yes
IX_DISBURSEMENTPROCESSFORMAT_DATECHANGED DATECHANGED
IX_DISBURSEMENTPROCESSFORMAT_DISBURSEMENTPROCESSID DISBURSEMENTPROCESSID
PK_DISBURSEMENTPROCESSFORMAT ID yes yes

Triggers

Trigger Name Description
TR_DISBURSEMENTPROCESSFORMAT_UNIQUETYPEPERDISBURSEMENTPROCESS
TR_DISBURSEMENTPROCESSFORMAT_AUDIT_UPDATE
TR_DISBURSEMENTPROCESSFORMAT_AUDIT_DELETE