Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Enlist all the details of objects those are modified in current model

(0) ShareShare
ReportReport
Posted on by 15

Hello All,

I have a requirement where I have to list all the objects from the projects. With the object name it should also show method names those are modified/created in current model, rest methods need not to show.

I am done with enlisting all the objects from projects but not able to do for modified/created methods. Is there any way to enlist method names also?

Regards,

Aniket

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Enlist all the details of objects those are modified in current model

    This information (what changes are related to some task) is already available in source control. And actually it's better information because you can see which exact code lines were changed. If you list all customized parts of all objects on an AOT project, you end up listing much more than just the changes for this project.

    For example, SalesTable table might have 25 different customizations, and only one is related to your current project. But your solution would list all these 25 customizations.

    But if you look at the changeset details in your source control system, you would see the exact changes.

    Normally each check-in to source control is linked to some task id. So, you don't actually have to put anything in the technical design document, instead anyone can use the task id of this technical design to find the changes in the source control. And it will show all changes, even if the developer forgot to add some object to the AOT proejct.

    And of course you could develop some script to extract the exact changeset details from the source control to your technical design document if you need it. But that would be just duplicating the information which already exists.

  • AniketNimbekar Profile Picture
    AniketNimbekar 15 on at
    RE: Enlist all the details of objects those are modified in current model

    We have to maintain technical design documentation for client. So this process will ensure each and every modified object is listed in document with its modified node element(method name, field name and so on)

  • nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Enlist all the details of objects those are modified in current model

    Yes, you already mentioned this. But what is the purpose of this document? What is it used for?

  • AniketNimbekar Profile Picture
    AniketNimbekar 15 on at
    RE: Enlist all the details of objects those are modified in current model

    I want to create a document in which it will list objects from project with its modification.

    ex: if I add any field/method or anything in my form then it should show form name and newly added methods,fields with it. This should applicable for all objects in project.

  • Martin Dráb Profile Picture
    Martin Dráb 231,305 Most Valuable Professional on at
    RE: Enlist all the details of objects those are modified in current model

    I'm sorry, but I can't design a technical solution for your requirements if you're unwilling to tell us anything about them.

    Reflection APIs exist and can be used for your technical design, but I suspect your technical design isn't really a reasonable solution of business requirement.

    For example, maybe you want use projects for deployment and that's not how it should be done.

    If you happen to decide that maybe you could use our knowledge and experience to build a good design, please come back and give us some information about your process and business requirements.

  • AniketNimbekar Profile Picture
    AniketNimbekar 15 on at
    RE: Enlist all the details of objects those are modified in current model

    My apologies Martin. I can not disclose it.

    Can you please tell me is there any way or any reference code to achieve this requirement.

  • Martin Dráb Profile Picture
    Martin Dráb 231,305 Most Valuable Professional on at
    RE: Enlist all the details of objects those are modified in current model

    Please tell us what you're trying to achieve. What process do you want to automate? How will such a list help with the process? Why do you explicitly want to ignore objects that somebody forgot to include in a project?

  • AniketNimbekar Profile Picture
    AniketNimbekar 15 on at
    RE: Enlist all the details of objects those are modified in current model

    Hello Nikolaos,

    This is not any business requirement. I am just trying to create some automation in AX 2012 thus I require to list the objects with its modification details.

  • AniketNimbekar Profile Picture
    AniketNimbekar 15 on at
    RE: Enlist all the details of objects those are modified in current model

    Hello Martin,

    Thanks for reply. I just want objects reference by project.

    I just want to grab all modifications done on all the objects in my project with the object name.

    Regards,

    Aniket

  • nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Enlist all the details of objects those are modified in current model

    I see a lot of questions around this topic and I always wonder what is the business value of such list. Is it really worth the time that is invested in gathering such list? What is this list used for? I'm sure someone requested it from you, but can you ask them what is their actual business requirement?

    Perhaps the business requirement can be resolved with something completely different.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,492 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans