HcmWorker.isContractor Method

Determines whether the worker has an active employment of type contractor for a given time range.

Syntax

public HcmIsContractor isContractor([utcdatetime _validFrom, utcdatetime _validTo])

Run On

Called

Parameters

  • _validFrom
    Type: utcdatetime
    A ValidFrom field value.

Return Value

Type: HcmIsContractor Extended Data Type
true if the worker has an active employment of type contractor; otherwise, false.

See Also

Reference

HcmWorker Table