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 : sp_report PayrollTransactionsByPayee (not) returning all data ?Search Forum

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

 New Topic 
 
 Post Reply 
[1]  
 sp_report PayrollTransactionsByPayee (not) returning all data ? 
 Author   Message 
  abalan 
  
 Group: Members 
 Posts: 9 
 Joined: 2008-01-09 
 Profile
 Posted : 2008-01-09 09:05:44

I have a VB6 application creating a list for the bank for payroll purposes and it was working just fine until the customer upgraded to QB Pro 2008 and QODBC v8. Both are the latest versions as I updated them myself today (2008 jan 08). The code used is listed below:

txtSql = "sp_report PayrollTransactionsByPayee show  AccountFullName, Date, TxnType, RefNumber, Amount, Account, NameAccountNumber parameters DateFrom = {d'2008-014-08'}, DateTo = {d'2008-01-11'}, IncludeAccounts = 'InUse'  WHERE RowType = 'DataRow' AND TxnType = 'Pay Cheque'"

Adodc1.ConnectionString = "DSN=QuickBooks Data"
Adodc1.RecordSource = txtSql
Adodc1.Refresh

Now with the upgrades, no 'Pay Cheque' data is returned whatsoever, tried to remove/change parameters/WHERE clause without success. Even with no parameters and no where clause at all, the returned data is minimal. By the other hand, QB2008 is showing the PayrollTransactionsByPayee report properly.
Jan 11 is payroll ... so please advise.

Thanks
Alex

 

 

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-01-09 10:05:11

Try:

txtSql = "sp_report PayrollTransactionsByPayee show  AccountFullName, Date, TxnType, RefNumber, Amount, Account, NameAccountNumber parameters DateFrom = {d'2008-01-08'}, DateTo = {d'2008-01-11'}, IncludeAccounts = 'InUse'  WHERE RowType = 'DataRow' AND TxnType = 'Paycheck'"

The QuickBooks 2008 Canadian Edition now uses the USA SDK.

 

  Top 
  abalan 
  
 Group: Members 
 Posts: 9 
 Joined: 2008-01-09 
 Profile
 Posted : 2008-01-09 10:24:25

I tried that but did not work. I tried this

sp_report PayrollTransactionsByPayee show Date_Title, Name_Title, RefNumber_Title, TxnType_Title, Memo_Title, Account_Title, Amount_Title, Text, TxnType, Date, RefNumber, Name, Memo, Account, Amount
parameters DateFrom = {d'2007-01-01'}, DateTo = {d'2008-01-31'}
WHERE TxnType <>''

I got no rows at all for 'Pay Cheque' or 'Paycheck'
what I got is only 'Liability Adjust' and 'YTD Adjust'
so no cheques at all for the last 13 month (100 employees * 13 month * 2 per month .... 2600 records and I got only 150 !)

Please advise.
Thanks, Alex


 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-01-09 17:58:55
See: sp_report PayrollTransactionsByPayee does not return TxnType = 'Pay Cheque'  

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to