> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Parameters for reports

> Parameters for Service reports

Parameters can be defined anywhere in the report, but they look nicer when put together at the beginning of the report.

## Parameter types

* info (Only used to make headings and static text info)
* int
* string
* date
* time
* datetime
* bool
* float
* user
* category
* priority
* extraTableRelation - needs .extraTable("tableName") to specify table
* company
* typecustomer
* invoicetype
* status

## General parameter modifiers

The parameter statement is made up of several parts - the parameter name declaration, type declaration, and modifiers. These parts are separated by dots (".") and look like function calls.

| Statement              | Description                                 |
| ---------------------- | ------------------------------------------- |
| .parameter("pMyInt")   | Name declaration                            |
| .type("int")           | Type declaration                            |
| .prompt("Value")       | The prompt the user will see                |
| .defaultValue("12345") | A default value can be provided             |
| .multiple("1")         | Lets the user add multiple parameter values |

## Examples

```text theme={null}
%stat.parameter("pInfo1").type("info").defaultValue("<h1 style="font-size:15pt">These are the parameters for my report</h1>")%

%stat.parameter("pMyInt").type("int").prompt("Value").defaultValue("12345").multiple("1")%
```


## Related topics

- [NSReportAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSReportAgent.md)
- [Delete Report Label Layout Entity](/en/api/reference/restful/agent/report_agent/delete-report-label-layout-entity.md)
- [Save Report Label Layout Entity](/en/api/reference/restful/agent/report_agent/save-report-label-layout-entity.md)
- [Save Privacy Report](/en/api/reference/restful/agent/document_agent/save-privacy-report.md)
- [Report Session Active](/en/api/reference/restful/agent/customerservice_agent/report-session-active.md)
- [SuperOffice.WebApi.Agents.ReportAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ReportAgent.md)
