Skip to main content

Posts

Showing posts from August, 2025

Custom Service Integration to sending response as a list in D365 F&O || Inbound integration

  Hello Devs, Custom service is very common when it comes to third party integration. Here I will explain using inbound integration to design a custom service and expose the service for integration. Requirement : Need to send list of employees who are on leave today This service will be used by third party Application We will start from creating Response class, 1) Response class 2) A Helper class to hold Response within a list 3) The main Service class to hold logic 4) Simply, Once populating all response values and adding them into list, Return List Response . That is in my case, return ResponseList; 5) Creating service for your service class 5) After service, create service group 6) Assign Service class to Service element 7) Now assign our Service to Service Group (You can drag & drop also) 8) Test your service (On any browser) Structure : Environment URL/API/Services/YourServiceGroupTitle/YourServiceTitle/YourMethod In my case it looks like this, Testing your ...

Calling D365 F&O Code from PowerApps | Finance and Operations | Dynamics

  Dear Devs! This blog will be very helpful for those who needs to call methods of D365 F&O from PowerApps. Specially methods which hold logic for calculations or display methods(Indirectly). Pre requisites: Must have connected account ( PA-D365) Already have Data entity created. Steps : 1) The first step after creating entity is to create method which will be called from Flow. 2) Create a flow to test the logic/ Use power App 3) Search for Dynamics F&O execute option 4) Select your environment details under instance and select action which will have entity and its method details. First part : Entity Name Second part : Attribute you set above method declaration 5) Once you run the flow successfully it will return you required output. Hope you find this code helpful. Shayan Arshi