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 : Does your QODBC driver extract the payroll data from QuickBooks?Search Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC Frequently Asked Questions

 New Topic 
 
 Post Reply 
[1]  
 Does your QODBC driver extract the payroll data from QuickBooks? 
 Author   Message 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-02-22 09:27:33

Intuit does not make available any direct payroll information via "tables". The most information we have is the EmployeeEarning, PayrollItemWage and PayrollItemNonWage tables, but there is no information on payroll checks.

The only way we can access the information is via sp_reports. Using the PayrollSummary or EmployeeEarnings would the best way to view the data.

 

  Top 
  KofK 
  
 Group: Members 
 Posts: 43 
 Joined: 2006-04-04 
 Profile
 Posted : 2006-04-07 23:57:01
I tried using sp_report PayrollSummary and sp_report EmployeeEarnings, and they both didn't work.
It seems that any of the payroll reports return nothing, other reports work fine.
I tried them both with and without perameters.
I am running QODBC 6.00.00.155
 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-04-08 08:03:11

When using the Rock Castle Construction QuickBooks 2006 sample company file: sample_product-based business.qbw, you should get the following results:

Payroll Summary

sp_report PayrollSummary show Label, AmountHours, AmountRate,
Amount parameters DateMacro = 'ThisYearToDate'

Empoyee Earnings

sp_report EmployeeEarningsSummary show Label, Amount
parameters DateMacro = 'ThisYearToDate'

 

  Top 
  KofK 
  
 Group: Members 
 Posts: 43 
 Joined: 2006-04-04 
 Profile
 Posted : 2006-04-11 00:20:46
I found this error in the SDK log.

2436    ReportStorage::DoQuery    Unable to return payroll data QuickBooks error message: You must subscribe to a payroll service to read this information. HRESULT=0x80042772

It seems that I have to subscribe to their payroll service to access the payroll reports through QODBC.

Is this correct? 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-04-11 08:21:06
Depending on the country, edition and the year of QuickBooks, integrated Payroll may, or may not be part of QuickBooks. For example, integrated payroll didn't appear in Australia until QuickBooks 2004. What I'm referring to here is the integrated Payroll version of QuickBooks and not Intuit's Payroll Service. 

  Top 
  KofK 
  
 Group: Members 
 Posts: 43 
 Joined: 2006-04-04 
 Profile
 Posted : 2006-04-12 00:22:16
It seems from this post:
http://idnforums.intuit.com/messageview.aspx?catid=7&threadid=3620&highlight_key=y&keyword1=%22payroll+AND+report%22
that I need to subscribe to the Payroll Service.


