Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

Controller Code for 2 Reports in 1 Button

$
0
0

hello, i need help here.

I have 2 Reports:  Report1, Report2

in Button Click of Open Report, i want to Open the Report depending on the SalesTable Qty.

If (SalesTable.Qty = 0)

{

Show Report 1

}

elseif (SalesTableQty > 0)

{

Show Report 2

}

i need code for the controller code for this. can someone help me? thanks.

NOTE:

I already have a Controller class that gets SalesTable.SalesId to be the Parameter in my Report.

I only need the code on where to put the Condition in Opening the 2 Reports.


please help, thanks.


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>