Add terms record_ref to SalesOrder