To sum up, if the ProductCode from SalesOrders matches the ProductCode from PurchaseContracts, the OrderInTonnes from SalesOrders would be added up and the total going into the Offtake field.
If Me.ProductCode = (Whatever you want could be another control or table lookup) Then
Me.Offtake =...