HcmWorker.isContractor Method [AX 2012]
Determines whether the worker has an active employment of type contractor for a given time range.
public HcmIsContractor isContractor([utcdatetime _validFrom, utcdatetime _validTo])
Run On
CalledParameters
- _validFrom
- Type: utcdatetime
A ValidFrom field value.
- _validTo
- Type: utcdatetime
A ValidTo field value.
Return Value
Type: HcmIsContractor Extended Data Typetrue if the worker has an active employment of type contractor; otherwise, false.