Knowledgebase

Home > Knowledgebase > Cim50 > Works Orders > Routing > Import Timesheets

Import Timesheets

Import Timesheets allows you to load a batch of time bookings for a single employee from an Excel spreadsheet, instead of typing each booking into the ‘Timesheets’ grid by hand. It is useful if your time is recorded elsewhere, for example on paper timesheets that are keyed into a spreadsheet, or exported from a clock-in system.

The import does not post anything on its own. Cim50 checks the spreadsheet and, once it is clean, copies the lines into the Timesheets grid so that you can review them, amend any costs and then press Confirm in the usual way.

Import Timesheets is opened from the Timesheets screen. To get there, select the ‘Timesheets’ option from the Routing menu.

Note: Microsoft Excel must be installed on the PC that you are importing from, as Cim50 uses it to read the spreadsheet. Only .xlsx files can be selected.

Preparing the Spreadsheet

The booking lines must be on a worksheet called Import. If there is no worksheet with this name, validation stops with an error.

Row 1 must contain the column headings, and the first heading, in cell A1, must be ‘Works Order Reference’. Each row underneath is one booking. Do not leave blank rows, or blank headings between the columns.

Column headings are not case sensitive, but they must be spelt exactly as shown below. Any other heading is rejected as an unknown field name. Include every column, even if you have nothing to enter in it – enter 0 in the time and quantity columns you do not need.

Works Order Reference: The works order to book time against. It must already exist in Cim50 and must not be complete or cancelled. This must be the first column.

Operation Reference: The operation on that works order, as shown in the ‘Operation Reference’ column of the works order routing. It must be present on the works order.

Date: The date the booking is made for, for example 14/10/2026.

Time Started / Time Finished: Optional. The times the work started and finished, as text in 24 hour HH:MM format, for example 08:30 and 16:45. Either may be left blank.

Qty Completed: The quantity completed on this booking. It cannot be more than the quantity outstanding on the operation.

Labour Hours / Labour Minutes / Labour Seconds: The labour time worked, as whole numbers. The three columns together must not exceed 24 hours.

Setup Hours / Setup Minutes / Setup Seconds: The setup time worked, as whole numbers. The three columns together must not exceed 24 hours.

Machine Hours / Machine Minutes / Machine Seconds: The machine time worked, as whole numbers. The three columns together must not exceed 24 hours.

Note: Format the Time Started and Time Finished cells as Text before typing the times in. If Excel converts them to a time value, Cim50 will report ‘Invalid time specified.’ The hours, minutes and seconds columns must contain whole numbers; a value that is not a number is treated as 0.

Importing a Timesheet

Open the Timesheets screen and select the employee you are importing time for from the Employee drop down. The Import button becomes available once an employee has been selected.

Press the Import button to load the Import Timesheet screen, then press Browse… and select your Excel file.

Press Validate. Cim50 reads the Import worksheet row by row, showing the works order it is checking as it goes.

If any problems are found, they are listed in the grid with the spreadsheet row number and a description of the problem (see Validation Messages below). Correct the spreadsheet, save it and press Validate again. The file is read afresh each time.

When no problems are found, the message ‘Import validation complete. No issues found.’ is shown and the Import button becomes available. Press Import.

The screen closes and the imported lines are added to the Timesheets grid. Check the lines, amend any rates using the Costs button if required, and then press Confirm to save the timesheet.

Note: The Import button is only available after a successful validation, so nothing can be imported from a spreadsheet that still contains errors. The imported lines are not saved until you press Confirm on the Timesheets screen. If you close the Timesheets screen without confirming, no time is booked.

Rates and Costs

The spreadsheet holds times only, not costs. Once the lines are imported, the rates are filled in the same way as for a booking keyed directly into Timesheets: the machine and setup rates are taken from the operation on the works order, and the labour rate is taken from either the operation or the employee, depending on whether ‘Use employee rates’ is ticked in Works Order Settings > General.

Bookings against Completed Operations

If the Prevent bookings to completed operations setting has been enabled in Works Order Settings, validation will also reject any line for an operation that has no quantity outstanding. See Timesheets and Operation Times/Costs for more detail.

When the timesheet is confirmed, each imported line creates an operation booking against the works order, reduces the quantity outstanding on the operation, and updates the actual costs on the works order, exactly as if it had been entered by hand. If WIP nominal integration is switched on in Works Order Settings, the related WIP journals are posted to Sage at that point.

Validation Messages

The ‘Row’ column shows the row number on the spreadsheet where the problem was found. Problems with the worksheet or the headings show N/A, – or the heading row number instead.

Error loading Microsoft Excel. Please check Excel is installed and compatible with Cim50 and retry.
Cim50 could not start Excel. Check that Excel is installed on this PC and opens normally.

Worksheet ‘Import’ not found. Please ensure your import data resides on a worksheet called ‘Import’.
Rename the worksheet containing your lines to Import.

Unable to locate header row. Ensure row 1 column 1 contains the ‘Works Order Reference’ field.
Cell A1 must be headed Works Order Reference, with your headings in row 1 and no blank rows above them.

Column X ‘…’ is an unknown field name.
The heading in that column is not one of the headings listed under Preparing the Spreadsheet, or is blank. Correct the spelling or remove the column. Headings are checked before the data, so no data is checked until all headings are valid.

Works Order Reference cannot be blank.
Enter the works order reference on that row.

Works Order does not exist in Cim50.
Check the works order reference for typing errors, and that the works order has not been archived or deleted.

Works Order is marked as complete. / Works Order is marked as cancelled.
Time cannot be booked against a complete or cancelled works order. Remove the line, or reverse the completion first if the time is genuinely needed.

Operation Reference cannot be blank.
Enter the operation reference on that row.

Operation Reference is not present on the Works Order.
The operation is not on that works order. Check the operation reference against the works order Routing tab.

Operation has no outstanding quantity. The ‘Prevent bookings to completed operations’ setting is enabled.
The operation has already been fully booked. Remove the line or untick the setting in Works Order Settings.

Invalid date specified.
The Date cell is not a valid date. Enter a date, or format the cell as a Date.

Invalid time specified.
Time Started or Time Finished is not in the format HH:MM, for example 09:05. Format the cell as Text and re-enter it, or clear the cell.

Qty Completed is greater than the Qty Outstanding on this operation.
Reduce the quantity to no more than the quantity outstanding on the operation.

Labour / Setup / Machine Hours/Minutes/Seconds should not exceed 24 hours.
The time on that line adds up to more than 24 hours. Check that the hours, minutes and seconds have been entered in the right columns.