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 :
Microsoft Dynamics AX (Archived)

grid field won't update

(0) ShareShare
ReportReport
Posted on by

Dear All,

I have a field called Note on an extension table of SalesTable, SalesTable_DIE. So this field has 1 value for 1 SO. I also have a form, the Picking List Jornal (Accounts receivable/Common/Sales orders/All sales orders, Pick and pack tab, Journals group, Picking list). This shows multiple lines for the same SO. On these lines I want to show the value of the aforementioned Note field.2072.update.png

It works up to this point, but when I edit the Note field on a certain line, it doesn't update on the others - as You can see on the screenshot, even though the Note value changes on the table and also the form datasource. It only updates if I press F5. I tried multiple things all to no avail.

Thanks for the help.

Gabor

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Override the write() method on the formdatasource, and call a FormDataSource_ds.research(true) to refresh the records (after saving the current value by calling super()) on the line, while also retaining the current cursor position.

  • Community Member Profile Picture
    on at

    Thanks for the reply. My write() looks like this now but still does'nt work.

    2671.Untitled2.png

  • Verified answer
    Community Member Profile Picture
    on at

    Finally solved it. The problem was, that the fields on the lines in the grid were from WMSPickingRoute table, but the Note field was from an extension table for SalesTable (both being datasources on the form). Every method I tried to call I did it for the extension table, but I had to call them for the other one. So in the end WMSPickingRoute_DS.executeQuery() worked for me.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans