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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

unable to update header datasource based on field value of line in form

(0) ShareShare
ReportReport
Posted on by 107

Hi All,

Please help me, I am new to x++ 

I am facing a issue while working with forms, based on a field value in the form line level I need to update a field in the header. but I am facing error record modified by another user

can you please help, how to write code in such senarios

I have created extension class for formfield in the modified method based on the field value I am fetching header buffer and updating

at the end I have added reread and refresh. but this could not resolve

I have the same question (0)
  • Suggested answer
    GirishS Profile Picture
    27,829 Moderator on at

    Hi Venkatesh,

    You no need to update the header table record. You just get the header form datasource and just assign the values.

    Can you share a code with us?

    Also no need of refresh and reread.

    Thanks,

    Girish S.

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

News and Announcements

Season of Giving Solutions is Here!

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
Abhilash Warrier Profile Picture

Abhilash Warrier 843 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 342 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans