Jump to: navigation, search
(Resaving to refresh the Cargo table)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
= View PLACE =
 
= View PLACE =
 
+
 
<onlyinclude>
+
  <onlyinclude>
 
+
 
  
 
{{PDMView
 
{{PDMView
Line 10: Line 10:
 
|introduced =   
 
|introduced =   
 
|SQL =  <source lang="xml" enclose="div">select
 
|SQL =  <source lang="xml" enclose="div">select
ID as PLACE_KEY,
+
  ID as PLACE_KEY,
TENANTID as TENANT_KEY,
+
  TENANTID as TENANT_KEY,
NAME as PLACE_NAME,
+
  NAME as PLACE_NAME,
ID as PLACE_CFG_DBID,
+
  ID as PLACE_CFG_DBID,
CREATED_TS as START_TS,
+
  CREATED_TS as START_TS,
DELETED_TS as END_TS,
+
  DELETED_TS as END_TS,
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
from
+
  from
GIDB_GC_PLACE
+
  GIDB_GC_PLACE
UNION ALL
+
  UNION ALL
select
+
  select
-1 as PLACE_KEY,
+
  -1 as PLACE_KEY,
-1 as TENANT_KEY,
+
  -1 as TENANT_KEY,
'UNKNOWN' as PLACE_NAME,
+
  'UNKNOWN' as PLACE_NAME,
-1    as PLACE_CFG_DBID,
+
  -1    as PLACE_CFG_DBID,
-1    as START_TS,
+
  -1    as START_TS,
-1    as END_TS,
+
  -1    as END_TS,
-1    as CREATE_AUDIT_KEY,
+
  -1    as CREATE_AUDIT_KEY,
-1    as UPDATE_AUDIT_KEY
+
  -1    as UPDATE_AUDIT_KEY
from
+
  from
dual
+
  dual
UNION ALL
+
  UNION ALL
select
+
  select
-2 as PLACE_KEY,
+
  -2 as PLACE_KEY,
-1 as TENANT_KEY,
+
  -1 as TENANT_KEY,
'NO_VALUE' as PLACE_NAME,
+
  'NO_VALUE' as PLACE_NAME,
-1    as PLACE_CFG_DBID,
+
  -1    as PLACE_CFG_DBID,
-1    as START_TS,
+
  -1    as START_TS,
-1    as END_TS,
+
  -1    as END_TS,
-1    as CREATE_AUDIT_KEY,
+
  -1    as CREATE_AUDIT_KEY,
-1    as UPDATE_AUDIT_KEY
+
  -1    as UPDATE_AUDIT_KEY
from
+
  from
dual
+
  dual
 
+
 
</source>
+
  </source>
 
}}
 
}}
  
 
{{PDMViewColumn
 
{{PDMViewColumn
 
|colName = PLACE_KEY
 
|colName = PLACE_KEY
|colDesc = The primary key of this view and the surrogate key that is used to join the PLACE dimension to the fact tables.
+
|colDesc = The primary key of this view and the surrogate key that is used to join the PLACE dimension to the fact tables.
 
}}
 
}}
  
Line 60: Line 60:
 
{{PDMViewColumn
 
{{PDMViewColumn
 
|colName = PLACE_NAME
 
|colName = PLACE_NAME
|colDesc = The place name.
+
|colDesc = The place name.
 
}}
 
}}
  
 
{{PDMViewColumn
 
{{PDMViewColumn
 
|colName = PLACE_CFG_DBID
 
|colName = PLACE_CFG_DBID
|colDesc = The place object identifier in the contact center configuration.
+
|colDesc = The place object identifier in the contact center configuration.
 
}}
 
}}
  
Line 86: Line 86:
 
|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.
}}
 
 
{{PDMRef
 
|parentView = PLACE
 
|foreignKey = PLACE_KEY
 
 
}}
 
}}
  
 
{{PDMRef
 
{{PDMRef
 
|parentView = TENANT
 
|parentView = TENANT
 +
|parentColumn = TENANT_KEY
 
|foreignKey = TENANT_KEY
 
|foreignKey = TENANT_KEY
 
}}
 
}}
Line 100: Line 96:
 
{{PDMRef
 
{{PDMRef
 
|parentTable = CTL_AUDIT_LOG
 
|parentTable = CTL_AUDIT_LOG
 +
|parentColumn = AUDIT_KEY
 
|foreignKey = CREATE_AUDIT_KEY
 
|foreignKey = CREATE_AUDIT_KEY
 
}}
 
}}
Line 105: Line 102:
 
{{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:54, June 16, 2020

View PLACE

Description

Allows facts to be described by the attributes of a place. Each row describes one configured place, identified by its ID in the contact center configuration. Changing the place name causes an update to an existing row. Deleting a place and re-creating it under the same name causes a new row to be issued.

Column List

Column Description
PLACE_KEY The primary key of this view and the surrogate key that is used to join the PLACE dimension to the fact tables.
TENANT_KEY The surrogate key that is used to join to the TENANT dimension.
PLACE_NAME The place name.
PLACE_CFG_DBID The place object identifier in the contact center configuration.
START_TS The UTC-equivalent value of the date and time when the place object was added to IDB, which may differ from when the place was actually added to contact center configuration.
END_TS The UTC-equivalent value of the date and time when the place object was removed from contact center configuration.
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.


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
PLACE CREATE_AUDIT_KEY CTL_AUDIT_LOG AUDIT_KEY
PLACE TENANT_KEY TENANT TENANT_KEY
PLACE UPDATE_AUDIT_KEY CTL_AUDIT_LOG AUDIT_KEY
This page was last edited on June 16, 2020, at 22:54.
Comments or questions about this documentation? Contact us for support!