Is a 'field', should be a 'record_ref' This is wrong for Invoices & Customers, and probably a number of others.