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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 09.02.2012, 04:32   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
How to go to the object from Infolog
Источник: http://alexvoy.blogspot.com/2012/02/...m-infolog.html
==============

Usually, it is more useful if the user can go directly to the object from an Infolog line.

For example, we need to see all the BOM without any active version. By the way, this is a good example, too, for what we cannot do by means of Advanced Filtre but quickly by coding a short job.


static void SIBOMwithNoActiveVersion(Args _args)
{
BOMTable bomTable;
BOMVersion bomVersion;
int nmbr, i;
boolean printOnly = false;
;

SetPrefix('BOMs without any active version');
Nmbr = 0;

while select bomTable
notexists join bomVersion
where bomVersion.Active == NoYes::Yes
&& bomVersion.BOMId == bomTable.BOMId
{
nmbr++;
info(strfmt("%1 %2, %3, %4, %5, %6, %7",
nmbr,
bomTable.BOMId,
bomTable.Name,
bomVersion.ItemId,
bomVersion.Name,
bomVersion.Active
),"",
SysInfoAction_TableField::newBufferField(bomTable, fieldnum(bomTable, BOMId)));

}

}
Now the user can opt for Show from the context menu or just double-click on the interesting line to open the related form.









Источник: http://alexvoy.blogspot.com/2012/02/...m-infolog.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
furnemont: How-to series: Send SMS messages from CRM 2011 (part 3) Blog bot Dynamics CRM: Blogs 0 13.06.2011 12:11
furnemont: How-to series: Send SMS messages from CRM 2011 (part 2) Blog bot Dynamics CRM: Blogs 0 13.06.2011 12:11
furnemont: How-to series: Send SMS messages from CRM 2011 (part 1) Blog bot Dynamics CRM: Blogs 0 13.06.2011 12:11
Dynamics CRM 2011: How to Pull Data into Outlook from CRM Blog bot Dynamics CRM: Blogs 0 29.04.2011 19:12
gatesasbait: How to temporarily suppress infolog messages in Dynamics Ax (deux) Blog bot DAX Blogs 7 28.01.2009 17:45

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 12:37.