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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 10.07.2009, 13:57   #1  
Vadik is offline
Vadik
Модератор
Аватар для Vadik
Лучший по профессии 2017
Лучший по профессии 2015
 
3,631 / 1849 (69) ++++++++
Регистрация: 18.11.2002
Адрес: гражданин Москвы
Kernel rollup 971558 is available for Microsoft Dynamics AX 4.0 Service Pack 2
INTRODUCTION
This article describes a rollup of kernel fixes for Microsoft Dynamics AX 4.0 Service Pack 2 (SP2) in kernel version 4.0.2503.683. This kernel rollup contains kernel fixes that were made from May 4, 2009, through May 17, 2009.

MORE INFORMATION
Problems that are resolved in kernel rollup 971558
This kernel rollup resolves the following problem in Microsoft Dynamics AX 4.0 with Service Pack 2.
Negative multiples of "256" are evaluated to FALSE when a method returns the RecId field as a Boolean value
Assume you add certain X++ code in a job to call a method. The called method defines "Boolean" as the return type, and uses a variable named RecId that is returned as the return value. When the value of the RecId variable is casted to Boolean and then returned to the calling method, negative multiples of "256" are evaluated incorrectly to FALSE.

For example, you run a job that contains the following code:
X++:
static void RecIdTest(Args _args)
{
    recid ri, rimin;

    boolean myMethod()
    {
        return ri;
    }
    ;
    ri = -1;
    rimin = -5000;

    while (ri >= rimin)
    {
        if(!myMethod())
        {
            print(ri);
        }
        ri--;
    }
    pause;
}
In the example, negative multiples of "256" are evaluated to FALSE and then printed to the result. This problem occurs when the RecId field contains a value that has the following conditions:
  • The value is a negative integer.
  • The value is a multiple of 256.

Kernel rollup 971558 is available for Microsoft Dynamics AX 4.0 Service Pack 2
__________________
-ТСЯ или -ТЬСЯ ?
За это сообщение автора поблагодарили: Logger (2), madm (1).
Старый 10.07.2009, 16:16   #2  
Logger is offline
Logger
Участник
Лучший по профессии 2015
Лучший по профессии 2014
 
3,874 / 3123 (112) ++++++++++
Регистрация: 12.10.2004
Адрес: Москва
Записей в блоге: 2
Ух ты ! Оперативно сработали.
Старый 23.07.2009, 00:01   #3  
Vadik is offline
Vadik
Модератор
Аватар для Vadik
Лучший по профессии 2017
Лучший по профессии 2015
 
3,631 / 1849 (69) ++++++++
Регистрация: 18.11.2002
Адрес: гражданин Москвы
Цитата:
Сообщение от Logger Посмотреть сообщение
Ух ты ! Оперативно сработали.
Должен отметить, что в production AOS оказался довольно нестабильным. Помыкавшись неделю, откатываемся на 4.0.2501.116
__________________
-ТСЯ или -ТЬСЯ ?
Теги
aos, ax4.0, download, hotfix, kernel rollup, recid, rollup

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Hotfix rollup 967145 is available for Microsoft Dynamics AX 2009 Service Pack 1 Dima_Dima DAX: Программирование 7 08.05.2009 11:29
Dynamics AX: WCF: The Enterprise Service Bus for Dynamics AX and the rest of the Microsoft Stack Blog bot DAX Blogs 0 10.03.2009 16:05
Dynamics AX Sustained Engineering: Microsoft Dynamics AX 2009 Service Pack 1 Released Blog bot DAX Blogs 5 21.11.2008 17:00
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05
DynamicsTech: Service Pack 6 for Dynamics Ax 3.0 Blog bot DAX Blogs 0 04.05.2007 12:40
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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