Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Electronic reporting :...
Finance forum
Unanswered

Electronic reporting : How to use user input parameters?

Posted on by 10

Hello,

In electronic reporting, I have created a payment format, in which i have to enable or disable the generation of a control report based on user input (please refer to screenshot below)  :-

5123.er.jpg

As shown in the screenshot, I have added a user input parameter, which provides the user with a checkbox when generating payment :-

6354.erPar.jpg

Can anyone help me with how to use this checkbox to control whether the control report is generated or not?

Can this be done in the format designer itself? or do I have to do some coding?

Thanks

  • RE: Electronic reporting : How to use user input parameters?

    This user input parameter will need to be mapped into your model.

    I've had success with user parameters like this by doing the following:

    Add a field to hold the selection to your data model

    Add the user input parameter to your data model mapping

    Map the selection into that field (and do any processing that is appropriate based on parameter selection)

    In your format, you can set the enabled property on an Excel file, range, or field based on the mapped selection

    This approach works very consistently and allows a great deal of control over your output.

  • 1054025515 Profile Picture
    1054025515 5 on at
    RE: Electronic reporting : How to use user input parameters?

    Could you please tell me how to solve this problem? Thank you!

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans