Thursday, December 27, 2012

View Reporting Service SQL Server dari AX 2009

1. Duplicate (copy-paste) form SRSReportView
2. Ganti url pada run(), arahkan pada reporting service sebagai contoh berikut:

public void run()
{
    Microsoft.Dynamics.ReportingServices.ReportSettings settings = reportSettings;
    Microsoft.Dynamics.ReportingServices.ReportException reportException;
    str url;
    str errorMessage;
    int errorCode;
    ;
    super();

    try
    {
        // url = settings.BuildUrl(); --> ganti

           url = http://[server]/Reports/Pages/Report.aspx?ItemPath=/DynamicsAx_AddOn/MyReportService

    ...
    ...
 
    }

3. Buka form nya  dan Tala.....
4. Bisa dilakukan untuk report service yg koneksi langsung ke raw database.

No comments:

Post a Comment