Example #1
0
 protected void SetCoputedDataSet(DTO.Report Ob, GridView grdvw)
 {
     try
     {
         Ob.DatatableMain = Ob.DatasetMain.Tables[0].Copy();
         Ob.DatasetOther  = new DataSet();
         Ob.DatasetOther.Tables.Add(Ob.DatatableMain);
         if (Ob.DatasetMain.Tables[0].Rows.Count > 0)
         {
             Ob.DatasetMain.Tables[0].Rows.RemoveAt(Ob.DatasetMain.Tables[0].Rows.Count - 1);
         }
         Ob.Counter           = 0;
         grdReport.DataSource = Ob.DatasetMain;
         grdReport.DataBind();
         blnRight = AppClass.CheckExportToExcelRightOnPage();
         if (blnRight)
         {
             btnExport.Visible = true;
         }
         else
         {
             btnExport.Visible = false;
         }
     }
     catch (Exception ex)
     { }
 }
 protected void SetCoputedDataSet(DTO.Report Ob, GridView grdvw)
 {
     try
     {
         Ob.DatatableMain = Ob.DatasetMain.Tables[0].Copy();
         Ob.DatasetOther  = new DataSet();
         Ob.DatasetOther.Tables.Add(Ob.DatatableMain);
         if (Ob.DatasetMain.Tables[0].Rows.Count > 0)
         {
             Ob.DatasetMain.Tables[0].Rows.RemoveAt(Ob.DatasetMain.Tables[0].Rows.Count - 1);
         }
         Ob.Counter           = 0;
         grdReport.DataSource = Ob.DatasetMain;
         grdReport.DataBind();
     }
     catch (Exception ex)
     { }
 }
Example #3
0
        public DataSet GetItemWiseSummary(DTO.Report Ob)
        {
            // check if required field are not null

            // strCodes is the itemName
            if (string.IsNullOrEmpty(Ob.StrCodes))
            {
                throw new ArgumentNullException("Item name was not supplied properly");
            }

            /*
             * DateTime fromDate;
             * // strCodes is the startDate
             * if (DateTime.TryParse(Ob.FromDate, out fromDate))
             *  throw new ArgumentNullException("Start date was not supplied properly");
             *
             * DateTime uptoDate;
             * // strCodes is the endDate
             * if (DateTime.TryParse(Ob.UptoDate, out uptoDate))
             *  throw new ArgumentNullException("Start date was not supplied properly");
             */

            // Invoice is flag
            if (string.IsNullOrEmpty(Ob.InvoiceNo))
            {
                throw new ArgumentNullException("Flag was not supplied properly");
            }

            // Invoice is BranchId
            if (string.IsNullOrEmpty(Ob.BranchId))
            {
                throw new ArgumentNullException("Branch Id was not supplied properly");
            }

            return(DAL.DALFactory.Instance.DAL_Report.GetItemWiseSummary(Ob));
        }
Example #4
0
 public DataSet GetPackageReportDetail(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetPackageReportDetail(Ob));
 }
Example #5
0
 public DataSet GetInvoiceStatement(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetInvoiceStatement(Ob));
 }
Example #6
0
 public DataSet GetDataMainReportAreaLocation(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetDataMainReportAreaLocation(Ob));
 }
Example #7
0
 public DataSet GetDataItemReport(DTO.Report Ob, bool bIsAll)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetDataItemReport(Ob, bIsAll));
 }
Example #8
0
 public DataSet GetDataMainReportwithHome(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetDataMainReportwithHome(Ob));
 }
Example #9
0
 public DataSet BindServiceTax(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.BindServiceTax(Ob));
 }
Example #10
0
 public DataSet GetPendingStockReport(DTO.Report Ob, bool bIsAll)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetPendingStockReport(Ob, bIsAll));
 }
Example #11
0
 public DataSet GetPendingPaymentFromToUptoDate(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetPendingPaymentFromToUptoDate(Ob));
 }
Example #12
0
 public DataSet BindUserRightsReport(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.BindUserRightsReport(Ob));
 }
Example #13
0
 public DataSet GetDataMainReportEditRecord(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetDataMainReportEditRecord(Ob));
 }
Example #14
0
 public DataSet BindUserTypeDropDown(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.BindUserTypeDropDown(Ob));
 }
Example #15
0
 public DataSet GetServiceAndGarment(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetServiceAndGarment(Ob));
 }
Example #16
0
 public DataSet GetProcessWiseSummary(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetProcessWiseSummary(Ob));
 }
Example #17
0
 public DataSet GetGarmentReadyReport(DTO.Report Obj)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetGarmentReadyReport(Obj));
 }
Example #18
0
 public DataSet StockPendingInvoice(DTO.Report Ob, bool bIsAll)
 {
     return(DAL.DALFactory.Instance.DAL_Report.StockPendingInvoice(Ob, bIsAll));
 }
Example #19
0
 public DataSet GetMarkeReadyData(DTO.Report Obj)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetMarkeReadyData(Obj));
 }
Example #20
0
 public DataSet GetCustomerWiseSummaryPendingSms(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetCustomerWiseSummaryPendingSms(Ob));
 }
Example #21
0
 public DataSet GetOutstandingPaymentByCustomer(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetOutstandingPaymentByCustomer(Ob));
 }
Example #22
0
 public DataSet GetDeliveryAndSalesInvoiceNo(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetDeliveryAndSalesInvoiceNo(Ob));
 }
Example #23
0
 public DataSet BindWorkShopChallan(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.BindWorkShopChallan(Ob));
 }
Example #24
0
 public bool CheckOrginalUser(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.CheckOrginalUser(Ob));
 }
Example #25
0
 public DataSet GetSaleByInvoiceNo(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetSaleByInvoiceNo(Ob));
 }
Example #26
0
 public DataSet GetDurationWiseReport(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetDurationWiseReport(Ob));
 }
Example #27
0
 public DataSet GetDeliveryFrom_To_UptoDate(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetDeliveryFrom_To_UptoDate(Ob));
 }
Example #28
0
 public DataSet GetDailyCustomerAdditionReport(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetDailyCustomerAdditionReport(Ob));
 }
Example #29
0
 public DataSet GetDeliveryByCustomer(DTO.Report Ob)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetDeliveryByCustomer(Ob));
 }
Example #30
0
 public DataSet GetPackageReportSummary(DTO.Report Obj, string branchId)
 {
     return(DAL.DALFactory.Instance.DAL_Report.GetPackageReportSummary(Obj, branchId));
 }