| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
HTMLSOURCE |
nvarchar(max) | Default = '' | The html source of the BBPay Template | |
CSSSOURCE |
nvarchar(max) | Default = '' | The css source of the BBPay Template | |
IMAGEPLACEHOLDERS |
xml | XML to represent the BBPay Template's collection of image IDs and the corresponding 64bit strings | ||
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) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
CLIENTSITESID |
int | ![]() |
ClientSites.ID | FK to CLIENTSITES |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
SITECONTENTID |
int | ![]() |
SiteContent.ID | |
SITEPAGEID |
int | ![]() |
SitePages.ID | |
DELIVERYCHANNELID |
uniqueidentifier | ![]() |
CMSDELIVERYCHANNEL.ID |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_CRMBBPAYTEMPLATE_CLIENTSITESID |
CLIENTSITESID | |||
IX_CRMBBPAYTEMPLATE_DATEADDED |
DATEADDED | ![]() |
||
IX_CRMBBPAYTEMPLATE_DATECHANGED |
DATECHANGED | |||
IX_CRMBBPAYTEMPLATE_SITECONTENTID_SITEPAGEID_DELIVERYCHANNELID |
SITECONTENTID, SITEPAGEID, DELIVERYCHANNELID | |||
PK_CRMBBPAYTEMPLATE |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_CRMBBPAYTEMPLATE_AUDIT_UPDATE |
|
TR_CRMBBPAYTEMPLATE_AUDIT_DELETE |

ID
HTMLSOURCE
TSLONG
CLIENTSITESID
IX_CRMBBPAYTEMPLATE_CLIENTSITESID
IX_CRMBBPAYTEMPLATE_DATEADDED