cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent 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
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Users online (7,814)