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

Announcements

No record found.

News and Announcements icon
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

  • Suggested answer
    GirishS Profile Picture
    27,845 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

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 271 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 217

#3
Subra Profile Picture

Subra 200 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans