Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

How Auto refreshing a View Page when modify a Quote line

Posted on by 465

Hi Community

I have an issue, when I modified a sales line and back to quote view the value it doesn't change automatically, I need to refresh f5 to get the new value.

I create a trigger but still is not working.

This is my scenario:

If I delete one Line, my total amount will change in my Quote view page

pastedimage1684441182133v1.png

But still keeping the old value till I press F5.

pastedimage1684441350699v2.png

I create a trigger:

pageextension 50114 SalesQuoteViewList extends "Sales Quotes"
trigger OnAfterGetCurrRecord()
    begin
        CurrPage.Update(false);

    end;
But still is not working.
If you have some recommendation I will appreciate or you now how use RefrehonActive for extend pages, please let me know.

Categories:
  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: How Auto refreshing a View Page when modify a Quote line

    Hi,

    Seems strange, you can try below,

    trigger OnAfterGetCurrRecord()

       begin

           CurrPage.Update;

       end;

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,696 Super User 2024 Season 2 on at
    RE: How Auto refreshing a View Page when modify a Quote line

    Hi, when you back to the Sales Quote page, the OnAfterGetCurrRecord() trigger is not executed, so it has no effect.

    And Amount field in Sales Quote is a FlowField, which can be automatically refreshed after clicking another row. (I know this is a weird behavior...)

    For example,

    [View:/cfs-file/__key/communityserver-discussions-components-files/758/Demo.mp4:1024:768]

    Hopefully other experts can give you better advice.

    Thanks

    ZHU

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans