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 : PurchaseOrderLine Delete does not workSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC Bug Reports

 New Topic 
 
 Post Reply 
[1]  
 PurchaseOrderLine Delete does not work 
 Author   Message 
  jeff 
  
 Group: Members 
 Posts: 76 
 Joined: 2006-06-03 
 Profile
 Posted : 2006-10-13 09:20:57

Under the following condition the latest version of qodbc (7.0.) does not Delete line items from the PurchaseOrderLine table.

Create a purchase order with two regular items and then add a group item to the purchase order. Attempt to delete the regular items on the po with the following sql syntax:

Delete from PurchaseOrderLine where TxnID='F34-1071526924' and PurchaseOrderLineTxnLineID='2585-1071526924'

Results in the following error Message:

The Delete failed --[QODBC] Error parsing complete XML return string.

2006-10-12 16:11:38 QODBC Ver:  7.00.00.194 *********************************************************************************************************************
IsAService: True
SQL Statement: Delete from PurchaseOrderLine where TxnID='F34-1071526924' and PurchaseOrderLineTxnLineID='2585-1071526924'
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">
        <PurchaseOrderModRq requestID = "1">
            <PurchaseOrderMod>
                <TxnID>F34-1071526924</TxnID>
                <EditSequence>1197760261</EditSequence>
                <PurchaseOrderLineMod>
                    <TxnLineID>F36-1071526924</TxnLineID>
                </PurchaseOrderLineMod>
                <PurchaseOrderGroupLineMod>
                    <TxnLineID>2586-1071526924</TxnLineID>
                </PurchaseOrderGroupLineMod>
                <PurchaseOrderLineGroupRet>
                    <PurchaseOrderLineRet>
                        <TxnLineID>2587-1071526924</TxnLineID>
                    </PurchaseOrderLineRet>
                    <PurchaseOrderLineRet>
                        <TxnLineID>2588-1071526924</TxnLineID>
                    </PurchaseOrderLineRet>
                    <PurchaseOrderLineRet>
                        <TxnLineID>2589-1071526924</TxnLineID>
                    </PurchaseOrderLineRet>
                    <PurchaseOrderLineRet>
                        <TxnLineID>258A-1071526924</TxnLineID>
                    </PurchaseOrderLineRet>
                </PurchaseOrderLineGroupRet>
            </PurchaseOrderMod>
        </PurchaseOrderModRq>
    </QBXMLMsgsRq>
</QBXML>

The same query works fine if no group items are present in the purchase order.

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-10-13 10:38:11
I've logged this problem with the QODBC Support Engineer for resolution under Ticket No: BR00000021. You will need to delete the PurchaseOrder itself (PurchaseOrder not PurchaseOrderLine) and then re-create the purchase order again with the new details you want. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to