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 : question aboutSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 question about 
 Author   Message 
  Michael Wells 
  51387_mic.jpg
 Group: Members 
 Posts: 1 
 Joined: 2008-06-17 
 Profile
 Posted : 2008-06-19 00:47:52

I was looking at the example in one of the posts on how to create a customer, and invoice them, I noticed that here was an insert only into the invoiceLine table and not the invoice table.   Will an insert into invoice line automatically add the invoice?

TO CREATE THE INVOICE

INSERT INTO "InvoiceLine" ("CustomerRefListID", "RefNumber",
"InvoiceLineItemRefListID", "InvoiceLineDesc", "InvoiceLineRate",
"InvoiceLineAmount", "InvoiceLineSalesTaxCodeRefListID", "FQSaveToCache")
VALUES ('AC0000-1197757899', 'QODBCcip', '250000-933272656', 'Bin Permit Renovations',
200.00000, 200.00, '20000-999022286', 0) 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-06-19 07:37:36
Yes, see: How can I create multiple lines in the Invoice, Purchase, Journal and other tables? for more on how the insert actually works. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to