oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT C.INVENTORY_ITEM_ID, to_char(C.SEGMENT1) SEGMENT1, C.DESCRIPTION, c.primary_uom_code, K.concatenated_segments, B.CATEGORY_ID, c.organization_id, eme_all_pkg.eme_demand_toe_qty(FND_PROFILE.VALUE('ORG_ID'),FND_PROFILE.VALUE('MFG_ORGANIZATION_ID'),to_char(C.INVENTORY_ITEM_ID), FROM MTL_CATEGORY_SETS_B A, MTL_ITEM_CATEGORIES B, MTL_SYSTEM_ITEMS_B C , MTL_CATEGORIES_B_KFV K WHERE A.CATEGORY_SET_ID = B.CATEGORY_SET_ID and c.internal_order_flag='Y' and c.internal_order_enabled_flag='Y' AND C.INVENTORY_ITEM_ID = B.INVENTORY_ITEM_ID AND B.ORGANIZATION_ID = C.ORGANIZATION_ID AND A.CATEGORY_SET_ID = 1 AND K.category_id = B.CATEGORY_ID AND C.INVENTORY_ITEM_STATUS_CODE='Active' and c.organization_id=:organization) QRSLT WHERE (INVENTORY_ITEM_ID in (select to_number(boi.component_item_id) from BOM_BILL_OF_MATERIALS BOM, MTL_SYSTEM_ITEMS MSI, BOM_INVENTORY_COMPONENTS boi WHERE BOM.ASSEMBLY_ITEM_ID = MSI.INVENTORY_ITEM_ID and bom.assembly_item_id=MSI.inventory_item_id and bom.organization_id=msi.organization_id and bom.bill_sequence_id=boi.bill_sequence_id and bom.assembly_item_id= ( select inventory_item_id from csi_item_instances where instance_id= 15475) and MSI.organization_id= 307 and MSI.ORGANIZATION_ID=bom.organization_id ) and organization_id=307 AND ( UPPER(SEGMENT1) like UPPER(:13) AND (SEGMENT1 like :14 OR SEGMENT1 like :15 OR SEGMENT1 like :16 OR SEGMENT1 like :17)))

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 HaroonAfridi, 1 year ago
C.INVENTORY_ITEM_STATUS_CODE='Active' and c.organization_id=:organization) QRSLT WHERE (INVENTORY_ITEM_ID in (select to_number(boi.component_item_id) from BOM_BILL_OF_MATERIALS BOM, MTL_SYSTEM_ITEMS MSI, BOM_INVENTORY_COMPONENTS boi WHERE
via Oracle Community by HaroonAfridi, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT C.INVENTORY_ITEM_ID, to_char(C.SEGMENT1) SEGMENT1, C.DESCRIPTION, c.primary_uom_code, K.concatenated_segments, B.CATEGORY_ID
via Oracle Community by 907821, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select po_header_id,line_num from po_lines_all) QRSLT WHERE (PO_HEADER_ID =:1 AND ( LINE_NUM like :2 ))
via Oracle Community by 574833, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select comp_plan_id,name,org_id from cn_comp_plans_all where sysdate between start_date and nvl(end_date,sysdate+1) and org_id = :1) QRSLT WHERE (( UPPER(NAME) like :2 AND (NAME like :3 OR NAME like :4 OR NAME like :5 OR NAME like :6)))
via Oracle Community by Harrrry, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT hrlt.location_code || ' (' || ood.organization_code || ')' as location_display, PO_POAPPROVAL_INIT1.Get_Formatted_Address
via Oracle Community by 713492, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT line_id, NULL, item_code, uom, item_desc,category_id FROM xxcrm_new_item_t xi WHERE xi.master_organization_id = :1 UNION SELECT NULL
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT C.INVENTORY_ITEM_ID, to_char(C.SEGMENT1) SEGMENT1, C.DESCRIPTION, c.primary_uom_code, K.concatenated_segments, B.CATEGORY_ID, c.organization_id, eme_all_pkg.eme_demand_toe_qty(FND_PROFILE.VALUE('ORG_ID'),FND_PROFILE.VALUE('MFG_ORGANIZATION_ID'),to_char(C.INVENTORY_ITEM_ID), FROM MTL_CATEGORY_SETS_B A, MTL_ITEM_CATEGORIES B, MTL_SYSTEM_ITEMS_B C , MTL_CATEGORIES_B_KFV K WHERE A.CATEGORY_SET_ID = B.CATEGORY_SET_ID and c.internal_order_flag='Y' and c.internal_order_enabled_flag='Y' AND C.INVENTORY_ITEM_ID = B.INVENTORY_ITEM_ID AND B.ORGANIZATION_ID = C.ORGANIZATION_ID AND A.CATEGORY_SET_ID = 1 AND K.category_id = B.CATEGORY_ID AND C.INVENTORY_ITEM_STATUS_CODE='Active' and c.organization_id=:organization) QRSLT WHERE (INVENTORY_ITEM_ID in (select to_number(boi.component_item_id) from BOM_BILL_OF_MATERIALS BOM, MTL_SYSTEM_ITEMS MSI, BOM_INVENTORY_COMPONENTS boi WHERE BOM.ASSEMBLY_ITEM_ID = MSI.INVENTORY_ITEM_ID and bom.assembly_item_id=MSI.inventory_item_id and bom.organization_id=msi.organization_id and bom.bill_sequence_id=boi.bill_sequence_id and bom.assembly_item_id= ( select inventory_item_id from csi_item_instances where instance_id= 15475) and MSI.organization_id= 307 and MSI.ORGANIZATION_ID=bom.organization_id ) and organization_id=307 AND ( UPPER(SEGMENT1) like UPPER(:13) AND (SEGMENT1 like :14 OR SEGMENT1 like :15 OR SEGMENT1 like :16 OR SEGMENT1 like :17)))
at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 week 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

Write tip

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