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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 24.10.2018, 12:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
a33ik: Find AOT objects by property
Источник: http://daxonline.org/1627-find-aot-o...-property.html
==============


static void findAOTObjectByProperty(Args _args)
{
#AOT
TreeNode treeNodeTables = TreeNode::findNode(#TablesPath);
TreeNode treeNode;
str strPropertyName = 'SaveDataPerCompany';
str strPropertyValue = 'No';

treeNode = treeNodeTables.AOTfirstChild();
while (treeNode != null)
{
if (treeNode.AOTgetProperty(strPropertyName)== strPropertyValue)
{
info(treeNode.AOTname());
}
treeNode = treeNode.AOTnextSibling();
}
}



Источник: http://daxonline.org/1627-find-aot-o...-property.html
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
daxrunbase: AOT property for kernel objects are readable via reflection Blog bot DAX Blogs 0 05.10.2018 19:12
How to find in AOT all objects named like... Blog bot DAX Blogs 0 25.09.2014 01:24
Dynamics AX FAQ: How to find an AOT object by its property? Blog bot DAX Blogs 2 07.11.2008 12:54
To find objects in AOT with particular properties Blog bot DAX Blogs 1 26.04.2008 07:33
daxmy: AOT Find function Blog bot DAX Blogs 0 17.08.2007 01:23
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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