Hi, thanks for the reply.

one more question.. is there any function to know if we haven't commit the 
transaction yet? so if I know there is open trasaction, I will add ttscomit 
first in order to show dialog.

thanks in advance,
Anton



--- In Axapta-Knowledge-Village@yahoogroups.com, Ali Ýhsan Aðca 
<aliihsana...@...> wrote:
>
> Hi Anton,
> 
> You can not show dialog in tts routine as message says in (c). You have to 
> commit transaction first and open dialog, after getting value from user, then 
> you can open a transaction again.
> 
> 
> --- In Axapta-Knowledge-Village@yahoogroups.com, "anton_tjiptadi" 
> <anton_tjiptadi@> wrote:
> >
> > Hi all,
> > 
> > Can someone help me to fix this error? It happened when I open a dialog 
> > after some routine in my code.
> > 
> > An unbalanced X++ TTSBEGIN/TTSCOMMIT pair has been detected.
> > 
> > a) Cause of this includes too many/few TTSBEGIN or TTSCOMMIT.
> > 
> > b) Return calls within TTSBEGIN/TTSCOMMIT.
> > 
> > c) User interaction within TTSBEGIN/TTSCOMMIT pairs.
> > 
> > 
> > 
> > The current TTS level is `1'.
> > 
> > Any help/sudgestion will be appreciated. thanks
> > 
> > Regards,
> > Anton
> >
>


Reply via email to