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
|
|
Error: "[QODBC] Error parsing complete XML return string." doing EmployeeEarning updates |
Author |
Message |
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-03-04 20:10:25 |
We are converting an existing application that used QODBC v4 to v6 to see if our application will still run.
We downloaded the 6.0 trial product from your website but when we attempt to update an EmployeeEarning record in a QuickBooks 2004 database file, using the following SQL statement:
"Update EmployeeEarning set PayrollInfoEarningsRate = 130.67 where payrollinfoearningspayrollitemwagereflistid = '180001-1140390656' and Listid = '20001-939784292'"
v6 now returns the following QODBC error: "[QODBC] Error parsing complete XML return string."
|
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-03-04 20:16:24 |
A lot has changed since QODBC v4 and v6, but the most important thing to remember is that "Error parsing complete XML strings" errors are because the column order is out of sync to what QuickBooks requres. This can be found by using:
sp_columns EmployeeEarning
The statement:
Update EmployeeEarning set PayrollInfoEarningsRate = 130.67 where PayrollInfoEarningsPayrollItemWageRefListid = '180001-1140390656' and Listid = '20001-939784292'
should be:
Update EmployeeEarning set PayrollInfoEarningsRate = 130.67 where Listid = '20001-939784292' and PayrollInfoEarningsPayrollItemWageRefListid = '180001-1140390656'
I ran the following test with my data your QODBC v6.00.00.150:
Update EmployeeEarning set PayrollInfoEarningsRate = 20 where Listid = '280000-1045709626' and PayrollInfoEarningsPayrollItemWageRefListid = '50000-1045536336'
and it updated without an error.
Note: If you don't immediately see the change, try doing:
SELECT * FROM EmployeeEarning unoptimized
|
|
|
|
|