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 : Trigger FQSaveToCache Error parsing complete XML return stringSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Trigger FQSaveToCache Error parsing complete XML return string 
 Author   Message 
  alex 
  
 Group: Members 
 Posts: 1 
 Joined: 2007-06-18 
 Profile
 Posted : 2007-06-18 13:46:25

Hi,

I am trying to trigger FQSaveToCache to 0 in a seperate SQL statement when inserting Sales Order lines as described in this thread: http://www.qdeveloper.com.au/forum.php?homeinclude=topicdetails&forum_id=1&category_id=40&post_id=1220

INSERT INTO "SalesOrderLine" ("SalesOrderLineDesc", "FQSaveToCache") VALUES ('', 0)

However, when the command is run, I get an error parsing complete XML return string. Can anyone shed some light as to why it would be failing?

The example shows setting the FQSaveToCache value to 1 but I believe this is incorrect, it should be set to 0. If I use the example given set to 0, it gives the same error.

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-06-19 02:48:58

I just ran these two SQL Statements without an error here:

SQL Statement 1 - Data query:
INSERT INTO "SalesOrderLine" ("CustomerRefListID", "RefNumber",
"SalesOrderLineItemRefListID", "SalesOrderLineDesc",
"SalesOrderLineQuantity", "SalesOrderLineRate",
"SalesOrderLineAmount", "FQSaveToCache")
VALUES ('120000-1045537156','1019',
'90000-1045537150', '4m Steel Ladder',
1.00000, 1.00000, 150.00, 1)

SQL Statement 2 - Trigger query to close FQSaveToCache:
INSERT INTO "SalesOrderLine" ("SalesOrderLineDesc", "FQSaveToCache") VALUES ('', 0)

You possibly need to check the statement before your trigger. Both of these statements need to be run without breaking the connection (within the same connection).

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to