oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT CUSTVO.VALUE_CODE AS "ValueCode", LOVVO.NAME AS "ValueMeaning", CUSTVO.VALUE_DISPLAY_SEQUENCE AS "ValueDisplaySequence", CUSTVO.VALUE_SOURCE AS "ValueSource" FROM (SELECT FndLovChoiceValuesEO.VALUE_SOURCE, FndLovChoiceValuesEO.USER_ID, FndLovChoiceValuesEO.FULL_REF_NAME, FndLovChoiceValuesEO.VALUE_DISPLAY_SEQUENCE, FndLovChoiceValuesEO.VALUE_CODE, FndLovChoiceValuesEO.CREATED_BY, FndLovChoiceValuesEO.CREATION_DATE, FndLovChoiceValuesEO.LAST_UPDATED_BY, FndLovChoiceValuesEO.LAST_UPDATE_DATE, FndLovChoiceValuesEO.LAST_UPDATE_LOGIN FROM FND_LOV_CHOICE_VALUES FndLovChoiceValuesEO WHERE ((VALUE_SOURCE = 'USER' OR VALUE_SOURCE = 'SEEDCOPY') AND USER_ID = :1 AND FULL_REF_NAME = :2) OR (VALUE_SOURCE = 'SEED' AND FULL_REF_NAME = :3 AND NOT EXISTS(SELECT NULL FROM fnd_lov_choice_values WHERE (VALUE_SOURCE = 'USER' OR VALUE_SOURCE = 'SEEDCOPY') AND USER_ID = :4 AND FULL_REF_NAME = :5)) ORDER BY FndLovChoiceValuesEO.VALUE_DISPLAY_SEQUENCE ) CUSTVO, (select set_of_books_id, name, short_name, description, currency_code, period_set_name from gl_sets_of_books where set_of_books_id in (SELECT hou2.set_of_books_id FROM hr_operating_units hou2 WHERE mo_global.check_access(hou2.organization_id) = 'Y') ) LOVVO WHERE CUSTVO.VALUE_CODE = LOVVO.SET_OF_BOOKS_ID ORDER BY CUSTVO.VALUE_DISPLAY_SEQUENCE

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • SQL error during statement preparation
    via by user11258661,
  • Error in Quote Approval after CO extension
    via by binny2106,
  • Number formatting issue
    via by 489141,
    • oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT CUSTVO.VALUE_CODE AS "ValueCode", LOVVO.NAME AS "ValueMeaning", CUSTVO.VALUE_DISPLAY_SEQUENCE AS "ValueDisplaySequence", CUSTVO.VALUE_SOURCE AS "ValueSource" FROM (SELECT FndLovChoiceValuesEO.VALUE_SOURCE, FndLovChoiceValuesEO.USER_ID, FndLovChoiceValuesEO.FULL_REF_NAME, FndLovChoiceValuesEO.VALUE_DISPLAY_SEQUENCE, FndLovChoiceValuesEO.VALUE_CODE, FndLovChoiceValuesEO.CREATED_BY, FndLovChoiceValuesEO.CREATION_DATE, FndLovChoiceValuesEO.LAST_UPDATED_BY, FndLovChoiceValuesEO.LAST_UPDATE_DATE, FndLovChoiceValuesEO.LAST_UPDATE_LOGIN FROM FND_LOV_CHOICE_VALUES FndLovChoiceValuesEO WHERE ((VALUE_SOURCE = 'USER' OR VALUE_SOURCE = 'SEEDCOPY') AND USER_ID = :1 AND FULL_REF_NAME = :2) OR (VALUE_SOURCE = 'SEED' AND FULL_REF_NAME = :3 AND NOT EXISTS(SELECT NULL FROM fnd_lov_choice_values WHERE (VALUE_SOURCE = 'USER' OR VALUE_SOURCE = 'SEEDCOPY') AND USER_ID = :4 AND FULL_REF_NAME = :5)) ORDER BY FndLovChoiceValuesEO.VALUE_DISPLAY_SEQUENCE ) CUSTVO, (select set_of_books_id, name, short_name, description, currency_code, period_set_name from gl_sets_of_books where set_of_books_id in (SELECT hou2.set_of_books_id FROM hr_operating_units hou2 WHERE mo_global.check_access(hou2.organization_id) = 'Y') ) LOVVO WHERE CUSTVO.VALUE_CODE = LOVVO.SET_OF_BOOKS_ID ORDER BY CUSTVO.VALUE_DISPLAY_SEQUENCE at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169) at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3260) at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3055)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    9 more bugmates