Hello,
We are running AX 2012 R3. When our users recall a pending vendor invoice from workflow for the first time, the dialog that pops up that allows the user to enter a comment and asks the user to confirm whether they want to recall the workflow takes approx.15-20 minutes to open. On subsequent attempts, the dialog pops up immediately. If a user signs out of AX and logs back in, they experience the same issue again. I tried debugging and couldn't see what was slowing things down so I created a trace using the tracing cockpit and opened it up using the trace parser. In the call stack, I see a lot of calls to ServerLoadClassMethods with different class IDs. It looks like some sort of caching is being performed. A google search of ServerLoadClassMethods and Dynamics AX didn't turn up anything helpful. Does anyone know what this ServerLoadClassMethods is and why it would be called so many times? Here's a screen shot of my trace. This line is repeated over and over again with different class IDs:
I'm a bit stumped. We've been operating AX 2012 for about 6 or 7 years now and users only seemed to notice this somewhat recently. Does anyone have any ideas about this ServerLoadClassMethods? Is it necessary? Any way to avoid it? Any ideas would be greatly appreciated!