Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Dynamics365 : Stop Products from Copying when Quote is Created

Posted on by Microsoft Employee

Good day everybody!

So i am developing in Dynamics365 CRM and i need Opportunity Products NOT to get copied when one creates a new quote. I want to manually do that with a plugin, so as to perform certain calculations an set custom fields. How do i disable this out of box feature?

Thanks again everybody!

*This post is locked for comments

  • Suggested answer
    Mahadeo Matre Profile Picture
    Mahadeo Matre 17,021 on at
    RE: Dynamics365 : Stop Products from Copying when Quote is Created

    Hi,

    I also had similar requirement, I achieved this by customizing +New button command on Quote subgrid.

    I customized command and called my own function with the same parameters passed to +new button command action.

    Then in my own JavaScript function checking for parentEntityTypeCode =3 then calling workflow which will create Quote from Opportunity using GenerateQuoteFromOpportunityRequest request, and then deleting products copied from opportunity.

    When parentEntityTypeCode !=3 then calling same function used in +new button command, so that it will do same work from other entities like account or contacts to create quote.

    Hope this will give you idea.

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