Exemplo n.º 1
0
 public Boolean GrabarDB(ct_AnioFiscal_Info Info_AnioF, ref string msg)
 {
     try
     {
         ct_AnioFiscal_Data AFD = new ct_AnioFiscal_Data();
         return(AFD.GrabarDB(Info_AnioF, ref msg));
     }
     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("", "GrabarDB", ex.Message), ex)
               {
                   EntityType = typeof(ct_AnioFiscal_Bus)
               };
     }
 }
Exemplo n.º 2
0
 public ct_AnioFiscal_Info Get_Info_cuenta_utilidad_x_anio_fiscal(int IdEmpresa, int Anio)
 {
     try
     {
         ct_AnioFiscal_Data data = new ct_AnioFiscal_Data();
         return(data.Get_Info_cuenta_utilidad_x_anio_fiscal(IdEmpresa, Anio));
     }
     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_Tiene_PeriodosxAnio", ex.Message), ex)
               {
                   EntityType = typeof(ct_AnioFiscal_Bus)
               };
     }
 }
Exemplo n.º 3
0
 public Boolean Get_Tiene_PeriodosxAnio(int IdEmpresa, int IdAnio, ref string msg)
 {
     try
     {
         ct_AnioFiscal_Data data = new ct_AnioFiscal_Data();
         return(data.Get_Tiene_PeriodosxAnio(IdEmpresa, IdAnio, ref msg));
     }
     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_Tiene_PeriodosxAnio", ex.Message), ex)
               {
                   EntityType = typeof(ct_AnioFiscal_Bus)
               };
     }
 }
Exemplo n.º 4
0
        public ct_AnioFiscal_Info Get_Info_Anio_fiscal(int Anio)
        {
            ct_AnioFiscal_Info lm   = new ct_AnioFiscal_Info();
            ct_AnioFiscal_Data data = new ct_AnioFiscal_Data();

            try
            {
                lm = data.Get_Info_Anio_fiscal(Anio);
                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_AnioFiscal", ex.Message), ex)
                      {
                          EntityType = typeof(ct_AnioFiscal_Bus)
                      };
            }
        }