This solution allows custom production shifts from work orders depending on work calendar, number of shifts, etc.