Telerik Reports - abcsoftware/abc-docs GitHub Wiki
Default parameters
Most reports are pre-programmed with default date, item, customer, etc parameters. But you also have the ability to set the default for your own use. Here are the steps to add your own default parameters.
- Go to the configuration page in webserver
- Click on the company where you want to work.
- Select reports
- Find the report you want to edit and click on it.
- This will bring up a box with a field in it called default parameters.
Reports with date parameters have either 1 or 2 date ranges.
The parameters for 1 date range are: startDateA and endDateA
For the 2nd date range it is: startDateB and endDateB
Following is a list of parameters the programmed is designed to decode and set the correct date.
startofmonth
startoflastmonth
startoflastweek
startoflastyear
startofweek
startofyear
endofmonth
endoflastmonth
endoflastweek
endoflastyear
endofweek
endofyear
today
yesterday
tomorrow
An up to date list for developers can be found here: Report Resolver
Here is how you would enter a default parameter to use the previous month:
&startDateA=startoflastmonth&endDateA=endoflastmonth
Other common parameter names
startItemId, startCustomerId, startVendorId, endItemId, endCustomerId, endVendorId
These can also be set in the same manner as the date default.
If you want to see what parameters are in a report you can run the report from client 4 and will find the parameters in the URL box of the report.