NAV 2013 R2 slow performance on Config Worksheet

andrewt
Member Posts: 73
We identified a significant performance issue when using the Configuration Worksheet in NAV 2013 R2 (Table 8622, Page 8632)
Opening the page takes an unexpected long time until records are displayed, also scrolling through records and create new records is slow compared to NAV 2013 where operating this page doesn't show any performance problems.
I was able to identify some flow fields on table 8622 which reference to table 2000000028 Table Information as the source of the issue, such as field #8 "No. of Records".
Removing these fields from the config worksheet page improve performance back to a normal state.
Assuming the SumIndex calculation on the virtual table 2000000028 causing the issue, does anyone made similar experiences so far and/or has a solution for this issue ?
Thanks
Andrew T.
Opening the page takes an unexpected long time until records are displayed, also scrolling through records and create new records is slow compared to NAV 2013 where operating this page doesn't show any performance problems.
I was able to identify some flow fields on table 8622 which reference to table 2000000028 Table Information as the source of the issue, such as field #8 "No. of Records".
Removing these fields from the config worksheet page improve performance back to a normal state.
Assuming the SumIndex calculation on the virtual table 2000000028 causing the issue, does anyone made similar experiences so far and/or has a solution for this issue ?
Thanks
Andrew T.
0
Answers
-
andrewt wrote:We identified a significant performance issue when using the Configuration Worksheet in NAV 2013 R2 (Table 8622, Page 8632)
Opening the page takes an unexpected long time until records are displayed, also scrolling through records and create new records is slow compared to NAV 2013 where operating this page doesn't show any performance problems.
I was able to identify some flow fields on table 8622 which reference to table 2000000028 Table Information as the source of the issue, such as field #8 "No. of Records".
Removing these fields from the config worksheet page improve performance back to a normal state.
Assuming the SumIndex calculation on the virtual table 2000000028 causing the issue, does anyone made similar experiences so far and/or has a solution for this issue ?
Thanks
Andrew T.
Hi
Same issue with NAV 2013 build 35469.
I added this function to the page:GetRecordCount() Nrec : Integer IF "Table ID" = 0 THEN EXIT(0); RecRef.OPEN("Table ID", FALSE, "Company Filter"); Nrec := RecRef.COUNT; RecRef.CLOSE; CLEAR(RecRef);
and changed sourceexpr of page flowfield to GetRecordCount. Now is usable.
I think that the problem comes when NST try to meterialize every field of the virtual field "Table information".
We need only the record count (and it's fast) but NAV try to calculate the table size even "Config. Line" "No. of Records" flowfield don't need it.
Bye
MatteoReno Sistemi Navision Developer0 -
Thank you, Matteo.
I did apply the modifications as recommended and that worked perfectly !
I think MS needs to fix it on standard. I did also open a support request - let's see what they come up with...
Again, many thanks for your quick help.
Andrew0 -
Thanks for sharing. This is exactly what I needed too.Michael Martin0
-
Hi,
it seems this is not a problem of a (virtual) table Flowfield but a general issue on all Flowfields used in Pages.
The same happens on Page 7374 Bin Contents. The Flowfield seems to be calculated every time for every single record and without recognition of any active filters. Here the field "Quantity (Base)" is slowing down the Performance massively (if there are many Warehouse Entries).
Workaround is to delete the Flowfield from the page (Visible=FALSE,Enabled=FALSE,Editable=FALSE have no effect, it must be deleted), insert a global variable (i.e. QuantityBase) of decimal type and put following code into the triggers OnAfterGetRecord and OnAfterGetCurrRecord:
CALCFIELD("Quantity (Base)");
QuantityBase := "Quantity (Base)"
and all is working without delay.
I think the reason of the internal calculation is the new ability of filtering on flowfields. In the old forms there was a property called CalcFields where the developer could define the flowfield he wants to calculate. With 2013 there are now all flowfields in pages calculating automatically. This is propably buggy.
Oli0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions