Share via


HcmWorkerActionEmployment.validateWorkerAssignmentStartDates Method

Validates that the ValidFrom date of the HcmWorkerActionEmployment record is greater than or equal to the ValidFrom date of the HcmWorkerActionPositionAssignment record.

Syntax

public boolean validateWorkerAssignmentStartDates(
    HcmEmploymentValidFrom _employmentValidFrom, 
    HcmEmploymentValidTo _employmentValidTo, 
    ValidFromDateTime _positionDurationValidFrom, 
    HcmAvailableForAssignment _positionDetailAvaialbleForAssignment, 
    HcmPositionWorkerAssignmentStartDate _workerAssignmentStartDate, 
    HcmPositionWorkerAssignmentEndDate _workerAssignmentEndDate, 
    HcmPositionRecId _position)

Run On

Called

Parameters

Return Value

Type: boolean
true if the validation passes; otherwise, false.

See Also

Reference

HcmWorkerActionEmployment Table