Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

How to solve Mscrm enable rule false

(0) ShareShare
ReportReport
Posted on by 120

I upgraded from 2016 on-premise to 365 on-premise. On my cancel order button I have Mscrm enable rules that showed me my button with no problem(2016). but now (365) my button is hidden and I get False from mscrm Enable rule.(shown in the pictures add.)

1. how can I find out why I get the false from that rules

2 if I delete these enable rules will it harm the cancel funcionality ?

pastedimage1674033274948v1.png

2677.MicrosoftTeams_2D00_image-_2800_2_2900_.png

5381.MicrosoftTeams_2D00_image-_2800_3_2900_.png4743.MicrosoftTeams_2D00_image-_2800_4_2900_.png

  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,393 User Group Leader on at
    RE: How to solve Mscrm enable rule false

    Yes. they are optional to delete

  • damka Profile Picture
    120 on at
    RE: How to solve Mscrm enable rule false

    thanks is it optional to delete them?

  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,393 User Group Leader on at
    RE: How to solve Mscrm enable rule false

    Hi Damka,

    You need to check salesorder.js and look for IsSalesorderactive function. You can check in the chrome dev tool If the function is getting called or not. Also, check If it is using any field that is not on the form or deleted.  
    pastedimage1674040988986v1.png

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: How to solve Mscrm enable rule false

    Hi,

    If you would like to see the Microsoft code then you can try below format

    Organization Uri/WebResources/javascript web resource name

    You need to use ribbon workbench tool to know the javascript library for Cancel Order button Enable rule

  • damka Profile Picture
    120 on at
    RE: How to solve Mscrm enable rule false

    Thank you, How can I see the fields in the functions ? it's Mscrm enable rule How can I reach that code?

    About the harm issue I just want to make sure that Mscrm doesn't show me the button because that orders can not be deleted or there will be a logical problem...

  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,393 User Group Leader on at
    RE: How to solve Mscrm enable rule false

    Hello Damka,

    Please check the form and fields that the rule is referencing If they have not been renamed/deleted.

    Also, I don't think deleting enable rules will not harm the cancel functionality. It is just that It affects the visibility of the button.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 671 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 167 Super User 2025 Season 1

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 138 Most Valuable Professional

Product updates

Dynamics 365 release plans