public List <DataTable> CashflowReportPrintCompany(decimal decCompanyId)
        {
            List <DataTable> list = new List <DataTable>();

            try
            {
                list = spFinancialStatement.CashflowReportPrintCompany(decCompanyId);
            }

            catch (Exception ex)
            {
                MessageBox.Show("FS14:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(list);
        }
Пример #2
0
        /// <summary>
        /// Function to Add Dataset
        /// </summary>
        /// <returns></returns>
        public DataSet GetDataSet()
        {
            DataSet dsCashflow = new DataSet();

            try
            {
                FinancialStatementSP spFinancial  = new FinancialStatementSP();
                DataTable            dtblCashflow = GetDataTable();
                DataTable            dtblCompany  = new DataTable();
                dtblCompany = spFinancial.CashflowReportPrintCompany(1);
                dsCashflow.Tables.Add(dtblCashflow);
                dsCashflow.Tables.Add(dtblCompany);
            }
            catch (Exception ex)
            {
                MessageBox.Show("CF:04" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(dsCashflow);
        }