OSS_FORMULA_RATE_VARIABLES
Stores formula rate variables used in the formula plan. Values can be flat amounts or percentages, and may be derived from tiers or dynamic matrix-based rules.
Details
-
Schema: FUSION
-
Object owner: OSS
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
OSS_FORMULA_RATE_VARIABLES_PK |
RATE_VARIABLE_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| RATE_VARIABLE_ID | NUMBER | 18 | Yes | Primary key, unique identifier of the formula rate variable. | |
| RATE_VARIABLE_PUID | VARCHAR2 | 120 | Yes | To identify the formula rate variable record uniquely with PUID. | |
| FORMULA_PLAN_ID | NUMBER | 18 | Identifier of the formula plan of table oss_formula_plans attached to this pricing. | ||
| RATE_CODE | VARCHAR2 | 200 | Rate code identifying the negotiated charge component used for formula-based pricing. | ||
| RATE_CODE_NAME | VARCHAR2 | 200 | Brief display name for the rate code used in formula-based pricing. | ||
| RATE_DESCRIPTION | VARCHAR2 | 4000 | To store the description for the negotiated rate code used in formula-based pricing. | ||
| CHARGE_DEFINITION_ID | NUMBER | 18 | Identifier of the charge definition for the adjustment. | ||
| CHARGE_DEFINITION_CODE | VARCHAR2 | 30 | Charge Definition Code for adjustment. | ||
| CALCULATION_METHOD_CODE | VARCHAR2 | 15 | The calculation method used. Ex VALUE, MATRIX, TIER | ||
| CPI_TIER_ADJ_FLAG | VARCHAR2 | 1 | Flag to identify if CPI has to be applied on the tier. | ||
| CPI_VALUE_ADJ_FLAG | VARCHAR2 | 1 | Flag to identify if CPI has to be applied on the value. | ||
| VALUE | NUMBER | Populated only when CALCULATION_METHOD_CODE is VALUE. | |||
| VALUE_TYPE | VARCHAR2 | 15 | Determines whether the value is a percentage or a flat amount, based on CALCULATION_METHOD_CODE. | ||
| DYNAMIC_MATRIX_CLASS_ID | NUMBER | 18 | FK to QP_MATRIX_DIMENSIONS_VL. Populated only when CALCULATION_METHOD_CODE is MATRIX. | ||
| DYNAMIC_MATRIX_ID | NUMBER | 18 | FK to QP_MATRIX_RULES_VL. Populated only when CALCULATION_METHOD_CODE is MATRIX. | ||
| TIERED_PRICING_HEADER_ID | NUMBER | 18 | FK to QP_TIER_HEADERS with column PARENT_ENTITY_TYPE_CODE. | ||
| 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. | |
| 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. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| OSS_FORMULA_RATE_VARIABLES | OSS_FORMULA_PLANS | FORMULA_PLAN_ID |
| OSS_FORMULA_RATE_VARIABLES | QP_CHARGE_DEFINITIONS_B | CHARGE_DEFINITION_ID |
| OSS_FORMULA_RATE_VARIABLES | QP_TIER_HEADERS | TIERED_PRICING_HEADER_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| OSS_FORMULA_RATE_VARIABLES_PK | Unique | Default | RATE_VARIABLE_ID |
| OSS_FORMULA_RATE_VARIABLES_U1 | Unique | Default | RATE_VARIABLE_PUID |