I am currently running QB Enterprise 6.0. 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-04-12 08:13:39
Yes, the Intuit Developer Network forum is saying that your company file would need to subscribe to one of the payroll services available - DIY, Assisted, or Complete. Do it yourself (DIY) looks like the easiest way to turn on the module. (With Premier Edition it's on by default in DIY mode). 

  Top 
  KofK 
  
 Group: Members 
 Posts: 43 
 Joined: 2006-04-04 
 Profile
 Posted : 2006-04-21 23:24:00
QuickBooks DIY Payroll is the Standard Payroll service and is not the free manual service.
Is there any way to access the Payroll info without paying for the payroll service?
( I know I can use the test companies but I want to use QODBC one my company file. ) 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-04-22 00:23:39
Sorry this is a QuickBooks Enterprise issue, please discuss this issue directly with your Intuit Support Representative. Using QuickBook Premier I can access the reports in question as shown above using any of the sample company files. 

  Top 
  KofK 
  
 Group: Members 
 Posts: 43 
 Joined: 2006-04-04 
 Profile
 Posted : 2006-04-22 00:57:04
Are you using the test companies included with QB or are you using your own company file? 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-04-22 01:11:10
I'm using the Rock Castle Construction QuickBooks 2006 sample company file. We use the sample company files because everyone has them, so everyone can experiment with them and QODBC too! 

  Top 
  KofK 
  
 Group: Members 
 Posts: 43 
 Joined: 2006-04-04 
 Profile
 Posted : 2006-04-22 01:16:12
The Rock Castle Construction sample file has a sample version of the payroll service so it works.
I believe if you use your own company it will not work.
Can you confirm this?
 

  Top 
  GregR 
  
 Group: Members 
 Posts: 4 
 Joined: 2006-08-01 
 Profile
 Posted : 2006-08-01 01:36:24

That's a horrible decision on Intuit's part!  I am writing job reports for construction contractors, and the lack of data just about kills my chances of doing so.  I am preferring to work directly with the QB tables nuts and bolts because the queries are much faster than the sp pass throughs.  I did us an sp pass-through query but because the query pulls on ALL history it just about smashes the machine by using up 100% of the resources and takes a very long time to run.  I did manage to get the query to run and will now just add to the data I stored in an MS Access table  incrementally each month.

Now of my questions -

Does anyone know if Intuit plans to add payroll data to the tables they make available?  Seems like they should because payroll is very important to most users.

I tried like heck to optimize the QB data, choosing what seems the fastest which is to optimize only when I click the button or to run from a command prompt, but am receiving the following error - BillItemLine.ItemGroupLineItemGroupRefListID may not be NULL

I have tried to rebuild the data within QB but it does not improve the situation.  Seems that if I could build this table on my hard drive, then queries should be much faster and may not hog up the machine.  Here is the query I am running -

sp_report CustomTxnDetail UNOPTIMIZED show account, accountlistid, item,  name, sourcename, TxnType, Date, RefNumber,  Memo, class, SplitAccount, Debit, Credit parameters datemacro='All', AccountFilterType = 'IncomeAndExpense', ReportDetailLevelFilter = 'AllExceptSummary', SummarizeRowsBy = 'Employee', TxnFilterTypes = 'Paycheck'

Does anyone have any ideas or suggetions?

 

 

 
Gregory J. Randazzo, CPA
President
Midwest Accounting, P.C.
42621 Garfield Road, Suite 108
Clinton Twp., MI 48038
(586) 412-2400 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-08-01 13:31:12

Intuit has already annouced what's new for QuickBooks 2007. See: QuickBooks SDK 6.0 for U.S. editions of QuickBooks 2007 (and there's nothing about Payroll).

As far as your BillItemLine table is concerned, make sure you are running QODBC v6.00.00.176 (or later) and run this pass-thorugh query:

sp_optimizefullsync BillItemLine

You cannot use the UNOPTIMIZED tag in any sp_report, but what about limiting the report to smaller date ranges?:

sp_report CustomTxnDetail show account, accountlistid, item,  name, sourcename,
TxnType, Date, RefNumber,  Memo, class, SplitAccount, Debit, Credit
parameters AccountFilterType = 'IncomeAndExpense',
ReportDetailLevelFilter = 'AllExceptSummary', SummarizeRowsBy = 'Employee',
TxnFilterTypes = 'Paycheck', DateFrom = {d'2006-07-01'}, DateTo={d'2007-12-31'}

To make this faster still, you need to be using the QuickBooks Enterprise edition.

 

  Top 
  GregR 
  
 Group: Members 
 Posts: 4 
 Joined: 2006-08-01 
 Profile
 Posted : 2006-08-02 01:59:10

I ran the query and received this message - "Pass-through query with ReturnRecords property set to True did not return any records."  Seems that the same issue presents with this query.  So it seems I have a record that violates integrity rules.  I checked my driver version and it is not the most current.  How do I update to the current?

 

 
Gregory J. Randazzo, CPA
President
Midwest Accounting, P.C.
42621 Garfield Road, Suite 108
Clinton Twp., MI 48038
(586) 412-2400 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-08-02 09:10:42

sp_optimizefullsync BillItemLine

doesn't return any records, it just does a full resync of the BillItemLine optimized table. See: How do I setup the QODBC Optimizer? Where are the Optimizer options? for more.

See also: How can I get the latest version of QODBC? 

 

  Top 
  GregR 
  
 Group: Members 
 Posts: 4 
 Joined: 2006-08-01 
 Profile
 Posted : 2006-08-02 16:59:34

Is the optimization that occurs dependent upon my setting on the DSN Optimization tab?  I did manage to optimize the entire database.  When I run the sp_report above, where the setting is for the most optimized, i.e. only when I force updates in whatever manner, am I then only extracting data from the optimized file on the C drive and not from QB?  Seems like that shoud be much faster but it's not.  What am I missing?

