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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 12.03.2012, 11:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
palleagermark: Preventing users from opening new workspaces
Источник: http://palleagermark.blogspot.com/20...ening-new.html
==============

In AX 2009, before hotfix roll-up 6, AX has some issues when users open multiple workspaces with different company accounts.

I have seen issues where voucher numbers were pulled from the wrong company account and I have seen a data import going totally awry.

You can't completely prevent users from opening new workspaces through the security model, but you can add code that immediately closes these aging. Add the the following code to \Classes\Info\workspaceWindowCreated:

X++:
void workspaceWindowCreated(int _hWnd)
{
;
    // Put workspace window specific initialization here.
    // Begin -->
    if(xInfo::currentWorkspaceNum()>1)
    {
        Infolog.shutDown(true);
    }
    // End <--
}
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.

Последний раз редактировалось Poleax; 12.03.2012 в 11:44. Причина: оформление
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
palleagermark: It is possible for users to edit the Item reference fields of sales order lines and purchase order lines. Blog bot DAX Blogs 0 17.02.2010 21:07
palleagermark: Convert an image from one format to another from AX Blog bot DAX Blogs 0 22.01.2010 15:05
palleagermark: Sample union query from AX 2009 Blog bot DAX Blogs 0 11.07.2008 20:05
palleagermark: Read data from other databases Blog bot DAX Blogs 5 11.06.2008 11:42
palleagermark: Spell checking from AX Blog bot DAX Blogs 0 04.04.2008 10:05
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

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

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

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