At two different customers at different release, AX 2012 R2 CU6 and AX 2012 R3 CU10 we have experienced the same hanging AX user session and database lock. I believe, but not shure, it occurs when performing invoicing of intercompany orders. The head blocker session in SQL is in both environments stuck with this:
(@P1 int,@P2 nvarchar(256))SELECT TOP 1
T1.SERVERID,T1.ISDEFAULTREPORTMODELSERVER,T1.SERVERURL,T1.ISDEFAULTREPORTLIBRARYSERVER,T1.AXAPTAREPORTFOLDER,T1.DESCRIPTION,T1.DATASOURCENAME,T1.REPORTM
ANAGERURL,T1.SERVERINSTANCE,T1.AOSID,T1.CONFIGURATIONID,T1.ISSHAREPOINTINTEGRATED,T1.RECVERSION,T1.RECID FROM SRSSERVERS T1 WHERE
((ISDEFAULTREPORTLIBRARYSERVER=@P1) AND (AOSID=@P2))
If killed everything goes back to normal and the invoicing of inter company order can be done.
I can see that other people have experienced this issue but I can't find the reason.
Does anybody have a explanation or solution at hand?
Any help would be greatly appreciated.