RTV Cancellation Not Sending Stock Adjustment To SIM
(Doc ID 2914720.1)
Last updated on DECEMBER 15, 2022
Applies to:Oracle Retail Fiscal Management - Version 184.108.40.206 and later
Information in this document applies to any platform.
In RFM 220.127.116.11
RTV Cancellation not sending stock adjustment to SIM
When cancelling an Return To Vendor already approved in RFM, RFM is not sending a Reason code for inventory adjustment to restore stock in SIM.
What is happening nowadays is:
IN package FM_STOCK_REVERSAL_SQL, function CLOSE_RTV, RFM is changing the RTV status to 20 (Cancelled) which sends a RTV cancellation to RIB and subsequently to SIM, but this cancellation is not processed in SIM because RTV is already dispatched.
When sending reason codes to origin (SIM), RFM package FM_SIM_INTEGRATION at function CALL_INVENTORY_ADJ_WS uses the function FM_UTILS.GET_MODE_TYPE_INVADJ to get mode_type for reason code that will be sent to SIM in order to restore the stock.
But the function GET_MODE_TYPE_INVADJ uses the cursor C_CHECK_DNF_ADJINV which only searches for DNF and STOCK.
As we can see, there is no mapping of RTV reason codes to be sent to SIM in order to restore the stock.
And the RTV cancellation in RTV_HEAD is not working because SIM does not process the message, once this cancellation is only a status update and does not reverse the stock because RTV is already dispatched.
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