public bool ModificarDB(in_transferencia_Info info) { try { decimal _idTransferencia = 0; bool resTran = false; if (oData_Transferencia.ModificarDB(info)) { resTran = true; if (info.IdEstadoAprobacion_cat == "APRO") { Generar_inventario(info, ref _idTransferencia); } } return(resTran); } 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_transferencia_bus) }; } }