Knowledgebase
[QODBC-Desktop] - Purchase Orders Report: Open PO and Open PO by Job
Posted by William - QODBC Support on 15 October 2026 07:17 AM

[QODBC-Desktop] - Purchase Orders Report: Open PO and Open PO by Job

Problem Description:

Customer was unable to retrieve the Open Purchase Orders report via QODBC Test Tool, reporting that the Open_POs table was not visible. Customer could see PurchaseOrders1 and PurchaseOrdersLines1 tables, but was missing the IsClosed field. Additionally, IsFullyReceived field was not being populated correctly when pulling data into Microsoft Access.

Affected products: QODBC Desktop, QuickBooks Desktop, Microsoft Access
Expected outcome: Customer can successfully retrieve Open Purchase Orders data using QODBC SP_reports and properly link/import data into Access or other applications.

Symptoms:

  • Open_POs table not visible in QODBC Test Tool
  • PurchaseOrders1 and PurchaseOrdersLines1 tables available but missing expected fields
  • IsClosed field not available through Intuit SDK / QODBC
  • IsFullyReceived field returning null values when pulling data into Access
  • Different record counts depending on which SP_report is executed

Cause:

QODBC can only expose fields and features that are allowed by the QuickBooks SDK. The QuickBooks SDK does not expose all fields from the PurchaseOrder table, particularly IsClosed. Additionally, the IsFullyReceived field may return null values depending on how the data is imported (importing vs. linking tables in Microsoft Access).

QuickBooks provides two related but distinct reports via QODBC SP_reports:

  1. SP_Report OpenPOs - the standard Open Purchase Orders report, returning all open purchase orders
  2. SP_Report OpenPOsByJob - purchase orders linked to specific customers/jobs, focusing on job-related filtering

These are two different QuickBooks reports with different record sets and structures.

Environment:

ProductVersion / Detail
QODBC Desktop All versions with SP_reports
QuickBooks Desktop All editions (Pro, Premier, Enterprise)
Microsoft Access 2016, 2019, 2021, 365 (32-bit and 64-bit)
Operating System Windows (32-bit and 64-bit)

Resolution:

  1. Run SP_Report OpenPOs to get all open purchase orders.
    1. Open the QODBC Test Tool
    2. Execute the following command:

      sp_report OpenPOs show TxnType_Title, Date_Title, Name_Title, RefNumber_Title, DeliveryDate_Title, Amount_Title, Blank, TxnType, Date, Name, RefNumber, DeliveryDate, Amount parameters DateMacro = 'All'


      This corresponds to the standard Open Purchase Orders (OpenPOs) report and returns around 73 records (matching what QuickBooks itself displays).
  2. Run SP_Report OpenPOsByJob to get purchase orders by customer/job.
    1. Open the QODBC Test Tool
    2. Execute the following command:

      sp_report OpenPOsByJob show Text as Type, Blank as Total, Date, delivery date as "Deliv Date", RefNumber as Num, SourceName, Item, Quantity as Qty, ReceivedQuantity as Rcvd, UnitPrice as "Cost Price", Amount parameters DateMacro = 'All'


      This is a different report: OpenPOsByJob, which focuses on purchase orders linked to specific customers/jobs.
  3. Compare the results from both queries.
    1. The first query (SP_Report OpenPOs) is for the 'OpenPOs' report and returns the total count of open purchase orders.
    2. The second query (SP_Report OpenPOsByJob) is for the 'OpenPOsByJob' report and focuses on purchase orders linked to specific customers/jobs.
    3. The number of records will differ based on how QuickBooks structures and filters data in each report.
  4. For Microsoft Access - link tables rather than import.
    1. In Access, use External Data → Link Table to link the QODBC purchase order tables.
    2. Linking establishes a live connection to the QuickBooks data via QODBC, which allows fields like 'IsFullyReceived' to reflect the latest values.
    3. Refer to the following articles for Access-specific guidance:

SQL Examples:

Execute SP_Report OpenPOs in QODBC Test Tool:

sp_report OpenPOs show TxnType_Title, Date_Title, Name_Title, RefNumber_Title, DeliveryDate_Title, Amount_Title, Blank, TxnType, Date, Name, RefNumber, DeliveryDate, Amount parameters DateMacro = 'All'

Execute SP_Report OpenPOsByJob in QODBC Test Tool:

sp_report OpenPOsByJob show Text as Type, Blank as Total, Date, delivery date as "Deliv Date", RefNumber as Num, SourceName, Item, Quantity as Qty, ReceivedQuantity as Rcvd, UnitPrice as "Cost Price", Amount parameters DateMacro = 'All'

Example Scenarios:

Scenario 1 - Listing all open purchase orders:

A controller needs a complete list of all open purchase orders for the month. They execute sp_report OpenPOs in the QODBC Test Tool, which returns 73 records matching what QuickBooks displays. They can then export or link this data to their reporting tool.

Scenario 2 - Filtering purchase orders by job:

A project manager needs purchase orders for a specific job or customer. They execute sp_report OpenPOsByJob with appropriate DateMacro filters, which returns only the purchase orders associated with that job. This allows them to track job-specific costs and receipts.

Additional Notes:

  • SDK limitation: The absence of IsClosed and certain other fields from the PurchaseOrder table is a QuickBooks SDK constraint. QODBC faithfully exposes what the SDK provides, and will support additional fields when they become available through the SDK.
  • Two distinct reports: sp_report OpenPOs and sp_report OpenPOsByJob are separate QuickBooks reports with different record selections. Executing both provides a complete picture of purchase order status.
  • Access linking vs. importing: For Microsoft Access, always use Link Table rather than Import Table to ensure fields reflect the latest QuickBooks data in real-time.
  • SP_OPTIMIZEUPDATESYNC: Running SP_OPTIMIZEUPDATESYNC PurchaseOrder at regular intervals (e.g., daily after data updates in QuickBooks) will bring updated data to the local cache or optimizer, which can help with field visibility and data freshness.
  • How Optimizer Works: For more information on the optimizer process, see the article: https://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2942

QODBC Optimizer Rebuilding and Troubleshooting QODBC Slow Query Performance after Upgrade Accessing Payroll Data in QODBC: Using SP_reports for Payroll Transactions and Summaries

Keywords:

QODBC Desktop Purchase Orders SP_reports OpenPOs OpenPOsByJob QuickBooks SDK IsClosed IsFullyReceived Microsoft Access Linking Optimizer sp_optimizeupdatesync PurchaseOrder
(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please complete the captcha below (we use this to prevent automated submissions).