Interface IReportStartRuntime
Runtime for the report start function ReportStartFunction
Inherited Members
Namespace: PayrollEngine.Client.Scripting.Runtime
Assembly: PayrollEngine.Client.Scripting.dll
Syntax
public interface IReportStartRuntime : IReportRuntime, IRuntime
Methods
GetQuery(string)
Get report query
Declaration
string GetQuery(string queryName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | queryName | The query name |
Returns
| Type | Description |
|---|---|
| string | The report parameter value as JSON |
HasQuery(string)
Check for existing report query
Declaration
bool HasQuery(string queryName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | queryName | The query name |
Returns
| Type | Description |
|---|---|
| bool |
SetParameter(string, string)
Set report parameter value
Declaration
void SetParameter(string parameterName, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parameterName | The parameter name |
| string | value | The parameter value as JSON |
SetQuery(string, string)
Set report query value as JSON
Declaration
void SetQuery(string queryName, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | queryName | The query name |
| string | value | The query value as JSON |