cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Adde1
New Member

Error updating a record in Dynamics 365 finance and operation fails

I have the following process:

 

1.) Created a new custom entity in Dynamics 365 finance and operation

2.) Pushing data to an external Azure database

3.) Third party app reads data

4.) Third party app created result record in a azure sql table

5.) created a flow to update my custom entity with the results above.

 

Any idea?

 

The problem is that I'm getting the following error :

 

{
  "status": 400,
  "message": "An error has occurred.  No resources were found when selecting for update.\r\nclientRequestId: 3294da62-9fef-4fb8-a900-36c27322b8bb",
  "source": "azne-per-fno-dev016e97056e3e72cc22devaos.cloudax.dynamics.com",
  "errors": []
}

 

here is a screenshoot of the flow:

 

Flow1.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @Adde1 ,

 

The error message told that No resources were found when selecting for update in the "Update a record" action.

I afriad that you have entered wrong information in the "Update a record" action so the action couldn't find the record that you mentioned and update it.

 

Please make sure that the Object id, WorkID, LineNum, WorkType, dataAreald that you entered in correct in the "Update a record" action.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-alzhan-msft
Community Support
Community Support

Hi @Adde1 ,

 

The error message told that No resources were found when selecting for update in the "Update a record" action.

I afriad that you have entered wrong information in the "Update a record" action so the action couldn't find the record that you mentioned and update it.

 

Please make sure that the Object id, WorkID, LineNum, WorkType, dataAreald that you entered in correct in the "Update a record" action.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

gogoaic
New Member

Hi,

 

Also I have the problem while I am trying to delete object using cross-company parameter, but how to put on saving method?

I am using oDataClient, I get the record like this:

var query = from Table_AdSv in context.Table_AdSv.AddQueryOption("cross-company", true)....

using DataServiceCollection.

 

When I'm trying save the changes:

context.SaveChanges(SaveChangesOptions.PostOnlySetProperties );

throws an error

"message":"No resources were found when selecting for update.","type":"Microsoft.Dynamics.Platform.Integration.Services.OData.ODataArgumentException"

 

Thank You,

This worked for me

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,047)