Dynamics AX 2009 :
Add this line code in the FORM method init
Public void init()
{
super();
this.cacheAddMethod(tablemethodstr(<table>,<display method>), [_updateOnWrite]);
}
Dynamics AX 2012:
Add this line code in the DISPLAY method before the declaration
[SysClientCacheDataMethodAttribute([_updateOnWrite])]
Display method calcLeagueWon(int _num)
{
If(juv || haveBoat())
_num += 2
Return _num;
}
Nessun commento:
Posta un commento