SAP Message >5738 - Company code &1 is not compatible with contract &3

Diagnosis
The transfer document should be posted in company code &v1& to contractV3 and is different to company code v2 of the contract.

Procedure
The transfer document must be posted to company code &v2&.