Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
If you can't
login and post questions or you are having trouble viewing forum posts:
Click Here
|
Callback
Support |
If you live in USA, UK, Canada, Australia or New
Zealand, you can leave us details on your question and request us to call you back and discuss
them with you personally (charges apply). |
Click Here
|
Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
|
Transaction Id while Creating Order |
Author |
Message |
|
Posted : 2007-12-06 20:52:46 |
Hi,
I am using the QODBC stored procedure named “SP_LastInserId” to get the newly created “TxnID” of the Sales Order I just created using the VB code in QuickBooks. The stored procedure just runs fine in QuickBooks 2005 Premier edition and gives away the TxnID of the order just inserted. But if I use this same procedure in QuickBooks 2006 Premiere Edition it gives me the TxnId of the next Sales Order instead of the one I created. Any help in this regard will be really helpful.
Thanks in advance.
Regards, Clifford
|
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2007-12-07 07:41:51 |
Sorry, I've gone through QuickBooks 2005, 2006, 2007 and now 2008 and it has never happened to me. Check what's happening by doing:
Select Top 2 * from SalesOrder order by TimeCreated desc |
|
|
|
|