How to use business calendar in Dateformat(2d,5hago ) in datetimecontrol readonly mode
Description: We calculate SLA in business days, but the display of deadline time and goal time on workbasket grid using section pyDeadlineTimeWithPriority does not consider the business calendar.
goal time = 3 business days before the Expected closing date ( a value filled in by user while working on assignment).
Deadline time is as the Expected closing date.
Eg- Expected closing date ( 7th April 2020)
Goal time =2nd April 2020
Deadlinetime= 7th April 2020
So SLA is triggered 3 business days before ( on goal time) 2nd April
Business requirement is to show on screen the deadline time
On UI in the work list and workbasket grids we show deadline time using Pega date format
2d,5h ago which considers the calendar days and not business calendar.
i.e. when user check on 2nd April , the overdue shoes 5 days
but requirement says it should show 3 days (considering only business days)
as fot the user sat sunday is non working so 5 days looks misleading.