[QODBC-Desktop] - PayrollItem Field Returns Blank in sp_report PayrollItemDetail After Version Upgrade
Problem Description:
After upgrading to a newer version of QODBC (e.g., from QODBC 24.0.0.352 to 24.0.0.353), running the sp_report PayrollItemDetail stored procedure through Excel Power Query or the QODBC Test Tool returns a blank PayrollItem field, even though the data is visible in the QuickBooks Desktop UI.
Affected products: QODBC Desktop, QuickBooks Desktop with Payroll Expected outcome: After installing the beta hotfix (B01511) and rebuilding the optimizer cache, the PayrollItem field in sp_report PayrollItemDetail returns correct data.
Symptoms:
- The PayrollItem column in the result set of
sp_report PayrollItemDetail is blank for all records.
- The issue started after upgrading QODBC (e.g., from version 24.0.0.352 to 24.0.0.353) or migrating to a new computer/OS.
- The same query works correctly on the older QODBC version - the regression is version-specific.
- The issue occurs in both Excel Power Query and the QODBC Test Tool (64-bit).
- QuickBooks Desktop shows PayrollItem data normally - the problem is isolated to the QODBC report output.
Cause:
A bug in certain versions of QODBC Desktop caused the PayrollItem detail field to be omitted from the result set of the sp_report PayrollItemDetail stored procedure. The fix was distributed via a beta hotfix.
Bug Reference
This issue is tracked as B01511 on the QODBC internal bug list. The issue was fixed and released in QODBC version 358.
Environment:
| Product | Version / Detail |
| QODBC Desktop |
Versions where PayrollItem detail was affected (prior to B01511 hotfix) |
| QuickBooks Desktop |
All editions with Payroll module |
| Data Source Tools |
MS Excel (Power Query), QODBC Test Tool (32-bit and 64-bit) |
Solution:
- Download the latest full version of QODBC. Go to the official QODBC download page: QODBC download
- Run the installer and bypass the CDKEY prompt during installation.
- Delete the existing optimizer file to clear any stale cached data. Refer to How to Delete the Optimizer File.
- Rebuild the optimizer cache: Open the QODBC Support Wizard and run:
sp_optimizefullsync All
Refer to How to Use QODBC Support Wizard.
- Test your query. Run the sp_report PayrollItemDetail query again in Excel or the QODBC Test Tool - the PayrollItem field should now return data correctly.
Note
The first beta (B01511-beta-2024-07-22) expired over time. If you previously installed it and it no longer works, install the latest version of QODBC.
SQL Examples:
After installing the latest version of QODBC, run your report query normally - no query changes are required:
sp_report PayrollItemDetail SHOW Text, Blank, TxnType, Date, RefNumber, SourceName, PayrollItem, WageBase, Amount PARAMETERS DateMacro = 'ThisQuarter', IncludeAccounts = 'InUse'
Example Scenarios:
Before the fix:
A user migrated from Windows 10 (QODBC V24.0.0.352) to Windows 11 (QODBC V24.0.0.353). Their Excel Power Query report using sp_report PayrollItemDetail returned blank PayrollItem fields for all rows, making payroll reporting impossible.
After the fix:
The user installed B01511-beta-2024-11-15, deleted the optimizer file, ran sp_optimizefullsync All, and re-tested. The PayrollItem column returned all expected data in both Excel and the QODBC Test Tool.
Additional Notes:
- This is a beta hotfix, not a full release update. It addresses the specific PayrollItem field issue (B01511) and may be included in a future official QODBC release.
- The hotfix can be installed on multiple machines in your organization; each machine needs the installer run separately.
- If you use sp_report CustomTransactionDetail instead of PayrollItemDetail, the issue may not directly apply, but it is still recommended to delete the optimizer file and rebuild it after applying this hotfix.
- You can stay on a prior QODBC version (e.g., 24.0.0.352) as a workaround until you are ready to install the hotfix, but upgrading to the latest QODBC version with the fix is recommended.
Related Articles:
How to Rebuild the QODBC Optimizer Using sp_report Stored Procedures in QODBC Understanding QODBC Beta Hotfixes QuickBooks Payroll Data via QODBC
Keywords:
PayrollItem sp_report PayrollItemDetail Blank Field B01511 Beta Hotfix Optimizer Rebuild sp_optimizefullsync Excel Power Query QuickBooks Payroll QODBC Test Tool Version Upgrade Regression Payroll Report
Support Tickets: ALS-848-51765, LFT-949-82802
|