Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

picking list inquiry very slow at times, troubleshooting help

$
0
0

Hello,

I've got one of those really irritating intermittent problems that's been causing an issue in our production environment.  This is in Dynamics AX 2009 SP1 RU6.  The symptom is performing an inquiry on sales order picking list journals.  Some times when from the Sales order details screen using Inquiries > Picking list, the query will continue to execute on the database which effectively locks up the user session.  The duration can be 15 minutes or more depending on when the user or an admin are able to cancel the request. 

I've traced the problem down to what I believe is the core problem.  The WMSPickingRouteLink table seems to be the root of the issue, or potentially the dynalink to the SalesTable record.  Opening the Picking list journal form directly from the menu item in the main menu will bring up the same form, from which a user can filter down on the proper sales order number.  Running the same query that the form executes (see below for query) directly in SQL server returns the appropriate record in under 1 second. 

Details about our environment:

  • Typical load = 150 concurrent users across 2 AOS servers and 4 Citrix servers, 1 batch AOS
  • 1 SQL Server 2005 Standard 6 CPU (4 usable by SQL) 10GB memory, mdf and ldf files on separate drives on a SAN. Reindexing is performed weekly. 

I don't believe this is a hardware issue, due to the abovementioned performance of the query when run directly against the database, and the alternative methods of finding the records within the system.  I'm just not sure where to go from here to nail down the root cause of the problem.  We have a workaround, but not a solution.  Any help or advice is appreciated.

-Justin Biggs

 

SELECT A.PICKINGROUTEID,A.SHIPMENTID,A.EXPEDITIONSTATUS,A.CUSTOMER,A.TRANSTYPE,A.TRANSREFID,A.HANDLINGTYPE,
A.OPERATOR,A.DEL_STARTDATE,A.DEL_STARTTIME,A.DEL_ENDDATE,A.DEL_ENDTIME,A.INVENTLOCATIONID,A.OPTIMIZEDPICKING,
A.EXPECTEDEXPEDITIONTIME,A.PRIORITY,A.DEL_ACTIVATIONDATE,A.DEL_ACTIVATIONTIME,A.DELIVERYADDRESS,A.STARTDATETIME,
A.STARTDATETIMETZID,A.ENDDATETIME,A.ENDDATETIMETZID,A.PALLETTAGGING,A.ACTIVATIONDATETIME,A.ACTIVATIONDATETIMETZID,
A.INTERCOMPANYPOSTED,A.SHIPMENTTYPE,A.DLVMODEID,A.DLVTERMID,A.DLVDATE,A.DELIVERYNAME,A.AUTODECREASEQTY,A.PRINTMGMTSITEID,
A.PARMID,A.TVCTABLEREFID,A.CREATEDDATETIME,A.CREATEDBY,A.RECVERSION,A.RECID,B.ORIGINVENTTRANSREFID,B.INVENTTRANSREFID,
B.ACTIVATIONDATETIME,B.ACTIVATIONDATETIMETZID,B.INVENTTRANSTYPE,B.PICKINGROUTEID,B.DEL_ACTIVATIONDATE,B.RECVERSION,B.RECID
    FROM WMSPICKINGROUTE A,WMSPICKINGROUTELINK B
    WHERE ((A.DATAAREAID=?) AND ((A.TRANSTYPE=?) OR (A.TRANSTYPE=?)))
AND ((B.DATAAREAID=?) AND (((A.PICKINGROUTEID=B.PICKINGROUTEID) AND
(A.ACTIVATIONDATETIME=B.ACTIVATIONDATETIME)) AND (B.ORIGINVENTTRANSREFID=?)))
ORDER BY A.DATAAREAID,A.PICKINGROUTEID,A.SHIPMENTID OPTION(FAST 1)


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>