After a recent update (12-13 Jun 24), the Qty to Receive displayed on the Purchase Orders screen appears to be incorrect.
It seems that the quantity already received through a Goods Receipt is not being subtracted (minus) from the total quantity ordered.
Instead, it appears as though this received quantity is being mistakenly added back to the quantity ordered, increasing (not decreasing as expected) the qty to receive.
I think that it is connected only with Sales Invoices, not with Purchase Invoices (Purchase Invoices when created are linked with the respective Purchase Order).
The behaviour I described is something that has resulted recently (till 11 June 2024 everything was ok).