A customer of ours is looking for a report that will show the number of transactions per register by hour. I looked through the report library and the forum and couldn't find anything that fit that bill
*This post is locked for comments
A customer of ours is looking for a report that will show the number of transactions per register by hour. I looked through the report library and the forum and couldn't find anything that fit that bill
*This post is locked for comments
Hello. email me at archelle.pagapulan@outlook.com. I'll send you one.
# of transactions show in the hourly breakdown on the bottom of the standard X and Z reports
If u r familiar with customizing RMS reports then it would be easy to base a report on this query by creating a view then make the RMS report use this view
Well this would be something the end user would be using so I don't really want them running SQL queries. I was hoping to get a report they could run in manager.
The below query would do it for you, you can activate the commented line in case you want to exclude the returns transaction (typically excluded if the purpose is to get the customers count)
select register.description, datepart(hour,time) as DayHour,count(*) as TransCount
from [transaction] inner join batch on [transaction].batchnumber=batch.batchnumber
inner join register on register.id=registerid
where CONVERT(datetime, CONVERT(nvarchar, time, 101), 101)='2014-01-14'
--and total>0
group by register.description, datepart(hour,time)
order by 1,2
A Hassan
RMS Leaders
André Arnaud de Cal... 291,431 Super User 2024 Season 2
Martin Dráb 230,503 Most Valuable Professional
nmaenpaa 101,156