Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello,
The following two properties (described in the properties.html file in codebase) might be helpful to you in this regard. As you'll see, the default value for wt.calendar.calculateDefaults prior to 8.0 was false, which directed the system to check for non-working days and take those days into account when calculating duration. The current default is true, which calls for use of a fixed calendar with default non-working days:
wt.calendar.calculateDefaults
Default: true
Synopsis: Control whether task due dates and project plan estimated finish dates depend on system and user calendar working days.
Description: True - Do not check the system or individual users calendars for non-working days defined when calculating task due dates or project plan activity estimated finish dates. Use instead a fixed calendar with default non-working days specified by the wt.calendar.nonWorkDaysOfTheWeek property (which defaults to 1,7 with Sunday = 1st day of week and Saturday = 7th day of week) for all weeks of the year. This is the default value for Windchill 8.0 and improves system performance --particularly for tasks or activities with long durations (many days or weeks). False - Check the system and user calendars for non-working days defined and take these days into account when calculating task due dates and project plan activity finish dates. This was the default setting for versions prior to Windchill 8.0.
wt.calendar.nonWorkDaysOfTheWeek
Default: 1,7
Synopsis: The typical weekly non-work days.
Description: These are the days of each week that will be marked as non-working days in the Windchill System Calendar. The days are numbered 1 through 7 - Sunday being 1, and Saturday being 7. If these days are changed, the Method Server must be restarted and the ResetAll button must be selected in the Windchill System Calendar client before the modification takes place.
I hope this is helpful.
Jane
Jane Zupfer
VP, Windchill Publications
T 763-957-8299 F 763-957-8001
E -
PTC.com