Exemple #1
0
        /// <summary>
        /// Function for tax search based on parameter
        /// </summary>
        /// <param name="strTaxName"></param>
        /// <param name="strApplicableOn"></param>
        /// <param name="strCalculatingMode"></param>
        /// <param name="strActive"></param>
        /// <returns></returns>
        public List <DataTable> TaxSearch(String strTaxName, String strApplicableOn, String strCalculatingMode, string strActive)
        {
            List <DataTable> ListObj = new List <DataTable>();

            try
            {
                ListObj = spTax.TaxSearch(strTaxName, strApplicableOn, strCalculatingMode, strActive);
            }
            catch (Exception ex)
            {
                MessageBox.Show("TBLL1:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }

            return(ListObj);
        }