Hi Rahul Goja....
Try this
Select T0.[CardCode] as Custcode, sum(T1.[IssuedQty]) as ConsQty,T0.[DueDate]
From dbo.OWOR T0
Inner join WOR1 t1 on T0.DocEntry = T1.DocEntry
where T0.[Status] IN ( 'R','L' ) and T0.[DueDate] between [%0] and [%1]
group by T0.[CardCode],T0.[DueDate]
Hope helpful
Regards
Kennedy