Thanks,

 

Not being a true programmer I cannot really follow the code you have put.  Is 
this code going through the complete AOT or maybe can explain so I can better 
understand.

 

Is there any tutorial jobs/classes or std objects in AX for this kind of thing 
that I can learn more from?

 

Thanks

James

 

 

From: Axapta-Knowledge-Village@yahoogroups.com 
[mailto:axapta-knowledge-vill...@yahoogroups.com] On Behalf Of pradeep itnal
Sent: 30 November 2009 15:16
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: Re: [Axapta-Knowledge-Village] Go through projects and export created 
date of obecjts

 

  


hi James there are many system clasees available .. from which you can access 
the objects in aot.... 

 

For example 

 

TreeNode classnode = 
TreeNode::findNode(#SystemClassesPath+'\\'+classstr(xRecord));
    TreeNode childnode = classnode.AOTfirstChild();

    DictMethod dictMethod;

    setprefix(classnode.treeNodeName());
    while (childnode)
    {
        setprefix(childnode.treeNodeName());
        dictMethod = new 
DictMethod(UtilElementType::ClassInstanceMethod,classnum(xRecord),childnode.treeNodeName());
        info(strfmt('%1', dictMethod.runMode()));

        childnode = childnode.AOTnextSibling();
    }

 

 

1. You can develop a recursive program, which will iterate thru each of Private 
and sheraed projects.

 

2.copy the details of objects user modified date and time of the user into a 
temporary table.

 

3. create a report and print them

 

Basically u need a class where u put ur business logic which will list the 
objects in your project, 2nd u need a temporary table to store intermediate 
info and a report to show up the results. hope it helps. 

Thanks & Regards

Pradeep S.Itnal
mob:+91-9886529409



--- On Mon, 30/11/09, James Flavell <djf1...@gmail.com> wrote:


From: James Flavell <djf1...@gmail.com>
Subject: [Axapta-Knowledge-Village] Go through projects and export created date 
of obecjts
To: Axapta-Knowledge-Village@yahoogroups.com
Date: Monday, 30 November, 2009, 10:16 AM

  

Has anybody done coding to go through all the projects in an AOT and print a 
report of the objects in the project with their created and modified date and 
user info?

 

Something like an audit log on objects done by project basis?

 

If so would appreciate some points as to how to do such coding 

  

Thanks 

James





  _____  

The INTERNET now has a personality. YOURS! See 
<http://in.rd.yahoo.com/tagline_yyi_1/*http:/in.yahoo.com/>  your Yahoo! 
Homepage.



Reply via email to