lingdanglfw(DAX)

导航

Power Automate and its connector for Microsoft Dynamics 365 Finance and Operations apps

In this third and final post about Power Automate and its connector for Microsoft Dynamics 365 Finance and Operations apps, we are going to talk about the different write operations that exist in it. These operations are the following:

Before starting with them, we must bear in mind that these operations will be available only for those entities that have the Is Read Only property with value No, that is, entities that allow data to be written.

Visual Studio properties - Is Read Only = NoVisual Studio properties – Is Read Only = No

In fact, Power automate itself warns us, as we can see in the following screenshot:

Insert/Update/Delete not allowed for entities with ReadOnly = YesInsert/Update/Delete not allowed for entities with ReadOnly = Yes

Create record

We will use the Create record action, obviously, when we need to create new data within MSDyn365FO.

Power Automate - Create recordPower Automate – Create record

The first thing we need to indicate is the Instance on which we are going to work, and the entity on which we want to create new data. Once these two parameters have been selected, we will see how the necessary fields appear to be able to create the new record.

Power Automate - Create recordPower Automate – Create record

Continuing with the Customer group entity, we will indicate the minimum data necessary to be able to create the record, which are the customer group code and the company code. If we click on the link Show advanced options, the rest of the fields that are available within the entity will appear to complete the information. Once the flow is executed, we can see how the record has been created in the system.

Create record executedCreate record executed
Dynamics 365 F&O - Customer groupsDynamics 365 F&O – Customer groups

Now, if we consult the IIS log of our instance, we can verify that Power Automate is making a POST http call over Dynamics 365, sending the data that we have completed in the flow in the body of the call.

posted on 2022-01-30 13:24  lingdanglfw  阅读(95)  评论(0编辑  收藏  举报