Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the worker is affiliated with the same legal entity for the whole duration of a period.
Syntax
public boolean isEmployedInPeriod(
CompanyInfoRecId _legalEntity,
utcdatetime _periodFrom,
utcdatetime _periodTo)
Run On
Called
Parameters
- _legalEntity
Type: CompanyInfoRecId Extended Data Type
The value of the LegalEntity field to find.
- _periodFrom
Type: utcdatetime
The first day of the period for which to check the employment.
- _periodTo
Type: utcdatetime
The last day of the period for which to check the employment.
Return Value
Type: boolean
true if the worker is affiliated with the same legal entity in a period; otherwise, false.