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