BUSINESSPROCESSOUTPUTTEMPLATE
Contains information pertaining to letter and label templates associated with business process outputs.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| BUSINESSPROCESSOUTPUTTABLEKEY |
nvarchar(50) |
|
Default = '' |
The table key used to identify the business process output table. |
| WORDTEMPLATEID |
uniqueidentifier |
yes |
|
The ID of the letter/label template in its source table. |
| LETTERTEMPLATE |
varbinary |
yes |
|
The Word document associated with the letter that will be used by mail-related business processes to generate the mail merge output file. |
| LETTERTEMPLATENAME |
nvarchar(255) |
|
Default = '' |
The name of the Word document associated with the letter that will be used by mail-related business processes to generate the mail merge output file. |
| LABELTEMPLATE |
varbinary |
yes |
|
The Word document associated with the label that will be used by mail-related business processes to generate the mail merge output file. |
| LABELTEMPLATENAME |
nvarchar(255) |
|
Default = '' |
The name of the Word document associated with the label that will be used by mail-related business processes to generate the mail merge output file. |
| 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) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| BUSINESSPROCESSSTATUSID |
uniqueidentifier |
|
BUSINESSPROCESSSTATUS.ID
|
The business process status record that generated this output. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_BUSINESSPROCESSOUTPUTTEMPLATE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_BUSINESSPROCESSOUTPUTTEMPLATE_DATECHANGED |
DATECHANGED |
|
|
|
| PK_BUSINESSPROCESSOUTPUTTEMPLATE |
ID |
yes |
yes |
|
| UIX_BUSINESSPROCESSOUTPUTTEMPLATE_BUSINESSPROCESSSTATUSID_BUSINESSPROCESSOUTPUTTABLEKEY_WORDTEMPLATEID |
BUSINESSPROCESSSTATUSID, BUSINESSPROCESSOUTPUTTABLEKEY, WORDTEMPLATEID |
yes |
|
|
Triggers