Show / Hide Table of Contents

Class CaseValidateRuntime

Runtime for the case validate function

Inheritance
object
RuntimeBase
PayrollRuntime
CaseRuntimeBase
CaseChangeRuntimeBase
CaseValidateRuntime
Implements
ICaseValidateRuntime
ICaseChangeRuntime
ICaseRuntime
IPayrollRuntime
IRuntime
Inherited Members
CaseChangeRuntimeBase.CaseAvailable(string)
CaseChangeRuntimeBase.SetCaseAttribute(string, string, object)
CaseChangeRuntimeBase.RemoveCaseAttribute(string, string)
CaseChangeRuntimeBase.GetCaseSet(string)
CaseChangeRuntimeBase.GetReason()
CaseChangeRuntimeBase.SetReason(string)
CaseChangeRuntimeBase.GetForecast()
CaseChangeRuntimeBase.SetForecast(string)
CaseChangeRuntimeBase.GetFieldNames()
CaseChangeRuntimeBase.HasFields()
CaseChangeRuntimeBase.HasField(string)
CaseChangeRuntimeBase.IsFieldComplete(string)
CaseChangeRuntimeBase.IsFieldEmpty(string)
CaseChangeRuntimeBase.FieldAvailable(string)
CaseChangeRuntimeBase.FieldAvailable(string, bool)
CaseChangeRuntimeBase.HasStart(string)
CaseChangeRuntimeBase.GetStart(string)
CaseChangeRuntimeBase.SetStart(string, DateTime?)
CaseChangeRuntimeBase.InitStart(string, DateTime?)
CaseChangeRuntimeBase.MandatoryEnd(string)
CaseChangeRuntimeBase.HasEnd(string)
CaseChangeRuntimeBase.GetEnd(string)
CaseChangeRuntimeBase.SetEnd(string, DateTime?)
CaseChangeRuntimeBase.InitEnd(string, DateTime?)
CaseChangeRuntimeBase.MandatoryValue(string)
CaseChangeRuntimeBase.GetValueType(string)
CaseChangeRuntimeBase.HasValue(string)
CaseChangeRuntimeBase.GetValue(string)
CaseChangeRuntimeBase.SetValue(string, object)
CaseChangeRuntimeBase.InitValue(string, object)
CaseChangeRuntimeBase.AddCaseValueTag(string, string)
CaseChangeRuntimeBase.RemoveCaseValueTag(string, string)
CaseChangeRuntimeBase.GetCaseFieldAttribute(string, string)
CaseChangeRuntimeBase.SetCaseFieldAttribute(string, string, object)
CaseChangeRuntimeBase.RemoveCaseFieldAttribute(string, string)
CaseChangeRuntimeBase.GetCaseValueAttribute(string, string)
CaseChangeRuntimeBase.SetCaseValueAttribute(string, string, object)
CaseChangeRuntimeBase.RemoveCaseValueAttribute(string, string)
CaseChangeRuntimeBase.GetCaseFieldSet(string, bool)
CaseChangeRuntimeBase.Case
CaseChangeRuntimeBase.CancellationDate
CaseRuntimeBase.GetCaseAttribute(string)
CaseRuntimeBase.CaseName
CaseRuntimeBase.CaseType
CaseRuntimeBase.LogOwner
PayrollRuntime.GetEmployeeAttribute(string)
PayrollRuntime.GetEvaluationPeriod()
PayrollRuntime.GetPeriod(DateTime, int)
PayrollRuntime.GetCycle(DateTime, int)
PayrollRuntime.GetCaseValueType(string)
PayrollRuntime.GetCaseValueSlots(string)
PayrollRuntime.GetCaseValueTags(string, DateTime)
PayrollRuntime.GetCaseValue(string, DateTime)
PayrollRuntime.GetCaseValues(IList<string>, DateTime)
PayrollRuntime.GetCaseValues(string, DateTime?, DateTime?)
PayrollRuntime.GetCasePeriodValues(DateTime, DateTime, params string[])
PayrollRuntime.HasLookup(string)
PayrollRuntime.GetLookup(string, string, string)
PayrollRuntime.GetLookupRanges(string, decimal?)
PayrollRuntime.GetRangeLookup(string, decimal, string, string)
PayrollRuntime.ApplyRangeValue(string, decimal, string)
PayrollRuntime.EmployeeService
PayrollRuntime.PayrollService
PayrollRuntime.RegulationService
PayrollRuntime.CalendarService
PayrollRuntime.ScriptContext
PayrollRuntime.ScriptCalendar
PayrollRuntime.PayrollCulture
PayrollRuntime.EmployeeId
PayrollRuntime.Employee
PayrollRuntime.EmployeeIdentifier
PayrollRuntime.PayrollId
PayrollRuntime.Payroll
PayrollRuntime.DivisionId
PayrollRuntime.Namespace
PayrollRuntime.Cycle
PayrollRuntime.Period
PayrollRuntime.RegulationDate
PayrollRuntime.EvaluationDate
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.UserCulture
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 CaseValidateRuntime : CaseChangeRuntimeBase, ICaseValidateRuntime, ICaseChangeRuntime, ICaseRuntime, IPayrollRuntime, IRuntime

Constructors

View Source

CaseValidateRuntime(PayrollHttpClient, ScriptContext, int, int, int, CaseSet, int?)

Initializes a new instance of the CaseValidateRuntime class

Declaration
public CaseValidateRuntime(PayrollHttpClient httpClient, ScriptContext scriptContext, int tenantId, int userId, int payrollId, CaseSet caseSet, int? employeeId = null)
Parameters
Type Name Description
PayrollHttpClient httpClient

The Payroll http client

ScriptContext scriptContext

The script context

int tenantId

The tenant id

int userId

The user id

int payrollId

The payroll id

CaseSet caseSet

The runtime case set

int? employeeId

The employee id

Properties

View Source

Issues

The validation issues

Declaration
public List<CaseValidationIssue> Issues { get; }
Property Value
Type Description
List<CaseValidationIssue>
View Source

LogOwnerType

The log owner type

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

Methods

View Source

AddCaseFieldIssue(string, string)

Add a new case field issue

Declaration
public void AddCaseFieldIssue(string caseFieldName, string message)
Parameters
Type Name Description
string caseFieldName

Name of the case field

string message

The issue message

View Source

AddCaseIssue(string)

Add a new case issue

Declaration
public void AddCaseIssue(string message)
Parameters
Type Name Description
string message

The issue message

View Source

HasIssues()

Test for issues

Declaration
public bool HasIssues()
Returns
Type Description
bool

Implements

ICaseValidateRuntime
ICaseChangeRuntime
ICaseRuntime
IPayrollRuntime
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