opendentalsupport.com is an independent community resource. We are NOT affiliated with, endorsed by, or sponsored by Open Dental Software, Inc. Open Dental® is a registered trademark of Open Dental Software, Inc.

Scheduled Production for Tomorrow

SQL Queries3 min read3/31/2026

If you need to see exactly how much production is scheduled for tomorrow to prepare for your morning huddle, this report provides the data instantly. This open dental scheduled production query pulls a list of all patients, their procedures, and the associated fees for the upcoming day.

The Query

Copy and paste the following code into your User Query window. This query is designed to look at appointments with a status of "Scheduled" (AptStatus = 1).

SET @TargetDate = CURDATE() + INTERVAL 1 DAY;

SELECT 
    a.AptDateTime AS 'Appt Time',
    p.LName AS 'Last Name',
    p.FName AS 'First Name',
    pc.ProcCode AS 'Code',
    pc.AbbrDesc AS 'Description',
    pl.ProcFee AS 'Fee'
FROM appointment a
INNER JOIN patient p ON a.PatNum = p.PatNum
INNER JOIN procedurelog pl ON a.AptNum = pl.AptNum
INNER JOIN procedurecode pc ON pl.CodeNum = pc.CodeNum
WHERE DATE(a.AptDateTime) = @TargetDate
AND a.AptStatus = 1
AND p.PatStatus = 0
ORDER BY a.AptDateTime, p.LName;

How to Run This Query

  1. In Open Dental, go to Reports in the Main Menu.
  2. Click User Query.
  3. Paste the query provided above into the large text box.
  4. Click Submit Query.
  5. The results will display in the grid below.

Understanding the Results

How to Customize

You can easily modify this query to fit your specific needs by changing the variables at the top or the filters in the WHERE clause.

Variations

If you want to see the total production value for the day rather than a list of individual procedures, you can use this variation:

SET @TargetDate = CURDATE() + INTERVAL 1 DAY;

SELECT 
    SUM(pl.ProcFee) AS 'Total Scheduled Production'
FROM appointment a
INNER JOIN procedurelog pl ON a.AptNum = pl.AptNum
WHERE DATE(a.AptDateTime) = @TargetDate
AND a.AptStatus = 1;

Skip the Query — Use DentalCanvas Instead

Don't want to write SQL? DentalCanvas connects to your Open Dental database and shows you this data automatically in a visual dashboard — no queries required.


This article is provided by opendentalsupport.com, an independent community resource. We are not affiliated with Open Dental Software, Inc.

Stop Writing SQL.

DentalCanvas connects directly to your Open Dental database and shows you production, collections, scheduling, and more — in a visual dashboard you can understand at a glance. No queries. No exports. Just answers.

Try DentalCanvas

Was this article helpful?

Related Articles

opendentalsupport.com is an independent community resource. We are NOT affiliated with, endorsed by, or sponsored by Open Dental Software, Inc. Open Dental® is a registered trademark of Open Dental Software, Inc.