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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AIF Fault: Cannot edit a record in table.The record has never been selected

(0) ShareShare
ReportReport
Posted on by

Hello world,

I am trying to insert a record into ProjJournalTrans table via AIF Service.

I get the Following error:

Cannot edit a record in  ProjJournalTable .The record has never been selected

I wonder why there is a Problem with ProjJournalTable

and if there is some update code for the ProjJournalTable following the Insert() at ProjJournalTrans, how can I allow this for AIF-Service?

 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at
    RE: AIF Fault: Cannot edit a record in table.The record has never been selected

    Sometimes I have seen that the AOS cache is not refreshing (that is tracked by a change in RecVersion). You may call a this.reread() to make sure the data is fetched from the database and refresh the cached version stamp.

    Please note that this might not work in some rare cases where they are making some funky stuff with the record buffer/cursor.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans