SAP Message 6D367 - Contract type and company code have to agree with reference contract

6D367 : Contract type and company code have to agree with reference contract