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 : prepare statement usesSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 prepare statement uses 
 Author   Message 
  sri 
  
 Group: Members 
 Posts: 19 
 Joined: 2006-09-27 
 Profile
 Posted : 2007-01-20 08:57:53

Good Day ,

can i use a prepareStatement in QODBC for inserting of  a Invoice with null values in some fields.

is their any other way of inserting invoice with out using the (FQSaveToCache ) field .

How can i extract the Balance of a Customer with in Particular Period of Time  like first 30 days,next 30 days and so on ..........

 

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-01-20 11:47:20

a) NULL values can be used in INSERT statements providing QuickBooks permits the use in the column or line.

b) FQSaveToCache only needs to be used for multiple lines. If a invoice only has a single line then the column can be omitted.

c) You can use the CustomerBalanceSummary stored procedure report for Customer Balances and set the DateFrom and DateTo values for the 30 day periods you're interested in:

sp_report CustomerBalanceSummary show Amount_Title, Text, Label, Amount
parameters DateFrom = {d'2007-01-01'}, DateTo = {d'2007-01-30'}, SummarizeColumnsBy = 'TotalOnly'

Note: Questions need to be asked as single topics in future so they can be searched by other users. 

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to