|
23.12.2010, 20:11 | #1 |
Участник
|
dax-ideas: Getting the List of Private and Shared projects from the Projects node using X++.
Источник: http://dax-ideas.blogspot.com/2010/1...nd-shared.html
============== For retreiving the list of projects we cannot use Treenode. We should first use infolog.projectrootnode() to get the root node for projects and then proceed with the treenode iterator to get the list of the rest. Below is the code that will display the list of Private and Shared Projects from the project node. static void GetProjects(Args _args) { ProjectListNode projectListNode; treenodeIterator iterator,projectiterator; TreeNode treenodeprivate,treenodeprivateprojects,treenodeShared,treenodesharedprojects; int i; ; projectListNode = infolog.projectRootNode(); treenodeprivate = projectListNode.AOTfirstChild(); iterator =treenodeprivate.AOTiterator(); setprefix("Private projects"); for(i = 1; i
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
Похожие темы | ||||
Тема | Ответов | |||
Shared and Private Projects | 0 |
Опции темы | Поиск в этой теме |
Опции просмотра | |
|