Has anyone asked Intuit to include payroll data in tables?

 

 
Gregory J. Randazzo, CPA
President
Midwest Accounting, P.C.
42621 Garfield Road, Suite 108
Clinton Twp., MI 48038
(586) 412-2400 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-08-02 23:31:01
The QODBC v6 Optimizer is for tables only. All sp_report stored procedures don't use the QODBC Optimizer, the stored procedures call the QuickBooks Reporting Engine directly via the qbXML SDK. 

  Top 
  GregR 
  
 Group: Members 
 Posts: 4 
 Joined: 2006-08-01 
 Profile
 Posted : 2006-08-03 04:53:54

Do we have an official channel for requesting payroll data from Intuit, in tables?  What is the issue and why won't they include that data?  I would like to make an official request, or at least understand why payroll data is not included.

 

 
Gregory J. Randazzo, CPA
President
Midwest Accounting, P.C.
42621 Garfield Road, Suite 108
Clinton Twp., MI 48038
(586) 412-2400 
 
  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-08-03 08:49:33

The official place is: QuickBooks SDK Futures

The "QuickBooks SDK Futures" Intuit forum is the place to discuss what you'd like to see added to the QuickBooks SDK.

 

  Top 
  Don 
  
 Group: Members 
 Posts: 5 
 Joined: 2007-03-08 
 Profile
 Posted : 2007-03-08 03:38:52
In response to the post title: I am having difficulty extracting payroll information from QB, when I run the following SQL:

sp_report PayrollItemDetail show RefNumber_Title, Date_Title, SourceName_Title, PayrollItem_Title, TxnType_Title, WageBase_Title, Amount_Title, Text, Blank, TxnType, Date, RefNumber, SourceName, PayrollItem, WageBase, Amount parameters DateMacro = 'ThisQuarter', IncludeAccounts = 'InUse'

I get the following message:

SQL error: [QODBC] Error: 3262 - In order to complete this request, the company data file has to be subscribed to the Intuit Payroll Service. , SQL state S0000 in SQLExecDirect

Thing is, I AM subscribed to the Payroll Service and can view the reports from with QB. I have rung QB support about this, they weren't very helpful and said that 3rd party apps "CANNOT" access any payroll information, this can't be right can it?

Any help greatly appreciated.

Cheers,

Don 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-03-08 09:06:14

Have you made sure that you have allowed QODBC to access personal data? Try opening one of the sample company files to see how it should work. What Payroll Service are you subscribed to?

 

  Top 
  Don 
  
 Group: Members 
 Posts: 5 
 Joined: 2007-03-08 
 Profile
 Posted : 2007-03-08 22:49:24
I'm using QB 2006 Pro - UK edition with the following payroll service:

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-03-09 09:35:27
Please try opening one of the UK sample company files and advise whether the PayrollItemDetail report works or not. 

  Top 
  Don 
  
 Group: Members 
 Posts: 5 
 Joined: 2007-03-08 
 Profile
 Posted : 2007-03-10 02:14:24
Yes, I tried the Grangeworth Premier Kitchens sample company file and received the same error message when running the PayrollItemDetail report. 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-03-10 09:44:18
What about the Employee, EmployeeEarning, PayrollItemWage and PayrollItemNonWage tables? Do they contain data?  

  Top 
  Don 
  
 Group: Members 
 Posts: 5 
 Joined: 2007-03-08 
 Profile
 Posted : 2007-03-13 20:59:39
Yes, they contain data, but its just summary data e.g. the names of the employees. What they don't contain is how much people were paid each month.
 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-03-13 22:17:43
Ok, looks like there's a problem in Intuit's UK qbXML SDK that doesn't "officially" exist here. I will do further research into this, but for now you're stuck, sorry. 

  Top 
  Don 
  
 Group: Members 
 Posts: 5 
 Joined: 2007-03-08 
 Profile
 Posted : 2007-03-13 22:38:29
OK, thanks Tom, although this is a pain and means that for now we can't use your product it is good to have a definitive answer on this (Quickbooks support was totally useless!).

Please let me know as soon as you have any more info on this, currently we're having to export reports containing payroll info manually in CSV format then extract the data and import it into MySQL. Ideally we want to automate this using QODBC.

Thanks for your help thus far. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to