Improved Calculation for "Qty to receive" and "Qty to deliver" in Inventory Items

Yes please you are correct

I can see another idea