I wanted to write this blog post as an explanation of my answer to a question on the Dynamics 365 for Sales Forum at the Dynamics 365 Community, but I didn’t publish it until now.
This flow will copy the Price List Items of a Price List that is selected on a Quote, to the Quote Lines.
This is the overview of the flow:
![](https://i0.wp.com/2die4it.com/wp-content/uploads/2019/08/CopyPriceListItemsOverview1.png?resize=810%2C667&ssl=1)
In this case I will use a ‘When a record is selected’ trigger to be able to enter the quantity for all products that are added.
![](https://i0.wp.com/2die4it.com/wp-content/uploads/2019/08/CopyPriceListItems1.png?resize=614%2C840&ssl=1)
For each Price List Item of the selected Price List we get the Product Name and create a Quote Line record for the Quote that is triggered on. The Quantity of the input field is used to set the Quantity.
![](https://i0.wp.com/2die4it.com/wp-content/uploads/2019/08/CopyPriceListItemsPart2.png?resize=810%2C955&ssl=1)
![](https://i0.wp.com/2die4it.com/wp-content/uploads/2019/08/CopyPriceListItemsPart3.png?resize=806%2C763&ssl=1)
Now I create a new Quote and start the Flow:
![](https://i0.wp.com/2die4it.com/wp-content/uploads/2019/08/RunFlowtoCopy.png?resize=810%2C363&ssl=1)
And the 35 items of the Retail price list are copied to the Quote Lines.
![](https://i0.wp.com/2die4it.com/wp-content/uploads/2019/08/FlowResult.png?resize=803%2C379&ssl=1)
![](https://i2.wp.com/2die4it.com/wp-content/uploads/2019/08/FlowResult2.png?fit=810%2C356&ssl=1)
One comment