Business Duration vs. Duration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2016 04:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2016 06:22 AM
Chuck,
Why are the hours so off from one another? Even states that are awaiting vendor or assigned have different hours.
Thanks,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2016 06:37 AM
Where do you set this "Default" Calendar/Schedule?
Thanks,
ML
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2016 09:36 AM
Apparently, this is now deprecated. Maybe ctomasi will be better to answer these questions.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2016 02:14 PM
Schedules are held in cmn_schedule. There is no 'default' that I am aware. They are called explicitly from scripts (when using the GlideSchedule class).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2016 02:22 PM
Thanks for the reply Chuck...but...
calDateDiff: Calculate the difference between two dates using the default calendar.
if (dataChange || current.business_duration.nil())
current.business_duration = gs.calDateDiff(opened, closed, false);
Indicates a "default" calendar is used...and in the code:
if (dataChange || current.business_duration.nil()) | ||
current.business_duration = gs.calDateDiff(opened, closed, false); |
it doesn't appear any calendar/schedule is explicitly implied...?????
Thoughts?
I've got users asking and when trying to calculate to confirm I'm not sure which cal/sched to use....
Thanks again.
ML