GENERATEBATCHPROCESSOVERWRITE

This table contains the overwrite values of a generate batch business process.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
OLDGUIDVALUE uniqueidentifier yes The guid value to overwrite.
NEWGUIDVALUE uniqueidentifier yes The guid value that will replace the old guid value.
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.
FIELDNAME nvarchar(255) Default = '' The name of the field to overwrite.
OLDDATEVALUE datetime yes The date value to overwrite.
NEWDATEVALUE datetime yes Th date value that will replace the old date value.

Foreign Keys

Foreign Key Field Type Null Notes Description
GENERATEBATCHPROCESSID uniqueidentifier GENERATEBATCHPROCESS.ID A foreign key to the generate batch process this overwrite value belongs to.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_GENERATEBATCHPROCESSOVERWRITE_DATEADDED DATEADDED yes
IX_GENERATEBATCHPROCESSOVERWRITE_DATECHANGED DATECHANGED
PK_GENERATEBATCHPROCESSOVERWRITE ID yes yes

Triggers

Trigger Name Description
TR_GENERATEBATCHPROCESSOVERWRITE_AUDIT_UPDATE
TR_GENERATEBATCHPROCESSOVERWRITE_AUDIT_DELETE