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 :
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,321 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

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans