Error When Trying To Access Non Promotional Tab For A Claim Having More Than 1000 Lines

(Doc ID 2332688.1)

Last updated on NOVEMBER 30, 2017

Applies to:

Oracle Trade Management - Version 12.2.3 and later
Information in this document applies to any platform.

Symptoms

On 12.2.3, Claims

Users are getting the following error when trying to click the Non Promotional tab for a claim having more than 1000 lines

Error - 
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT meaning, lookup_code FROM OZF_LOOKUPS WHERE lookup_type = 'OZF_LINE_OVER_TYPE' AND lookup_code IN ('INVOICE', 'CM', 'DM', 'CB', 'ORDER') AND enabled_flag = 'Y' AND NVL(start_date_active, SYSDATE) <= SYSDATE AND NVL(end_date_active, SYSDATE) >= SYSDATE AND lookup_code NOT IN ( SELECT lookup_code FROM OZF_LOOKUPS WHERE lookup_type = 'OZF_LINE_OVER_TYPE' AND lookup_code IN ('INVOICE', 'CM', 'DM', 'CB') AND NVL(fnd_profile.value('OZF_STANDALONE_AR'),'Y') = 'N' ) AND lookup_code NOT IN ( SELECT lookup_code FROM OZF_LOOKUPS WHERE lookup_type = 'OZF_LINE_OVER_TYPE' AND lookup_code IN ('ORDER' ) AND NVL(fnd_profile.value('OZF_STANDALONE_OM'),'Y') = 'N' ) UNION SELECT meaning, lookup_code FROM OZF_LOOKUPS WHERE lookup_type = 'OZF_LINE_OVER_TYPE' AND lookup_code IN ('null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null','null'


Changes

 

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