Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Avoid multiple clicks in cross-entity BPF

Posted on by 1,075

Hello,

Is there any option to avoid drop down select when user clicks "Next Stage" in cross-entity BPF (Opportunity -> Quote) and automate Create Quote (behind scenes) when new quote, just move to Quote if it already existed. Your thoughts are much appreciated.

For Example: Opportunity to Invoice (B2B) BPF in CRM. When user clicks "Next Stage" on Solutionize stage, it should directly create Quote and should make user to land on Negotiate (Quote) entity. If Quote is already created for that Opportunity it should directly go to that Quote instead of asking user to select Quote on click on Next Stage. 

Avoid-Create.jpg

Avoid-multi-clicks.jpg

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Avoid multiple clicks in cross-entity BPF

    In one of the projects he is taking care of, I found a solution to this problem in the form of a plugin creating a new record.  In my case it looked like this:

    BPF consisted of two entities: opportunities and contract

    The user handled the sales opportunity in BPF, after completing all operations he clicked the next Stage, and went to the intermediate stage (Still on entity opportunity ).

    Based on the data in the StageID field of the opportunity, the plugin read the name of the stage (the name of the stage from and to which you are passing). If the transition was correct - we automatically created a contract according to the predefined conditions.

    Stage names the plugin checked if we are at the stage of creating a contract. If the intermediate stage was running the plugin that created the contract according to certain criteria

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Avoid multiple clicks in cross-entity BPF

    I am having similar kind of requirement. Did anyone get solution to this problem.

    I want to automate "Create" button behavior so that user will not have to click on "Create" but they should automatically move to cross entity form by clicking on "Next stage".

  • Manuesev Profile Picture
    Manuesev 115 on at
    RE: Avoid multiple clicks in cross-entity BPF

    Hi VJ. I think that you are experiencing a relationship issue. 

    The system is prompting you to select that record or create a new one because the 1:N relationship allow you to do that. 

    What you are intended to do suggest that both entities are related within a 1:1 schema. 

  • RE: Avoid multiple clicks in cross-entity BPF

    Mahender,

    Thanks. But I am not able to MoveNext event as it won't support moving cross-entity (i.e., from Opportunity to Quote when user clicks on Next Stage). Your detailed elaboration will be much appreciated.

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Avoid multiple clicks in cross-entity BPF

    Hi,

    You can write code for this, using plugin/js code you can create related quote entity record and jump to quote state directly.

    msdn.microsoft.com/.../dn817874.aspx

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans