How to get a list of display method in a report?

Hi,

I am working on AX4.0.

I have write a job to export a list of labels from a special report. Through get from label property, Text property, Caption property, etc.

But when it’s a display method field, I cann’t get the MethodInfo Object, I have seached in the system, It seems only table and Class can get the MethodInfo instance, except report display methods.

I need help, thank you.[:(]

You can try to get the display method AOT node path, and its parent Node, then you get the methodInfo object.

mehodInfo = new MethodInfo( parentAOTNode.applObjectType(), parentAOTNode.applObjectId(), dspMethodName);