How does Timesheet works?

Hello team,
I’m doing some tests to implement ERPNext to a garment manufacturer.

Manufacturing Settings:
Unchecked: Disable Capacity Planning and Time Tracking
Unchecked: Allow Overtime
Unchecked: Allow Production on Holidays

Workstations have 10 labor hours per day.

(For example) To sew a pair of jeans are required 58 operations at 15 workstations. The minimum quantity to program is 2,500 pieces. After it’s started the Production Order, when it’s clicked on “Make Timesheet”, appears the Message: “Operation XXXX longer than any available working hours in workstation YYYY, break down the operation into multiple operations”.

How does ERPNext program and schedule? If isn’t allowed the overtime, does it try to schedule only during one single day?

I tried allowing overtime at manufacturing settings, but even I if don’t do any changes at “From time” and “To time” fields, appears a Message: “Row ##: From Time and To Time of TS-0000# is overlapping with TS-0000#”. I tried changing date and time values, but keeps warning about overlapping.

Any idea?

You have to break your operation into number of operation for example operation A has working hours 12 then you have to divide it into 2 to 3 operation like A1(6 hours) and A2(6 hours). I hope you have added the working hours in the workstation.

You need to enable Allow Overtime option in the manufacturing settings

Current timesheet is overlapping with the existing one. When you are getting this error, during submission of production order or creation of timesheet


Hi again,

¿Why should I break it? ¿What if there’s only one machine available to do that operation? Working hours are established from 8:00 to 18:00.

Overtime: Work performed by an employee or worker in excess of a basic workday (typically 8 hours a day, 5 days a week) as defined by company rules, job contract, etc.

ERPNext should be able to program an operation among one, two, three or as many days as necessary to complete an operation, and not necessarily out of the regular working time.

A different example: What if a Sales Order requires to manufacture 10,000 bolts and can be produced in only one machine at shop? Only one Production Order would be created and it really would take many weeks to manufacture. ERPNext then would require to break operations, but should be able to schedule among working hours and extend to following days, not only based on one single day if overtime it’s not setup.

Because if overtime is setup, the timesheet schedule (effectively) on hours before or after the regular between 8:00 and 16:00.

It happens when try to submit the Timesheet, even if I don’t make any changes. If the timesheet and schedule are created automatically, should be possible to submit it without any change otherwise ERPNext it’s not calculating correctly the schedule.

@JayRam this may interest you.


@Francisco_Buendia: It does. I remember having encountered this problem many months ago and I had got to the stage to get it fixed and I think I was advised that I should raise a GitHub issue on this. I’m not sure if I followed through, but yes, ERPNext should schedule production across shifts, days, weeks and months if required. It is very inelegant to expect users to break up a production order into multiple days.

This definitely needs to be fixed ASAP. Please do team Frappe.