how to improve item ledger entry performance for NAV2015

tanjenny
Member Posts: 6
I have upgraded from Nav 4.0 SP3 to NAV2015 and noticed that the item ledger entry is very slow when displaying the movements. Any idea how this can be improved. I have only 1 year of data for the item but it is very slower when compared to my old database containing 11 years of data.
Would appreciate very much if someone could advise?
Would appreciate very much if someone could advise?
0
Best Answer
-
1) are there any custom codes on "onopenpage" or "onaftergetrecord" triggers of item ledger entries page?
2) are there any custom flowfield fields in item ledger entry table
3) did you try reindexing the value entry and item ledger entry tables5
Answers
-
How many records and what is the sort key being used for display?Professional Navision Developer0
-
there are 1.7 m records in total
0 -
i am not sure what is the sort key used for the display. for an item with 3,400 records, it takes 1 minute to display a page of 18 records and it is like waiting forever to display all the 3,400 records0
-
1) are there any custom codes on "onopenpage" or "onaftergetrecord" triggers of item ledger entries page?
2) are there any custom flowfield fields in item ledger entry table
3) did you try reindexing the value entry and item ledger entry tables5 -
Value entry is working fine.
Have not re-indexed item ledger entry
The keys have been enabled
The following are the keys :-
Headers are:-
Key SumIndexFields MaintainSQLIndex MaintainSIFTIndex Clustered
Item No.,Entry Type,Variant Code,Drop Shipment,Location Code,Posting Date
Quantity,Invoiced Quantity Yes Yes No
Source Type,Source No.,Item No.,Variant Code,Posting Date
Quantity Yes Yes No
Item No.,Open,Variant Code,Positive,Location Code,Posting Date Quantity,Remaining Quantity Yes Yes No
Item No.,Open,Variant Code,Positive,Location Code,Posting Date,Expiration Date,Lot No.,Serial No. Quantity,Remaining Quantity Yes Yes No
Item No.,Open,Variant Code,Location Code,Item Tracking,Lot No.,Serial No. Remaining Quantity No No No
Item No. Yes Yes No
Item No.,Posting Date Yes Yes No
Country/Region Code,Entry Type,Posting Date Yes Yes No
Document No.,Document Type,Document Line No. Yes Yes No
Item No.,Applied Entry to Adjust Yes Yes No
Item No.,Positive,Location Code,Variant Code Yes Yes No
Entry Type,Nonstock,Item No.,Posting Date Yes Yes No
Item No.,Open,Variant Code,Positive,Expiration Date,Lot No.,Serial No.
No No No
Item No.,Location Code,Posting Date Yes Yes No
Location Code,Item No.,Posting Date Yes Yes No
Expiration Date,Lot No. Yes Yes No
Item No.,Expiration Date,Lot No. Yes Yes No
0 -
You missing keys:
Enabled Key SumIndexFields Clustered
Yes Entry No. Yes
Yes Item No. No
Yes Item No.,Posting Date No
If your key list is complete, your first key is primary by default and NAV adds this key at the end of each other key. "Entry No." should be your first key. The primary key must be unique and your first key isn't.1 -
Yes I have those as the keys
Enabled Key SumIndexFields MaintainSQLIndex MaintainSIFTIndex Clustered
Yes Entry No. Yes Yes Yes
Yes Item No. Yes Yes No
Yes Item No.,Posting Date Yes Yes No
0 -
finally, the performance issue is resolved. It is because there is no key defined in valueentry for item ledger entry no for the summation of value fields like cost amount expected, cost amount actual, etc which is required when displaying item ledger entry. thanks a lot to all for your assistance.
0
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