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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 03.12.2009, 19:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,477 / 846 (79) +++++++
Регистрация: 28.10.2006
Dynamics AX Sustained Engineering: Item template detail will be deleted if the item is deleted
Источник: http://blogs.technet.com/dynamicsaxs...s-deleted.aspx
==============

If the original item in the Inventory Table is deleted, then the records in the tables, with itemID field, will also be deleted. Since this is a general issue for the record templates feature in Ax, and is caused by the fact that deleting templates is not supported, SE’s recommendation for solving this issue is as below.



This fix is applied in \Classes\SysRecordTemplate:initValue().



Change:



if (common.TableId == tablenum(EventRuleData))

excludeValidateField.add(fieldId2Ext(fieldnum(EventRuleData,RuleId),1));



To:

switch(common.TableId)

{

case tablenum(EventRuleData):

excludeValidateField.add(fieldId2Ext(fieldnum(EventRuleData,RuleId),1));

break;

case tablenum(InventTableModule):

excludeValidateField.add(fieldId2Ext(fieldnum(InventTableModule,ItemID),1));

break;

case tablenum(InventItemLocation):

excludeValidateField.add(fieldId2Ext(fieldnum(InventItemLocation,ItemID),1));

break;

}



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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Dynamics AX Sustained Engineering: Microsoft Dynamics AX 4.0 and AX 2009 are compatible with Microsoft Windows 7 and Microsoft Windows Server 2008 R2 Blog bot DAX Blogs 0 22.09.2009 04:06
aEremenko: Последние изменения в списке совместимости для AX Blog bot DAX Blogs 7 05.06.2009 05:10
Dynamics AX Sustained Engineering: SQL Server 2005 sp3 & SQL Server 2008 with Dynamics AX Blog bot DAX Blogs 0 12.02.2009 06:08
Dynamics AX Sustained Engineering: Dynamics AX 2009 Patching Blog bot DAX Blogs 0 08.10.2008 10:05
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05

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

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

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