cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Burhan
Level: Powered On

Dynamics 365 F&O - Post URL dynamically in flow

I created Purchase order confirmation webservice in D365 F&O and its running sussesful with dynamic Parameters of _PurchId through Postman.

 

class MZNBZPOConfirmWebserviceClass
{
public str POConfirm(PurchId _PurchId)
{
try
{

PurchFormLetter purchFormLetter;
PurchTable purchtable = PurchTable::find(_PurchId);
;

ttsBegin;

purchFormLetter = PurchFormLetter::construct(DocumentStatus:Smiley TongueurchaseOrder);
purchFormLetter.update(purchtable,purchtable.PurchId,systemDateGet(),PurchUpdate::All);

ttsCommit;

result = strFmt("%1Purchase order was successfully confirmed", _PurchId);
}
catch(Exception::Error)
{
result = "Error: You do not confirm the purchase order";
}
CodeAccessPermission::revertAssert();


return result;
}

}

Webservice running succesful but when I post through Powerapps with Microsft flow. Its confirm all Purchase order but I pass parameters in attached screen shot.

 

How to Passs Paratmetes in webservice of Http with azure AD? Purchase order number dynamically change when we select another Purchase order.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 396 members 4,243 guests
Please welcome our newest community members: