smi4975
23rd December 2009, 22:13
Hello All,
I wanted to know a way through which i could free the allocated inventory from orders.
1. I executed a query on the table tdinv150 to get the list of various orders for a given item.--To check for the quantities allocated.
2. For the sales orders i checked if the Order is still open (no delieveries maintained - tdsls045). If yes, then by deleting the respective SO line i found the allocated inventory count in Maintain item data also reduced.
3. I want to know how can i clean up the same for Purchase orders, Production orders and other orders.
This is what i tried
-------------------
1. I tried cancelling a released production order and was expecting the allocated inventory to be reduced, instead the inventory on order got reduced.But the particular record no longer appears in table tdinv150.
2. Tried to check if a receipt has been maintained for a PO in table tdpur045, if no tried to delete the correcsponding PO line. But this did not affect the allocated inventory.
i need to develop a session where in the user can check where all the inventory for a particular item is allocated and then clean it up.
Am i right on my approach?? please suugest me a way for this..
I wanted to know a way through which i could free the allocated inventory from orders.
1. I executed a query on the table tdinv150 to get the list of various orders for a given item.--To check for the quantities allocated.
2. For the sales orders i checked if the Order is still open (no delieveries maintained - tdsls045). If yes, then by deleting the respective SO line i found the allocated inventory count in Maintain item data also reduced.
3. I want to know how can i clean up the same for Purchase orders, Production orders and other orders.
This is what i tried
-------------------
1. I tried cancelling a released production order and was expecting the allocated inventory to be reduced, instead the inventory on order got reduced.But the particular record no longer appears in table tdinv150.
2. Tried to check if a receipt has been maintained for a PO in table tdpur045, if no tried to delete the correcsponding PO line. But this did not affect the allocated inventory.
i need to develop a session where in the user can check where all the inventory for a particular item is allocated and then clean it up.
Am i right on my approach?? please suugest me a way for this..