Beispiel #1
0
        /// <summary>
        /// Function to get Tax Rate By TaxId
        /// </summary>
        /// <param name="decTaxId"></param>
        /// <returns></returns>
        public decimal TaxRateFindByTaxId(decimal decTaxId)
        {
            decimal dcRate = 0;

            try
            {
                dcRate = spTax.TaxRateFindByTaxId(decTaxId);
            }
            catch (Exception ex)
            {
                MessageBox.Show("TBLL5:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }

            return(dcRate);
        }