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 : import invoice into QuickBooksSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC SQL Sample Scripts Forum

 New Topic 
 
 Post Reply 
[1]  
 import invoice into QuickBooks 
 Author   Message 
  sri 
  
 Group: Members 
 Posts: 19 
 Joined: 2006-09-27 
 Profile
 Posted : 2006-12-22 01:23:15

Good Day,

I design an invoice application using java . i want to send the invoice  data into Quickbooks using QODBC.

Manually i had completed the task of send the invoice to QB using the Example given in QODBC SQL Sample Script. how can i assign the FQSaveToCache set True or False(1 or 0) in the invoiceLine when sending  it using Java (odbc) and i want to known the whether the invoice is saved or not saved.

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-12-22 11:19:37

You use 1 as the FQSaveToCache value for the InvoiceLine inserts until the last line for that invoice where you use 0. See How do I create Invoices? for more.

To see that your invoice have been written, the command to run is:

SP_LASTINSERTID invoiceline

but it has to be run before any other query is executed and without the connection being closed after your INSERT. 

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to