CRMBBPAYTEMPLATE (4.0SP17)

Defines BBPay Templates for BBNC.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

CLIENTSITESID

int

true

FK to CLIENTSITES

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

SITECONTENTID

int

true

SITEPAGEID

int

true

DELIVERYCHANNELID

uniqueidentifier

true

Fields
Field Field Type Null Notes Description

HTMLSOURCE

nvarchar(max)

false

''

The html source of the BBPay Template

CSSSOURCE

nvarchar(max)

false

''

The css source of the BBPay Template

IMAGEPLACEHOLDERS

xml

false

XML to represent the BBPay Template's collection of image IDs and the corresponding 64bit strings

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_CRMBBPAYTEMPLATE_CLIENTSITESID

CLIENTSITESID

False

False

False

IX_CRMBBPAYTEMPLATE_DATEADDED

DATEADDED

False

False

True

IX_CRMBBPAYTEMPLATE_DATECHANGED

DATECHANGED

False

False

False

IX_CRMBBPAYTEMPLATE_SITECONTENTID_SITEPAGEID_DELIVERYCHANNELID

SITECONTENTID

SITEPAGEID

DELIVERYCHANNELID

False

False

False

PK_CRMBBPAYTEMPLATE

ID

True

True

False

Triggers
Trigger Name Description

TR_CRMBBPAYTEMPLATE_AUDIT_UPDATE

TR_CRMBBPAYTEMPLATE_AUDIT_DELETE

Referenced by
Referenced by Field

BBPAYENVIRONMENTTEMPLATE

TEMPLATEID