Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to update a status field on an entity that is below the Opportunity entity?

(0) ShareShare
ReportReport
Posted on by 2

I have an Opportunity record.  When this record is closed as won, I need it to update that status field on a record from an entity that is below the Opportunity entity, called Sales Incentive.  I can grab the status from the Opportunity record and have it update the sales incentive record when the sales incentive record is first created, but after that I can't get it to update.  Any help is appreciated.

Thank you.

*This post is locked for comments

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 Moderator on at
    RE: How to update a status field on an entity that is below the Opportunity entity?

    Hi,

    If the above link doesn't work, you could try Dynamics 365 Workflow Tools solution which has a step to update children

    github.com/.../Update Child Records.md

    Download the version from here

    github.com/.../releases

    Hope this helps.

  • USA80 Profile Picture
    USA80 2 on at
    RE: How to update a status field on an entity that is below the Opportunity entity?

    Does it also work in D365 on prem?

  • Suggested answer
    Wouter Madou Profile Picture
    Wouter Madou 3,392 on at
    RE: How to update a status field on an entity that is below the Opportunity entity?

    I would use workflow distribution tool for that:

    archive.codeplex.com/

    just follow the steps to activate it in your environment. (The name is still 2011 but it works in 2016.)

    It will allow you to trigger a child workflow for each existing relationship on a parent.

    For online versions I would use MS flow for this.

  • USA80 Profile Picture
    USA80 2 on at
    RE: How to update a status field on an entity that is below the Opportunity entity?

    I would like to do this via a workflow.  So on the Opportunity record (which sits above this other entity) has a field on the form called, "Status Reason."  When the Opportunity Record is created it puts the Status Reason field to "Active" along with setting the Pipeline Phase to a certain value.  Now if I click on the "Close As Won" button from the ribbon on this opportunity record, I want the status on this other record from this other entity to get updated.  So basically anytime Opportunity Status Reason field is changed, I need the Sales Incentive Record status to get updated with the same value.

    Hope that helps.

  • Nflannery Profile Picture
    Nflannery 360 on at
    RE: How to update a status field on an entity that is below the Opportunity entity?

    Are you trying to do this via a plugin or a workflow?

    If it's a plugin please post the code.  If its a workflow please explain your logic more thoroughly.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans