Hi,
Try this query:
select t0.[docnum], t0.cardname, t0.docdate, t1.dscription, t1.price
from OINV t0 inner join INV1 T1 on t0.docentry = t1.docentry
where t0.doctype = 'S' and t0.docdate between [%0] and [%1]
Hope helpful.
Thanks & Regards,
Nagarajan