Does anyone out there have a good way to speed up the Inventory Valuation report using SQL?
The problem with the report is that it goes through every item ledger entry in the system and finds the appropriate applied entries.
The current process takes wwwaaaayyy too long! ](*,)
0
Answers
One of the areas where major bottleneck happens is the the Item Application Entry table. I had to create indexes for the WHERE clause on the Item Application Entry table. This also boosted the performance when the Adjust Cost - Item Entries is ran.
I think the reason why it's not there in the first place was because of performance issues during INSERT or UPDATE in SQL.
BTW, I like to solve my own questions on this forum.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
You can find what index SQL is using by activating the Client Monitor.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
could you let me know a little more about the changes you did to speed up cost adjustment?
You wrote that Item application was one of the major problems but that implies you did more modifications than just that.
Thanks for your help.
Best regards, Frank
FD Consulting
I'm using the US version of the report by the way.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book