Jump to: navigation, search
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
= View CAMPAIGN =
 
= View CAMPAIGN =
 
+
 
<onlyinclude>
+
<onlyinclude>
 
 
 
 
 
{{PDMView
 
{{PDMView
 
|viewName = CAMPAIGN
 
|viewName = CAMPAIGN
 
|shortDesc =  Allows facts to be described based on attributes of an outbound campaign.
 
|shortDesc =  Allows facts to be described based on attributes of an outbound campaign.
 
|viewDesc =  Allows facts to be described based on attributes of an outbound campaign. Each row describes one campaign.
 
|viewDesc =  Allows facts to be described based on attributes of an outbound campaign. Each row describes one campaign.
 +
|subjectAreas=Calling_List_To_Campaign
 
|introduced =   
 
|introduced =   
 
|SQL =  <source lang="xml" enclose="div">select
 
|SQL =  <source lang="xml" enclose="div">select
ID              AS CAMPAIGN_KEY,
+
  ID              AS CAMPAIGN_KEY,
TENANTID        AS TENANT_KEY,
+
  TENANTID        AS TENANT_KEY,
NAME            AS CAMPAIGN_NAME,
+
  NAME            AS CAMPAIGN_NAME,
CREATE_AUDIT_KEY AS CREATE_AUDIT_KEY,
+
  CREATE_AUDIT_KEY AS CREATE_AUDIT_KEY,
UPDATE_AUDIT_KEY AS UPDATE_AUDIT_KEY,
+
  UPDATE_AUDIT_KEY AS UPDATE_AUDIT_KEY,
DESCRIPTION      AS DESCRIPTION,
+
  DESCRIPTION      AS DESCRIPTION,
ID              AS CAMPAIGN_CFG_DBID,
+
  ID              AS CAMPAIGN_CFG_DBID,
CREATED_TS      AS START_TS,
+
  CREATED_TS      AS START_TS,
DELETED_TS      AS END_TS
+
  DELETED_TS      AS END_TS
FROM GIDB_GC_CAMPAIGN
+
  FROM GIDB_GC_CAMPAIGN
UNION ALL
+
  UNION ALL
SELECT
+
  SELECT
-1              AS CAMPAIGN_KEY,
+
  -1              AS CAMPAIGN_KEY,
-1              AS TENANT_KEY,
+
  -1              AS TENANT_KEY,
'UNKNOWN'        AS CAMPAIGN_NAME,
+
  'UNKNOWN'        AS CAMPAIGN_NAME,
-1              AS CREATE_AUDIT_KEY,
+
  -1              AS CREATE_AUDIT_KEY,
-1              AS UPDATE_AUDIT_KEY,
+
  -1              AS UPDATE_AUDIT_KEY,
'UNKNOWN'        AS DESCRIPTION,
+
  'UNKNOWN'        AS DESCRIPTION,
1                AS CAMPAIGN_CFG_DBID,
+
  1                AS CAMPAIGN_CFG_DBID,
1                AS START_TS,
+
  1                AS START_TS,
1                AS END_TS
+
  1                AS END_TS
FROM dual
+
  FROM dual
UNION ALL
+
  UNION ALL
SELECT
+
  SELECT
-2              AS CAMPAIGN_KEY,
+
  -2              AS CAMPAIGN_KEY,
-1              AS TENANT_KEY,
+
  -1              AS TENANT_KEY,
'NO_VALUE'      AS CAMPAIGN_NAME,
+
  'NO_VALUE'      AS CAMPAIGN_NAME,
-1              AS CREATE_AUDIT_KEY,
+
  -1              AS CREATE_AUDIT_KEY,
-1              AS UPDATE_AUDIT_KEY,
+
  -1              AS UPDATE_AUDIT_KEY,
'NO_VALUE'      AS DESCRIPTION,
+
  'NO_VALUE'      AS DESCRIPTION,
1                AS CAMPAIGN_CFG_DBID,
+
  1                AS CAMPAIGN_CFG_DBID,
1                AS START_TS,
+
  1                AS START_TS,
1                AS END_TS
+
  1                AS END_TS
FROM dual
+
  FROM dual
 
+
 
</source>
+
  </source>
 
}}
 
}}
  
 
{{PDMViewColumn
 
{{PDMViewColumn
 
|colName = CAMPAIGN_KEY
 
|colName = CAMPAIGN_KEY
|colDesc = The surrogate key that is used to join the CAMPAIGN dimension to the fact tables.
+
|colDesc = The surrogate key that is used to join the CAMPAIGN dimension to the fact tables.
 
}}
 
}}
  
