My Oracle Support Banner Batch Errored out for Parent/Child Items with Message "Error Querying Stored Procedure" (Doc ID 2272848.1)

Last updated on NOVEMBER 02, 2021

Applies to:

Oracle Retail Store Inventory Management - Version 14.1 and later
Information in this document applies to any platform.


In Store Inventory Management(SIM), the following error occurs when running batch.


ERROR-249 User: [BATCH_CLIENT] Time: 5/17/15 11:47 PM Type: SimServerException Message: Error querying stored procedure. Root Cause: Error querying stored procedure.

oracle.retail.sim.common.core.SimServerException: Error querying stored procedure.

at oracle.retail.sim.server.dataaccess.BaseOracleDao.executeReadStoredProcedure(Unknown Source)

at oracle.retail.sim.server.dataaccess.BaseOracleDao.executeReadStoredProcedure(Unknown Source)

at oracle.retail.sim.server.dataaccess.daoimpl.PurgeOracleDao.purgeItem(Unknown Source)



In the PURGE_ERROR_LOG table, ORA-02292: integrity constraint (XXX.STOCK_COUNT_LINE_ITEM_FK) is reported.

Steps to Reproduce:

1. Set both parent item and its child item to 'Delete' status.
2. Run the batch in SIM.
Observe that the batch fails.




To view full details, 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 a vibrant support community of peers and Oracle experts.