My Oracle Support Banner

Calculation Performance Due to User Defined Function With Value Set Requesting a Custom Index (Doc ID 2464225.1)

Last updated on OCTOBER 24, 2018

Applies to:

Oracle Fusion Incentive Compensation Cloud Service - Version 11.13.18.05.0 and later
Oracle Fusion Incentive Compensation - Version 11.13.18.05.0 and later
Information in this document applies to any platform.

Symptoms

User created a value set for user defined function and calculation performance degraded.

STEPS

1. Create Value Set
 Setup and Maintenance >Manage Incentive Compensation Value Sets
           Value Set Code = GET_TRX_WHERE_ATTR_NUM38
           Module = Incentive Compensation
           Validation Type = Table
           Value Data Type = Character
           FROM Clause = CN_TP_TRANSACTIONS_ALL T, MOT_REF_ENTITIES O, ZCA_REF_ENTITIES C
           Value Column Name = T.SOURCE_TRX_NUMBER
           WHERE Clause = T.ATTRIBUTE_NUMBER38 = :1 /*Number*/
                         AND TO_CHAR(T.SOURCE_EVENT_DATE, 'YYYYMM') = TO_CHAR(:2 /*Date*/, 'YYYYMM')
                         AND T.OBJECT_STATUS = 'CREDITED'
                         AND O.ATTRIBUTE_CATEGORY = 'Options_c'
                         AND C.ATTRIBUTE_CATEGORY ='TagliConvergenzaMobile_c'
                         AND C.EXTN_ATTRIBUTE_CHAR006 = :3 /*Varchar2*/
                         AND C.EXTN_ATTRIBUTE_NUMBER001 = O.ID
                         AND T.ATTRIBUTE18 = 'HV'
                         AND T.TRANSACTION_TYPE = 'ACT'
                         AND T.ATTRIBUTE19 = O.EXTN_ATTRIBUTE_CHAR001
                         AND T.SOURCE_EVENT_DATE BETWEEN C.EXTN_ATTRIBUTE_TIMESTAMP001 AND nvl(C.EXTN_ATTRIBUTE_TIMESTAMP002, TO_DATE('31124712', 'DDMMYYYY'))

2. Add value set to to look up code
   Setup and Maintenance > Manage Incentive Compensation Lookups
          Lookup Type = ORA_CN_USR_DEFN_EXPRSN_VLE_SET
          Add Lookup Codes =  GET_TRX_WHERE_ATTR_NUM38
          
3. Create Expression
   Compensation Plan > Manage Expressions > Create new expression > User Defined Queries

4. Use the expression in Performance Measure
   Compensation Plan > Manage Performance Measure

5. Add Performance Measure to existing or new Plan Component in Compensation Plan
6. Run Deploy Compensation Plan
7. Run Calculation

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.