Может кому пригодится:
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));
}