public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptInventoryStatus rpt = new rptInventoryStatus();

            rpt.Site = this.Site;
            return(rpt);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
        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;
 }