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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 27.01.2010, 20:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Long running process switches from one company to another company
Источник: http://blogs.msdn.com/emeadaxsupport...r-company.aspx
==============

Recently we have seen some cases where during a long running process in AX (for example data import/export, company duplication or create absence journals) the process appears to switch companies, so the process begins running in company A but after a point it continues running in company B, this could then create some records in the first company and some records in the second company.

Since the exact steps are difficult to replicate, as it relies on several specific factors it is unlikely to occur on a day-to-day basis for a typical user. However, given the potential that records could be created in an incorrect company we recommend applying the fix in a proactive manner to safeguard against any possibility of a problem in the future.


Example scenario:

I have my AX client open in, for example, company "CEU". I also have a form open which is in a different company, "CEC". Now from this form I start a long running process (for example HR->Create absence journals) which is using company "CEC" as this is the company of the form, then using the windows task bar I click onto the main client window.

At this point the system processor is running at 100% so the windows will not switch immediately however after some time a thread will become available and the main client window will become active and the long running process will then switch to company "CEU" and continue running in that company.

The error that the user would see, in this scenario with "Create absence journals" would be:
Cannot create a record in Absence registrations (HRMAbsenceTable). Insert operations are not allowed across companies. …



There is a kernel hotfix available now to address this issue, for both AX2009 SP1 and AX2009 RTM, it's available under KB974507 and can be obtained by contacting Microsoft Support.

Note:
Use normal database recovery options when doing imports or company duplication. A full SQL backup should be performed and the process should be done with limited users in the system.




Источник: http://blogs.msdn.com/emeadaxsupport...r-company.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: Query execution failed for data set 'Company' Blog bot DAX Blogs 0 28.10.2009 00:06
emeadaxsupport: Debugging non-interactive X++ code in Dynamics AX 2009 when running on Windows Server 2008 Blog bot DAX Blogs 0 23.09.2009 13:05
emeadaxsupport: AxUpdatePortal.exe does not update Enterprise Portal when not running from an elevated command prompt Blog bot DAX Blogs 0 26.07.2009 15:07
X++: Using the Cross company feature from the Business Connector and table browser. Blog bot DAX Blogs 1 21.12.2008 01:17
Говорят вышел SP2 для Axapta 3. Кто нибуть что знает на эту тему? soin DAX: Прочие вопросы 10 13.10.2003 10:43

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

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

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