Line 60: Line 59:
 
{{PDMViewColumn
 
{{PDMViewColumn
 
|colName = CAMPAIGN_NAME
 
|colName = CAMPAIGN_NAME
|colDesc = The name of the campaign object in Configuration Server.
+
|colDesc = The name of the campaign object in Configuration Server.
 
}}
 
}}
  
Line 75: Line 74:
 
{{PDMViewColumn
 
{{PDMViewColumn
 
|colName = DESCRIPTION
 
|colName = DESCRIPTION
|colDesc = The description of the campaign.
+
|colDesc = The description of the campaign.
 
}}
 
}}
  
 
{{PDMViewColumn
 
{{PDMViewColumn
 
|colName = CAMPAIGN_CFG_DBID
 
|colName = CAMPAIGN_CFG_DBID
|colDesc = The campaign object identifier in contact center configuration.
+
|colDesc = The campaign object identifier in contact center configuration.
 
}}
 
}}
  
Line 91: Line 90:
 
|colName = END_TS
 
|colName = END_TS
 
|colDesc = The UTC-equivalent value of the date and time when the campaign object was removed from contact center configuration.
 
|colDesc = The UTC-equivalent value of the date and time when the campaign object was removed from contact center configuration.
}}
 
 
{{PDMRef
 
|parentView = CAMPAIGN
 
|foreignKey = CAMPAIGN_KEY
 
 
}}
 
}}
  
 
{{PDMRef
 
{{PDMRef
 
|parentView = TENANT
 
|parentView = TENANT
 +
|parentColumn = TENANT_KEY
 
|foreignKey = TENANT_KEY
 
|foreignKey = TENANT_KEY
 
}}
 
}}
Line 105: Line 100:
 
{{PDMRef
 
{{PDMRef
 
|parentTable = CTL_AUDIT_LOG
 
|parentTable = CTL_AUDIT_LOG
 +
|parentColumn = AUDIT_KEY
 
|foreignKey = CREATE_AUDIT_KEY
 
|foreignKey = CREATE_AUDIT_KEY
 
}}
 
}}
Line 110: Line 106:
 
{{PDMRef
 
{{PDMRef
 
|parentTable = CTL_AUDIT_LOG
 
|parentTable = CTL_AUDIT_LOG
 +
|parentColumn = AUDIT_KEY
 
|foreignKey = UPDATE_AUDIT_KEY
 
|foreignKey = UPDATE_AUDIT_KEY
 
}}
 
}}
 
 
 
</onlyinclude>
 
</onlyinclude>
 
+
 
 
[[Category:V:GIM:8.5DRAFT]]
 
[[Category:V:GIM:8.5DRAFT]]

Latest revision as of 22:46, June 16, 2020

View CAMPAIGN

Description

Allows facts to be described based on attributes of an outbound campaign. Each row describes one campaign.

Column List

Column Description
CAMPAIGN_KEY The surrogate key that is used to join the CAMPAIGN dimension to the fact tables.
TENANT_KEY The surrogate key that is used to join the TENANT dimension to the fact tables.
CAMPAIGN_NAME The name of the campaign object in Configuration Server.
CREATE_AUDIT_KEY The surrogate key that is used to join to the CTL_AUDIT_LOG control table. The key specifies the lineage for data creation. This value can be useful for aggregation, enterprise application integration (EAI), and ETL tools — that is, applications that need to identify newly added data.
UPDATE_AUDIT_KEY The surrogate key used to join to the CTL_AUDIT_LOG dimension. Specifies the lineage for data update. This value can be useful for aggregation, enterprise application integration (EAI), and ETL tools — that is, applications that need to identify recently modified data.
DESCRIPTION The description of the campaign.
CAMPAIGN_CFG_DBID The campaign object identifier in contact center configuration.
START_TS The UTC-equivalent value of the date and time when the campaign was added to IDB, which may differ from when the campaign was actually added to contact center configuration.
END_TS The UTC-equivalent value of the date and time when the campaign object was removed from contact center configuration.


References

The summary List of References will include the following entries for this table or view:


Child Table/View Child Table/View Column Parent Table/View Parent Table/View Column
CAMPAIGN CREATE_AUDIT_KEY CTL_AUDIT_LOG AUDIT_KEY
CAMPAIGN TENANT_KEY TENANT TENANT_KEY
CAMPAIGN UPDATE_AUDIT_KEY CTL_AUDIT_LOG AUDIT_KEY
This page was last edited on June 16, 2020, at 22:46.
Comments or questions about this documentation? Contact us for support!