CN_PAYMENT_PLANS_ALL_B
This table stores information regarding the payment plans used to affect the compensation paid to sales people
Details
-
Schema: FUSION
-
Object owner: CN
-
Object type: TABLE
-
Tablespace: APPS_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
CN_PAYMENT_PLANS_ALL_PK |
PAYMENT_PLAN_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
ORG_ID | NUMBER | 18 | Yes | Indicates the identifier of the business unit associated to the row. | |
PAYMENT_PLAN_ID | NUMBER | 18 | Yes | Primary key | |
MINIMUM_AMOUNT | NUMBER | Minimum amount that should be paid per pay period | |||
MAXIMUM_AMOUNT | NUMBER | Maximum amount that can be paid per pay period | |||
MIN_RECOVER_FLAG | VARCHAR2 | 1 | Yes | Valid values are Y and N. If the amount earned falls short of minimum, then the difference is recoverable in the subsequent periods only if this flag is Y | |
PAY_EXCESS_LATER_FLAG | VARCHAR2 | 1 | Yes | Valid values are Y and N. If the amount earned exceeds the maximum amount, then the difference is payable in the subsequent periods if this flag is set to Y | |
MAX_RECOVERY_AMOUNT | NUMBER | This column holds the maximum credit type units that can be recovered. | |||
CREDIT_TYPE_ID | NUMBER | 18 | Unique identifier for the credit type of the payment plan | ||
PAY_INTERVAL_TYPE_ID | NUMBER | 18 | Identifier which represent the interval type for which the payment plan is effective. The valid interval types are Period, Quarter and Year. | ||
START_DATE | DATE | Yes | Effective start date | ||
END_DATE | DATE | Effective end date | |||
DRAW_PERCENT_AMOUNT | NUMBER | Draw amount percent.Added for expression based recovery and draw | |||
DRAW_EXPRESSION_ID | NUMBER | 18 | Draw expression ID.Added for expression based recovery and draw | ||
RECOVER_EXPRESSION_ID | NUMBER | 18 | Recover expression ID.Added for expression based recovery and draw | ||
RECOVER_PERCENT_AMOUNT | NUMBER | Recover amount percent.Added for expression based recovery and draw | |||
RECOVERY_END_INTERVAL_ID | NUMBER | 1 | Recovery end interval Id.Added for expression based recovery and draw | ||
RECOVERY_START_INTERVAL_ID | NUMBER | 1 | Recovery start interval Id.Added for expression based recovery and draw | ||
PAYMENT_PLAN_CATEGORY | VARCHAR2 | 30 | Yes | Payment Group Code | |
RECOVER_INTERVAL_TYPE_ID | NUMBER | 18 | Recoverable Interval Type | ||
DELAY_RECOVERY_FLAG | VARCHAR2 | 1 | Delay recovery Flag Type | ||
DRAW_END | VARCHAR2 | 30 | Relative Draw End date | ||
ATTRIBUTE_CATEGORY | VARCHAR2 | 30 | Descriptive Flexfield: structure definition of the user descriptive flexfield. | ||
ATTRIBUTE1 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE2 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE3 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE4 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE5 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE6 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE7 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE8 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE9 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE10 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE11 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE12 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE13 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE14 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
ATTRIBUTE15 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
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_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to 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_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated 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_payment_plans_all_tl | cn_payment_plans_all_b | PAYMENT_PLAN_ID |
cn_role_payment_plans_all | cn_payment_plans_all_b | PAYMENT_PLAN_ID |
cn_srp_payment_plans_all | cn_payment_plans_all_b | PAYMENT_PLAN_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
CN_PAYMENT_PLANS_ALL_B_N1 | Non Unique | Default | DRAW_PERCENT_AMOUNT, ORG_ID |
CN_PAYMENT_PLANS_ALL_B_U1 | Unique | Default | PAYMENT_PLAN_ID |