Unbalanced X++ TTSBEGIN/TTSCOMMIT

hi

error while open the Tutorial_Workflowprocesses form in AX 2009

IMG_30052017_151955.png

It seems there is a been transaction block that was not properly handled. It may pushed the application tts level to 1.
Is it only happens when you run the workflow processor?
Write a job to set the tts level to zero.
if (appl.ttslevel() > 0)
ttsabort; (edited the typo mistake)

Hi kranthi…
i run this line of code and again same problem facing…every time kranthi not only work flow

static void ResetTTS(Args _args)
{
while (appl.ttsLevel() > 0)
{
info(strfmt(“Level %1 aborted”,appl.ttsLevel()));
ttsAbort;
}
}

Can you explain in detail?

Check your code, You may be missed to add ttsbegin or ttcomit;

When i try to create new PO while running the Tutorial_WorkflowProcessor form and when i press the F5 i am getting above error

After resetting the ttslevel, have you tried by restarting the client?

Yes kranthi i restarted the Client

There should be something wrong in your code. check all the tts blocks are correct in your code.