public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptPurchasePaymentForm rpt = new rptPurchasePaymentForm(); rpt.Site = this.Site; return(rpt); }
public static ReportDocument LoadPurchasePaymentForm(string code) { ReportDocument rpt = new Forms.rptPurchasePaymentForm(); dsReports ds = new dsReports(); DenormalizedOrdersTableAdapter ta = new DenormalizedOrdersTableAdapter(); ta.ClearBeforeFill = true; ta.Connection = AppHelper.GetDbConnection(); ta.FillByOrderNo(ds.DenormalizedOrders, code, TransactionTypes.TX_PURCHASE_PAYMENT); if (ds.DenormalizedOrders.Rows.Count <= 0) { FillNoData(ds.DenormalizedOrders); } RetrieveDeveloper(ds.Developer); RetrieveOwner(ds.Owner); rpt.SetDataSource(ds); return(rpt); }
public static ReportDocument LoadPurchasePaymentForm(string code) { ReportDocument rpt = new Forms.rptPurchasePaymentForm(); dsReports ds = new dsReports(); DenormalizedOrdersTableAdapter ta = new DenormalizedOrdersTableAdapter(); ta.ClearBeforeFill = true; ta.Connection = AppHelper.GetDbConnection(); ta.FillByOrderNo(ds.DenormalizedOrders, code, TransactionTypes.TX_PURCHASE_PAYMENT); if (ds.DenormalizedOrders.Rows.Count <= 0) FillNoData(ds.DenormalizedOrders); RetrieveDeveloper(ds.Developer); RetrieveOwner(ds.Owner); rpt.SetDataSource(ds); return rpt; }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptPurchasePaymentForm rpt = new rptPurchasePaymentForm(); rpt.Site = this.Site; return rpt; }