public List<DataTable> MonthlySalaryRegisterSearch(DateTime dtdateFrom, DateTime dtdateTo, DateTime dtMonth, string strVoucherNo, string strLedgerName, string strVoucherTypeName) { SalaryVoucherMasterSP SPSalaryVoucherMaster = new SalaryVoucherMasterSP(); List<DataTable> ListObj = new List<DataTable>(); try { ListObj = SPSalaryVoucherMaster.MonthlySalaryRegisterSearch(dtdateFrom, dtdateTo, dtMonth, strVoucherNo, strLedgerName, strVoucherTypeName); } catch (Exception ex) { MessageBox.Show("SvBll 7:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return ListObj; }
public bool MonthlySalaryVoucherCheckExistence(string voucherNo, decimal voucherTypeId, decimal masterId) { bool trueOrfalse = false; SalaryVoucherMasterSP SPSalaryVoucherMaster = new SalaryVoucherMasterSP(); try { trueOrfalse = SPSalaryVoucherMaster.MonthlySalaryVoucherCheckExistence(voucherNo, voucherTypeId, masterId); } catch (Exception ex) { MessageBox.Show("SvBll 10:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return trueOrfalse; }
public List<DataTable> MonthlySalaryVoucherMasterAddWithIdentity(SalaryVoucherMasterInfo salaryvouchermasterinfo, bool IsAutomatic) { SalaryVoucherMasterSP SPSalaryVoucherMaster = new SalaryVoucherMasterSP(); List<DataTable> ListObj = new List<DataTable>(); try { ListObj = SPSalaryVoucherMaster.MonthlySalaryVoucherMasterAddWithIdentity(salaryvouchermasterinfo, IsAutomatic); } catch (Exception ex) { MessageBox.Show("SvBll 11:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return ListObj; }
public SalaryVoucherMasterInfo SalaryVoucherMasterView(decimal salaryVoucherMasterId) { SalaryVoucherMasterInfo salaryvouchermasterinfo = new SalaryVoucherMasterInfo(); SalaryVoucherMasterSP SPSalaryVoucherMaster = new SalaryVoucherMasterSP(); try { salaryvouchermasterinfo = SPSalaryVoucherMaster.SalaryVoucherMasterView(salaryVoucherMasterId); } catch (Exception ex) { MessageBox.Show("SvBll 9:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return salaryvouchermasterinfo; }
public decimal SalaryVoucherMasterGetMaxPlusOne(decimal decVoucherTypeId) { decimal max = 0; SalaryVoucherMasterSP SPSalaryVoucherMaster = new SalaryVoucherMasterSP(); try { max = SPSalaryVoucherMaster.SalaryVoucherMasterGetMaxPlusOne(decVoucherTypeId); } catch (Exception ex) { MessageBox.Show("SvBll 15:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return max; }
public string SalaryVoucherMasterGetMax(decimal decVoucherTypeId) { string max = "0"; SalaryVoucherMasterSP SPSalaryVoucherMaster = new SalaryVoucherMasterSP(); try { max = SPSalaryVoucherMaster.SalaryVoucherMasterGetMax(decVoucherTypeId); } catch (Exception ex) { MessageBox.Show("SvBll 12:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return max; }
public void SalaryVoucherMasterEdit(SalaryVoucherMasterInfo salaryvouchermasterinfo) { SalaryVoucherMasterSP SPSalaryVoucherMaster = new SalaryVoucherMasterSP(); try { SPSalaryVoucherMaster.SalaryVoucherMasterEdit(salaryvouchermasterinfo); } catch (Exception ex) { MessageBox.Show("SvBll 13:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
public void SalaryVoucherMasterDelete(decimal SalaryVoucherMasterId) { SalaryVoucherMasterSP SPSalaryVoucherMaster = new SalaryVoucherMasterSP(); try { SPSalaryVoucherMaster.SalaryVoucherMasterDelete(SalaryVoucherMasterId); } catch (Exception ex) { MessageBox.Show("SvBll 14:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
public DataSet PaySlipPrinting(decimal decEmployeeId, DateTime dsSalaryMonth, decimal decCompanyId) { DataSet dSt = new DataSet(); SalaryVoucherMasterSP SPSalaryVoucherMaster = new SalaryVoucherMasterSP(); try { dSt = SPSalaryVoucherMaster.PaySlipPrinting(decEmployeeId, dsSalaryMonth, decCompanyId); } catch (Exception ex) { MessageBox.Show("SvBll 8:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return dSt; }