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 Ranks and Rank Icons in April

Read the announcement for more information!


Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.


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!


Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,409)