public string SalesOrderVoucherMasterMax(decimal decVoucherTypeId) { string strMax = string.Empty; try { strMax = spSalesOrderMaster.SalesOrderVoucherMasterMax(decVoucherTypeId); } catch (Exception ex) { MessageBox.Show("SOBLL21:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(strMax); }