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


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.


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.


Flow Community User Group Member Badge

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


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

Users Online
Currently online: 63 members 3,713 guests
Please welcome our newest community members: