AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 17.04.2008, 04:21   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
axStart: Why use methods runningmode and configurationmode
Источник: http://axstart.spaces.live.com/Blog/...C0A0!299.entry
==============


Let’s have a look at this case:
I have done some customisations to the SysStartUpFormRun class. A new Table is used in this customisation. When coping my solution to the customer site, he is not able to open any form. (SQL errors tell him that a table is missing).
So how can I ship this code to customer without start up errors at the customer side?
Solution:
  • Force to run the application in configuration mode when your code (layer) is used on the customer site. You can do this by changing the value of method applBuildNo in class ApplicationVersion .
  • Check before using your new tables if AX is in running mode
    • if(appl.isRunningMode()) { your code}
With this approach, a less technical person is able to install the code.


Источник: http://axstart.spaces.live.com/Blog/...C0A0!299.entry
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 


Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 08:03.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.