OSS_FBR_STEP_TOKENS
Stores parsed formula tokens for each formula step, including token source, alias, DB attribute, and data type.
Details
-
Schema: FUSION
-
Object owner: OSS
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
OSS_FBR_STEP_TOKENS_PK |
FORMULA_PLAN_ID, FORMULA_STEP_ID, CHARGE_DEFINITION_CODE, TOKEN_SEQUENCE, TOKEN_SOURCE, TOKEN_EXPRESSION, TOKEN_ALIAS, TOKEN_TYPE |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| FORMULA_PLAN_ID | NUMBER | 18 | Yes | Identifier for the formula plan. | |
| FORMULA_STEP_ID | NUMBER | 18 | Yes | Identifier for the formula step containing this token. | |
| CHARGE_DEFINITION_CODE | VARCHAR2 | 60 | Yes | Identifier for the charge definition code. | |
| TOKEN_SEQUENCE | NUMBER | 18 | Yes | Token order within the parsed expression. | |
| TOKEN_SOURCE | VARCHAR2 | 30 | Yes | Source from which the formula token is derived. | |
| TOKEN_EXPRESSION | VARCHAR2 | 4000 | Yes | Token text used to define the expression. | |
| TOKEN_ALIAS | VARCHAR2 | 30 | Yes | The alias used to identify the token. | |
| TOKEN_TYPE | VARCHAR2 | 30 | Yes | To identify the type of the token. | |
| REFERRED_TOKENS | VARCHAR2 | 4000 | Tokens referenced by this formula token. | ||
| VO_ATTR | VARCHAR2 | 30 | The name of the view object attribute. | ||
| DB_ATTR | VARCHAR2 | 30 | The name of the column used in the table. | ||
| DATA_TYPE | VARCHAR2 | 30 | The data type of the attribute that is been used. | ||
| DEPENDENT_CHARGE_DEFINITION | VARCHAR2 | 60 | To identify the dependent charge definition if any. | ||
| DEPENDENT_OUTCOME_VARIABLE | VARCHAR2 | 60 | Dependent outcome variable used by this token, if any. | ||
| RATE_TYPE | VARCHAR2 | 30 | Rate type associated with this token record. | ||
| FLAT_VALUE | NUMBER | To store the flat value in case the type is VALUE. | |||
| TIER_CASE_STMT | CLOB | SQL statement used when the rate type is TIER. | |||
| MATRIX_CASE_STMT | CLOB | SQL statement used when the rate type is MATRIX. | |||
| 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_FBR_STEP_TOKENS | OSS_FORMULA_PLANS | FORMULA_PLAN_ID |
| OSS_FBR_STEP_TOKENS | OSS_FORMULA_STEPS | FORMULA_STEP_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| OSS_FBR_STEP_TOKENS_PK | Unique | Default | FORMULA_PLAN_ID, FORMULA_STEP_ID, CHARGE_DEFINITION_CODE, TOKEN_SEQUENCE, TOKEN_SOURCE, TOKEN_EXPRESSION, TOKEN_ALIAS, TOKEN_TYPE |