BATCHSTATUS (4.0SP17)

Serves as a join table to the BUSINESSPROCESSSTATUS table for the BATCH table.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

PARAMETERSETID

uniqueidentifier

false

FK to BATCH

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BATCHSTATUS_DATEADDED

DATEADDED

False

False

True

IX_BATCHSTATUS_DATECHANGED

DATECHANGED

False

False

False

PK_BATCHSTATUS

ID

True

True

False

Triggers
Trigger Name Description

TR_BATCHSTATUS_DELETE

TR_BATCHSTATUS_AUDIT_UPDATE

TR_BATCHSTATUS_AUDIT_DELETE