InvoiceNumberValidate

This is a delegate of type UserExitFieldValidate and has the following parameters.

  • IField field

  • IWorkdoc doc

  • ref bool valid

This user exit enables you to add additional validation and formatting restrictions against the invoice number field.

For example, your business rule states that if an extracted invoice number is longer than 16 characters, the system should only format it so the last 16 characters are retained.

This user exit is available during validation processing only.