Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Unanswered

How to retrieve the Customer Service Calendar that is linked to a case's SLA ? [2024 Update]

Posted on by 2
Hi All,
 
I've been searching this forum and doing significant Googling but I can't seem to find out an update of how to retrieve the Customer Service Calendar that is linked to a case's SLA. There were some answers floating around and the most common one is by getting the businesshoursid from the sla entity. However, it seems I cannot find this attribute and the VS debugger throws a Null Reference Exception.
 
Can anybody help to point out what I'm doing wrong? Other suggestions and alternative approaches are also welcome and much appreciated.
 
Below is the exception I encountered:
 
//
  • CU27080753-1 Profile Picture
    CU27080753-1 6 on at
    How to retrieve the Customer Service Calendar that is linked to a case's SLA ? [2024 Update]
    Utilize the debugging tools in Visual Studio or the Dynamics 365 platform to inspect the values of variables and objects at runtime.  
  • How to retrieve the Customer Service Calendar that is linked to a case's SLA ? [2024 Update]
    Never mind I got it. 

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,339 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,177 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans