public bool SalesOrderNumberCheckExistence(string strinvoiceNo, decimal decSalesorderMasterId, decimal decVoucherTypeId) { bool isEdit = false; try { isEdit = spSalesOrderMaster.SalesOrderNumberCheckExistence(strinvoiceNo, decSalesorderMasterId, decVoucherTypeId); } catch (Exception ex) { MessageBox.Show("SOBLL21:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(isEdit); }