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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 26.02.2007, 18:40   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
casperkamal: InventDim id blank from "Axapta" to "AllBlank" in Dynamics Ax
Источник: http://casperkamal.spaces.live.com/B...CD63!233.entry
==============

 Hey,
 
         Just found out something interesting, the blank inventDimid(With all Inventory Dimesions blank) "Axapta" is no more the same, now it is refferred to "AllBlank". I found it as i was digging to find the reason behind no records getting displayed in the "Item" form when I had records in the table.
 
The problem was the blank record in InventItemLocation, just a wrote a little job to get the things right.
 
Just copy and run it, if you find a bit lazy to write ....
 
static void JobChangeAxaptatoBlankInventDim(Args _args)
{
    InventItemLocation inventItemLocation;
    ;

    while select forupdate inventDimId from inventItemLocation
    {
        ttsbegin;
        if (inventItemLocation.inventDimId == 'Axapta')
        {
            inventItemLocation.inventDimId = 'AllBlank';
            inventItemLocation.update();
        }
        ttscommit;
    }
}

 
 ..................what else ??????? will see....



Источник: http://casperkamal.spaces.live.com/B...CD63!233.entry
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
palleagermark: The book "Dynamics AX: A Guide to Microsoft Axapta" is available on Google Books Blog bot DAX Blogs 0 10.02.2009 15:05
Inside Dynamics AX 4.0: Inside the Business Connector Blog bot DAX Blogs 0 04.10.2007 05:15
Dynamics AX: ERP Live? "Software plus Services"? Blog bot DAX Blogs 0 22.04.2007 20:51
Dynamics AX: Why Dynamics AX beats SAP Blog bot DAX Blogs 0 10.01.2007 23:15
Dynamics AX: Dynamics AX - "Snap to it!" - Part I Blog bot DAX Blogs 0 01.12.2006 21:40

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

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

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