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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Cannot update record using AIF document service

(0) ShareShare
ReportReport
Posted on by 15

Hi All,

I have created new document service by creating new AOT query and run AIF wizard to create service. I have READ, CREATE, UPDATE operation in my service and all the operations working fine for one entity. 

When i try to the records in other entities, its not allowing me to create or update records in other entities except one entity. I get below error when i send update request from POSTMAN tool?

''Update operations are not allowed across companies. Please use the changecompany keyword to change the current company before updating the record''

Why it is not allowing to update the record in other entities. Its works properly for only one legal entity. I am using AX 2009. Please suggest way to fix this issue.

 

I have the same question (0)
  • Suggested answer
    huijij Profile Picture
    19,811 on at

    Hi Udhay257,

    Did you try to perform a tableBuffer.clear() in the subsequent changeCompany code block.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans