cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
juandelgado
New Member

Create new Invoice with Products from existing Order - Dynamics 365 Sales Flow

Hi everyone,

 

I trying to create a new Flow to run from Dynamics 365 Sales Hub, specifically to create one (or multiple) Invoices from an existing Order (salesorder), and my problem is that I don't know how to 'carry out' or 'link' the existing Order Products to the new created Invoice.

My Flow works fine on creating the Invoice or Invoices, but, the new invoices are created without any Products of the existing in the Order 😞

Invoice Created from Flows without Products (line items)Invoice Created from Flows without Products (line items)
If I create the Invoice directly from Dynamics 365 from one Order, the new Invoice is created with the products on the selected Order.

Invoice With Products created from DynamicsInvoice With Products created from Dynamics

I need to replicate this Process from Dynamics 365 creating the invoice with Products.

 

Create Invoice Flow (PA)Create Invoice Flow (PA)

 

My current Flow looks something like this:

 

On the "Create a new Invoice" (is a Dynamics Operation for a Invoice entity) I do not see any field related to "Products" or similar to link the Products from the Order to the new Invoice.

 

I Found another Entity called "Invoice Products" on the Dynamics Connectors but I don't know how to link the recently created Invoice to the Products in the Order (or the Opportunity). Foreach 1:N.

 

I hope someone can help me on this...

 

Best regards.

 

0 REPLIES 0

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,833)