public bool insertProductTransaction(ProductTransaction productTransaction)
 {
     return productTransactionMapper.insertProductTransaction(productTransaction);
 }
        //public bool updateQtySoldAndGrpPrice(string transaction_id, decimal grp_price)
        //{
        //    string condition = String.Format("transaction_id = '{0}' ", barcode);
        //    updateSet(condition, String.Format("description = '{0}'", newDescription));
        //    return update(updateQuery);
        //}

        public bool insertProductTransaction(ProductTransaction productTransaction)
        {
            return insertProductTransaction(productTransaction.invoice, productTransaction.product, productTransaction.QuantitySold);
        }
Esempio n. 3
0
        //public bool updateQtySoldAndGrpPrice(string transaction_id, decimal grp_price)
        //{
        //    string condition = String.Format("transaction_id = '{0}' ", barcode);
        //    updateSet(condition, String.Format("description = '{0}'", newDescription));
        //    return update(updateQuery);
        //}

        public bool insertProductTransaction(ProductTransaction productTransaction)
        {
            return(insertProductTransaction(productTransaction.invoice, productTransaction.product, productTransaction.QuantitySold));
        }
Esempio n. 4
0
 public bool insertProductTransaction(ProductTransaction productTransaction)
 {
     return(productTransactionMapper.insertProductTransaction(productTransaction));
 }