public bool AccountGroupIdCheckSundryCreditorOnly(string strLedgerName) { bool isSundryCredit = false; try { isSundryCredit = spAccountLedger.AccountGroupIdCheckSundryCreditorOnly(strLedgerName); } catch (Exception ex) { MessageBox.Show("AL16:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(isSundryCredit); }