Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 53708

Print Report in PDF in EP Site in axapta 2009,4.0

$
0
0
If you are trying to print and display report in Enterprise portal in axapta then you need to add some code in class EPSenddocument on new method.

 case tablenum(CustPackingSlipJour): 
                          mailAddress     
                           = SalesTable::find(record.(fieldnum(CustPackingSlipJour,SalesId))).Email;

                           if (record.(fieldnum(CustPackingSlipJour,InvoiceAccount)))
                            StrVarialble1      = record.(fieldnum(CustPackingSlipJour,InvoiceAccount));
                            else
                            StrVarialble1= record.(fieldnum(CustPackingSlipJour,OrderAccount));
                             documentTitle   = fileName("SalesPKSLP");
                             reportName      = reportstr(SalesPackingSlip);
                                 break;

Here its example of sales packing slip report print . You need to add new case in switch statement.


Viewing all articles
Browse latest Browse all 53708

Trending Articles



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