The Dispatch Schedule Procedure is used by the schedule screen.
select * from dip_schedule(:dt,1+:dt)