![]() |
#4 |
Участник
|
Может кому пригодится:
X++: static void TableMenuItemsSecurityKeyNull(Args _args) { #aot #properties #define.info('SecurityKey не установлен в ') TreeNode tnTable = TreeNode::findNode(#TablesPath); str tableName, miName; str securityKeyProperty; ; info (strfmt('%1',#info+#TablesPath)); tnTable = tnTable.AOTfirstChild(); while (tnTable) { tableName = findProperty(tnTable.AOTgetProperties(), #PropertyName); securityKeyProperty = findProperty(tnTable.AOTgetProperties(), #PropertySecuritykey); if (securityKeyProperty =='') { info (strfmt('%1 ', tableName)); } tnTable = tnTable.AOTnextSibling(); } info (strfmt('%1',#info+#MenuItemsDisplayPath)); }
__________________
Dynamics AX 2009 SP1, Rollup 5, SQL Server 2008 Хороший ученик во всем найдет себе учителя... |
|
|
|