Documente Academic
Documente Profesional
Documente Cultură
FROM rcv_routing_headers
WHERE routing_header_id = rct.routing_header_id) receipt_routing
, msi.concatenated_segments part_num
, msi.inventory_item_id
, msi.description part_desc
, rct.quantity receipt_qty
, wpl.license_plate_number lpn
, pv.vendor_name supplier
, pha.segment1 purchase_order
, rct.creation_date current_date,
mmtt.transfer_subinventory tugger_route
FROM po_vendors pv
, po_headers_all pha
, rcv_transactions rct
, rcv_shipment_headers rsh
, rcv_shipment_lines rsl
, mtl_system_items_b_kfv msi
, wms_license_plate_numbers wpl
, mtl_material_transactions_temp mmtt
WHERE pv.vendor_id = pha.vendor_id
AND rct.po_header_id = pha.po_header_id
AND rct.shipment_header_id = rsh.shipment_header_id
AND rct.shipment_line_id = rsl.shipment_line_id
AND rsh.shipment_header_id = rsl.shipment_header_id
AND rsl.item_id = msi.inventory_item_id
AND rct.organization_id = msi.organization_id
AND msi.organization_id = :P_ORGANIZATION_ID
AND rct.transaction_type = 'RECEIVE'
-- and msi.concatenated_segments='5317164'
AND rct.transfer_lpn_id = wpl.lpn_id
AND rsh.receipt_num IS NOT NULL
--AND rct.shipment_header_id = p_shipment_header_id
-- AND rct.routing_header_id = 2
and wpl.license_plate_number='R3187972'
and mmtt.INVENTORY_ITEM_ID=
AND wpl.lpn_id = mmtt.lpn_id(+)
and rct.request_id = (
SELECT MAX(request_id)
FROM rcv_transactions
WHERE shipment_header_id = p_shipment_header_id
select
* from wms_dispatched_tasks
where TRANSACTION_TEMP_ID='488912940'
select transfer_subinventory,TRANSFER_TO_LOCATION,a.*
FROM mtl_material_transactions_temp a
where
a.INVENTORY_ITEM_ID=96979---TRANSACTION_QUANTITY='50'
-------------------------------------
XXWMS5282_LOAD_UNLOAD_LPN_PKG
xxwms_receipt_lpn_label_pkg
)a
where a.lpn like 'R4931499';