I have a payables management integration I'm running where I have some VBA to get the next voucher number which is used to populate a couple of custom tables.
However, when the commit occurs I receive the following error on all rows:
This voucher number already exists. You must provide a new voucher number.
I've checked and this voucher number DOES NOT exist anywhere in Payables Management.