MOT_QM_SPREAD_FORMULA_B

Base table for storing spread formula and asociated expression

Details

  • Schema: FUSION

  • Object owner: MOT

  • Object type: TABLE

  • Tablespace: REFERENCE

Primary Key

Name Columns

MOT_QM_SPREAD_FORMULA_B_PK

SPREAD_FORMULA_ID

Columns

Name Datatype Length Precision Not-null Comments
SPREAD_FORMULA_ID NUMBER 18 Yes Primary Key
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.
METRIC_CODE VARCHAR2 100 List of values from MOT_TERR_METRICS_B/ QUOTA/PREDICTION
INACTIVE_FLAG VARCHAR2 1 Yes Status of the Spread Formula, whether it is active or not.
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.
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.

Foreign Keys

Table Foreign Table Foreign Key Column
mot_qm_spread_formula_tl mot_qm_spread_formula_b SPREAD_FORMULA_ID
mot_qm_territory_quotas mot_qm_spread_formula_b SPREAD_FORMULA_ID

Indexes

Index Uniqueness Tablespace Columns
MOT_QM_SPREAD_FORMULA_B_PK Unique Default SPREAD_FORMULA_ID, ORA_SEED_SET1
MOT_QM_SPREAD_FORMULA_B_PK1 Unique Default SPREAD_FORMULA_ID, ORA_SEED_SET2
MOT_QM_SPREAD_FORMULA_B_U1 Unique Default SPREAD_FORMULA_ID, LAST_UPDATE_DATE, ORA_SEED_SET1
MOT_QM_SPREAD_FORMULA_B_U11 Unique Default SPREAD_FORMULA_ID, LAST_UPDATE_DATE, ORA_SEED_SET2
MOT_QM_SPREAD_FORMULA_B_U2 Unique Default METRIC_CODE, ORA_SEED_SET1
MOT_QM_SPREAD_FORMULA_B_U21 Unique Default METRIC_CODE, ORA_SEED_SET2