web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Interesting Issue with Entitlements

(0) ShareShare
ReportReport
Posted on by 115

Hi

We have just migrated from contracts to entitlements, like many others probably. However, we have now found an issue that we did not pick up in testing. 

Basically, when a case is created, if the customer has no entitlements on the system then the case form will let the user create the case with leaving the entitlement blank. If the customer has entitlements (we typically have about 4 entitlements per customer, covering different products) everything is fine if one of the entitlements is selected. If the entitlement field is left blank, then we get an 'unexpected error'. 

Has anyone come across a similar issue? 

Thanks, Will

PS Error log file is as follows... 

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: An unexpected error occurred.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>An unexpected error occurred.</Message>
<Timestamp>2015-08-12T15:05:07.843068Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>

[Microsoft.Crm.Service.ObjectModel: Microsoft.Crm.Service.ObjectModel.CasePreCreatePlugin]
[599729e0-4ccd-472b-8133-ddec4eb1452d: CasePreCreatePlugin]


</TraceText>
</OrganizationServiceFault>

*This post is locked for comments

I have the same question (0)
  • Verified answer
    flavia.takushi Profile Picture
    on at

    Hi Steady,

    I checked internally and found some similar errors.

    Please open a Support Case so CRM Support Team can help you solving this issue.

  • Steady Profile Picture
    115 on at

    Thanks Flavia, I'll do that.

  • Verified answer
    Steady Profile Picture
    115 on at

    Microsoft have resolved this issue for me, with the following fix: 

    1. Edit the Entitlement entity form and configure the “isdefault” field not to be read only
    2. Go to Settings >> Customizations >> Customize the System
    3. Go to processes, create a new workflow as follows:

    8473.2.jpg

     

    8473.2.jpg

     

    1. Create an Advanced Find as follows:

    3107.3.png

    1. Execute the created workflow to all to result of the advanced find. This will change the NULL values to 0. There might be other alternatives, feel free to test them and update the thread.
    2. Edit the form and change the field “isdefault” to be read-only again.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans