web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

SSRS Report via BaseEnum

(0) ShareShare
ReportReport
Posted on by 50

I have two different reports design. My requirement is to print a report which is selected in base enum. After selecting baseenum when i click the report button (Action menu item), that report should be generated. How can i do this?

I have the same question (0)
  • Martin Dráb Profile Picture
    236,804 Most Valuable Professional on at
    RE: SSRS Report via BaseEnum

    It can be controlled by parmReportName() method of the report controlled class.

    By the way, which version of AX it is about? You've attached tags for both AX 2012 and D365.

  • Muddassir Ahmed Profile Picture
    50 on at
    RE: SSRS Report via BaseEnum

    It is about d365, Should i go for methods of action menu item?

    Because i have action button and base enum too. The design selected in baseenum should be printed when clicked on action button. How can i do this?

  • Martin Dráb Profile Picture
    236,804 Most Valuable Professional on at
    RE: SSRS Report via BaseEnum

    Moved to Dynamics 365 Finance Forum; tags adjusted.

    Where do you set the enum? In the report dialog? In a parameter table? In a record that the report is printed for?

  • Muddassir Ahmed Profile Picture
    50 on at
    RE: SSRS Report via BaseEnum

    I have added a baseenum to my project and then add it to table. After adding it to table i have move it to the form.

    Now which method of action button should i override to complete this. Now my baseenum have different design names. It will done through a single controller class or should i create two different controller classes????

    I'm totally stuck

  • Martin Dráb Profile Picture
    236,804 Most Valuable Professional on at
    RE: SSRS Report via BaseEnum

    Using is a single controller is sufficient. As I said, you can choose which design will be used by using parmReportName() method of the controller.

    But before you can do that, you must think about how you can get the right record from the table. Unfortunately you told us nothing about the table, therefore we can't help you with it.

  • Muddassir Ahmed Profile Picture
    50 on at
    RE: SSRS Report via BaseEnum

    Yes i got it!

    I have that base enum and some other fields in my table but not in my temptable using for report. At form level i'm using that enum just.

    Can you please tell how can i get right record in controller class to put condition which design is selected by user?

  • Martin Dráb Profile Picture
    236,804 Most Valuable Professional on at
    RE: SSRS Report via BaseEnum

    Unfortunately I can't tell you which record you want to select from your table and based on which conditions. All we know about your table and your business requirements is what you told us - which is nothing.

    Maybe you should start by answering my previous questions: Is it a parameter table? Or do you want to take the value from a selected record? For example, let's say that you print information about an order and the enum is on the order record.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 765 Super User 2025 Season 2

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 743

#3
Sumit Singh Profile Picture

Sumit Singh 551

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans