cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

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

1 REPLY 1
Highlighted
Community Support
Community Support

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

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (10,623)