Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Est. revenue field keeps unlocking on the opportunity form

Posted on by Microsoft Employee

Hi

I have set a business rule to lock the est. revenue field on the form as soon as a value is entered. It locks once the value is entered and then as soon as I save the form the field unlocks. We have the est. revenue field in the main body of the form and also the header - they both link so that when one field is updated the other one is also, it is also a mandatory field.

Please can you let me know why it would unlock on saving the form?

Thanks

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Est. revenue field keeps unlocking on the opportunity form

    Hi,

    This is OOB functionality from MS. The business rule functionality will be overridden by MS behaviour. 

    You can try this in a trial account, it behaves the same way. 

    Najm

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Est. revenue field keeps unlocking on the opportunity form

    No we don't have any javascript on the form - is that what you mean?

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Est. revenue field keeps unlocking on the opportunity form

    Do you  have any kind of JS call   in the form onload ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Est. revenue field keeps unlocking on the opportunity form

    Hi Goutham

    Thanks for that, my process replicates yours and my opportunity does the same as yours all the way to saving it when the opportunity saves but the field then becomes unlocked.

    Thanks for your help, however I am going to now raise this with our CRM consultants as there must be something running in the background preventing it from permanently locking.

    Thanks

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Est. revenue field keeps unlocking on the opportunity form

    Hi Jess,

    Here I have created BU on Budget Amount in opportunity entity. See its working for me  -

    My Business Rules , scope I chooses Opportunity  -

    BU3.png

    Here I am typing on new Opportunity  Form its unlock while typing   -

    5773.BU1.png

    After finish my typing I move out the cursor , fields got locked . I have not save Opportunity yet. See its still showing New Opportunity in the header.

    0042.BU2.png

    Now I am going to saved the record and see fields got locked permanently -

    BU3.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Est. revenue field keeps unlocking on the opportunity form

    Hi Goutam

    It still doesn't work. I have placed an image of the workflow below, note est. revenue = annualised revenue. Again when i add a value into one of the fields the lock sign appears, however when I go to save it, it unlocks itself.

    Thanks

    Est.-revenue-process.JPG

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Est. revenue field keeps unlocking on the opportunity form

    Hi Jess,

    Could you please share what condition you applied in the business rules?

    Try to make condition like below -

    If you want to field lock based on other field-  

    ===============================

    IF SOME FIELD CONTAINS DATA

    SET EST. REVENUE LOCK

    ELSE

    SET EST. REVENUE UNLOCK ================================

    OR

    if you want to set lock based on EST. REVENUE field

    =================================

    IF EST REVENUE CONTAINS DATA

    SET EST. REVENUE LOCK

    ELSE

    SET EST. REVENUE UNLOCK

    Make sure you set the business  rules scope All Forms.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans