Dear All ,
I have some serial numbers & Lot numbes of some items for which i need to get receipt number in our Inventory from backend . Kindly give me sql query for the same .
Regards,
Anand Soni
Query to get receipt number from serial or lot num
-
- Posts: 2
- Joined: Thu Mar 19, 2009 2:34 am
- Location: India
Hi Anand,
The SQL provided by kamlesh should work.. Hope you might be working on the tool (SQL Plus or Toad) with userid other than APPS.
Try the below query with very small changes in Kamlesh Script.
select c.receipt_num from
apps.mtl_serial_numbers am,
apps.rcv_transactions b,
apps.rcv_shipment_headers c
where am.LAST_TRANSACTION_ID=b.TRANSACTION_ID and
b.SHIPMENT_HEADER_ID=c.SHIPMENT_HEADER_ID
Thanks
Diwaker Babu
The SQL provided by kamlesh should work.. Hope you might be working on the tool (SQL Plus or Toad) with userid other than APPS.
Try the below query with very small changes in Kamlesh Script.
select c.receipt_num from
apps.mtl_serial_numbers am,
apps.rcv_transactions b,
apps.rcv_shipment_headers c
where am.LAST_TRANSACTION_ID=b.TRANSACTION_ID and
b.SHIPMENT_HEADER_ID=c.SHIPMENT_HEADER_ID
Thanks
Diwaker Babu
Who is online
Users browsing this forum: No registered users and 9 guests