Example #1
0
        public void ProductModify(Product inp, Uom uom,String key)
        {

            db.execUpdate("Sp_ProductModify", new object[] { key,inp.product_id, uom.uom_code, inp.product_name, inp.qty_stock, inp.product_price });
        }
Example #2
0
        public void UomModify(Uom inp,String code)
        {

            db.execUpdate("Sp_UomModify", new object[] { code,inp.uom_code, inp.description });
        }
Example #3
0
 public void ProductAdd(Product inp,Uom uom)
 {
    
     db.execUpdate("Sp_ProductAdd",new object []{inp.product_id,uom.uom_code,inp.product_name,inp.qty_stock,inp.product_price});
 }
Example #4
0
 public void UomAdd(Uom inp)
 {
    
     db.execUpdate("Sp_UomAdd", new object []{inp.uom_code,inp.description});
 }