Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Ax 2012 SSRS RDP Report Filter Issue

Posted on by Microsoft Employee

Hi Experts,

I have developed a RDP report in AX based on AOT Query. The issue is that whenever i go to select the filters, it shows one of filter and its value repeatedly.

pastedimage1585221013637v1.png

My Query is as under

pastedimage1585221235793v2.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Ax 2012 SSRS RDP Report Filter Issue

    Hi Sergei ,

    Upon Resetting,it still shows old values which is a problem for me.

  • Suggested answer
    Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: Ax 2012 SSRS RDP Report Filter Issue

    Hi Faran,

    You can reset the query if you go to "Select" and press the "Reset" button in the query filter form. By default, previous values are saved and show them when you open the form again.

    But it's strange you have a lof of the same ranges. Try to reset them with "Reset" button.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Ax 2012 SSRS RDP Report Filter Issue

    Hi Sergei 

    Whenever i click menu item of report, this Dimension filter shows old values too in lookup along with new selected.Can i empty this on clicking menu item or just it should show the last values selected in previous run.It is caching all previous values.

    pastedimage1585225704236v1.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Ax 2012 SSRS RDP Report Filter Issue

    Hi Sergei

    I am not modifying query ranges in code as you see below.

    [  SRSReportQueryAttribute (queryStr(myAOTQuery))]
    public class myDP extends SRSReportDataProviderBase
    {
        PRSalarySheetTemp   pRSalarySheetTemp;
    
    }
    
    [SysEntryPointAttribute(false)]
    public void processReport()
    {
        this.insertPRSalarySheetTemp();
    }
    
    private void insertPRSalarySheetTemp()
    {
            QueryRun queryRun = new QueryRun(this.parmQuery());
    
    
          while (queryRun.next())
          {
            pREmployeePayments = queryRun.get(tablenum(PREmployeePayments));
            //
            //
            //
          
          }
    }

  • Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: Ax 2012 SSRS RDP Report Filter Issue

    Hi Faran,

    Do you have code which modifies query with ranges?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans