Incorrect Merge Statement Generated for Dynamic Driver Allocation From Ledger to Instrument ORA- 00907: missing right parenthesis Driver Function Errors (Doc ID 2091723.1)

Last updated on DECEMBER 24, 2015

Applies to:

Oracle Financial Services Profitability Management - Version 8.0.1 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)
Oracle Financial Services Profitability Management (PFT)

Symptoms

On PFT 8.0.1, an incorrect merge statement is generated for a Dynamic Driver Allocation from Ledger to Instrument when using a Hierarchy Filter. When executing a Dynamic Driver allocation which allocates amounts from Management Ledger to instrument tables using as driver a column from instrument table the following error is thrown:


ERROR

"Module Logging OFS errors: (203105) Oracle drv_oci error: OCI Function: [4] - oexec(),
oexn() SQL Function: [0] - SQL function not found! Oracle Error:
ORA- 00907: missing right parenthesis Driver Function:
drv_oci::Execute()
"

The incorrect statement appears to only be generated when using a hierarchy filter for the driver like the below extract from the PFT debug log:
  "...AND REV_HIERARCHY_FILTER.HIERARCHY_LEVEL = 5 )))AS_OF_DATE = '10/ 31/ 2015'...)"
 
The issue can be reproduced at will with the following steps:
1. Create a Dynamic Driver allocation from management ledger to instrument ledger using a hierarchy filter
2. Run the allocation

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms