web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Update a Field based on Actual Close Date of an Opportunity

(0) ShareShare
ReportReport
Posted on by

We have a field as "Booking Value" under Opportunity. Salespeople enter a value under "Booking Value" when they close an Opportunity as Won.

An Account can have multiple Opportunities and as a requirement for a report/View creation, we need to show the Booking Value of only the first opportunity that Won for an account. For the rest of the opportunities relating to an account, the booking value should be hidden or null. Booking Value should be shown only for the first Won opportunity of that Account.

Does anyone know how can I achieve this?

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    To get the booking value into a view on account youll need to create a 1 to many relationship from Opty to Account - you can call it 'first booking opty' or anything really.  That would cover the view portion.

    To populate that field on the account, make a workflow that triggers when an Opty is closed as won, If parent account field - 'booking opportunity' lookup - is NULL add current opportunity, otherwise stop.

    Now you have your views able, your data is populating, but you still need to hide the field for the other opportunities.  I'm not 100% sure you can use a business rule here, but you can try it first.

    - Business rule from Opportunity, if related account booking lookup contains data - hide field on opty.

    If you cant go it with a business rule (I cant recall if you can lookup to parents) then you can do JavaScript to check this.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 62 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 43

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans