April 12th, 2010 Filed Under Wrk
When lagging behind with the input, you might end up in a situation where you are (someone is) working on the input of recent invoices, and at the same time (someone) trying to complete the missing invoices of the past.
When starting the program, the new highest invoice number plus one is not what you need. You want to find the place where an invoice is missing. Give the program a hand, select the invoice where you want to somewhere start from, and Facs looks for the next missing invoice serial number.
Working on that now. From the invoice you select, we need to create the counter value:
invSn2number will give that, taking into account the settings for the invoice prefix.