public in_movi_inven_tipo_Info Get_Info_movi_inven_tipo(int IdEmpresa, int Idtipo) { try { in_movi_inven_tipo_Data md = new in_movi_inven_tipo_Data(); return(md.Get_Info_movi_inven_tipo(IdEmpresa, Idtipo)); } 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_Un_movi_inven_tipo", ex.Message), ex) { EntityType = typeof(in_movi_inven_tipo_Bus) }; } }
public int GetIdMoviInvent(int id) { try { in_movi_inven_tipo_Data MoviD = new in_movi_inven_tipo_Data(); return(MoviD.GetIdMoviInvent(id)); } 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("", "ObtenerId", ex.Message), ex) { EntityType = typeof(in_movi_inven_tipo_Bus) }; } }
public Boolean Cons_MovimientoInventario(in_movi_inven_tipo_Info MoviI, ref string mensaje) { try { in_movi_inven_tipo_Data MoviD = new in_movi_inven_tipo_Data(); return(MoviD.Cons_MovimientoInventario(MoviI, ref mensaje)); } 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("", "Cons_MovimientoInventario", ex.Message), ex) { EntityType = typeof(in_movi_inven_tipo_Bus) }; } }
public Boolean ModificarDB(in_movi_inven_tipo_Info moviI, ref string mensaje) { try { in_movi_inven_tipo_Data moviD = new in_movi_inven_tipo_Data(); moviI.IdUsuarioUltMod = param.IdUsuario; moviI.Fecha_UltMod = param.Fecha_Transac; moviI.ip = param.ip; moviI.nom_pc = param.nom_pc; return(moviD.ModificarDB(moviI, ref mensaje)); } 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(in_movi_inven_tipo_Bus) }; } }
public Boolean GrabarDB(in_movi_inven_tipo_Info MoviI, ref string Mensaje) { try { in_movi_inven_tipo_Data MoviD = new in_movi_inven_tipo_Data(); MoviI.IdUsuario = param.IdUsuario; MoviI.Fecha_Transac = param.Fecha_Transac; MoviI.ip = param.ip; MoviI.nom_pc = param.nom_pc; return(MoviD.GrabarDB(MoviI, ref Mensaje)); } 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("", "Guardar_Reg_DB", ex.Message), ex) { EntityType = typeof(in_movi_inven_tipo_Bus) }; } }