By using this job anyone can do audit of all the AOT objects .
static void AOTObjectAudit(Args _args)
{
TreeNode TreeNode;
TreeNode BaseTreeNode;
UtilEntryLevel UtilEntryLevel;
UtilElements utilElements;
#AOT
;
BaseTreeNode = TreeNode::findNode(#TablesPath);
TreeNode = BaseTreeNode.AOTfirstChild();
while(TreeNode)
{
{
utilElements = xUtilElements::findTreeNode(TreeNode);
info(strfmt(\”Created by %1\”, utilElements.createdBy));
info(strfmt(\”Created date %1\”, datetime2str(utilElements.createdDateTime )));
info(strfmt(\”Modified by %1\”, utilElements.modifiedBy));
info(strfmt(\”Modified date %1\”,datetime2str(utilElements.modifiedDateTime)));
}
break;
TreeNode=TreeNode.AOTnextSibling();
}
}
Comments
Post a Comment