/**
  * Modificar
  *
  * @param GrupoPrecioOfertaData $GrupoPrecioOfertaData
  * @return array Retorna un Array $key el cual contiene el id
  */
 public function modificar(GrupoPrecioOfertaData $GrupoPrecioOfertaData)
 {
     $key = array('grupo_precio_cab_id' => $GrupoPrecioOfertaData->getGrupoPrecioCabId(), 'producto_id' => $GrupoPrecioOfertaData->getProductoId(), 'variedad_id' => $GrupoPrecioOfertaData->getVariedadId(), 'grado_id' => $GrupoPrecioOfertaData->getGradoId(), 'producto_combo_id' => $GrupoPrecioOfertaData->getProductoComboId(), 'variedad_combo_id' => $GrupoPrecioOfertaData->getVariedadComboId(), 'grado_combo_id' => $GrupoPrecioOfertaData->getGradoComboId());
     $record = array('factor_combo' => $GrupoPrecioOfertaData->getFactorCombo());
     $this->getEntityManager()->getConnection()->update($this->table_name, $record, $key);
     return $key;
 }