Exemplo n.º 1
0
 public Boolean ModificarDB(tb_Bodega_Info info, ref string msg)
 {
     try
     {
         tb_Bodega_Data data = new tb_Bodega_Data();
         return(data.ModificarDB(info, 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("", "ModificarDB", ex.Message), ex)
               {
                   EntityType = typeof(tb_Bodega_Bus)
               };
     }
 }
Exemplo n.º 2
0
 public tb_Bodega_Info Get_Info_Bodega(int IdEmpresa, int IdSucursal, int IdBodega)
 {
     try
     {
         tb_Bodega_Data data = new tb_Bodega_Data();
         return(data.Get_Info_Bodega(IdEmpresa, IdSucursal, IdBodega));
     }
     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("", "Obtener_Objeto", ex.Message), ex)
               {
                   EntityType = typeof(tb_Bodega_Bus)
               };
     }
 }
Exemplo n.º 3
0
 public List <tb_Bodega_Info> Get_List_Bodegas_x_CentroCosto(int IdEmpresa, string IdCentroCosto)
 {
     try
     {
         tb_Bodega_Data data = new tb_Bodega_Data();
         return(data.Get_List_Bodegas_x_CentroCosto(IdEmpresa, IdCentroCosto));
     }
     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("", "Obtener_Bodegas_x_CentroCosto", ex.Message), ex)
               {
                   EntityType = typeof(tb_Bodega_Bus)
               };
     }
 }
Exemplo n.º 4
0
 public List <tb_Bodega_Info> Get_List_Bodega(int IdEmpresa, Cl_Enumeradores.eTipoFiltro TipoCarga = Cl_Enumeradores.eTipoFiltro.Normal)
 {
     try
     {
         tb_Bodega_Data data = new tb_Bodega_Data();
         return(data.Get_List_Bodega(IdEmpresa, TipoCarga));
     }
     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("", "Obtener_BodegasTodas", ex.Message), ex)
               {
                   EntityType = typeof(tb_Bodega_Bus)
               };
     }
 }
Exemplo n.º 5
0
 public int getId(int IdEmpresa, int IdSucursal)
 {
     try
     {
         tb_Bodega_Data data = new tb_Bodega_Data();
         return(data.getId(IdEmpresa, IdSucursal));
     }
     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("", "getId", ex.Message), ex)
               {
                   EntityType = typeof(tb_Bodega_Bus)
               };
     }
 }