public string ContraVoucherMasterGetMax(decimal decVoucherTypeId) { string strgetmax = "0"; try { strgetmax = SpContraMaster.ContraVoucherMasterGetMax(decVoucherTypeId); } catch (Exception ex) { MessageBox.Show("CV:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(strgetmax); }
public string ContraVoucherMasterGetMax(decimal decVoucherTypeId) { string max = "0"; try { ContraMasterSP spContraMaster = new ContraMasterSP(); max = spContraMaster.ContraVoucherMasterGetMax(decVoucherTypeId); } catch (Exception ex) { MessageBox.Show("CVBLL:8" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(max); }