Skip to main content

Notifications

Announcements

No record found.

Business Central forum

Page Data not being updated when the table record is updated

Posted on by Microsoft Employee

Hello,

I have a table named as loads. This table acts as the source for the Active Loads Page. There's a boolean field named as Detention which when ticked/unticked is validated and takes me to a new page to enter the reason why it is ticked/unticked. When that page is closed the reason is entered on the Reason field in Loads Table and is also to be updated on the Active Loads Page. All the data is being passed as required and has been validated but when I close the page where the reason is entered and I land up on the Active Loads page I get the following error. MatchingID is the primary key of Loads table.

Error:

The page has an error. Correct the error or try to revert the change.

The changes to the Loads record cannot be saved because some information on the page is not up-to-date. Close the page, reopen it, and try again. Identification fields and values: MatchingID='B570'
Can anyone guide me why am I getting this error on the page. Thanks in advance.
Categories:
  • Nadeem Altaf Profile Picture
    Nadeem Altaf 10 on at
    RE: Page Data not being updated when the table record is updated

    Used CurrPage.Update(); hopefully your problem resolved

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Page Data not being updated when the table record is updated

    It's quite difficult to help without seeing the code. It seems that you're updating a record but the opened record always shows the old value. It seems something like a CurrPage.Update(false) is missing.

  • tomasevicstefan Profile Picture
    tomasevicstefan 66 on at
    RE: Page Data not being updated when the table record is updated

    I have the same error, only on different table. Problem is that code is working properly on NAV, BC on-prem, but for AL version on web client I get this error. I can debug instance, but still not sure what needs to be update.

    8203.Untitled.png

    How did you solve this?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans