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: "
you mention that "Settings prefixes is very useful for detect causes of errors later", may i know why?? and how u use the prefix to catch the error.
ReplyDeleteIf you use prefixes your infolog shows you later in what phase your process was broken.
ReplyDeleteFor example if you have exception "WRONG USE OF FUCTION" it will be more useful to have such prefixes as:
Payroll capculation > Employee XYZ > Tax calculation > VAT > Wrong use of fuction
Thats really informative. Thanks max.
ReplyDeleteI am newbe, but picking things very quickly & soon be implimenting the AX.
Keep it up man....
Regards,
Mahmood
Cool WebDirectory
Your IT Solutions
SEO & Web Hodting Blog
Hi Max.
ReplyDeleteI was trying send to mail to you, but I got a deliverable error for belugin@mail.ru.
Have you got some e-mail address?
Thanks.
mbelugin at gmail.com
ReplyDelete