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

The use of reread() for a table record.

(0) ShareShare
ReportReport
Posted on by 20

Hello,

I could not find any documentation for the function of the method reread() for a table record common. Can someone please help to explain this please? 

  • GirishS Profile Picture
    27,845 Moderator on at

    Hi Jasman,

    This method can be called to update a latest changes from the database.

    Refer to the below Microsoft documentation.

    https://learn.microsoft.com/en-us/dotnet/api/dynamics.ax.application.formdatasource.reread

    Also refer to the below blog.

    https://community.dynamics.com/365/supply-chain-management/b/axvanyakashperuk/posts/tutorial-58-refresh-reread-research-executequery-which-one-to-use-63

    Thanks.

    Girish S.

  • Suggested answer
    Shawnsauve Profile Picture
    1,100 on at

    The reread() method in Dynamics 365 Finance and Operations is a table record method that retrieves the latest data for the current record from the database.

    When you retrieve a record using the table and tableBuffer methods, you get a copy of the data that is stored in the buffer. The buffer contains a snapshot of the data from the database at the time the record was first retrieved.

    If another user or process updates the record in the database while the record is still in the buffer, the buffer will contain outdated data. To ensure that you are working with the latest data from the database, you can use the reread() method to refresh the buffer with the current data from the database.

    When you call the reread() method, the system will issue a SQL SELECT statement to retrieve the current version of the record from the database. The buffer will then be updated with the new data.

    It's important to note that calling the reread() method will discard any changes made to the record in the buffer since it was first retrieved. Therefore, it's best practice to call the reread() method before making any updates to the record, to ensure that you are working with the latest data.

  • Mohit Rampal Profile Picture
    12,573 Moderator on at

    Hi Jasman, There is lot of documentation on reread method shared on blogs, few suggested above. Is there anything specific you are looking for?

  • GirishS Profile Picture
    27,845 Moderator on at

    Table methods doesn't have method reread. Only FormDatasource has method reread.

    Also, what do you mean by "table record common"?

    Thanks,

    Girish S.

  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    Yes we can call reread() at table level as well. As everyone said it will refresh that particular table buffer so that we can have latest data. We will call this table level method mostly in reports with huge data.

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... 266 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 217

#3
Subra Profile Picture

Subra 164 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans