protected override void RefreshMainData()
        {
            PgMng.Grow(string.Empty, "CobroREA");

            _selectedOid = ActiveOID;

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

            case EntityMngFormTypeData.ByParameter:
                _sorted_list = List.GetSortedList();
                break;
            }
            PgMng.Grow(string.Empty, "Lista de CobroREAs");
        }
Example #2
0
 protected override void GetFormSourceData()
 {
     _cobros = ChargeList.GetListREA(true);
 }