Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

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

Forum : PriceLevelPerItem - Error parsing complete XML return stringSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC v6 Forum

 New Topic 
 
 Post Reply 
[1]  
 PriceLevelPerItem - Error parsing complete XML return string 
 Author   Message 
  t1000 
  
 Group: Members 
 Posts: 1 
 Joined: 2006-05-27 
 Profile
 Posted : 2006-05-27 13:00:28
I am currently evaluating the ODBC driver for QuickBooks and am getting the above error when attempting to update a price in the PriceLevelPerItem table.  Here is the output from the log file:

SQL Statement: UPDATE "PriceLevelPerItem" SET "PriceLevelPerItemCustomPrice"=?  WHERE "FQPrimaryKey" = ? AND "EditSequence" = ?
Error parsing complete XML return string (8)
Input XML:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?qbxml version="5.0"?>
<QBXML>
    <QBXMLMsgsRq onError = "continueOnError" responseData = "includeNone">
        <PriceLevelModRq requestID = "1">
            <PriceLevelMod>
                <ListID>30000-1055539543</ListID>
                <EditSequence>1197747685</EditSequence>
                <PriceLevelPerItem>
                    <CustomPrice>1000.00000</CustomPrice>
                </PriceLevelPerItem>
            </PriceLevelMod>
        </PriceLevelModRq>
    </QBXMLMsgsRq>
</QBXML>

Originally, I tried to run this update from an SQL update query that I created.  After several unsuccessful attempts to get this to work, I decided to try updating the record directly from the linked table, which produced the exact same results.  I noticed that other users have posted similar errors in recent weeks, but none of the suggestions that were made seem to address my issue.  If anyone can please shed some light on this, I'd appreciate your assistance. 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-05-27 22:05:36
To update a PriceLevelPerItem row, the statement format looks like this:

Update PriceLevelPeritem SET PriceLevelPerItemCustomPrice = 43.21, PriceLevelPerItemItemRefListID = 'F0000-933272656'  WHERE ListID = '30000-1197755980' AND PriceLevelPerItemItemRefListID = 'F0000-933272656'

To insert PriceLevelPerItem rows see: PriceLevelPerItem Updates & Inserts for more information.

Due to a bug in QODBC v6.00.00.155, you need to use PriceLevelPerItemItemRefListID in the WHERE clause, later revisions will only need the ListID to be used in the WHERE clause.

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to