Exemplo n.º 1
0
        public int ItemDML(Item item)
        {
            dbPurchase = new DBPurchase();
            int Result = 0;

            try
            {
                Result = dbPurchase.ItemDML(item);
                return(Result);
            }
            catch (Exception)
            {
                throw;
            }
        }
Exemplo n.º 2
0
        public DataSet GetItemRateList(ItemRate itemRate)
        {
            dbPurchase = new DBPurchase();
            DS         = new DataSet();

            try
            {
                DS = dbPurchase.GetItemRateList(itemRate);
                return(DS);
            }
            catch (Exception)
            {
                throw;
            }
        }
Exemplo n.º 3
0
        public DataSet GetRackList(Rack rack)
        {
            dbPurchase = new DBPurchase();
            DS         = new DataSet();

            try
            {
                DS = dbPurchase.GetRackList(rack);
                return(DS);
            }
            catch (Exception)
            {
                throw;
            }
        }
Exemplo n.º 4
0
        public DataSet GetVendorsList(Vendor vendor)
        {
            dbPurchase = new DBPurchase();
            DS         = new DataSet();

            try
            {
                DS = dbPurchase.GetVendorsList(vendor);
                return(DS);
            }
            catch (Exception)
            {
                throw;
            }
        }
Exemplo n.º 5
0
        public DataSet GetCategoryList(Category category)
        {
            dbPurchase = new DBPurchase();
            DS         = new DataSet();

            try
            {
                DS = dbPurchase.GetCategoryList(category);
                return(DS);
            }
            catch (Exception)
            {
                throw;
            }
        }
Exemplo n.º 6
0
        public int RacksDML(Rack rack)
        {
            dbPurchase = new DBPurchase();
            int Result = 0;

            try
            {
                Result = dbPurchase.RacksDML(rack);
                return(Result);
            }
            catch (Exception)
            {
                throw;
            }
        }
Exemplo n.º 7
0
        public DataSet GetRequestList(Request ic)
        {
            dbPurchase = new DBPurchase();
            DS         = new DataSet();

            try
            {
                DS = dbPurchase.GetRequestList(ic);
                return(DS);
            }
            catch (Exception)
            {
                throw;
            }
        }
Exemplo n.º 8
0
        public DataSet GetIndentList(int flag)
        {
            dbPurchase = new DBPurchase();
            DS         = new DataSet();

            try
            {
                DS = dbPurchase.GetIndentList(flag);
                return(DS);
            }
            catch (Exception)
            {
                throw;
            }
        }
Exemplo n.º 9
0
        public int VendorDML(Vendor vendor)
        {
            dbPurchase = new DBPurchase();
            int Result = 0;

            try
            {
                Result = dbPurchase.VendorDML(vendor);
                return(Result);
            }
            catch (Exception)
            {
                throw;
            }
        }
Exemplo n.º 10
0
        //CategoryDML

        #region Category
        public int CategoryDML(Category category)
        {
            dbPurchase = new DBPurchase();
            int Result = 0;

            try
            {
                Result = dbPurchase.CategoryDML(category);
                return(Result);
            }
            catch (Exception)
            {
                throw;
            }
        }
Exemplo n.º 11
0
 public bool IndentCartDML(IndentCart ic)
 {
     dbPurchase = new DBPurchase();
     return(dbPurchase.IndentCartDML(ic));
 }
Exemplo n.º 12
0
 public bool MrnDML2(MRN ic)
 {
     dbPurchase = new DBPurchase();
     return(dbPurchase.MrnDML2(ic));
 }
Exemplo n.º 13
0
 public bool MrnDML(MRNDetails ic)
 {
     dbPurchase = new DBPurchase();
     return(dbPurchase.MrnDML(ic));
 }
Exemplo n.º 14
0
 public bool SubmitOrder(Order ic)
 {
     dbPurchase = new DBPurchase();
     return(dbPurchase.SubmitOrder(ic));
 }
Exemplo n.º 15
0
 public bool OrderCartDML(OrderCart ic)
 {
     dbPurchase = new DBPurchase();
     return(dbPurchase.OrderCartDML(ic));
 }
Exemplo n.º 16
0
 public bool IndentStatus(Indent ic)
 {
     dbPurchase = new DBPurchase();
     return(dbPurchase.IndentStatus(ic));
 }
Exemplo n.º 17
0
 public bool SubmitRequestStatus(Request ic)
 {
     dbPurchase = new DBPurchase();
     return(dbPurchase.SubmitRequestStatus(ic));
 }
Exemplo n.º 18
0
 public bool RequestCartDML(RequestCart ic)
 {
     dbPurchase = new DBPurchase();
     return(dbPurchase.RequestCartDML(ic));
 }
Exemplo n.º 19
0
 public bool SubmitIndent(Indent ic)
 {
     dbPurchase = new DBPurchase();
     return(dbPurchase.SubmitIndent(ic));
 }