public decimal CheckLedgerBalance(decimal decledgerId) { decimal inBalance = 0; try { inBalance = spAccountLedger.CheckLedgerBalance(decledgerId); } catch (Exception ex) { MessageBox.Show("AL27:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(inBalance); }