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.   
Microsoft Dynamics Ax,AIF,Axapta, Enterprise portal,,Microsoft , United State,U.S., SharePoint , BI Tools, Performance Tuning, SSRS,Business Logic,Ax ERP Errors and solution,Dynamics 365 Errors Solution,Business software .