Class ReportStartRuntime
Runtime for the report start function
Inherited Members
Namespace: PayrollEngine.Client.Scripting.Runtime.Api
Assembly: PayrollEngine.Client.Services.dll
Syntax
public class ReportStartRuntime : ReportRuntime, IReportStartRuntime, IReportRuntime, IRuntime
Constructors
View SourceReportStartRuntime(PayrollHttpClient, int, int, ReportSet, ReportRequest)
Initializes a new instance of the ReportStartRuntime class
Declaration
public ReportStartRuntime(PayrollHttpClient httpClient, int tenantId, int userId, ReportSet report, ReportRequest reportRequest)
Parameters
| Type | Name | Description |
|---|---|---|
| PayrollHttpClient | httpClient | The Payroll http client |
| int | tenantId | The tenant id |
| int | userId | The user id |
| ReportSet | report | The report |
| ReportRequest | reportRequest | The report request |
Properties
View SourceLogOwnerType
The log owner type
Declaration
protected override string LogOwnerType { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
View SourceGetQuery(string)
Get report query
Declaration
public 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
public 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
public 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
public void SetQuery(string queryName, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | queryName | The query name |
| string | value | The query value as JSON |