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

@lubos can you please confirm when we will have sales order option in credit notes.
We need since we have orders don’t match because of link between sales order and credit notes

Dear @lubos , I’m trying to bring your suggestion into practice for the Qty to receive and Qty to deliver matter. So I’m now adopting to create Sales order and Purchase order regardless of whether I need it or not.
But the issue I’m facing while using the Sales order and Purchase order, when I link these to Sales invoice and Purchase invoice while creating the invoices, it is being printed on the document which I no need and the customer or supplier too no need to know(which they do not have the idea of the Order number what is that)
My request here: can we have the option to hide order number?