Hi Bob,

 

To trace a report from a menu item you first go to the �menus� node in the AOT. Under that node the �MainMenu� menu represents the main menu in Axapta. Expand that menu and you will see a list of all the menus in Axapta�s main menu. Hold the mouse stationary over the menu of interest and you will see a popup that says �reference to menuname� where menuname is the name of the menu concerned. This name is the name of the menu under the �Menus� object of AOT. Locate the menu and expand it and you will see a listing identical to that on the main menu in Axapta.

 

If the report you are looking for is under the reports menu go to that menu or locate the report the same way you would do if you were going through the Axapta main menu as a user. Right-click the report and look at the �MenuItemType� and �MenuItemName� properties. The �MenuItemType� has three possible values that are either display, output or action. Expand the �Menu Item� object under the AOT and locate the corresponding object to the �MenuItemType� (display, output or action). Expand the object (diplay, output or action) and look for the �MenuItemName� property value from above and right-click it and select properties. Note the �Class� and �Object� properties. The �Class� property represent the object under the AOT where you need to continue looking for the report. This is usually class or report. If it is report you have found the report otherwise it should be class so you need to locate the class under the class object in the AOT. Expand the class and look for a method name �lastValueElementName�. It should look like this:

 

public identifiername lastValueElementName()

{

    return reportStr(REPORTNAME);

}

 

On the line with the return statement the REPORTNAME in brackets is the name of the report you want to find. Locate the report under the reports node of the AOT.

 

N.B.

 

You may not find some of the more complicated reports this way in the class. Sometimes you do not see the method �lastValueElementName� in the class but there may be a series of polymorphism that requires you to understand polymorphism and tracing through many classes to find the required report.



[EMAIL PROTECTED] wrote:

Hi Everyone,

I need help again. I have spent a lot of time looking but have not been
able to find the name of the Axapta report in the AOT that prints the
report called "Order lines not Invoiced".  I found a report with a similiar
name but not the right one. Any help will be greatly appreciated or if
anyone can tell me a way to search for the report names in the AOT when it
is not the name used on the report.


Thanks and best regards,

                           Bob





Bob Brinker
Oakdene Group, Inc.
2625 Butterfield Rd. (Suite 212E)
Oak Brook, IL 60523-1261
(630)368-1046 x/230
(630)368-1050 (Fax)
[EMAIL PROTECTED]



Sharing the knowledge on Axapta.



Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

Sharing the knowledge on Axapta.


Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to