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 :
Small and medium business | Business Central, N...
Unanswered

Business Central CurrPage.Updete Performance

(1) ShareShare
ReportReport
Posted on by 34
Hello Everyone,
 
I am facing strange issue. I am using add-on when there is subpage (similar to Sales Order Subpage) and Code is written on "No." field on validate CurrPage.UPDATE(TRUE).
 
It is taking more time than expected and have created performance issue.
 
If I comment code related to CurrPage.Update(TRUE) and use CurrPage.SaveRecord. It works. But it does not refresh subpage specially in case of extended text.
 
Any suggestion is appreciated.
  • YUN ZHU Profile Picture
    103,125 Super User 2026 Season 2 on at
    Hi, have you set the following property in your subpage?
     
     
    In addition, I am curious whether this is really the performance issue caused by this. It may be caused by the logic in a trigger. You can use the following function to detect it first.
     
    Thanks.
    ZHU
  • DipakPatel2505 Profile Picture
    34 on at
    Thank you for your response.
     
    I have already set tested by setting UpdatePropogation = FALSE. So, Subpage is not updating main page.
     
    Also, I have removed all Fact Boxes and its related code, flow fields from Header and Line Pages. 
     
    I have tested that Code execution is completed within 3-4 seconds. But Page controls refreshing is taking time and it takes around 30 Seconds.
     
    Scenario is below:
     
    I enter Line and quantity on it. It opens new subpage where default Items are already selected to add with entered item. I just click ok and then it takes 30 seconds until I get control back. 
     
    I have already rebuild SQL Indexes, increase Database Case Size. But, it does not help.
     
    Client is on BC19 on SaaS version and provider is InTwo company. I think it is not code issue as I have already debugged and kept only necessary code.
     
    Any suggestion is appreciated.
     
     

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

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 748 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 354 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 351 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans