If the *stock number* value is changed, to require that the invoice number is updated as well. This will prevent deals in COTI from not having a matching invoice number. Another solution would be to wipe the invoice number once the stock number is changed.