ZSF_DS_METRIC_DEFN
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_DEFN_PK |
METRIC_DEFN_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
METRIC_DEFN_ID | NUMBER | 18 | Yes | Unique identifier for metric definition id | |
METRIC_CODE | VARCHAR2 | 100 | Yes | Code that identifies the metric in CX Sales Forecasting. | |
METRIC_SRC_CODE | VARCHAR2 | 255 | Yes | Foreign key from ZSF_DS_METRIC_SRC, providing the source table and filter criteria for the metric being defined. | |
METRIC_CRITERIA | VARCHAR2 | 4000 | If there are any additional criteria to be considered for this metric specifically, they can be included in this column. | ||
METRIC_SRC_COLUMN | VARCHAR2 | 1000 | Yes | Source Column or formula from the metric source that provides the value for this metric | |
AGGREGATE_FUNCTION | VARCHAR2 | 50 | Yes | Type of SQL aggregate function to be used while computing this metric | |
ADJUSTABLE_FLAG | VARCHAR2 | 1 | Y / NULL to indicate if the metric definition is adjustable or not | ||
DEPND_METRIC_CODE_LIST | VARCHAR2 | 300 | Dependent metric codes list separated by commas. | ||
STATUS_CODE | VARCHAR2 | 20 | This column will determine if a metric is available and is to be computed. | ||
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. | ||
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_DEFN_PK | Unique | Default | METRIC_DEFN_ID, ORA_SEED_SET1 |
ZSF_DS_METRIC_DEFN_PK1 | Unique | Default | METRIC_DEFN_ID, ORA_SEED_SET2 |