Store sales
The trading day the till was in when it took the sale, even after midnight.
Is a sale at 1am yesterday’s or today’s? How to define business dates so reports from every system line up.
The tills close the trading day when the store cashes up. The web shop uses midnight. The card provider settles on its own cut-off, and the warehouse records stock movements when they happen. Each system is right by its own rules, so a daily sales report built from two of them will disagree for any sale near the boundary, and weekly figures shift between weeks.
The trading day the till was in when it took the sale, even after midnight.
The order date, payment date, or dispatch date: pick one for sales reporting and say which.
The date the money went back, with a link to the original sale’s date.
The date the movement was recorded, kept separate from the sale that caused it.
Step 1 of 4
Make sure the reporting dates match how the accounts treat each sale.
Calculate it once when data is loaded, rather than in each report.
Store the exact time alongside, so the rule can be checked or changed.
One table of business dates, weeks, periods, and years that every report joins to.
Many retailers report in 4-4-5 or 52/53-week years rather than calendar months. For example: the week ending on the first Saturday after the year end may belong to last year. Put the retail calendar in the calendar table, so “week 12” means the same thing in every report.
Tell us which systems your sales figures come from. A few lines are enough.