I am adding invoices to QuickBooks Pro 2004 from a Visual Foxpro app I am writing using the QBFC from the SDK.
Everything is working well.
In my app, I check to make sure the invoice number chosen by the VFP app user is not already in use by QB, and I so, I pop up a window, and make them choose another number. (There is a good reason why I do not just let QB assign the next number, but I will not get into that here)
Here's what I want to do...I want to look up the highest invoice number used so far by QB, and offer the next one digit highr to the user in my VFP app.
So, here's my question: How can I determine, or look up, what is the hight invoice number used by QB so far???