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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Workflow help - Converting a Quote into an Opportunity (Opportunity Products)

(0) ShareShare
ReportReport
Posted on by 8

Hi, 

I'm trying to create a workflow that will copy the data in a quote into an opportunity.

The main bit works fine, but im stuck when trying to copy the quote products over into the opportunity - as opportunity products.

How can i manage this?

pastedimage1619190097039v1.png

I have the same question (0)
  • Suggested answer
    Wahaj Rashid Profile Picture
    11,323 on at

    Hi,

    Thank you for your query.

    You cannot run get child records in the workflow (quote lines).

    You can write a custom code activity (custom step), to get the list of current quote products and create opportunity lines.

    Or, it is easier using Microsoft Flow.

    Here is the high-level flow idea:

    • Create Opportunity record based on Quote.
    • Use List Records action to get all quote lines.
    • Loop through each line and create Opportunity Lines. 

    If you cannot use Flow, here is another trick.

    Following toolkit you can update the child records:

    Dynamics-365-Workflow-Tools/Update Child Records.md at master · demianrasko/Dynamics-365-Workflow-Tools (github.com)

    Here is the high-level workflow logic:

    • Create a flag (two-options) on the Quote Line (for example, copy to opp). Set default value to No.
    • Workflow 1:
      • create opportunity based on the quote.
      • use update child records step (form the utility) to set the flag to true on the quote product.
    • Workflow 2: triggers on the Quote Line (update of the flag field) and creates the Opportunity Line.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 99 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 57

#3
Chris1968 Profile Picture

Chris1968 20

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans