void clicked() { URL _ReportServerUrl; _ReportServerUrl = SRSConfiguration::getReportServerUrl(); if(PurchTable::find(vendpackingslipjour.PurchId).PurchReqExpType==PurchReqExpType::Service) { _ReportServerUrl = _ReportServerUrl + "?/Reports/ServiceCompletion&rs:Command=Render&DAI=" + curext() + "&PurchID=" +VendPackingSlipJour.PurchId +"&PSINTERNALID=" + VendPackingSlipJour.InternalPackingSlipId ; infolog.urlLookup(_ReportServerUrl); } else{ _ReportServerUrl = _ReportServerUrl + "?/Reports/GRN&rs:Command=Render&DAI=" + curext() + "&PurchID=" +VendPackingSlipJour.PurchId + "&PSINTERNALID=" + VendPackingSlipJour.InternalPackingSlipId ; infolog.urlLookup(_ReportServerUrl); } }