示例#1
0
        public void GetCustomerReceivableListById(string customersId, string SalesCenterId)
        {
            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                IPOSReportDAL iposReport = new IPOSReportDAL();

                if (LumexSessionManager.Get("ReportData") != null)
                {
                    LumexSessionManager.Remove("ReportData");
                }

                LumexSessionManager.Add("ReportData", iposReport.GetCustomerReceivableListById(customersId, SalesCenterId, db));
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
        }
示例#2
0
        public void GetAvailableProductBySaclesCenterIdPRWise(string SalesCenterId)
        {
            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                IPOSReportDAL iposReport = new IPOSReportDAL();

                if (LumexSessionManager.Get("ReportData") != null)
                {
                    LumexSessionManager.Remove("ReportData");
                }

                LumexSessionManager.Add("ReportData", iposReport.GetAvailableProductBySaclesCenterIdPRWise(SalesCenterId, db));
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
        }
示例#3
0
        public void GetPurchaseRecordbySC_Date_RANGE_STATUS(string SalesCenterId, string ToDate, string FromDate, string PrStatus)
        {
            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                IPOSReportDAL iposReport = new IPOSReportDAL();

                if (LumexSessionManager.Get("ReportData") != null)
                {
                    LumexSessionManager.Remove("ReportData");
                }

                LumexSessionManager.Add("ReportData", iposReport.GetPurchaseRecordbySC_Date_RANGE_STATUS(SalesCenterId, ToDate, FromDate, PrStatus, db));
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
        }
示例#4
0
        public void GetSalesCenterVendorDueAmountList(string SalesCenterId)
        {
            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                IPOSReportDAL iposReport = new IPOSReportDAL();

                if (LumexSessionManager.Get("ReportData") != null)
                {
                    LumexSessionManager.Remove("ReportData");
                }

                LumexSessionManager.Add("ReportData", iposReport.GetSalesCenterVendorDueAmountList(SalesCenterId, db));
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
        }
示例#5
0
        public void GetProductSalesRecordListByProductId(string ProductId,  string FromDate,string ToDate)
        {
            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                IPOSReportDAL iposReport = new IPOSReportDAL();

                if (LumexSessionManager.Get("ReportData") != null)
                {
                    LumexSessionManager.Remove("ReportData");
                }

                LumexSessionManager.Add("ReportData", iposReport.GetProductSalesRecordListByProductId(ProductId,FromDate,ToDate, db));
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
        }
示例#6
0
        public void GetReceivePaymentVaucharbyVendororCustomer(string JournalNo, string vendorId, string WHSCId)
        {
            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                IPOSReportDAL iposReport = new IPOSReportDAL();

                if (LumexSessionManager.Get("ReportData") != null)
                {
                    LumexSessionManager.Remove("ReportData");
                }

                LumexSessionManager.Add("ReportData", iposReport.GetReceivePaymentVaucharbyVendororCustomer(JournalNo,vendorId, WHSCId, db));
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
        }
示例#7
0
        public void GetCreditOrDebitVoucherByVoucherId(string voucherId, string salesCenterId,string cmdarg)
        {
            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                IPOSReportDAL iposReport = new IPOSReportDAL();

                if (LumexSessionManager.Get("ReportData") != null)
                {
                    LumexSessionManager.Remove("ReportData");
                }

                LumexSessionManager.Add("ReportData", iposReport.GetCreditOrDebitVoucherByVoucherId(voucherId, salesCenterId,cmdarg,db));
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
        }
示例#8
0
        public void GetSalesInvoiceBySalesRecord(string salesRecordId, string salesCenterId)
        {
            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                IPOSReportDAL iposReport = new IPOSReportDAL();

                if (LumexSessionManager.Get("ReportData") != null)
                {
                    LumexSessionManager.Remove("ReportData");
                }

                LumexSessionManager.Add("ReportData", iposReport.GetSalesInvoiceBySalesRecord(salesRecordId, salesCenterId, db));
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
        }
示例#9
0
        public void GetWarehouseVendorReceivePaymentList(string SalesCenterId, string VendorId, string FromDate, string ToDate, string status)
        {
            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                IPOSReportDAL iposReport = new IPOSReportDAL();

                if (LumexSessionManager.Get("ReportData") != null)
                {
                    LumexSessionManager.Remove("ReportData");
                }

                LumexSessionManager.Add("ReportData", iposReport.GetWarehouseVendorReceivePaymentList(SalesCenterId, VendorId, FromDate, ToDate, status, db));
                db.Stop();
            }
            catch (Exception)
            {
                
                throw;
            }
        }
示例#10
0
        public void Get_Trial_Balance_by_Date(string ReportType, string SCWHId, string FromDate)
        {
            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                IPOSReportDAL iposReport = new IPOSReportDAL();

                if (LumexSessionManager.Get("ReportData") != null)
                {
                    LumexSessionManager.Remove("ReportData");
                }

                LumexSessionManager.Add("ReportData", iposReport.Get_Trial_Balance_by_Date(ReportType, SCWHId, FromDate, db));
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
        }
示例#11
0
        public void GetGeneral_ledger_Sheet_Report_by_Date(string ReportType, string SCWHId, string toDate, string FormDate)
        {
            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                IPOSReportDAL iposReport = new IPOSReportDAL();

                if (LumexSessionManager.Get("ReportData") != null)
                {
                    LumexSessionManager.Remove("ReportData");
                }

                LumexSessionManager.Add("ReportData", iposReport.GetGeneral_ledger_Sheet_Report_by_Date(ReportType, SCWHId, toDate, FormDate, db));
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
        }
示例#12
0
        public void GetFinancial_Ladger_Report_by_Date_and_AccountId(string ReportType, string SCWHId, string accountId, string toDate, string FromDate)
        {
            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                IPOSReportDAL iposReport = new IPOSReportDAL();

                if (LumexSessionManager.Get("ReportData") != null)
                {
                    LumexSessionManager.Remove("ReportData");
                }

                LumexSessionManager.Add("ReportData", iposReport.GetFinancial_Ladger_Report_by_Date_and_AccountId(ReportType, SCWHId, accountId, toDate, FromDate, db));
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
        }