How to add an Invoice Number to the batch name?


Could you please let know can we add invoice number on verification station in Batch Type tab.


The batch name could be changed using a Processing script.

It can be added when creating an Automatic batch processing stage in the Advanced mode of the Workflow setup:


The following script should be used to replace the name of the Batch with the Invoice Number:

using System;
using System.IO;

Batch.Name = Documents[0].Field("Invoice Layout\\InvoiceNumber").Text;

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request


1 comment

  • Avatar

    Anne Howie

    Could this be used to rename the batch with supplier name? Or even name it both supplier name AND invoice number? If so, how would the script be modified pls?

    Does this get added to it's own stage in the workflow or to a specific stage?


Please sign in to leave a comment.