public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptInventoryStatus rpt = new rptInventoryStatus(); rpt.Site = this.Site; return(rpt); }
public static ReportDocument LoadInventoryStatus() { ReportDocument rpt = new Inventory.rptInventoryStatus(); dsReports ds = new dsReports(); ds.EnforceConstraints = false; InventoryStatusTableAdapter ta = new InventoryStatusTableAdapter(); ta.ClearBeforeFill = true; ta.Connection = AppHelper.GetDbConnection(); ta.FillDenormalized(ds.InventoryStatus); RetrieveDeveloper(ds.Developer); RetrieveOwner(ds.Owner); rpt.SetDataSource(ds); return(rpt); }
public static ReportDocument LoadInventoryStatus() { ReportDocument rpt = new Inventory.rptInventoryStatus(); dsReports ds = new dsReports(); ds.EnforceConstraints = false; InventoryStatusTableAdapter ta = new InventoryStatusTableAdapter(); ta.ClearBeforeFill = true; ta.Connection = AppHelper.GetDbConnection(); ta.FillDenormalized(ds.InventoryStatus); RetrieveDeveloper(ds.Developer); RetrieveOwner(ds.Owner); rpt.SetDataSource(ds); return rpt; }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptInventoryStatus rpt = new rptInventoryStatus(); rpt.Site = this.Site; return rpt; }