On the sales order line and purchase order line it is possible to change the organization to a different one than the one on the header. This leads to inconsistency on the purchase order as the warehouse is specified on the header.
The Organization field should be set to read only!
This leads to another inconsistency, namely the warehouse on the sales order line. The warehouse should be dependent of the chosen Organization.
The Warehouse field should be dependent of the organization!