My Oracle Support Banner

Update Supplier Accounting Error JBO-27122: SQL error during statement preparation (Doc ID 2381265.1)

Last updated on DECEMBER 03, 2020

Applies to:

Oracle Payables - Version 12.1.3 and later
Information in this document applies to any platform.


On : 12.1.2 version, Supplier SupReports Merge Emp

When attempting to update supplier Accounting
the following error occurs.

oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (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')) QRSLT WHERE (SET_OF_BOOKS_ID = :1)
at oracle.apps.fnd.framework.OAException.wrapperException(
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(
at _OA._jspService(

The issue can be reproduced at will with the following steps:
1. Payables Responsibility, Supplier->Entry


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

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