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

            _selectedOid = ActiveOID;

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

            case EntityMngFormTypeData.ByParameter:
                _sorted_list = List.GetSortedList();
                break;
            }
            PgMng.Grow(string.Empty, "Lista de LineaCajas");
        }
Esempio n. 2
0
        public override void PrintList()
        {
            CashReportMng reportMng = new CashReportMng(AppContext.ActiveSchema, this.Text, FilterValues);

            CashLineListRpt report = reportMng.GetListReport(CashLineList.GetList(Datos.DataSource as IList <CashLineInfo>));

            PgMng.FillUp();

            ShowReport(report);
        }