Thursday, July 24, 2008

Unbalanced TTSBEGIN/TTSCOMMIT

fix for unbalanced TTS

This usually leaves your Ax session in an unusable state that you can’t close properly. However, there’s no need to get out the big guns and kill the process with the Task Manager.

Instead, if possible, open the AOT and run this job:

static void resetTTS(Args _args)
{
    while (appl.ttsLevel() > 0)
        ttsAbort;
}
It It simply rolls back any pending transactions until the TTS level is back at zero.

2 comments:

Anonymous said...

nice post

Anonymous said...

nice post...