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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 28.07.2010, 18:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
kamalblogs: Finding if a node is existing in lower layers Dynamics Ax
Источник: http://kamalblogs.wordpress.com/2010...s-dynamics-ax/
==============

Sometime when we were automating our form documentation methodology I had one particular requirement. I had to find if a component exists in the lower layer(Below BUS layer in our case). I tried searching for a way in the standard Ax to figure out. But i was unsuccessful, so at the end I wrote myself a small piece of code that will indicate if a component exists in the lower layer.

Here it goes

UtilEntryLevel getHighestBelowCurLayer(TreeNode _treeNode){ UtilEntryLevel layer, highestLayer; ; for (layer=UtilEntryLevel::sys; layer < UtilEntryLevel::bus; layer++) { if (SysTreeNode::isNodeInLayer(_treeNode, layer)) { highestLayer = layer; break; } } return highestLayer;}



Источник: http://kamalblogs.wordpress.com/2010...s-dynamics-ax/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
kamalblogs: Storing and retrieving an XML in Resource node in Dynamics Ax Blog bot DAX Blogs 0 23.05.2010 02:12
CRM DE LA CREME! Some more useful javascripts for MS CRM Blog bot Dynamics CRM: Blogs 0 04.05.2010 11:05
emeadaxsupport: List of fixes that improve performance of certain features in Dynamics AX 2009 Blog bot DAX Blogs 0 13.10.2009 19:06
CRM DE LA CREME! Configuring Microsoft Dynamics CRM 4.0 for Internet-facing deployment Blog bot Dynamics CRM: Blogs 0 18.08.2009 11: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, время: 12:23.