web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

OData - F&O Project management and accounting integration

(0) ShareShare
ReportReport
Posted on by 10

Hi all,

I have developed an integration from our legacy Projects system which uploads (creates) those lecacy projects into D365 F&O Projects entities via Odata. This works well, until the point where the integration needs to update a Project in F&O, updating 1 field in particular: ProjectStage. we get an error from the OData (PATCH request) call:

{
    "error": {
        "code": "",
        "message": "An error has occurred.",
        "innererror": {
            "message": "update not allowed for field 'ProjectStage'",
            "type": "Microsoft.Dynamics.Platform.Integration.Services.OData.ODataSecurityException",
            "stacktrace": "   at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.UpdateProcessor.UpdateEntity_Save(ChangeOperationContext context, ChangeInfo changeInfo)\r\n   at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.ChangeInfo.b__1_0(ChangeOperationContext operationContext)\r\n   at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.ChangeInfo.ExecuteActionsInCompanyContext(IEnumerable`1 actionList, ChangeOperationContext operationContext)\r\n   at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.ChangeInfo.TrySave(ChangeOperationContext operationContext)\r\n   at Microsoft.Dynamics.Platform.Integration.Services.OData.Update.UpdateManager.SaveChanges()\r\n   at Microsoft.Dynamics.Platform.Integration.Services.OData.AxODataDelegatingHandler.d__3.MoveNext()"
        }
    }
}

This is strange because you can change this field via the form in the UI, but it's not allowing this to change via OData. Does anyone know why this is and how to resolve this?

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi JoaoDaSilva,

    You need post the thread to following correct forum for further help:

    (+) Dynamics 365 Finance - Forums, Blogs, Support

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
iampranjal Profile Picture

iampranjal 41

#2
Martin Dráb Profile Picture

Martin Dráb 36 Most Valuable Professional

#3
Satyam Prakash Profile Picture

Satyam Prakash 35

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans