An unbalanced X++ TTSBegin/TTSCommit pair has been detected .Cause of this include (a) too many/few TTSBegin or TTS Commit . The current TTS level is ‘1’
Just run this job and go head with your work above error will not come.
static void AlfasithResetTTS(Args _args)
while (appl.ttsLevel() > 0)