MOO_STG_ACT_TEMPLATES

Activity templates associated to sales stage. When an opportunity reaches a particular stage, associated activity templates will be instantiated to create neccesary activities that slaes team member need to complete as part of that stage.

Details

  • Schema: FUSION

  • Object owner: MOO

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

MOO_STG_ACT_TEMPLATES_PK

STG_ACT_TEMPLATE_ID

Columns

Name Datatype Length Precision Not-null Comments
STG_ACT_TEMPLATE_ID NUMBER 18 Yes Unique ID for stage and activity template association.
STG_ACT_TEMPLATE_NUMBER VARCHAR2 64 A GUID-based column that has been created to be part of Alternate Key for data migration.
TMPL_APPLY_CODE VARCHAR2 20 The mode in which a template is applied. "Autogenerated" or "Recommended". Or more, in future.
SALES_STG_ID NUMBER 18 Yes Sales Stage ID
ACTIVITY_TEMPLATE_ID NUMBER 18 Yes Activity Template ID
CONFLICT_ID NUMBER 18 Yes Disconnected Mobile: this value is used to guarantee the uniqueness of the row when duplicates are created in different databases (i.e. mobile databases or the server).
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
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.
USER_LAST_UPDATE_DATE TIMESTAMP Disconnected Mobile: indicates the date and time of the last update of the row. This value is different from LAST_UPDATE_DATE if the update originally happened in a different database (i.e. a different mobile database or the server).

Foreign Keys

Table Foreign Table Foreign Key Column
MOO_STG_ACT_TEMPLATES moo_stg_b SALES_STG_ID
MOO_STG_ACT_TEMPLATES zmm_act_templates ACTIVITY_TEMPLATE_ID

Indexes

Index Uniqueness Tablespace Columns
MOO_STG_ACT_TEMPLATES_F1 Non Unique Default ACTIVITY_TEMPLATE_ID
MOO_STG_ACT_TEMPLATES_PK Unique Default STG_ACT_TEMPLATE_ID
MOO_STG_ACT_TEMPLATES_U1 Unique Default SALES_STG_ID, ACTIVITY_TEMPLATE_ID, CONFLICT_ID
MOO_STG_ACT_TEMPLATES_U2 Unique Default STG_ACT_TEMPLATE_NUMBER, SALES_STG_ID