Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Issue 2 - Can't edit an opportunity - That is not true!!!

(1) ShareShare
ReportReport
Posted on by 11
 
There is no way to update an opportunity that has been closed. I can prove this is not true, and I can give you the steps to replicate my issue and explain how I have fixed it. I hope Microsoft's team fixs it on its end.
 
 
Scenario: you have the same opportunity open in two browsers:
Imagen
 
Now, you close as won one of the browsers:
 
Imagen
 
finally, go to the other browser, and update information, and click on Save....

How is this possible? why there is no check on save that the statecode is equal to 0 to allow the saving?
 
 
Imagen
 

this is the code I make to prevent when I force the onsave, but I wonder if Microsoft's team can do better than me
Imagen
 
getOpportunityState_fm makes a synchronous call to the webapi to get the latest status of the record, and if it is open (0), then it allows it to save /update the changes
 
 
 
  • GE-29081400-0 Profile Picture
    11 on at
    Issue 2 - Can't edit an opportunity - That is not true!!!
    @Amit Katariya007, thanks for your suggestion.
     
    Unfortunately for me, I am not using a plugin I am creating.
     
    This is Microsoft Core Code, and so far they are not willing to share it with me so I can improve it to match their statement that the Opportunity can not be modify after it is being closed.
     
    I know they are working on it, or so I have been told in multiple follow-up emails I have received.
     
     
     
     
  • Community member Profile Picture
    on at
    Issue 2 - Can't edit an opportunity - That is not true!!!
    aaa
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 1 on at
    Issue 2 - Can't edit an opportunity - That is not true!!!
    Hello User,
     
    Please refer this article which will help you to understand the Concurrency Control when updating a record.
     
    Thank you,
    Amit Katariya
     
     
  • GE-29081400-0 Profile Picture
    11 on at
    Issue 2 - Can't edit an opportunity - That is not true!!!
     
    You are right that the same salesperson might not have two browsers open at the same time. But what if a sales manager is checking the Opportunity, and the salesperson closes it as won, but the manager fixes something and clicks on save?
     
    What if you have a process where multiple people check the status of their areas in the opportunity and, while checking, the sales rep closes it as won? 
     
    That scenario is possible (at least in our company), and I am just saying, please check if you can save before saving. It is a valid statement what you say at the end; systems might not have been designing to work like that.
     
    But they can be changed, and I am using their webapi to prove it can be done. I am not a Microsoft employee, but I know they are way more intelligent than me :)
     
    Regardless I still have this problem, and so do you!!!
  • Sachin Jadhav Profile Picture
    157 on at
    Issue 2 - Can't edit an opportunity - That is not true!!!
    I think what you are trying to do seems to be bit unusual way for sale person to operate on an opportunity.
    Why would opportunity owner open opportunity in 2 different tabs to work on?
     
    When you load the form, it gets loaded in current state on client side, so at this moment its not really able to understand what update happened on the server side.
     
    Yes, ideally on save it should recheck some critical validations like the one you mentioned, but unfortunately system may not have been designed that way currently. 

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June 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
Holly Huffman Profile Picture

Holly Huffman 103

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 96 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 51 Most Valuable Professional

Product updates

Dynamics 365 release plans