Item-Location Modification Messages Fail in SIM After Items Are Purged in RMS by dailyPurge.sh Batch: "java.sql.SQLException: Invalid Column Type"
(Doc ID 1991850.1)
Last updated on MARCH 05, 2019
Applies to:
Oracle Retail Store Inventory Management - Version 12.0.11.6 and laterInformation in this document applies to any platform.
Symptoms
When an item is deleted in Retail Merchandising System (RMS), the dailyPurge.sh batch needs to be run. The purge batch in RMS then publishes an Item-Location modification message to the Store Inventory Management (SIM) application. In SIM, we find that these messages fail with the following eror:
ERROR-207 User: XXXXX Time: DD/MON/YYYY HH24:MI:SS Type: SimServerException Message: unable to execute ParametricStatement: UPDATE AS_ITM_RTL_STR SET AS_ITM_RTL_STR.SHORT_DESC = ? , AS_ITM_RTL_STR.RK_LONG_DESC = ? , AS_ITM_RTL_STR.SC_ITM = ? WHERE id_itm = ? and id_str_rt = ? [][][No Status][ITEM_ID1][STORE_ID1] Root Cause: Invalid column type>
oracle.retail.sim.closed.common.SimServerException: unable to execute ParametricStatement: UPDATE AS_ITM_RTL_STR SET AS_ITM_RTL_STR.SHORT_DESC = ? , AS_ITM_RTL_STR.RK_LONG_DESC = ? , AS_ITM_RTL_STR.SC_ITM = ? WHERE id_itm = ? and id_str_rt = ? [][][No Status][ITEM_ID1][STORE_ID1]
at oracle.retail.sim.closed.dataaccess.BaseOracleDao.execute(BaseOracleDao.java:121)
at oracle.retail.sim.shared.dataaccess.sim.oracle.dao.ItemInjectorOracleDao.disableItem(ItemInjectorOracleDao.java:352)
at ...
...
...
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.sql.SQLException: Invalid column type
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
...
oracle.retail.sim.closed.common.SimServerException: unable to execute ParametricStatement: UPDATE AS_ITM_RTL_STR SET AS_ITM_RTL_STR.SHORT_DESC = ? , AS_ITM_RTL_STR.RK_LONG_DESC = ? , AS_ITM_RTL_STR.SC_ITM = ? WHERE id_itm = ? and id_str_rt = ? [][][No Status][ITEM_ID1][STORE_ID1]
at oracle.retail.sim.closed.dataaccess.BaseOracleDao.execute(BaseOracleDao.java:121)
at oracle.retail.sim.shared.dataaccess.sim.oracle.dao.ItemInjectorOracleDao.disableItem(ItemInjectorOracleDao.java:352)
at ...
...
...
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.sql.SQLException: Invalid column type
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
...
Steps to Recreate:
- In RMS, edit an item that also exists in SIM.
- Delete the item in RMS and run the DailyPurge batch.
- Ensure that RMS publishes the item-loc modification message to SIM.
- Query SIM database table RIB_MESSAGE_FAILURE and note that the incoming item-loc message failed with the above error.
Changes
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |