Code
Overview
Code blocks supply any additional data for an executable. This tab is only available for DefaultReportExecutor executable class.

| Field | Description |
|---|---|
| Component | Type of report component. The following are the possible values: Mandatory: Yes |
| Description | Description of the report component. |
| Menu field | Additional code that is executed. |
Configure a component
The component field defines the type of component while the description provides a brief summary about the component.
Menu
The menu component defines a Groovy-based menu for selecting reports. The Groovy Menu field is a script section where you can write Groovy based menu

Tabular Report
The tabular report component generates table-like data using SQL queries.

| Field | Description |
|---|---|
| Row Data | Specify the dataset to be used. |
| Report Definition | Define the report structure. |
| Column Definition | Define column names, types, and properties. |
Chart
The chart component generates graphical reports based on the SQL data.

| Field | Description |
|---|---|
| Chart Data | Define the dataset for the chart. |
| Report Definition | Define the chart type, properties, and formatting. |
Groovy Styling
The groovy styling component allows you to apply Groovy-based styles to reports. The Groovy field is a script section where you can write Groovy-based styling logic.

Modify a component
The Executable module allows you to update the details of an existing component. To make modifications, select the component from the list and change the values in the fields as needed.

You can also rearrange the sequences of the components.

Delete a component
To delete a component, follow these steps:
-
Click
of the component you wish to delete.

-
Click Save. Once saved, the component in the red highlight will be deleted.
