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::PurchaseOrder);
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

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,642)