Jump to: navigation, search
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.
|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.
}}
+
  }}
 
+
 
{{PDMViewColumn
+
  {{PDMViewColumn
|colName = TENANT_KEY
+
  |colName = TENANT_KEY
|colDesc = The surrogate key that is used to join the TENANT dimension to the fact tables.
+
  |colDesc = The surrogate key that is used to join the TENANT dimension to the fact tables.
}}
+
  }}
 
+
 
{{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.
}}
+
  }}
 
+
 
{{PDMViewColumn
+
  {{PDMViewColumn
|colName = CREATE_AUDIT_KEY
+
  |colName = CREATE_AUDIT_KEY
|colDesc = 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 &mdash; that is, applications that need to identify newly added data.
+
  |colDesc = 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 &mdash; that is, applications that need to identify newly added data.
}}
+
  }}
 
+
 
{{PDMViewColumn
+
  {{PDMViewColumn
|colName = UPDATE_AUDIT_KEY
+
  |colName = UPDATE_AUDIT_KEY
|colDesc = 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 &mdash; that is, applications that need to identify recently modified data.
+
  |colDesc = 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 &mdash; that is, applications that need to identify recently modified data.
}}
+
  }}
 
+
 
{{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.
}}
+
  }}
 
+
 
{{PDMViewColumn
+
  {{PDMViewColumn
|colName = START_TS
+
  |colName = START_TS
|colDesc = 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.
+
  |colDesc = 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.
}}
+
  }}
 
+
 
{{PDMViewColumn
+
  {{PDMViewColumn
|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
+
  {{PDMRef
|parentView = CAMPAIGN
+
  |parentView = CAMPAIGN
|foreignKey = CAMPAIGN_KEY
+
  |foreignKey = CAMPAIGN_KEY
}}
+
  }}
 
+
 
{{PDMRef
+
  {{PDMRef
|parentView = TENANT
+
  |parentView = TENANT
|foreignKey = TENANT_KEY
+
  |foreignKey = TENANT_KEY
}}
+
  }}
 
+
 
{{PDMRef
+
  {{PDMRef
|parentTable = CTL_AUDIT_LOG
+
  |parentTable = CTL_AUDIT_LOG
|foreignKey = CREATE_AUDIT_KEY
+
  |foreignKey = CREATE_AUDIT_KEY
}}
+
  }}
 
+
 
{{PDMRef
+
  {{PDMRef
|parentTable = CTL_AUDIT_LOG
+
  |parentTable = CTL_AUDIT_LOG
|foreignKey = UPDATE_AUDIT_KEY
+
  |foreignKey = UPDATE_AUDIT_KEY
}}
+
  }}
 
+
 
 
+
 
</onlyinclude>
+
  </onlyinclude>
 
+
 
[[Category:V:GIM:8.5DRAFT]]
+
  [[Category:V:GIM:8.5DRAFT]]

Revision as of 13:25, August 18, 2016

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
Comments or questions about this documentation? Contact us for support!