Beispiel #1
0
        public void DeleteTodaysCashOutEntryBySerial(string serial)
        {
            CashOutDAL cashOut = new CashOutDAL();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                cashOut.DeleteTodaysCashOutEntryBySerial(serial, db);
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                cashOut = null;
            }
        }
Beispiel #2
0
        public DataTable GetTodaysCashOutEntryList()
        {
            CashOutDAL cashOut = new CashOutDAL();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                DataTable dt = cashOut.GetTodaysCashOutEntryList(this, db);
                db.Stop();

                return dt;
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                cashOut = null;
            }
        }
Beispiel #3
0
        public void UpdateTodaysCashOutEntryBySerial()
        {
            CashOutDAL cashOut = new CashOutDAL();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                cashOut.UpdateTodaysCashOutEntryBySerial(this, db);
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                cashOut = null;
            }
        }
Beispiel #4
0
        public void ApproveTodaysCashOutBySerial(List <string> cashOuts)
        {
            CashOutDAL cashOut = new CashOutDAL();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                cashOut.ApproveTodaysCashOutBySerial(this,cashOuts, db);
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                cashOut = null;
            }
        }
Beispiel #5
0
        public void ApproveTodaysCashOutEntryBySerial(string entryDate, string salesCenterId)
        {
            CashOutDAL cashOut = new CashOutDAL();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                cashOut.ApproveTodaysCashOutEntryBySerial(entryDate, salesCenterId, db);
                db.Stop();
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                cashOut = null;
            }
        }