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
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,671)