Receiving "Java.Lang.Runtimeexception" Error In RMS Hospital On Sending A Create Inventory Adjustment Message From SIM

(Doc ID 746729.1)

Last updated on AUGUST 17, 2016

Applies to:

Oracle Retail Integration Bus - Version 12.0.1 and later
Oracle Retail Merchandising System - Version 12.0 and later
Oracle Retail Store Inventory Management - Version 12.0 and later
Information in this document applies to any platform.
***Checked for relevance on 9-Sep-2013***


Symptoms

When create inventory adjustment messages from Store Inventory Management (SIM) are written to Retail Merchandising System (RMS) Retail Integration Bus (RIB) Hospital with the following error.

Error:
"12.0|RIBMessagePublisherEjb|InvAdjust|2008.10.28 11:03:34.781|6

java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException:
com.retek.rib.translate.ObjectCreationException: java.sql.SQLException: Cannot construct ARRAY
instance, invalid connection."

The following is the message in the RMS hospital:

<?xml version="1.0" encoding="UTF-8"?>
<InvAdjustDesc><dc_dest_id>101</dc_dest_id>
<InvAdjustDtl><item_id>000000012</item_id><adjustment_reason_code>81</adj
ustment_reason_code><unit_qty>2.0000</unit_qty><transshipment_nbr></transshi
pment_nbr><from_disposition>ATS</from_disposition><to_disposition></to_dispo
sition><from_trouble_code></from_trouble_code><to_trouble_code></to_trouble_
code><from_wip_code></from_wip_code><to_wip_code></to_wip_code><transa
ction_code>0</transaction_code>
<user_id>superuser101</user_id>
<create_date><year>2008</year><month>10</month><day>28</day&g
t;<hour>10</hour><minute>1</minute><second>23</second></creat
e_date>
<po_nbr></po_nbr>
<doc_type></doc_type>
<aux_reason_code></aux_reason_code>
</InvAdjustDtl></InvAdjustDesc>


Steps To Reproduce:
Perform an inventory adjustment in SIM as follows:

1. Navigate: Main Menu > Inv Mgmt > Inventory Adjustment.
2. Click the Create button.
3. Enter an Item in the Item field.
4. Double click in the Quantity field.
5. Enter the adjustment Quantity in the Quantity field.
6. Double click in the Reason field.
7. Select a reason code from the drop-down list.
8. Click the Done button.

Cause

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 hundreds of Community platforms