Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

How to update the "Close Date" in opportunity close form when a "Close as Won" button is clicked

Posted on by

Hi Community,

I have /Actual close date/ on opportunity form and when I click on /Close as Won/ button a /Quick Create: Close Opportunity/ form popup with the Close date auto populated as the todays date. My requirement is to copy the value present is /Actual close date/ of opportunity form to the /Quick Create: Close Opportunity/ form. Below are the approaches I have tried as of now but haven't got any result.

1. Writing the js onload of /Quick Create: Close Opportunity/ form - the actual close date value would populate but then it will get overridden by the System date.

2. Customizing command of /Close as won/ via ribbon workbench. - Tried calling the custom js in the command and inside js I have called the OOB script but no luck on that as well.

Kindly let me know how to resolve this challenge.

 

  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    How to update the "Close Date" in opportunity close form when a "Close as Won" button is clicked
    Hi Partner,
    Maybe you can try to pre-populate values in the Opportunity Close form from the corresponding opportunity through mapping fields.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans