CN_SRP_PER_GOALS_ALL
This Table stores salesperson goal information for a period.
Details
-
Schema: FUSION
-
Object owner: CN
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
CN_SRP_PER_GOALS_ALL_PK |
SRP_PER_GOAL_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| SRP_PER_GOAL_ID | NUMBER | 18 | Yes | Sysytem generated primary key | |
| CURRENCY_CODE | VARCHAR2 | 30 | Currency Code | ||
| SRP_INTERVAL_GOAL_ID | NUMBER | 18 | Yes | Salesperson goal identifier for interval | |
| SRP_COMP_PLAN_ID | NUMBER | 18 | Foreign key to CN_SRP_COMP_PLANS_ALL | ||
| PARTICIPANT_ID | NUMBER | 18 | Participant Identifier | ||
| COMP_PLAN_ID | NUMBER | 18 | Compensation Plan Identifier | ||
| PLAN_COMPONENT_ID | NUMBER | 18 | Plan Component Identifier | ||
| FORMULA_ID | NUMBER | 18 | Formula Identifier | ||
| GOAL_ID | NUMBER | 18 | Goal Identifier | ||
| INTERVAL_GOAL_ID | NUMBER | 18 | Interval Goal Identifier | ||
| PERIOD_GOAL_ID | NUMBER | 18 | Yes | Period Goal Identifier | |
| PERIOD_ID | NUMBER | 18 | Yes | Period Identifier | |
| TARGET_PER | NUMBER | Target for Period | |||
| TARGET_ITD | NUMBER | Target Interval to Date | |||
| ALT_TARGET_1_PER | NUMBER | Alternate Target for Period | |||
| ALT_TARGET_1_ITD | NUMBER | Alternate Target for Interval | |||
| ALT_TARGET_2_PER | NUMBER | Alternate Target for Period | |||
| ALT_TARGET_2_ITD | NUMBER | Alternate Target for Interval | |||
| ALT_TARGET_3_PER | NUMBER | Alternate Target for Period | |||
| ALT_TARGET_3_ITD | NUMBER | Alternate Target for Interval | |||
| ALT_TARGET_4_PER | NUMBER | Alternate Target for Period | |||
| ALT_TARGET_4_ITD | NUMBER | Alternate Target for Interval | |||
| ALT_TARGET_5_PER | NUMBER | Alternate Target for Period | |||
| ALT_TARGET_5_ITD | NUMBER | Alternate Target for Interval | |||
| 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. | ||
| ORG_ID | NUMBER | 18 | Yes | Indicates the identifier of the business unit associated to 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. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| CN_SRP_PER_GOALS_ALL | cn_srp_interval_goals_all | SRP_INTERVAL_GOAL_ID |
| CN_SRP_PER_GOALS_ALL | cn_period_goals_all | PERIOD_GOAL_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| CN_SRP_PER_GOALS_N2 | Non Unique | Default | SRP_INTERVAL_GOAL_ID, PERIOD_ID |
| CN_SRP_PER_GOALS_N3 | Non Unique | Default | COMP_PLAN_ID, PARTICIPANT_ID, PLAN_COMPONENT_ID, FORMULA_ID, GOAL_ID, INTERVAL_GOAL_ID, PERIOD_GOAL_ID, SRP_COMP_PLAN_ID |
| CN_SRP_PER_GOALS_N4 | Non Unique | Default | GOAL_ID, INTERVAL_GOAL_ID |
| CN_SRP_PER_GOALS_N5 | Non Unique | Default | SRP_COMP_PLAN_ID, INTERVAL_GOAL_ID, GOAL_ID, PERIOD_ID |
| CN_SRP_PER_GOALS_U1 | Unique | Default | SRP_PER_GOAL_ID |