Issue related to Available to Reserve that needs to be print
As I am verifying the tables to get OnHand quantity INV_ONHAND_QUANTITIES_DETAIL, for pending quantity related I am using this table INV_MATERIAL_TXNS.
But the problem I am facing is that when OnHand quantity and pending quantity is equal, we are considering OnHand Qty only for this Available to Reserve, but in few scenarios if it Is equal also not getting correct values.
Case:1 If both the onhand and pending quantity are equal but if we minus its not equal to Available to Reserve
Case:2 If both the onhand and pending quantity are equal but if we minus it is equal to Available to Reserve