public void CashOrPartyComboFill(ComboBox cmbCashOrParty, bool isAll) { TransactionsGeneralFillSP spTransactionGeneralFill = new TransactionsGeneralFillSP(); try { spTransactionGeneralFill.CashOrPartyComboFill(cmbCashOrParty, isAll); } catch (Exception ex) { MessageBox.Show("TGFBll:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
public List <DataTable> AccountLedgerUnderExpenses(ComboBox cmbType, bool isAll) { List <DataTable> listObj = new List <DataTable>(); TransactionsGeneralFillSP spTransactionGeneralFill = new TransactionsGeneralFillSP(); try { listObj = spTransactionGeneralFill.AccountLedgerUnderExpenses(cmbType, isAll); } catch (Exception ex) { MessageBox.Show("TGFBll:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(listObj); }
public List <DataTable> CurrencyComboFill() { List <DataTable> listObj = new List <DataTable>(); TransactionsGeneralFillSP spTransactionGeneralFill = new TransactionsGeneralFillSP(); try { listObj = spTransactionGeneralFill.CurrencyComboFill(); } catch (Exception ex) { MessageBox.Show("TGFBll:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(listObj); }
public List <DataTable> VoucherTypeComboFill(ComboBox cmbVoucherType, string strVoucherType, bool isAll) { List <DataTable> listObj = new List <DataTable>(); TransactionsGeneralFillSP spTransactionGeneralFill = new TransactionsGeneralFillSP(); try { listObj = spTransactionGeneralFill.VoucherTypeComboFill(cmbVoucherType, strVoucherType, isAll); } catch (Exception ex) { MessageBox.Show("TGFBll:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(listObj); }
public string VoucherNumberAutomaicGeneration(decimal VoucherTypeId, decimal txtBox, DateTime date, string tableName) { TransactionsGeneralFillSP spTransactionGeneralFill = new TransactionsGeneralFillSP(); string strVoucherNo = string.Empty; try { strVoucherNo = spTransactionGeneralFill.VoucherNumberAutomaicGeneration(VoucherTypeId, txtBox, date, tableName); } catch (Exception ex) { MessageBox.Show("TGFBll:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(strVoucherNo); }
public List <DataTable> ProductGroupViewAll(ComboBox cmbProductGroup, bool isAll) { List <DataTable> listObj = new List <DataTable>(); TransactionsGeneralFillSP spTransactionGeneralFill = new TransactionsGeneralFillSP(); try { listObj = spTransactionGeneralFill.ProductGroupViewAll(cmbProductGroup, isAll); } catch (Exception ex) { MessageBox.Show("TGFBll:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(listObj); }
public bool GodownStatus() { bool isTrue = false; TransactionsGeneralFillSP spTransactionGeneralFill = new TransactionsGeneralFillSP(); try { isTrue = spTransactionGeneralFill.GodownStatus(); } catch (Exception ex) { MessageBox.Show("TGFBll:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(isTrue); }
public List <DataTable> UnitViewAllByProductId(DataGridView dgvCurrent, string strProductId, int inRowIndex) { List <DataTable> listObj = new List <DataTable>(); TransactionsGeneralFillSP spTransactionGeneralFill = new TransactionsGeneralFillSP(); try { listObj = spTransactionGeneralFill.UnitViewAllByProductId(dgvCurrent, strProductId, inRowIndex); } catch (Exception ex) { MessageBox.Show("TGFBll:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(listObj); }