Skip to main content

Notifications

Announcements

No record found.

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 105

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
    GirishS 27,816 Super User 2024 Season 1 on at
    RE: unable to update header datasource based on field value of line in form

    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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,703 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,433 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans