public decimal ReceiptMasterGetMax(decimal decVoucherTypeId) { decimal decResult = 0; try { decResult = spReceiptMaster.ReceiptMasterGetMax(decVoucherTypeId); } catch (Exception) { throw; } return(decResult); }
public decimal ReceiptMasterGetMax(decimal decVoucherTypeId) { decimal decMax = 0; try { ReceiptMasterSP spReceiptMaster = new ReceiptMasterSP(); decMax = spReceiptMaster.ReceiptMasterGetMax(decVoucherTypeId); } catch (Exception ex) { MessageBox.Show("RD6:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(decMax); }