/// <summary>
        /// Function to check existance of purchase return number 
        /// </summary>
        /// <param name="strinvoiceNo"></param>
        /// <param name="decVoucherTypeId"></param>
        /// <returns></returns>
        public bool PurchaseReturnNumberCheckExistence(string strinvoiceNo, decimal decVoucherTypeId)
        {
            bool isEdit = false;
            PurchaseReturnMasterSP SPPurchaseReturnMaster = new PurchaseReturnMasterSP();

            try
            {
                isEdit = SPPurchaseReturnMaster.PurchaseReturnNumberCheckExistence(strinvoiceNo, decVoucherTypeId);
            }
            catch (Exception ex)
            {
                MessageBox.Show("PrBll 18:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);

            }
            return isEdit;
        }