Esempio n. 1
0
        protected override void RefreshMainData()
        {
            PgMng.Grow(string.Empty, "Effect");

            _selectedOid = ActiveOID;

            switch (DataType)
            {
            case EntityMngFormTypeData.Default:
                if (Library.Common.ModulePrincipal.GetUseActiveYear())
                {
                    List = FinancialCashList.GetList(Library.Common.ModulePrincipal.GetActiveYear().Year, false);
                }
                else
                {
                    List = FinancialCashList.GetList(false);
                }
                break;

            case EntityMngFormTypeData.ByParameter:
                _sorted_list = List.GetSortedList();
                break;
            }
            PgMng.Grow(string.Empty, "Lista de Effects");
        }
Esempio n. 2
0
        public override void PrintList()
        {
            PgMng.Reset(3, 1, Face.Resources.Messages.LOADING_DATA, this);
            FinancialCashReportMng reportMng = new FinancialCashReportMng(AppContext.ActiveSchema, this.Text, FilterValues);

            PgMng.Grow(Face.Resources.Messages.BUILDING_REPORT);
            ReportClass report = reportMng.GetListReport(FinancialCashList.GetList((IList <FinancialCashInfo>)Datos.List));

            PgMng.FillUp();

            ShowReport(report);
        }