PSC_COM_CC_TEMPLATES_B
Contains communication event template definition data.
Details
-
Schema: FUSION
-
Object owner: PSC_CC
-
Object type: TABLE
-
Tablespace: TRANSACTION_TABLES
Primary Key
| Name | Columns |
|---|---|
|
PSC_COM_CC_TEMPLATES_B_PK |
TEMPLATE_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments | Status |
|---|---|---|---|---|---|---|
| TEMPLATE_ID | NUMBER | 18 | Yes | System generated primary key column. | Active | |
| TEMPLATE_CODE | VARCHAR2 | 32 | Specifies an template code which can be used to identify the template | |||
| RESOURCE_ID | NUMBER | 18 | Communication resource Identifier. | Active | ||
| EVENT_ID | NUMBER | 18 | Yes | Event Identifier. Foreign Key to PSC_COM_CC_EVENTS_B.EVENT_ID | Active | |
| CHANNEL_TYPE | VARCHAR2 | 30 | Yes | Determines the delivery channel type (e.g Alerts, Notifications, Email and SMS Text). | Active | |
| PRIORITY | VARCHAR2 | 1 | Yes | Determines the High priority of the message , valid values Yes/No | Active | |
| VISIBILITY | VARCHAR2 | 30 | Yes | Determines the visibility, values:Account Owner / Delegates (Includes access for agency staff),Public Users (Includes anonymous and signed in users and agency staff) and Agency Staff Only | Active | |
| ATTACHMENTS_ENABLED | VARCHAR2 | 1 | Yes | Determines if the attachment is enabled or disabled. | Active | |
| ATTACHMENT_KEY_REF | VARCHAR2 | 256 | This column is used to indicate attachment key ref | Active | ||
| ENABLED_FLAG | VARCHAR2 | 1 | Yes | Indicates whether the Communication Template is enabled or not. | Active | |
| MIME_TYPE | VARCHAR2 | 30 | Yes | Mime Type. text and HTML.The default value should be HTML. | Active | |
| FROM_ADDRESS | VARCHAR2 | 256 | This column is used to indicate Sender email address. | Active | ||
| TO_EMAIL_ADDRESS | CLOB | This column is used to indicate Recipients TO email addresses. | Active | |||
| CC_EMAIL_ADDRESS | CLOB | This column is used to indicate Recipients CC email addresses. | Active | |||
| BCC_EMAIL_ADDRESS | CLOB | Recipients BCC email addresses. | Active | |||
| TO_PHONE_NUMBER | CLOB | This column is used to indicate Recipients Phone Number | Active | |||
| TO_USERID | CLOB | This column is used to indicate Recipients User ID. | Active | |||
| ALERT_START | TIMESTAMP | Specifies the Alert start date. | Active | |||
| ALERT_END | TIMESTAMP | This column is used to indicate Specifies the Alert end date. | Active | |||
| DEFAULT_LANGUAGE | VARCHAR2 | 4 | Specifies the default language to be used by the template. | Active | ||
| RUN_EXPRESSION | CLOB | Specifies an expression to determine if a template should run. | Active | |||
| ATTRIBUTES | CLOB | System maintained list of Attributes (names) used for Short Message/Subject/Body for an Event. | Active | |||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | Active | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | Active | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | Active | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | Active | ||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | Active | ||
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | Active | |
| AGENCY_ID | NUMBER | 8 | Agency ID from COM_AGENCY. Included as it is mandatory for all tables. | Active | ||
| MODULE_ID | VARCHAR2 | 32 | Seed Data Framework: indicates the module that owns the row. A module is an entry in Application Taxonomy such as a Logical Business Area. When the MODULE_ID column exists and the owner of the row is not specified, then the Seed Data Framework will not extract the row as seed data. | Active | ||
| MESSAGE_DELETE_ALLOWED | VARCHAR2 | 1 | Communication message generated from template is allowed to delete by the user or not. | |||
| ATTACHMENT_ATTRIBUTES | VARCHAR2 | 900 | Dynamic Attachment Attribute information |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| PSC_COM_CC_TEMPLATES_B | psc_com_cc_events_b | EVENT_ID |
| psc_com_cc_templates_tl | psc_com_cc_templates_b | TEMPLATE_ID |
| psc_com_cc_templ_attach | psc_com_cc_templates_b | TEMPLATE_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns | Status |
|---|---|---|---|---|
| PSC_COM_CC_TEMPLATES_B_FK1 | Non Unique | FUSION_TS_TX_IDX | EVENT_ID | Active |
| PSC_COM_CC_TEMPLATES_B_PK | Unique | FUSION_TS_TX_IDX | TEMPLATE_ID | Active |