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 : Updating DepositLine ClassSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Updating DepositLine Class 
 Author   Message 
  Rob 
  
 Group: Members 
 Posts: 7 
 Joined: 2008-08-15 
 Profile
 Posted : 2008-10-17 08:09:27
Hi Tom,

I've successfully updated the class fields for Bill Expense Line Items and Credit Card Line Items using MS Access.

Using this:

UPDATE BillExpenseLine INNER JOIN qryProjectMapping ON BillExpenseLine.ExpenseLineCustomerRefListID = qryProjectMapping.ListID SET BillExpenseLine.ExpenseLineClassRefListID = "8000000E-1218654890";

When using the exact same procedure for Deposit Line items, the SDK shows this error:

QBNDepositMod::HandleAggregate    unexpected tag 'DepositLineRet'.
20081012.115039    E    5620    XercesSAXParseManager    Error parsing. Message: unexpected tag 'TxnLineID' with value '7E5A6-1210698155'.
20081012.115039    I    5620    MsgSetHandler    Parser error, finishing.
20081012.115039    I    5620    QBSDKProcessRequest    Application named 'FLEXquarters QODBC' finishing requests (process 3256), ret = 1.
20081012.115039    E    3256    RequestProcessor    Process Request error = 80042500, There was an error when parsing the provided XML file.
20081012.115039    I    5620    QBSDKProcessRequest    Application named 'FLEXquarters QODBC' starting requests (process 3256).

I've tried using the TxnLineID to identify the records to be updated rather than Customer Ids as used in my joins, but I get the same error.

I've also tried just updating the class field of Deposit Lines table without a join to see if it was my join, but I still get the same error.

Any suggestions.

Robert 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-10-17 09:10:00
There's no TxnLineID, it's DepositLineTxnLineID but the primary key is both TxnID and DepositLineTxnLineID. I would need to see your standalone SQL statement and know what version of QODBC and QuickBooks you are using.  

  Top 
  Rob 
  
 Group: Members 
 Posts: 7 
 Joined: 2008-08-15 
 Profile
 Posted : 2008-10-17 09:22:16
Hi Tom,

I'm using Quickbooks Enterprise version 8 and QODBC 8.00.00.242.

I've Tried this using TxnId and DepositLineTxnLineId:

UPDATE qryFindDepositLineTxnLineId INNER JOIN DepositLine ON (qryFindDepositLineTxnLineId.TxnID = DepositLine.TxnID) AND (qryFindDepositLineTxnLineId.DepositLineTxnLineID = DepositLine.DepositLineTxnLineID) SET DepositLine.DepositLineClassRefListID = "8000000E-1218654890";

I've also tried the above using DepositLineTxnId and DepositLineTxnLineId.

Also, I can preview the records to be updated using the procedures above, but when I go to update the records I get this error:

ODBC - Update on linked table "DepositLine" failed. Error Parsing Complete XML string (#10054)

Thank you. Robert 

  Top 
  Rob 
  
 Group: Members 
 Posts: 7 
 Joined: 2008-08-15 
 Profile
 Posted : 2008-10-17 09:54:39
Hi Tom,

Some additional info for which was mentioned above which may help. This is from QODBCLOG.Txt

IsAService: False

SQL Statement: UPDATE "DepositLine" SET "DepositLineClassRefListID"=? WHERE "FQPrimaryKey" = ?

Error parsing complete XML return string (8)

Input XML:

<?xml version="1.0" encoding="ISO-8859-1"?>

<?qbxml version="7.0"?>

<QBXML>

    <QBXMLMsgsRq onError = "continueOnError" responseData = "includeNone">

        <DepositModRq requestID = "1">

            <DepositMod>

                <TxnID>7E5A4-1210698155</TxnID>

                <EditSequence>1210698155</EditSequence>

                <DepositLineRet>

                    <TxnLineID>7E5A6-1210698155</TxnLineID>

                </DepositLineRet>

                <DepositLineRet>

                    <TxnLineID>7E5A7-1210698155</TxnLineID>

                    <ClassRef>

                        <ListID>8000000E-1218654890</ListID>

                    </ClassRef>

                </DepositLineRet>

                <DepositLineRet>

                    <TxnLineID>7E5A8-1210698155</TxnLineID>

                </DepositLineRet>

                <DepositLineRet>

                    <TxnLineID>7E5A9-1210698155</TxnLineID>

                </DepositLineRet>

            </DepositMod>

        </DepositModRq>

    </QBXMLMsgsRq>

</QBXML>

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-10-17 11:12:28
It kind of looks like we haven't fixed the DepositMod operation correctly yet for QuickBooks 2008 (onwards - USA only). I have logged this issue with the QODBC Software Engineer on QSupport Ticket ID: BR00000089. I don't have a timeframe on when a workaround or fix will be avaliable. 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-10-18 10:26:40
We have found that the DepositMod modify operation is broken and the fix will be in QODBC v9.00.00.254 or above. Keep checking QODBC Updates and Bug Fixes to see when the fix is released. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to