コード例 #1
0
ファイル: TrackingTool.cs プロジェクト: jpheary/Argix10
 private void OnSummaryAfterRowActivate(object sender, EventArgs e)
 {
     //
     try {
         Argix.Enterprise.TrackingItem item = (Argix.Enterprise.TrackingItem) this.bsItems.Current;
         ReportParameter p1 = new ReportParameter("PalletNumber", item.CartonNumber);
         this.rsDetail.ServerReport.DisplayName = "Tracking Detail";
         this.rsDetail.ServerReport.ReportPath  = "/Freight/Pallet Shipment Tracking";
         this.rsDetail.ServerReport.SetParameters(new ReportParameter[] { p1 });
         this.rsDetail.RefreshReport();
     }
     catch (Exception ex) { App.ReportError(new ApplicationException(ex.Message)); }
 }
コード例 #2
0
ファイル: CartonTrackingTool.cs プロジェクト: jpheary/Argix10
 private void OnSummaryAfterRowActivate(object sender, EventArgs e)
 {
     //
     try {
         Argix.Enterprise.TrackingItem item = (Argix.Enterprise.TrackingItem) this.bsItems.Current;
         string          snull = null;
         ReportParameter p1    = new ReportParameter("Cartons", item.CartonNumber);
         ReportParameter p2    = new ReportParameter("ClientNumber", item.Client);
         ReportParameter p3    = new ReportParameter("VendorNumber", snull);
         this.rsDetail.ServerReport.DisplayName = "Tracking Detail";
         this.rsDetail.ServerReport.ReportPath  = "/Customer Service/CRM Tracking Detail";
         this.rsDetail.ServerReport.SetParameters(new ReportParameter[] { p1, p2, p3 });
         this.rsDetail.RefreshReport();
     }
     catch (Exception ex) { App.ReportError(new ApplicationException(ex.Message)); }
 }