Hi Jay, I think you changed gears on me, not sure exactly were you’re at with this, but think your asking now how you can get your modified report to be used instead of the standard.  If the report is called from a Menu, find that that menu in the AOT, and look at the properties, it will point to a menuItem, find that menuitem and it’s properties it will most likely either point to a class or the report it self.  If it point directly to the report, just change it to point to your modified report, if it points to a class, you have to find that class in the AOT, the class should have a method named lastValueElementName that returns the name of the report that is to be run like this

 

public identifiername lastValueElementName()

{

    return reportStr(InventAgeDim);

}

 

Change the argument in for reportStr to be the name of your modified report.

 

If the report prints from a button on a form more than likely it is a menuItem button, open the form in the AOT, find the button in the design, and look for which menuItem it calls, the follow the above process to make the menuItem point to your modified version.

 

Hope that helps,  If you need more, let me know the exact report you modified, and I might be able to be more specific.

 

-Preston

 

 

 

-----Original Message-----
From: Jay Sathasivam [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 10:03 PM
To: [EMAIL PROTECTED]
Subject: RE: [development-axapta] Axapta Sort by location, Size and Type

 

Hi Preston,

 

Yap am using standared report and I have done some changes in the layout I have included new columns call variance which is Onhand - counted and I need to call from the Journal Print menu. Please let me know how to call this report and passing Journal No and this report no need to display records which variance =0.

 

Thanks

 

Regards

Jay



"Preston A. Larimer" <[EMAIL PROTECTED]> wrote:

Is this a standard Axapta report? A few of the standard reports that use inventDim don’t populate them with the query, but use the fetch method to get the inventDim record to display so setting the sorting on the Data source has no effect.  Let us know which report it is if it’s standard and perhaps we can help from there.

 

-Preston

 

-----Original Message-----
From: Jay Sathasivam [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 9:13 PM
To: [EMAIL PROTECTED]
Subject: [development-axapta] Axapta Sort by location, Size and Type

 

Hi

 

I have a report which contain InventJournalTrans and InventDim I need to sort the report based on InventLocationId, InventSizeid, inventColorId.

In my Query I have included all these field under sort but still not sorting please let me know is not working.

 

Regards

Jay

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam


 

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam

Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to