Inventory Management - EBS (MOSC)

MOSC Banner

Useful SQL Query - Onhand View with Lot and Serial Information

edited Apr 6, 2020 1:38AM in Inventory Management - EBS (MOSC) 1 comment

I have found this query very useful while working on Migration Project form EBS to SAP. Might be it can help other looking for such detail as well  as they can extend as per their need.

====================

SQL Query

====================

select

ohd.inventory_item_id, ohd.organization_id,ohd.item,ohd.org_code,ohd.sub_inventory,ohd.locator,msn.serial_number,

ohd.lot_number,ohd.uom,NVL2(msn.serial_number,1,ohd.total_onhand_qty) onhand_qty,ohd.total_transact_qty,ohd.total_reserve_qty,

ohd.locator_id

from (SELECT msi.inventory_item_id ,

(select max(mq.create_transaction_id) from mtl_onhand_quantities mq

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center