public bool DailySalaryVoucherCheckExistence(string voucherNumber, decimal voucherTypeId, decimal masterId) { bool trueOrfalse = false; try { trueOrfalse = SpDailySalaryVoucherMaster.DailySalaryVoucherCheckExistence(voucherNumber, voucherTypeId, masterId); } catch (Exception ex) { MessageBox.Show("DSV10:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(trueOrfalse); }
public bool DailySalaryVoucherCheckExistence(string voucherNumber, decimal voucherTypeId, decimal masterId) { bool isResult = false; try { isResult = SpMaster.DailySalaryVoucherCheckExistence(voucherNumber, voucherTypeId, 0); } catch (Exception) { throw; } return(isResult); }