Post date: Jan 13, 2020 4:12:22 AM
Hi,
Would you please implement below fix on your test instance first?
After confirm the issue was resolved you may migrate it on PROD instance.
1. Ensure that you have taken a backup of your system before applying the recommended solution.
2. Run below fix script and do COMMIT in a TEST environment first.
3. Re-run "Interface Trip and Stop - SRS" concurrent
After datafix, if there is Negative balances not allowed message for Subinventory on MTL_TRANSACTIONS_INTERFACE (MTI),
check inventory quantity and if there is no sufficient quantity target subinventory, increase inventory quantity using Miscellaneous Receipt on inventory responsibility.
And then progress to process it from Inventory 'Transactions Open Interface' form.
(N)INV > Inventory > Transactions > Transaction Open Interface
Migrate the solution as appropriate to environments.
Fix script:
PROMPT FOR SALES ORDER#
PROMPT =========================
update wsh_delivery_details wdd
set inv_interfaced_flag = 'N'
, last_updated_by = -1
, last_update_date = SYSDATE
where delivery_detail_id = &delivery_detail_id
and inv_interfaced_flag = 'Y'
and NOT EXISTS
( select 1
from mtl_transactions_interface mti
where mti.picking_line_id = wdd.delivery_detail_id
union
select 1
from mtl_material_transactions mmt
where mmt.picking_line_id = wdd.delivery_detail_id );
PROMPT FOR SALES ORDER#
PROMPT =========================
update wsh_delivery_details wdd
set inv_interfaced_flag = 'N'
, last_updated_by = -1
, last_update_date = SYSDATE
where delivery_detail_id = &delivery_detail_id
and inv_interfaced_flag = 'Y'
and NOT EXISTS
( select 1
from mtl_transactions_interface mti
where mti.picking_line_id = wdd.delivery_detail_id
union
select 1
from mtl_material_transactions mmt
where mmt.picking_line_id = wdd.delivery_detail_id );
PROMPT UPDATING WSWH_TRIP_STOPS:
PROMPT ===========================
update wsh_trip_stops
set pending_interface_flag = 'Y', last_updated_by = -1, last_update_date = SYSDATEwhere stop_id in ( &stop_id )and nvl(pending_interface_flag, 'N' ) = 'N';Best RegardsPeter Li