Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

AX 2012 R3 - SSRS - Trying to Call multiple or one Report Designs at the same time in SSRS Document layout

Posted on by 285

Hi all,

I am trying to call multiple report designs at the same time. The problem is that this report is a standard report known as Picking List document layout (WMSPickingList_OrderPick) and this SSRS Report is basically called through Controller class.

I am placing following code in the controller class's prePromptModifyContract() method, which is basically driving the condition in which I need to show multiple Designs.

if (wmsPickingRoute.CDItemsIncludedEND)

{

    this.parmReportContract().parmReportName(ssrsReportStr(WMSPickingList_OrderPick, ReportCD));

    this.parmReportContract().parmReportName(ssrsReportStr(WMSPickingList_OrderPick, ReportNonCD));

}

else

{

   this.parmReportContract().parmReportName(ssrsReportStr(WMSPickingList_OrderPick, ReportNonCD));

}

I have also done multiple layouts in Print Management settings of this report, but this doesn't seem to work very well probably because the Report menu item is linked with one (default) design.

Any ideas or suggestions regarding how I can achieve running/calling multiple or only one Report design at Run time?

I will appreciate your feedback.

*This post is locked for comments

  • Suggested answer
    venkatesh vadlamani Profile Picture
    venkatesh vadlamani 3,180 on at
    RE: AX 2012 R3 - SSRS - Trying to Call multiple or one Report Designs at the same time in SSRS Document layout

    The feature which does this for you is print management.

    During the print of the report use the printManagement button not the orginal or Copy.

    In the FormSetup > printManagement >picking list node type,

    Orginal node to point to the main report design

    Add a copy node with second design. You can add  as many copies as you want . 

    set the appropriate print destination settings.

    Now use  "Use Print Management"  button for picking list journals.

    While creating picking list you need to enable the print management check box. 

    This is the main functionality of having print management for document reports

    Regards

    Venkatesh

     

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: AX 2012 R3 - SSRS - Trying to Call multiple or one Report Designs at the same time in SSRS Document layout

    in your case it will apparently use only 1 design mentioned in second line. It's just replacing it. i actually don't get you. Do you want to open 2 different windows of report having different design in each?

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,064 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans