Show / Hide Table of Contents

Class CaseRelationValidateRuntime

Runtime for the case relation validate function

Inheritance
object
RuntimeBase
PayrollRuntime
CaseRelationRuntimeBase
CaseRelationValidateRuntime
Implements
ICaseRelationValidateRuntime
ICaseRelationRuntime
IPayrollRuntime
IRuntime
Inherited Members
CaseRelationRuntimeBase.GetSourceFieldNames()
CaseRelationRuntimeBase.HasSourceFields()
CaseRelationRuntimeBase.HasSourceField(string)
CaseRelationRuntimeBase.IsSourceFieldComplete(string)
CaseRelationRuntimeBase.IsSourceFieldEmpty(string)
CaseRelationRuntimeBase.HasSourceStart(string)
CaseRelationRuntimeBase.GetSourceStart(string)
CaseRelationRuntimeBase.HasSourceEnd(string)
CaseRelationRuntimeBase.GetSourceEnd(string)
CaseRelationRuntimeBase.GetSourceValueType(string)
CaseRelationRuntimeBase.HasSourceValue(string)
CaseRelationRuntimeBase.GetSourceValue(string)
CaseRelationRuntimeBase.GetSourceCaseAttribute(string)
CaseRelationRuntimeBase.GetSourceCaseFieldAttribute(string, string)
CaseRelationRuntimeBase.GetSourceCaseValueAttribute(string, string)
CaseRelationRuntimeBase.GetTargetFieldNames()
CaseRelationRuntimeBase.HasTargetFields()
CaseRelationRuntimeBase.HasTargetField(string)
CaseRelationRuntimeBase.IsTargetFieldComplete(string)
CaseRelationRuntimeBase.IsTargetFieldEmpty(string)
CaseRelationRuntimeBase.HasTargetStart(string)
CaseRelationRuntimeBase.GetTargetStart(string)
CaseRelationRuntimeBase.SetTargetStart(string, DateTime?)
CaseRelationRuntimeBase.InitTargetStart(string, DateTime?)
CaseRelationRuntimeBase.HasTargetEnd(string)
CaseRelationRuntimeBase.GetTargetEnd(string)
CaseRelationRuntimeBase.SetTargetEnd(string, DateTime?)
CaseRelationRuntimeBase.InitTargetEnd(string, DateTime?)
CaseRelationRuntimeBase.GetTargetValueType(string)
CaseRelationRuntimeBase.HasTargetValue(string)
CaseRelationRuntimeBase.GetTargetValue(string)
CaseRelationRuntimeBase.SetTargetValue(string, object)
CaseRelationRuntimeBase.InitTargetValue(string, object)
CaseRelationRuntimeBase.TargetFieldAvailable(string)
CaseRelationRuntimeBase.TargetFieldAvailable(string, bool)
CaseRelationRuntimeBase.GetTargetCaseAttribute(string)
CaseRelationRuntimeBase.GetTargetCaseFieldAttribute(string, string)
CaseRelationRuntimeBase.GetTargetCaseValueAttribute(string, string)
CaseRelationRuntimeBase.InitStart(string, string)
CaseRelationRuntimeBase.CopyStart(string, string)
CaseRelationRuntimeBase.InitEnd(string, string)
CaseRelationRuntimeBase.CopyEnd(string, string)
CaseRelationRuntimeBase.InitValue(string, string)
CaseRelationRuntimeBase.CopyValue(string, string)
CaseRelationRuntimeBase.SourceCaseSet
CaseRelationRuntimeBase.TargetCaseSet
CaseRelationRuntimeBase.LogOwner
CaseRelationRuntimeBase.RelationName
CaseRelationRuntimeBase.SourceCaseName
CaseRelationRuntimeBase.SourceCaseSlot
CaseRelationRuntimeBase.SourceCaseCancellationDate
CaseRelationRuntimeBase.TargetCaseName
CaseRelationRuntimeBase.TargetCaseSlot
CaseRelationRuntimeBase.TargetCaseCancellationDate
PayrollRuntime.GetEmployeeAttribute(string)
PayrollRuntime.GetEvaluationPeriod()
PayrollRuntime.GetPeriod(DateTime, int)
PayrollRuntime.GetCycle(DateTime, int)
PayrollRuntime.GetCaseValueType(string)
PayrollRuntime.GetCaseFieldAttribute(string, string)
PayrollRuntime.GetCaseValueAttribute(string, 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 CaseRelationValidateRuntime : CaseRelationRuntimeBase, ICaseRelationValidateRuntime, ICaseRelationRuntime, IPayrollRuntime, IRuntime

Constructors

View Source

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

Initializes a new instance of the CaseRelationValidateRuntime class

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

The Payroll http client

ScriptContext scriptContext

The script context

int tenantId

The tenant id

int payrollId

The payroll id

int userId

The user id

CaseSet sourceCaseSet

The source case set

CaseSet targetCaseSet

The target 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, int)

Add a new case field issue

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

Name of the case field

string message

The issue message

int number

The issue number

View Source

AddCaseIssue(string, int)

Add a new case issue

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

The issue message

int number

The issue number

View Source

HasIssues()

Test for issues

Declaration
public bool HasIssues()
Returns
Type Description
bool

Implements

ICaseRelationValidateRuntime
ICaseRelationRuntime
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