
I have built a Cloud Flow that does a lot of data checks in connection with a Sales Order in D365FO via the connector Fin & Ops, before a generation of an Invoice.
If all data checks are correct, I want the flow to trigger/generate a creation of an Invoice based on the given Sales Order.
Bonus info: Lasernet is being used.
Does anyone have a suggestion on how this can be resolved via Cloud Flow?
I can’t find a way to do it.
Hi Schmucker1,
What type of check do you perform? When the order needs to be invoiced, would it be based on delivered quantities? Do you have any exceptions where e.g. a delivered line should not be invoiced? What would be the relation with Lasernet here? I do assume Lasernet is used for the document lay-out and routing?
My initial thought would be using the standard batch routine for invoicing the orders. You can add a custom field to indicate if all check are passed or not. This can be done via Visual Studio or via configuration: Custom fields: Handle with care (Microsoft Dynamics 365 for Finance and Operations) (dynamicspedia.com). Ensure the field is also added to the data entity used in your flow. This field can be used as condition in the batch job to post the invoice.