Gordon
Sorry!
The problem is related to how can I pass the value for selection.
(T00.DocDate >= convert(datetime,'+@tempdate+',5)) AND (T00.DocDate <= dateadd(day,-1,(dateadd(month, 1,convert(datetime,'+@tempdate+',5)))))
Gordon
Sorry!
The problem is related to how can I pass the value for selection.
(T00.DocDate >= convert(datetime,'+@tempdate+',5)) AND (T00.DocDate <= dateadd(day,-1,(dateadd(month, 1,convert(datetime,'+@tempdate+',5)))))