27.08.2007, 23:00 | #1 |
Участник
|
dax-lessons: Setting Configurations - by simple Job run
Источник: http://DAX-Lessons.spaces.live.com/B...FCD1!121.entry
============== Axapta - Configurations through X++ Code Guys...fed up of setting up the configurations after installing AX..by checking and unchecking the modules.. Here is the small utility that saves your time if you want to use all the modules... Usually we go to the Administration->SetUp->System->Confiuration and we configure the modules(check/uncheck) Just run the job, it will configure the modules (remember the code which is commented is to just give u an example how to configure a single module.This job will enable all the modules)and synchronise the tables as well. If you want to configure specifically some modules , you can check the commented logic in the code below and customise accordingly. <blockquote dir=ltr> <blockquote dir=ltr> static void changeSystemConfiguration(Args _args) { ConfigurationKeySet set; ConfigurationKeyId id; SysDictConfigurationKey sysDictConfigurationKey; int i; Args args; FormRun formRun; ; set = new ConfigurationKeySet(); <blockquote dir=ltr> <div><font color="#993366"> for(i = 1; i
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|