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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Duplicate related records to custom entity when quote is closed and contract is created

(0) ShareShare
ReportReport
Posted on by

Duplicate related records to custom entity when quote is closed and contract is created

Process

We defined the following sales process in our CRM environment:

Step 1: Create Opportunity

Step 2: Create Quote

Step 3: Add records to a custom entity (quote_ean) which is related to the quote (1:N relationship)

Step 4: Activate quote

Step 5: Close quote, Create sales order based on quote information, finish opportunity as succesfull

Step 6: The related records from Quote_Ean needs to be copied to a new entity SalesOrder_Ean

Problem

Is it possible, without using a plugin of SDK, to copy the related quote_ean records to a new entity (salesorder_ean)? We were thinking about a workflow but the problem is the 1:N relation, it should be possible to create 1 or more SalesOrder_EAN records.

I created a simple overview to explain our request

Quote_5F00_SalesOrder.png.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Syed Ibrahim Profile Picture
    6,257 on at

    Yes you can create a plugin to create the same record in your custom entity upon change of status to Won.Register your plugin on update of quote entity.

    Hope this helps

  • Community Member Profile Picture
    on at

    Syed,

    Thnx for your quick response. Are there default plugin templates existing for this solution? Or need we to create a selfmade plugin?

    There isn't a solution for my problem without using a plugin?

  • Verified answer
    Syed Ibrahim Profile Picture
    6,257 on at

    There is no default template or code available. You need to create it. You have try similar like below.

    social.microsoft.com/.../plugin-to-fire-on-quote-win

    Hope this helps

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans