MattHardy
3 years agoQrew Trainee
Cross Table Sequential Number
We use QB to generate invoices across multiple tables within one app - how can I create a sequential numbering system that pulls the next number when the user clicks a button? We don't want the invoice # created when the record is made, we prefer to create it when it's ready to send.
I currently have something hacked together using pipelines but there is a small delay which can result in duplicate invoices numbers in rare occasions.
I have no problem reading/writing to a field using the API but I'm struggling to come up with a clean solution.
------------------------------
Matt Hardy
------------------------------
I currently have something hacked together using pipelines but there is a small delay which can result in duplicate invoices numbers in rare occasions.
I have no problem reading/writing to a field using the API but I'm struggling to come up with a clean solution.
------------------------------
Matt Hardy
------------------------------