ZSF_DS_METRIC_SRC

This table contains the source tables from which metrics will be computed in Sales Forecasting.

Details

  • Schema: FUSION

  • Object owner: ZSF

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

ZSF_DS_METRIC_SRC_PK

METRIC_SRC_CODE

Columns

Name Datatype Length Precision Not-null Comments
METRIC_SRC_CODE VARCHAR2 100 Yes Unique metric source that will be used to provide the data for the metric
METRIC_SRC_OBJECT VARCHAR2 100 Yes Column to support multiple forecast types based on OPPORTUNITY or REVENUE object with different dimension configurations.
NAME VARCHAR2 300 User entered name of the forecast type. The name for the existing metric sources will be included in the seed data.
SOURCE_TABLES VARCHAR2 4000 Yes Fusion Table from which the metric should be retrieved from the database.
SOURCE_CRITERIA VARCHAR2 4000 Yes Filter criteria that will be applied to the query constructed to retrieve this metric
CUSTOM_SOURCE_CRITERIA_EXPR VARCHAR2 4000 Custom source criteria in the form of a rules engine expression
SNAPSHOT_TABLES VARCHAR2 4000 Name of the tables containing snapshot data for the current metric source
SNAPSHOT_CRITERIA VARCHAR2 4000 Selection criteria used to identify a specific snapshot record for a given metric source item
METRIC_DIM1_CODE VARCHAR2 100 Yes Dimension Code of one of the registered dimensions for metrics rollups
METRIC_DIM1_COLUMN VARCHAR2 1000 Yes Column in the source table corresponding to dimension 1
METRIC_DIM2_CODE VARCHAR2 100 Dimension Code of one of the registered dimensions for metrics rollups
METRIC_DIM2_COLUMN VARCHAR2 1000 Column in the source table corresponding to dimension 2
METRIC_DIM3_CODE VARCHAR2 100 Dimension Code of one of the registered dimensions for metrics rollups
METRIC_DIM3_COLUMN VARCHAR2 1000 Column in the source table corresponding to dimension 3
METRIC_DIM4_CODE VARCHAR2 100 Dimension Code of one of the registered dimensions for metrics rollups
METRIC_DIM4_COLUMN VARCHAR2 1000 Column in the source table corresponding to dimension 4
METRIC_DIM5_CODE VARCHAR2 100 Dimension Code of one of the registered dimensions for metrics rollups
METRIC_DIM5_COLUMN VARCHAR2 1000 Column in the source table corresponding to dimension 5
METRIC_SRC_PK1 VARCHAR2 1000 This is the PK column of the first source table.
METRIC_SRC_OVN1 VARCHAR2 1000 This is the OVN column of the first source table.
METRIC_SRC_PK2 VARCHAR2 1000 This is the PK column of the second source table.
METRIC_SRC_OVN2 VARCHAR2 1000 This is the OVN column of the second source table.
METRIC_SRC_PK3 VARCHAR2 1000 This is the PK column of the third source table.
METRIC_SRC_OVN3 VARCHAR2 1000 This is the OVN column of the third source table.
METRIC_SRC_SNAPSHOT_PK1 VARCHAR2 1000 Primary Key column 1 of the metric source item's snapshot
METRIC_SRC_SNAPSHOT_PK2 VARCHAR2 1000 Primary Key column 2 of the metric source item's snapshot
METRIC_SRC_SNAPSHOT_PK3 VARCHAR2 1000 Primary Key column 3 of the metric source item's snapshot
REFERENCE_COLUMNS VARCHAR2 4000 List of additional columns to be included in the source query
ACTIVE_PERIODS NUMBER 2 Number of active periods for which metrics should be generated for this forecast type
SUM_ADJ_ALLOWED_LEVEL VARCHAR2 20 Indicates at what level summary adjustments are allowed in this forecast type
ITEM_ADJ_ALLOWED_FLAG VARCHAR2 1 Indicates if item adjustments are allowed in this forecast type
FILTER_DIM_LIST VARCHAR2 1000 List of dimensions on which filtering capabilities are enabled. The administrator may remove dimensions from this list on which filtering is not intended
MULTI_SELECT_DIM_LIST VARCHAR2 1000 List of dimensions on which multi-select on filter values are enabled. The administrator may remove dimensions from this list on which multi-select of filter values is not intended
SUM_ADJ_DIM_LIST VARCHAR2 1000 List of dimensions on which summary adjustments may be performed by Sales Managers / Sales VPs. The administrator may remove dimensions from this list on which summary adjustments are not required to be done
STATUS_CODE VARCHAR2 20 Status of metrics for a specific forecast type and can have values as Reference, Active, Draft or disabled
OBJECT_PAYLOAD_ATTRS VARCHAR2 4000 Columns required to be returned in the payload when a signal is raised on the metric source object (eg., Opportunity).
CHANGE_ATTRS VARCHAR2 4000 Columns used to identify change in the metric source object (eg., Opportunity). These columns will be used to create signal definitions.
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.
CONFLICT_ID NUMBER 18 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).
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.
SEED_DATA_SOURCE VARCHAR2 512 Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file.
ORA_SEED_SET1 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N.
ORA_SEED_SET2 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N.

Indexes

Index Uniqueness Tablespace Columns
ZSF_DS_METRIC_SRC_PK Unique Default METRIC_SRC_CODE, ORA_SEED_SET1
ZSF_DS_METRIC_SRC_PK1 Unique Default METRIC_SRC_CODE, ORA_SEED_SET2