Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Unanswered

Update Bank Account List Page when a Custom field on Bank Account Card Page Updates

Posted on by 53
Hey, 

I want the bank account list page custom fields in Business Central to automatically update whenever I make changes to the same custom field on the bank account card page. This way, any modifications I make to the custom field in card will be immediately reflected in the list view of all bank accounts.
 
You can give any type of solution; I just want a way to achieve this, currently I need to click away and back to original record to see the bank account list is updated for that record only or just refresh the whole page. 

Regards,
Umar
  • Suggested answer
    CU25061419-0 Profile Picture
    CU25061419-0 53 on at
    Update Bank Account List Page when a Custom field on Bank Account Card Page Updates
    I solved the issue by calling `BankAccount.Modify()`, which automatically updated all the values on the Bank Account List page. I was retrieving data from another table using a FlowField, and since `CALCFIELDS` did not produce the desired effect, I replaced a value in the `BankAccount` record with an empty value, called `Modify()`, then restored the original value and called `Modify()` again. Although this is not the ideal approach, it successfully updated the Bank Account List page, reflecting the data retrieved from other tables.
  • YUN ZHU Profile Picture
    YUN ZHU 73,647 Super User 2024 Season 2 on at
    Update Bank Account List Page when a Custom field on Bank Account Card Page Updates
    In the OnValidate Trigger of your custom field, adding Page.Update([Boolean]) Method should do the trick.
    More details:
     
    Or you can also consider refreshing the entire session.
     
    Hope this helps.
    Thanks.
    ZHU
     
  • Valentin Castravet Profile Picture
    Valentin Castravet 24,816 Super User 2024 Season 2 on at
    Update Bank Account List Page when a Custom field on Bank Account Card Page Updates

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans