AXForum  
Go Back   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Forgotten Your Password?
Register Forum Rules FAQ Members List Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 27.08.2007, 23:00   #1  
Blog bot is offline
Blog bot
Участник
 
25,646 / 848 (80) +++++++
Join Date: 28.10.2006
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, напишите личное сообщение администратору.
 

Similar Threads
Thread Thread Starter Forum Replies Last Post
dax-lessons: Alert user using Net send - x++ Blog bot DAX Blogs 0 17.09.2008 13:05
dax-lessons: Generate XML Documentation Files for a project - DAX 2009 Blog bot DAX Blogs 0 08.08.2008 19:06
dax-lessons: Create Outlook Appointment or Meeting Request using X++ Blog bot DAX Blogs 0 30.04.2008 23:07
dax-lessons: Weather forecasting using X++ Blog bot DAX Blogs 2 25.04.2008 12:00
dax-lessons: Active directory in Axapta Blog bot DAX Blogs 0 27.08.2007 23:00

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Рейтинг@Mail.ru
All times are GMT +3. The time now is 01:50.
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Contacts E-mail, Advertising.