public Result SaveSaleItem(SaleItem req)
        {
            Result result = new Result();

            if (!req.IsValid())
            {
                result.StatusCode = Globals.FAILURE_STATUS_CODE;
                result.StatusDesc = req.StatusDesc;
                return(result);
            }

            DataTable dt = dh.ExecuteDataSet("SaveSaleItem", new string[] { req.SaleID, req.ItemDesc, req.ItemQuantity, req.UnitPrice, req.SubTotal, req.ModifiedBy, "false" }).Tables[0];

            if (dt.Rows.Count <= 0)
            {
                result.StatusCode = Globals.FAILURE_STATUS_CODE;
                result.StatusDesc = "FAILED: SALE NOT SAVED";
                return(result);
            }

            result.StatusCode = Globals.SUCCESS_STATUS_CODE;
            result.StatusDesc = Globals.SUCCESS_STATUS_TEXT;
            result.PegPayID   = dt.Rows[0][0].ToString();
            return(result);
        }