CN_RATE_TABLE_VALUES_ALL
This is the table for storing the rate table values.
Details
-
Schema: FUSION
-
Object owner: CN
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
CN_RATE_TABLE_VALUES_ALL_PK |
RATE_TABLE_VALUE_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
RATE_TABLE_VALUE_ID | NUMBER | 18 | Yes | RATE_TABLE_VALUE_ID | |
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. | |
RATE_TABLE_ID | NUMBER | 18 | Yes | RATE_TABLE_ID | |
ORG_ID | NUMBER | 18 | Yes | Indicates the identifier of the business unit associated to the row. | |
COMMISSION_VALUE | NUMBER | COMMISSION_VALUE | |||
RATE_SEQUENCE | NUMBER | 9 | Yes | RATE_SEQUENCE | |
SRP_FORM_RATE_TABLE_ID | NUMBER | 18 | SRP FORM RATE TABLE ID. TO STORE THE SALESREP LEVEL VALUE | ||
PARENT_RATE_TABLE_VALUE_ID | NUMBER | 18 | PARENT RATE TABLE VALUE ID. SRP LEVEL VALUE WILL REFER TO THE PARENT RATE TABLE VALUE ID. THIS IS USED FOR MAINTAINING THE SEQUENCE. | ||
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 |
---|---|---|
CN_RATE_TABLE_VALUES_ALL | cn_rate_tables_all_b | RATE_TABLE_ID |
CN_RATE_TABLE_VALUES_ALL | cn_srp_form_rate_tables_all | SRP_FORM_RATE_TABLE_ID |
CN_RATE_TABLE_VALUES_ALL | cn_rate_table_values_all | PARENT_RATE_TABLE_VALUE_ID |
cn_tp_measure_results_all | cn_rate_table_values_all | RATE_TABLE_VALUE_ID |
cn_tp_earnings_all | cn_rate_table_values_all | RATE_TABLE_VALUE_ID |
cn_sim_earnings_all | cn_rate_table_values_all | RATE_TABLE_VALUE_ID |
cn_sim_measure_results_all | cn_rate_table_values_all | RATE_TABLE_VALUE_ID |
cn_tp_earnings_all_h | cn_rate_table_values_all | RATE_TABLE_VALUE_ID |
cn_rate_table_values_all | cn_rate_table_values_all | PARENT_RATE_TABLE_VALUE_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
CN_RATE_TABLE_VALUES_ALL_N1 | Non Unique | Default | SRP_FORM_RATE_TABLE_ID |
CN_RATE_TABLE_VALUES_ALL_N2 | Non Unique | Default | RATE_TABLE_ID, SRP_FORM_RATE_TABLE_ID |
CN_RATE_TABLE_VALUES_ALL_N3 | Non Unique | Default | RATE_TABLE_ID, RATE_SEQUENCE |
CN_RATE_TABLE_VALUES_ALL_U1 | Unique | Default | RATE_TABLE_VALUE_ID |