Friday, January 23, 2015

Change Your Calendar Working Days and Time

In our previous post we introduced how you can give everyone a level of effort and hourly rate so that a cost per task assignment may be calculated. Of course, there are more components to computing this cost, and they are your working day and working time values within a calendar, or many days per week and how much working time per day. By default IntelliGantt for SharePoint 2013 uses Monday through Friday as working days and 8 hours per day of working time (a morning period from 8:00am to noon and an afternoon period from 1:00pm to 5:00pm). This results in a simple project cost as shown below.




You can change both the working days and time via the configuration.js file. This is usually located with your IntelliGantt_Online.aspx or IntelliGantt_Inhouse.aspx file within the Site Assets library. Or it can be in a centralized spot, depending on how you've set up all your SharePoint projects.



Here we see the default working days as defined in an array called 'WorkingDays' within the 'Calendar'. The array is a collection of 7 flags, with the first position representing Sunday. If we want to make Wednesday a non-working day, then we switch 4th flag to '0'.





Now when we see IntelliGantt notice that Wednesday is rendered as non-working time. This also affects the cost calculation as you can see the task costs and rollups have changed as well.




The other piece we can change is the working time per day. Back in configuration.js IntelliGantt has a 'periods' parameter where you can define one or more working time periods per day, their start time and their finish time (in seconds). We can either adjust the 'morning' and 'afternoon' periods by changing the start and finish times, or we can introduce a new period altogether like 'evening'.



Once again we refresh IntelliGantt and see that the cost values have changed again as the new working periods are calculated.



This calendar feature will address issues where countries have different working days and/or working times. We will also be introducing holidays and other special days that are either fully non-working or have distinct working periods.

2 comments:

DavidJ said...

John,

I have made multiple attempts over several weeks to reach team direction support for Intelligantt for SP2010 + MS Project Add-in but cannot get a reply back. The problem isn't critical and is likely a minor permissions issue. I have sent email and called the number on the team direction website. We really like the product but I am concerned about support availability.

Thanks,

David
Project Manager for Nashville, TN Law Firm.

Unknown said...

Hi David,

I just saw your message and sent you a note to set up a meeting for your question Monday morning.

Let's resolve it first thing. Thank you!

John Milan