CRMBBENVIRONMENT

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
DESCRIPTIONTEXT nvarchar(200) Default = ''
ISACTIVE bit Default = 0
DATEADDED datetime Default = getdate()
DATECHANGED datetime Default = getdate()
TS timestamp
TSLONG bigint (Computed) yes CONVERT(bigint, TS)

Foreign Keys

Foreign Key Field Type Null Notes Description
ADDEDBYID uniqueidentifier CHANGEAGENT.ID
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID

Indexes

Index Name Fields Unique Primary Clustered
IX_CRMBBENVIRONMENT_DATEADDED DATEADDED yes
IX_CRMBBENVIRONMENT_DATECHANGED DATECHANGED
PK_CRMBBENVIRONMENT ID yes yes

Triggers

Trigger Name Description
TR_CRMBBENVIRONMENT_AUDIT_UPDATE
TR_CRMBBENVIRONMENT_AUDIT_DELETE

Referenced by

Referenced by Field
BBPAYENVIRONMENTTEMPLATE ENVIRONMENTID