0

Invoice number

An invoice always requires a unique invoice number.

If you wish, you can briefly take a detour to an example use case on another page of our documentation to enter a unique invoice number. Alternatively, you can follow the quick guide here on this page.

To-Do

Copy and paste the code snippet into the table settings of the Invoices table under Trigger on new record.

InvoiceNumber := max((select Invoices).InvoiceNumber) + 1

✅ You can find the detailed guide under Option 1 (it’s best to open it in a new tab in your browser) in our example use case Automatic Invoice Number.

➡️ When creating a new invoice, a unique invoice number will automatically be assigned.

Paste the copied script into the table settings under 'Trigger on new record'.

Reply

null