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 : InvoiceLine Insert does not preserve orderSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC SQL Support Forum

 New Topic 
 
 Post Reply 
[1]  
 InvoiceLine Insert does not preserve order 
 Author   Message 
  jeff 
  
 Group: Members 
 Posts: 76 
 Joined: 2006-06-03 
 Profile
 Posted : 2006-08-01 05:38:18

When attempting to insert mulitple lines into a new invoice using the FQSaveToCache my invoice lines are inserted out of sequence when using items and ItemGroups. No matter what the items go first and then all the group items.

For example:

Psuedo Code:

 insert into InvoiceLine GroupItem1 with FQSaveToCache = 1

insert into InvoiceLine GroupItem2 with FQSaveToCache = 1

insert into InvoiceLine tem1 with FQSaveToCache = 1

insert into InvoiceLine Item2 with FQSaveToCache = 0

This should insert two group items first and then two Items. However when I run a select query on the recently created invoiceLine I see the follwing results.

Item1, InvoiceLineSeqNo =1

Item2, InvoiceLineSeqNo =2

GroupItem1, InvoiceLineSeqNo = 3

GroupItem2, InvoiceLineSeqNo = 4

Essentially, what I'm saying is that no matter what order I insert GroupItems in, they always come out last in the invoice. It seems like the QODBC inserts all Items first and then Inserts GroupItems.

 

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-08-01 15:14:42
See: Problem controlling order of Group Items on Invoice for the solution. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to