MKT_CM_STG_ALLOCS
This table stores the combination of a segment and a treatment for a specific marketing campaign stage.
Details
-
Schema: FUSION
-
Object owner: MKT
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
MKT_CM_STG_ALLOCS_PK |
ALLOC_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| ALLOC_ID | NUMBER | 18 | Yes | Primary Key Column | |
| 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. | |
| STAGE_ID | NUMBER | 18 | Stage Id. FK to MKT_CM_STAGES table. | ||
| CALL_LST_ID | NUMBER | 18 | Call List Id. FK to MKT_CALL_LST table. | ||
| TREATMENT_ID | NUMBER | 18 | Treatment Id. FK to MKT_TM_TREATMENTS table. | ||
| ALLOC_NUMBER | VARCHAR2 | 64 | Yes | Alloc Number - Alternate key of this table | |
| ALLOCATED_CNT | NUMBER | 10 | Allocated Count | ||
| ALLOCATED_PCT | NUMBER | 22 | Allocated Percentage | ||
| CTRL_GRP_PCT | NUMBER | 22 | Control Group Percentage | ||
| PCT_ALLOC_FLG | VARCHAR2 | 1 | Yes | Percentage Allocation Flag | |
| EXECUTE_FLG | VARCHAR2 | 1 | Yes | Execute Flag | |
| DESC_TXT | VARCHAR2 | 250 | Description Text | ||
| SRC_CAMPAIGN_ID | NUMBER | 18 | Source Campaign Id | ||
| SRC_STAGE_ID | NUMBER | 18 | Source Stage Id | ||
| RESP_TYPE_CODE | VARCHAR2 | 30 | Response Type Code | ||
| RESP_VALUE_CODE | VARCHAR2 | 30 | Response Value Code | ||
| LEAD_STATUS_CODE | VARCHAR2 | 30 | Lead Status Code. Captures the lead status code of lead header. | ||
| LEAD_QUALITY_CODE | VARCHAR2 | 30 | Lead Quality Code. Captures the lead quality code of lead header. | ||
| LEAD_RANK | VARCHAR2 | 30 | Lead Rank . Captures the lead rank code of lead header. | ||
| SCORE_NUM | NUMBER | 10 | Score Number | ||
| SOURCE_CODE | VARCHAR2 | 100 | Source code of a marketing activity | ||
| 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. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| MKT_CM_STG_ALLOCS | mkt_call_lst | CALL_LST_ID |
| MKT_CM_STG_ALLOCS | mkt_cm_stages | STAGE_ID |
| MKT_CM_STG_ALLOCS | mkt_tm_treatments | TREATMENT_ID |
| MKT_CM_STG_ALLOCS | mkt_cm_stages | SRC_STAGE_ID |
| MKT_CM_STG_ALLOCS | mkt_cm_campaigns | SRC_CAMPAIGN_ID |
| mkt_sc_source_codes | mkt_cm_stg_allocs | ALLOC_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| MKT_CM_STG_ALLOCS_F1 | Non Unique | Default | CALL_LST_ID |
| MKT_CM_STG_ALLOCS_F2 | Non Unique | Default | TREATMENT_ID |
| MKT_CM_STG_ALLOCS_F3 | Non Unique | Default | SRC_CAMPAIGN_ID |
| MKT_CM_STG_ALLOCS_F4 | Non Unique | Default | SRC_STAGE_ID |
| MKT_CM_STG_ALLOCS_PK | Unique | Default | ALLOC_ID |
| MKT_CM_STG_ALLOCS_U1 | Unique | Default | STAGE_ID, CALL_LST_ID, TREATMENT_ID |
| MKT_CM_STG_ALLOCS_U2 | Unique | Default | ALLOC_NUMBER |