Import earlier shifts
- Available on
- Trial
- Pro
- Enterprise
- Who can do this
- Import earlier shifts, which needs schedule:write as wellRoles: Administrator
Permission: workforce:admin
- Import earlier shifts, which needs schedule:write as wellRoles: Administrator
The earlier shifts import records the shifts your employees worked before you started planning people in werkplan, from a CSV file with one row per employee and week. The working-time rules that look back over worked shifts, such as average weekly hours, runs of nights, weekly rest and the overtime caps, then count them from your first planned week.
Where you start it
Section titled “Where you start it”On the Schedule screen, click Import earlier shifts…. The button shows only to someone with both schedule:write and workforce:admin. How a CSV import works explains the dialog, the file and its formats.
What a row does
Section titled “What a row does”A row is one employee’s calendar week: weekStart is its Monday, and each day’s cell holds the code of the shift type they worked that day, as the workforce schedule shows it, matched without regard to capitals. A day today or later is refused on its cell.
- A cell naming another shift type than the day’s shift replaces it; the same type is unchanged.
- An empty cell leaves the day as it is.
- Each shift is saved as one placed by hand, filed under the employee’s shift group on that day.
Because the shifts were worked, not planned, werkplan doesn’t check the working-time limits, the notice period or coverage on them. It still checks that the employee had a shift group that day holding the shift type, that the shift type runs on that weekday, that they were employed then, and that no absence touches the day; a week one of whose days is refused writes none of them. A day whose shift was let past a working-time limit is never replaced: change it on the Schedule screen.
employeeNumber names an employee by their number, exactly. Import the employees and add the shift types first, and date your company shift policy back to the earliest week, or give the employees shift groups that cover those weeks.
Columns
Section titled “Columns”| Column | Format | What it holds | Example |
|---|---|---|---|
employeeNumberRequiredImport key | Text | The number of the employee who worked the week | E-0153 |
weekStartRequiredImport key | Date, YYYY-MM-DD or your organisation's short date | The Monday the calendar week starts on | 2026-06-01 |
monday | Text | The code of the shift type worked on Monday, as the workforce schedule shows it; empty when nothing is recorded | E |
tuesday | Text | The code of the shift type worked on Tuesday, as the workforce schedule shows it; empty when nothing is recorded | E |
wednesday | Text | The code of the shift type worked on Wednesday, as the workforce schedule shows it; empty when nothing is recorded | E |
thursday | Text | The code of the shift type worked on Thursday, as the workforce schedule shows it; empty when nothing is recorded | E |
friday | Text | The code of the shift type worked on Friday, as the workforce schedule shows it; empty when nothing is recorded | E |
saturday | Text | The code of the shift type worked on Saturday, as the workforce schedule shows it; empty when nothing is recorded | E |
sunday | Text | The code of the shift type worked on Sunday, as the workforce schedule shows it; empty when nothing is recorded | E |
What it refuses
Section titled “What it refuses”- An
employeeNumberthat matches no employee: an employee without a number can’t be found by an import, so give them one on their page first. - A
weekStartthat isn’t a Monday, and the same employee’s week twice in the file. - A code that matches no shift type, and a day that isn’t before today.
- When it is written: a day the employee had no shift group on, or one that doesn’t hold the shift type, a shift type that doesn’t run that weekday, a day they weren’t employed, and a day an absence touches.
What it changes elsewhere
Section titled “What it changes elsewhere”Earlier shifts lie before today. Planning people counts them toward the working-time rules, such as average weekly hours and the overtime caps; production planning doesn’t read them, so the master plan has nothing to take in.
Still stuck? Write to support@example.com.