Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested answer

Entitlement Renewal with autonumber field

(0) ShareShare
ReportReport
Posted on by 21
We have a custom autonumber field in our entitlements, to give each entitlement a unique number.  It works fine when we create an entitlement manually but when we use the 'renew' button on expired entitlements the value from that field is copied across to the new entitlement, and a new number is not generated.  
 
I have tried to find a way to stop this but so far no luck.  I can't even find the process that executes when you click on the 'Renew' button on ribbon.  Does anyone know how this operates and/or a way to fix this?
 
Thanks in advance :)
  • Suggested answer
    RudyZhang Profile Picture
    Microsoft Employee on at
    Entitlement Renewal with autonumber field
    Hi,
     
    Regarding your question about the Unique field not generating a new value when renewing an expired entitlement
     
    According to Microsoft's official documentation, when you choose to renew an already expired entitlement. The start date of the new entitlement will be set to the current date and the end date will be set to the current date plus the number of days between the end date and the start date. The data in the other fields will be copied from the old license as is.

    The document link is as follows
    Create entitlements to define the support terms for a customer (Dynamics 365 Customer Service) | Microsoft Learn
     
    Our team has tried to reproduce your actions including creating fields, creating entitlement renewals, etc. And try to find what controls the Entitlement renewal
     
    In Ribbon Workbench, we found that this button executes Mscrm.Form.entitlement.Renew, a command that comes from the official Microsoft SDK and we have no way to change

     
    The following related documentation
    RenewEntitlementRequest Class (Microsoft.Crm.Sdk.Messages) | Microsoft Learn
    RenewEntitlementResponse Class (Microsoft.Crm.Sdk.Messages) | Microsoft Learn
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans