i wrote the following query against my Headquarters database to determine sales:
SELECT StoreID, RegisterID, Sales
FROM Batch
WHERE (OpeningTime > CONVERT(DATETIME, '2014-05-05 12:00:00', 102)) AND (OpeningTime < CONVERT(DATETIME, '2014-05-06 11:59:59', 102))
ORDER BY StoreID,RegisterID
If I run a Daily Sales by Register Report in HQ the sales in the Today column don't match the sales from the Batch table. Does anyone know why these sales figures don't match up?
*This post is locked for comments