Hi Vamsi,
You can check the DocTime field to add to the where condition. However, the DocTime is not actual time. It is an integer with format HHMM.
Something like T0.DocTime/100=DatePart(hh,GetDate()) can be used to get the current hour data if it is before noon.
Thanks,
Gordon