Hi. We are facing the problem while updating the item analysis view because of huge data. It takes 5-6 hours to run and then every time it crashes NAV client. Any suggestions or advice appreciated. Thanks.
What version of NAV are you executing this batch? Have you taken a look at the code behind this batch?
I would suggest to you to get the code optimized with the help of a developer. Optimizing code helps some times even when there is huge data. I understand that there is standard code behind this function, but still there may be some places in code where you might use SETCURRENTKEY, FINDSET instead of FINDFIRST and FIND('-') after repeat until (obviously depending upon the scenario).
Please take a look at the following links to take guidance on code optimization,
Answers
I would suggest to you to get the code optimized with the help of a developer. Optimizing code helps some times even when there is huge data. I understand that there is standard code behind this function, but still there may be some places in code where you might use SETCURRENTKEY, FINDSET instead of FINDFIRST and FIND('-') after repeat until (obviously depending upon the scenario).
Please take a look at the following links to take guidance on code optimization,
https://www.dynamics101.com/value-code-optimization-nav/
http://saurav-nav.blogspot.in/2015/01/cal-coding-guidelines-2015-released.html
Ishwar Sharma
My Blogs: Dynamics Community Blog | Blogspot
Connect: Google + | Twitter