Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Est. revenue field keeps unlocking on the opportunity form

(0) ShareShare
ReportReport
Posted on by

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
    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
    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
    50,091 Moderator 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
    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
    50,091 Moderator 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
    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
    50,091 Moderator 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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans