web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to find customized code in AOT??

(0) ShareShare
ReportReport
Posted on by

what is best way to find the code customized?

I have to modify code on Retrunorder process(Sales Order-Pick and pack- packing slip journal)

then, When user cancel the order from the form, there is some of code that insert record into customized table A. 

but I have no idea where is code to insert record into Table A. 

I tried to find code from Cancel button. It seem that calling to SalesFormLetter Class.

So, I want to know if there is any way to find the customized code.

maybe Cross-Reference is useful for this situation?

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    236,477 Most Valuable Professional on at
    RE: How to find customized code in AOT??

    Yes, cross-references will help (just make sure they're up to date). For example, you can find pieces of code using table A.

  • Community Member Profile Picture
    on at
    RE: How to find customized code in AOT??

    I am not sure whether this will work or not, but you can try overriding the insert method or validate write method on custom table and then put a break point in that method(overridden method) to see where is this method called from.

    Regards

  • Community Member Profile Picture
    on at
    RE: How to find customized code in AOT??

    Thanks Martin.

    but I cannot see Cross-Reference on Right Click menu in AOT.

    should I set up something first to use Cross-Reference function?

  • Community Member Profile Picture
    on at
    RE: How to find customized code in AOT??

    Thanks Kumar.

    I already tried to add insert method in Table A. and break point to insert method in Table A. but It was not working.

    in this case, is there another situation I should considering?

  • Community Member Profile Picture
    on at
    RE: How to find customized code in AOT??

    Hi Leo,

    Do you think, you customized out of the box code to insert data into Custom Table A? if so, it's very easy to find using the version control tool.

  • Community Member Profile Picture
    on at
    RE: How to find customized code in AOT??

    Hi Kumar.

    VersionControlSystem?? like MorphX++, TFS??

    actually this environment don't using any VCS.

    but can I use just now to find the code?

  • Community Member Profile Picture
    on at
    RE: How to find customized code in AOT??

    Tools> options> Development> Application object tree> Application object layer> "Show all from corrected layers"

    by doing so, you will be able to see the layer name beside the customized object in the AOT. For example, ABCClass (CUS)

    if you have Version Control system on your machine then right click on the object and Select Compare from the context menu. you will see the customized code if you modify.

    Thanks and Regards,

    Vikas K

  • Community Member Profile Picture
    on at
    RE: How to find customized code in AOT??

    I resolved this problem by uncheck Exclusive CIL on Option. and clear cache.

    after that I could debug from insert method in Table A.

    Thanks Kumar and Martin.

  • Martin Dráb Profile Picture
    236,477 Most Valuable Professional on at
    RE: How to find customized code in AOT??

    Regarding cross-references, you can read more about them in Cross-reference Tool on MSDN.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#3
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans