Hello Sharan, Thanks for the reply. I tested it as the way you suggested and it is working.
Since there are two fields quantityOnHandTotal and availableToPromiseTotal on the InventoryItem record, in scenarios such as defective product, I would think that quantityOnHandTotal will still show whatever quantity (for eg 10) and availableToPromiseTotal for that InventoryItem to be 0 if all 10 inventory items are defective. That was what I had in mind when I asked the question. Anyway, thanks for getting my doubt solved. Regards, Dhananjay Katre Director and Cofounder vnnogile Solutions Private Limited [image: Inline image 1] On Tue, Sep 1, 2015 at 8:52 PM, Sharan-F <sharan.f...@gmail.com> wrote: > Hi > > I did a quick test based on what you have mentioned. You are right in that > the ATP/QOH in the Inventory Item itself doesn't change (maybe because you > still have the same number of product items even though they are > defective...) > > However on the if you go and look at the ATP and QOH from the Inventory > screen in Facility Manager for that product same then it should show the > both ATP and QOH quantities for the product as zero. > > Also entering a Sales Order for that same product will show that the > product > needs to be backordered because there is zero available in stock. So I > think > the functionality is working correctly when you modify the Inventory Item > status to be Defective (i.e.none of the items from it are available). > > Hope this helps. > > Thanks > Sharan > > > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/Inventory-Status-Update-not-changing-the-available-to-promise-quantity-tp4671743p4671789.html > Sent from the OFBiz - User mailing list archive at Nabble.com. >