示例#1
0
 public ct_Plancta_nivel_Info Get_info_plancta_nivel(int IdEmpresa, int IdNivelCta)
 {
     try
     {
         ct_Plancta_nivel_Data data = new ct_Plancta_nivel_Data();
         return(data.Get_info_plancta_nivel(IdEmpresa, IdNivelCta));
     }
     catch (Exception ex)
     {
         Core.Erp.Info.Log_Exception.LoggingManager.Logger.Log(Core.Erp.Info.Log_Exception.LoggingCategory.Error, ex.Message);
         throw new Core.Erp.Info.Log_Exception.DalException(string.Format("", "Get_info_plancta_nivel", ex.Message), ex)
               {
                   EntityType = typeof(ct_Plancta_nivel_Bus)
               };
     }
 }
示例#2
0
 public Boolean AnularDB(ct_Plancta_nivel_Info _PlanCtaNivelInfo)
 {
     try
     {
         ct_Plancta_nivel_Data data = new ct_Plancta_nivel_Data();
         return(data.AnularDB(_PlanCtaNivelInfo));
     }
     catch (Exception ex)
     {
         Core.Erp.Info.Log_Exception.LoggingManager.Logger.Log(Core.Erp.Info.Log_Exception.LoggingCategory.Error, ex.Message);
         throw new Core.Erp.Info.Log_Exception.DalException(string.Format("", "EliminarDB", ex.Message), ex)
               {
                   EntityType = typeof(ct_Plancta_nivel_Bus)
               };
     }
 }
示例#3
0
        public List <ct_Plancta_nivel_Info> Get_list_Plancta_nivel(int IdEmpresa)
        {
            List <ct_Plancta_nivel_Info> lm   = new List <ct_Plancta_nivel_Info>();
            ct_Plancta_nivel_Data        data = new ct_Plancta_nivel_Data();

            try
            {
                lm = data.Get_list_Plancta_nivel(IdEmpresa);
                return(lm);
            }
            catch (Exception ex)
            {
                Core.Erp.Info.Log_Exception.LoggingManager.Logger.Log(Core.Erp.Info.Log_Exception.LoggingCategory.Error, ex.Message);
                throw new Core.Erp.Info.Log_Exception.DalException(string.Format("", "Get_list_Plancta_nivel", ex.Message), ex)
                      {
                          EntityType = typeof(ct_Plancta_nivel_Bus)
                      };
            }
        }