Exemple #1
0
        /// <summary>
        /// Function to check reference based on parameter
        /// </summary>
        /// <param name="decVoucherTypeId"></param>
        /// <returns></returns>
        public bool VoucherTypeChechReferences(decimal decVoucherTypeId)
        {
            bool isActive = true;

            try
            {
                isActive = spVoucherType.VoucherTypeChechReferences(decVoucherTypeId);
            }
            catch (Exception ex)
            {
                MessageBox.Show("VT15:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(isActive);
        }