Gets the worker relation type across all time.
display HcmWorkerRelationType workerRelationType()
Type: HcmWorkerRelationType Enumeration
The Both value if the worker has held an employment of type employee and contractor. The Employee value if the worker has held employments of only type employee. The Contractor value if the worker has held employments of only type contractor.