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 : How do I link Item Custom fields with Invoice lines?Search Forum

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

 New Topic 
 
 Post Reply 
[1]  
 How do I link Item Custom fields with Invoice lines? 
 Author   Message 
  Adam 
  
 Group: Members 
 Posts: 1 
 Joined: 2006-09-13 
 Profile
 Posted : 2006-09-13 04:28:23

I have several custom reports that I use daily for export and cutting and pasting.  It looks like this product would help eliminate most of that if I can link the custom field of the items and the recorded invoices. How do I do this?

Thanks,

 Adam

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-09-13 08:22:49

This SQL Statment will give you the data you are after:

SELECT InvoiceLine.InvoiceLineItemRefFullName as Type,
InvoiceLine.TxnDate as Date, InvoiceLine.DueDate,
InvoiceLine.RefNumber as Num, InvoiceLine.CustomerRefFullName as Name,
InvoiceLine.InvoiceLineQuantity as Qty, 
InvoiceLine.InvoiceLineAmount as Amount,
InvoiceLine.ClassRefFullName as Class,
InvoiceLine.Memo, Item.CustomFieldColor as CustomField1,
({fn CURDATE()}-InvoiceLine.TxnDate) as Aging
FROM InvoiceLine, Item
where InvoiceLine.InvoiceLineItemRefListID = Item.ListID

but you will need to replace Color in the above with the name that you have given for the custom field. Run:

sp_columns item

to locate the custom field names.

Note: Aging is based on the actual current system date (not the QuickBooks date).

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to