MKTCOMMUNICATIONTEMPLATEDEFAULTBUSINESSUNIT
Primary Key
Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
Fields
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
PERCENTVALUE | decimal(20, 4) | Default = 100 | ||
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 |
---|---|---|---|---|
COMMUNICATIONTEMPLATEID | uniqueidentifier | MKTCOMMUNICATIONTEMPLATE.ID | ||
BUSINESSUNITCODEID | uniqueidentifier | BUSINESSUNITCODE.ID | ||
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | ||
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID |
Indexes
Index Name | Fields | Unique | Primary | Clustered |
---|---|---|---|---|
IX_MKTCOMMUNICATIONTEMPLATEDEFAULTBUSINESSUNIT_BUSINESSUNITCODEID | BUSINESSUNITCODEID | |||
IX_MKTCOMMUNICATIONTEMPLATEDEFAULTBUSINESSUNIT_DATEADDED | DATEADDED | yes | ||
IX_MKTCOMMUNICATIONTEMPLATEDEFAULTBUSINESSUNIT_DATECHANGED | DATECHANGED | |||
PK_MKTCOMMUNICATIONTEMPLATEDEFAULTBUSINESSUNIT | ID | yes | yes | |
UIX_MKTCOMMUNICATIONTEMPLATEDEFAULTBUSINESSUNIT_COMMUNICATIONTEMPLATEID_BUSINESSUNITCODEID | COMMUNICATIONTEMPLATEID, BUSINESSUNITCODEID | yes |
Triggers
Trigger Name | Description |
---|---|
TR_MKTCOMMUNICATIONTEMPLATEDEFAULTBUSINESSUNIT_AUDIT_UPDATE | |
TR_MKTCOMMUNICATIONTEMPLATEDEFAULTBUSINESSUNIT_AUDIT_DELETE |