Tuesday, April 5, 2011

Get the current CallStack in X++

Hi,

You can get the current call stack in X++ code anywhere in any module.

Container con;
str coninfo;
con = xSession::xppCallStack();
coninfo = con2str(con);
info(coninfo);

Hope it helps.

/Ashlesh

No comments:

Post a Comment