Book Image

Extending Dynamics 365 Finance and Operations Apps with Power Platform

By : Adrià Ariste Santacreu
Book Image

Extending Dynamics 365 Finance and Operations Apps with Power Platform

By: Adrià Ariste Santacreu

Overview of this book

Uncover the synergy between Microsoft Power Platform and its integration with Dynamics 365 Finance & Operations (F&O) with this essential guide to implementing low-code and no-code concepts to not only extend and enhance F&O but also improve maintainability and speed up development. Systematically exploring Power Platform, this book covers topics such as Dataverse, Power Automate, Power Apps, and Power BI using real-world scenarios in Dynamics 365 F&O to offer practical insights. You’ll then master the integration of F&O and Power Platform using dual-write and virtual tables, and delve into process automation with Power Automate. The book further deepens your proficiency in Power Apps by showing you how they can be used to extend the F&O functionality and incorporate artificial intelligence using AI Builder and its pre-trained AI models ready to use with your data. Throughout, you’ll gain a solid understanding of the diverse components of Power Platform and how they can transform your Dynamics 365 F&O experience. By the end of this book, you’ll be equipped with the skills and knowledge necessary to fully harness the immense potential of Power Platform and Dynamics 365 F&O.
Table of Contents (18 chapters)
Free Chapter
1
Part 1: Dynamics 365 Finance and Operations and Power Platform
4
Part 2: Extending Dynamics 365 F&O with Power Platform
11
Part 3: Adding AI to Your Flows and Apps
13
Part 4: Dataverse and Power Platform ALM

Using the F&O connector to update a record

We can’t update the records straight away. Remember that the JSON file is an array, so we need to loop through the items in the array to process each one. Add an Apply to each control block (see Figure 5.9):

Figure 5.9 – The Apply to each control block

Figure 5.9 – The Apply to each control block

In this control block, we must select the Body element of the parse JSON action. The body contains the JSON array we need to loop through. All the actions we add inside this block will be repeated for each item of the array.

Next, we will process each record – first selecting it and then updating the record if we need to.

Getting the existing record

Remember that to update a record in Power Automate using the F&O connector, we have to select it. This is similar to what we do in X++ – we need to do a select forupdate first, and then update it.

To do that, we will use the Get a record action of the Fin & Ops Apps...