v_Inventory_for_ATP implementation