set validation rule for reference number field in voucher particular to optional