Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Bad Request 400 Unable to Update Sales Agreement Lines - D365FO and PowerApps

I have created a PowerApp and using MS Flow to help in order to create the Sales Agremeement Lines.


Created a PowerApp and created a flow from PowerApp. Use some variables to pass to the flow to update fields such as Product, Line Number .. etc. I have faced issue when updating the "committed quantity" it seems it always default to quantity 1 by design. I have check the variable is passing from "Data Operation -compose" for that. Therefore I have added another part to the flow to update back the "committed quantity" field.


When I try to use the flow "Get a Record" option it get's an issue in the "Sales Agreement Legal Entity ID" . It says Update is not allowed for the field. I have checked the values are passing correctly. Anyone can shed some light to the issue will be happy.  


Error Image.png

Community Support Team
Community Support Team

Re: Bad Request 400 Unable to Update Sales Agreement Lines - D365FO and PowerApps

Hi @Kasun_Pathirana,


I have no permission to use Dynamic Fin & Ops, I can't provide you a workaround, but some advice can be provided.
The error is the field could not allow being updated, so you can check the field setting and type. Confirming if it could be edited and field type you input whether right.


Best Regards,

Community Support Team _ Lin Tu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


New & Improved Power Automate Community Cookbook

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


Power Automate Community User Group Member Badge

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


Incoming: New and improved badges!

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


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

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