Show / Hide Table of Contents

Class ReportEndRuntime

Runtime for the report end function

Inheritance
object
RuntimeBase
ReportRuntime
ReportEndRuntime
Implements
IReportEndRuntime
IReportRuntime
IRuntime
Inherited Members
ReportRuntime.GetReportAttribute(string)
ReportRuntime.SetReportAttribute(string, object)
ReportRuntime.HasParameter(string)
ReportRuntime.GetParameter(string)
ReportRuntime.SetParameterInternal(string, string)
ReportRuntime.GetParameterAttribute(string, string)
ReportRuntime.SetParameterAttribute(string, string, object)
ReportRuntime.ParameterHidden(string)
ReportRuntime.ExecuteQuery(string, string, string, Dictionary<string, string>)
ReportRuntime.ExecuteLookupValueQuery(int, string, string, string)
ReportRuntime.ExecuteGlobalCaseValueQuery(string, Tuple<int?, string, string, string, long?, long?>)
ReportRuntime.ExecuteNationalCaseValueQuery(string, Tuple<int?, string, string, string, long?, long?>)
ReportRuntime.ExecuteCompanyCaseValueQuery(string, Tuple<int?, string, string, string, long?, long?>)
ReportRuntime.ExecuteEmployeeCaseValueQuery(string, int, Tuple<int?, string, string, string, long?, long?>)
ReportRuntime.ExecuteWageTypeQuery(string, int, Tuple<int?, string, string, string, long?, long?>)
ReportRuntime.ExecutePayrollResultQuery(string, Tuple<int?, string, string, string, long?, long?>)
ReportRuntime.ExecuteWageTypeResultQuery(string, int, Tuple<int?, string, string, string, long?, long?>)
ReportRuntime.ExecuteWageTypeCustomResultQuery(string, int, int, Tuple<int?, string, string, string, long?, long?>)
ReportRuntime.ExecuteCollectorResultQuery(string, int, Tuple<int?, string, string, string, long?, long?>)
ReportRuntime.ExecuteCollectorCustomResultQuery(string, int, int, Tuple<int?, string, string, string, long?, long?>)
ReportRuntime.ExecutePayrunResultQuery(string, int, Tuple<int?, string, string, string, long?, long?>)
ReportRuntime.AddReportLog(string, string, DateTime?)
ReportRuntime.Report
ReportRuntime.ReportRequest
ReportRuntime.PayrollService
ReportRuntime.LogOwner
ReportRuntime.ReportName
ReportRuntime.UserCulture
RuntimeBase.GetTenantAttribute(string)
RuntimeBase.GetUserAttribute(string)
RuntimeBase.GetDerivedCulture(int, int)
RuntimeBase.GetDerivedCalendar(int, int)
RuntimeBase.GetCalendarDayCount(string, DateTime, DateTime, string)
RuntimeBase.IsCalendarWorkDay(string, DateTime)
RuntimeBase.GetPreviousWorkDays(string, DateTime)
RuntimeBase.GetNextWorkDays(string, DateTime)
RuntimeBase.GetCalendarPeriod(string, DateTime, int, string)
RuntimeBase.AddLog(int, string, string, string)
RuntimeBase.AddTask(string, string, DateTime, string, Dictionary<string, object>)
RuntimeBase.InvokeWebhook(string, string)
RuntimeBase.HttpClient
RuntimeBase.TenantService
RuntimeBase.UserService
RuntimeBase.Tenant
RuntimeBase.TenantCulture
RuntimeBase.TenantId
RuntimeBase.TenantIdentifier
RuntimeBase.User
RuntimeBase.UserId
RuntimeBase.UserIdentifier
RuntimeBase.UserType
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Scripting.Runtime.Api
Assembly: PayrollEngine.Client.Services.dll
Syntax
public class ReportEndRuntime : ReportRuntime, IReportEndRuntime, IReportRuntime, IRuntime

Constructors

View Source

ReportEndRuntime(PayrollHttpClient, int, int, ReportSet, ReportRequest, DataSet)

Initializes a new instance of the ReportEndRuntime class

Declaration
public ReportEndRuntime(PayrollHttpClient httpClient, int tenantId, int userId, ReportSet report, ReportRequest reportRequest, DataSet dataSet = null)
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

DataSet dataSet

The report data set

Properties

View Source

DataSet

Gets the report data set

Declaration
public DataSet DataSet { get; }
Property Value
Type Description
DataSet
View Source

LogOwnerType

The log owner type

Declaration
protected override string LogOwnerType { get; }
Property Value
Type Description
string
Overrides
RuntimeBase.LogOwnerType

Methods

View Source

ExecuteMergeQuery(string, string, string, string, Dictionary<string, string>, int)

Execute a query on the Api web method and merge the table to the set

Declaration
public DataTable ExecuteMergeQuery(string tableName, string methodName, string culture, string mergeColumn, Dictionary<string, string> parameters, int schemaChange)
Parameters
Type Name Description
string tableName

Target table name

string methodName

The query name

string culture

The content culture

string mergeColumn

The column used to merge (primary key column)

Dictionary<string, string> parameters

The method parameters

int schemaChange

Action to take when the required data column is missing DataMergeSchemaChange

Returns
Type Description
DataTable

New or expanded data table

View Source

ExecuteQuery(string, string, string, Dictionary<string, string>, bool)

Execute a query on the Api web method and add the table to the set

Declaration
public DataTable ExecuteQuery(string tableName, string methodName, string culture, Dictionary<string, string> parameters, bool resultQuery)
Parameters
Type Name Description
string tableName

Target table name

string methodName

The query name

string culture

The content culture

Dictionary<string, string> parameters

The method parameters

bool resultQuery

Add query table to the data set

Returns
Type Description
DataTable

Resulting data table, existing will be removed

Implements

IReportEndRuntime
IReportRuntime
IRuntime

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
  • View Source
☀
☾
Back to top Generated by DocFX