# Reporte Rapido

## Reporte Rápido

En el proyecto webtestreport observar la carpeta Web Pages --> resources -->reportes, en esta carpeta vamos a generar los reportes.

![](/files/-Lc1WqodmtTui0JZ-mUX)

Vamos a crear un reporte para el entity Grupo.

Si observamos el proyecto contamos con el entity Grupo.java

![](/files/-Lc1Wqof-iZz_ugEa8Lg)

que posee tres atributos

Grupo.java

```java
package com.avbravo.webtestreport.entity;

import com.avbravo.ejbjmoordb.anotations.Embedded;
import com.avbravo.ejbjmoordb.anotations.Id;
import com.avbravo.ejbjmoordb.pojos.UserInfo;
import java.util.List;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Grupo{

    @Id
    private Integer idgrupo;
    private String descripcion;

    private String activo;


    public Grupo() {
    }

    public Grupo(Integer idgrupo, String descripcion, String activo) {
        this.idgrupo = idgrupo;
        this.descripcion = descripcion;
        this.activo = activo;
    }




    @Override
    public String toString() {
        return  descripcion ;
    }

}
```

## Pasos:

1. En el plugin ReportWizard, seleccionamos el proyecto webtestreport
2. Escribimos la clase (Entity)

![](/files/-Lc1WqohH6T1IoZzqT5G)

1. Presionar el botón de generación rápida. ![](/files/-Lc1WqojN_V_WGcHGiXy)

Se despliega el dialogo del resultado de la generación.

![](/files/-Lc1Wqol0C-Jbh6f7XgH)

Si observamos el proyecto.

Ahora contamos con los archivos all.jrxml, all.jasper, details.jrxml, details.jasper

![](/files/-Lc1WqonbV_-Sr9204iO)

Si ejecutamos el proyecto web

![](/files/-Lc1Wqop3pUsSaGSr5jO)

En el browser

![](/files/-Lc1Wqorp_4kp0Z0zPEq)

* Dar clic en botòn **Grupo All**

Observamos el reporte ![](/files/-Lc1Wqotth9F-pirYJjv)

* Dar clic en el botón **Grupo Details**

![](/files/-Lc1WqovbdeDxUjVi_gS)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://avbravo-2.gitbook.io/jmoordbreport/reporte-rapido.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
