web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

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.
I have the same question (0)
  • YUN ZHU Profile Picture
    95,331 Super User 2025 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans