DBA Data[Home] [Help]

APPS.WSH_INV_INTEGRATION_GRP dependencies on WSH_TRIP_STOPS

Line 156: wsh_trip_stops st

152: mtl_transactions_interface mtf,
153: wsh_delivery_assignments_v da ,
154: wsh_delivery_legs dg,
155: wsh_new_deliveries dl,
156: wsh_trip_stops st
157: WHERE wdd.delivery_detail_id = mtf.picking_line_id
158: AND mtf.error_code IS NULL
159: AND mtf.transaction_header_id = p_txn_header_id
160: AND nvl(mtf.transaction_batch_id,-1) = nvl(nvl(p_txn_batch_id,mtf.transaction_batch_id),-1)

Line 190: FROM wsh_trip_stops wts,

186:
187: -- Cursor to verify that OM and INV interface is complete for trip stop.
188: CURSOR c_lines_not_interfaced(p_stop_id NUMBER) IS
189: SELECT wdd.delivery_detail_id
190: FROM wsh_trip_stops wts,
191: wsh_delivery_legs wdl,
192: wsh_delivery_assignments_v wda,
193: wsh_delivery_details wdd
194: WHERE (wdd.inv_interfaced_flag IN ('N', 'P') OR wdd.oe_interfaced_flag <> 'Y')

Line 312: FROM WSH_TRIP_STOPS

308: BEGIN
309: l_stop_cache(l_det_rec.stop_id(l_index))
310: := l_det_rec.stop_id(l_index);
311: SELECT 'X' INTO l_temp
312: FROM WSH_TRIP_STOPS
313: WHERE stop_id = l_det_rec.stop_id(l_index)
314: FOR UPDATE NOWAIT;
315:
316: OPEN c_lines_not_interfaced(l_det_rec.stop_id(l_index));

Line 324: UPDATE wsh_trip_stops

320: IF l_debug_on THEN
321: WSH_DEBUG_SV.log(l_module_name,'All lines are Interface to INV and OM',l_temp_id);
322: END IF;
323:
324: UPDATE wsh_trip_stops
325: SET pending_interface_flag = NULL
326: WHERE stop_id = l_det_rec.stop_id(l_index);
327:
328: l_row_count := SQL%ROWCOUNT;