Class ReportBuildRuntime
Runtime for the report build function
Inherited Members
Namespace: PayrollEngine.Client.Scripting.Runtime.Api
Assembly: PayrollEngine.Client.Services.dll
Syntax
public class ReportBuildRuntime : ReportRuntime, IReportBuildRuntime, IReportRuntime, IRuntime
Constructors
View SourceReportBuildRuntime(PayrollHttpClient, int, int, ReportSet, ReportRequest)
Initializes a new instance of the ReportBuildRuntime class
Declaration
public ReportBuildRuntime(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 SourceSetParameter(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 |
SetParameterHidden(string, bool)
Set the report parameter hidden state
Declaration
public void SetParameterHidden(string parameterName, bool hidden)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parameterName | The parameter name |
| bool | hidden | The hidden state |