Тема: initParmDefault()
Показать сообщение отдельно
Старый 18.10.2008, 02:08   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
initParmDefault()
Источник: http://alexvoy.blogspot.com/2008/10/...rmdefault.html
==============

Just to remember: if you want to set up some value to a field on a dialog by default you should override standard method initParmDefault().

First time, AX takes it as a value, then it saves and restores the values the user input in the dialog form.


To see how it works just override this method for the class TestDemoRunBaseBacth as the following:
public void initParmDefault()
{
super();

i=11;
}All values saved by Pack()method can be seen in Usage Data form: Tools\Options\Usage Data [Jobs - for classes]







Источник: http://alexvoy.blogspot.com/2008/10/...rmdefault.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.