Источник:
http://axcoder.blogspot.com/2007/05/setprefix.html
==============
The first line which I always write at the start of the 'run' method in a RunBase descenant is:
setPrefix(this.caption());
Settings prefixes is very useful for detect causes of errors later.
There are also very useful macros: PrefixField, PreFixFieldValue
For example, this code will set prefix to the: ": _item.itemID"
void processInventTable(InventTable _item)
{
;
setPrefix(#prefixField(_item, itemID));
...
BTW, I think it will be also great to have a
good logging system in Ax, infolog is not enough
Источник:
http://axcoder.blogspot.com/2007/05/setprefix.html