CJM_CUST_ACCRUALS_SUMMARY_ALL
This table contains the customer accruals summary data for a given Year, Business Unit , Customer and Program. Record will get inserted in this table with summarized flag as N on accruals creations, manual adjustments, claims associations or deletion and claims settlement. These records will get summarized and added/updated with summarized flag as Y. Upon summarizing these records with summarized flag as N will get deleted.
Details
-
Schema: FUSION
-
Object owner: CJM
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
CJM_CUST_ACCRUALS_SUMMARY_PK |
CUSTOMER_ACCRUAL_SUMMARY_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
CUSTOMER_ACCRUAL_SUMMARY_ID | NUMBER | 18 | Yes | Unique identifier for the customer accruals summary data. | |
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. | ||
REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
JOB_DEFINITION_NAME | VARCHAR2 | 100 | Enterprise Service Scheduler: indicates the name of the job that created or last updated the row. | ||
JOB_DEFINITION_PACKAGE | VARCHAR2 | 900 | Enterprise Service Scheduler: indicates the package name of the job that created or last updated the row. | ||
BU_ID | NUMBER | 18 | Yes | Indicates the identifier of the business unit associated with the row. | |
YEAR_ID | NUMBER | Indicates the calendar year for which the accruals are created. | |||
CUST_ACCOUNT_ID | NUMBER | 18 | Identifies the accrue to customer account ID for which accruals are created. | ||
PROGRAM_HEADER_ID | NUMBER | 18 | Identifier for the program header for which accruals are created. | ||
PROGRAM_CURRENCY_CODE | VARCHAR2 | 15 | Identifies the Channel Program Currency code. | ||
PROGRAM_CURR_EARNED_AMT | NUMBER | Indicates the GL posted accrual amount in the channel program currency. | |||
PROGRAM_CURR_IN_PROGRESS_AMT | NUMBER | Identifies the accrual amount in program currency which is used in claims associations. | |||
PROGRAM_CURR_PAID_AMT | NUMBER | Identifies the accrual amount in program currency which is used in claims settlement. | |||
FUNC_CURR_EARNED_AMT | NUMBER | Indicates the GL posted accrual amount in the ledger currency. | |||
FUNC_CURR_IN_PROGRESS_AMT | NUMBER | Identifies the accrual amount in ledger currency which is used in claims associations. | |||
FUNC_CURR_PAID_AMT | NUMBER | Identifies the accrual amount in ledger currency which is used in claims settlement. | |||
SUMMARIZED_FLAG | VARCHAR2 | 1 | Identifies if the record is already summarized. Contains Y when the record is already summarized. Contains N when the record isn't already summarized. Once the records with value N are summarized, they are deleted from the table. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
CJM_CUST_ACCRUALS_SUMMARY_U1 | Unique | DEFAULT | CUSTOMER_ACCRUAL_SUMMARY_ID |
CJM_CUST_ACCRUALS_SUM_ALL_N1 | Non Unique | DEFAULT | BU_ID, YEAR_ID, CUST_ACCOUNT_ID |
CJM_CUST_ACCRUALS_SUM_ALL_N2 | Non Unique | DEFAULT | PROGRAM_HEADER_ID |