Dynamics AX Blog - Dynamics AX 2009 - Posts from 2012
These posts are machine-translated.
Currently, only posts are displayed, which are relevant for Dynamics AX version »Dynamics AX 2009« 
RSS-Feed of this version

RSS-Feed of this version
Currently, only posts from »2012« are displayed
Validate voucher for duplicates in Dynamics AX 2009Following code could be useful, if you have to check for duplicates voucher numbers: ledgerParameters::checkDuplicate(_voucher, _date); |
|
|
|
|
|
|
I had already seen the situation that I wanted to know if a record has a particular field to be able to process the containing value. For example, within a method, which processes the calling args().
For example, in class SysDictTable the hasMethod() method is available, but i have not found a hasField() method so far.
Therefore I've created the following logic: