Dear All,
Our sales shipment line table has more than 14 lacs of records out of which only 50 thousand records has quantity. Resulting which when we use the get shipment function it takes lot of time to select the shipment lines. Since in default functionality when we post a sales order, it takes all the line in the sales order to shipment lines. Even the "quantity to ship" field has zero values, because of this the size of the sales shipment line growing bigger. It causes more delay.
Now i want your suggestion. if i delete the lines from the sales shipment lines which has no quantity or zero quantity. Will it create any problem in the integrity of the system. We have not used sales shipment line in any of our reports. Please advice as it is very urgent.
Advance thanks to u all.
Anand
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Yes, this function is not usabel in standard. Change the System to something with a filter, where are only the uninvoiced Shipmentlines for this user are displayed, and give the unser a chance to "select all" or "select marked" lines. Or use the Combine Shipment function, so navision will do all the work for combining Shipments for you.
I do not believe that is an output problem. Other tables not experimientan a similar growth.
Weekly update the estadisticas in SQL but he is not enough.
update statistics [xxxx$Sales Shipment Line] with sample 100 percent
We are thinking seriously to eliminate these records, or at least preventing to add those records that not ship, modifying the CU 80.
The problem is most likely indexing. You need to research what queries run slow, what kind of filtering is applied, what kind of ordering is applied, what kind of durations you are getting, how many reads those queries generate, stuff like that. Based on that, you probably need to do some index tweaking, and that will speed up the system.
RIS Plus, LLC
MVP - Business Apps
In the case where the client wants to delay or postpone moving to SQL as long as possible, delete the sales shipment records is okay. NAV requires you to print a physical copy of the document before you can delete it.
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