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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by user9534610, 1 year ago
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
via Oracle Community by Bharat_Hegde, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: select lookup_code, meaning from fnd_lookup_values where lookup_type = :1 and language = :2 and (lookup_code = 'EXPENSE' OR (lookup_code = 'INVENTORY' AND :3 = 'Y') OR (lookup_code = 'SHOP FLOOR' AND :4 = 'Y')) order by meaning asc
via Oracle Community by User338888, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: select lookup_code, meaning from fnd_lookup_values where lookup_type = :1 and language = :2 and (lookup_code = 'EXPENSE' OR (lookup_code = 'INVENTORY' AND :3 = 'Y') OR (lookup_code = 'SHOP FLOOR' AND :4 = 'Y')) order by meaning asc
via Oracle Community by user3715462, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM ((SELECT m.menu_name as name, m.user_menu_name as display_name FROM fnd_menus_vl m, fnd_grants g WHERE m.menu_id = g.menu_id AND m.menu_name
via Oracle Community by user10702579, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM ((SELECT m.menu_name as name, m.user_menu_name as display_name FROM fnd_menus_vl m, fnd_grants g WHERE m.menu_id = g.menu_id AND m.menu_name
via Oracle Community by amit.kochar-Oracle, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT csm.ship_method_code, csm.enabled_flag, fl.enabled_flag lookup_Enabled_Flag, fl.meaning FROM wsh_carrier_ship_methods csm
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

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
9 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.