Class WageTypeConsolidatedResultCache
Cache for consolidated wage type results
Inherited Members
Namespace: PayrollEngine.Client.Scripting
Assembly: PayrollEngine.Client.Scripting.dll
Syntax
public class WageTypeConsolidatedResultCache : ConsolidatedResultCacheBase
Constructors
View SourceWageTypeConsolidatedResultCache(DateTime, PayrunJobStatus?, ResultCacheCycle)
Cache constructor
Declaration
public WageTypeConsolidatedResultCache(DateTime cycleStartDate, PayrunJobStatus? jobStatus = null, ResultCacheCycle cacheCycle = ResultCacheCycle.PreviousCycle)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | cycleStartDate | The cycle start date |
| PayrunJobStatus? | jobStatus | The payrun job status |
| ResultCacheCycle | cacheCycle | The result cache cycle |
Methods
View SourceGetConsolidatedResults(PayrunFunction, WageTypeConsolidatedResultQuery, string)
Get the collector results
Declaration
public IList<WageTypeResult> GetConsolidatedResults(PayrunFunction function, WageTypeConsolidatedResultQuery query, string runtimeKey = null)
Parameters
| Type | Name | Description |
|---|---|---|
| PayrunFunction | function | |
| WageTypeConsolidatedResultQuery | query | |
| string | runtimeKey |
Returns
| Type | Description |
|---|---|
| IList<WageTypeResult> |