HcmWorkerActionPositionAssignment.validateWorkerAssignmentStartDates Method
Validates that the ValidFrom date of the HcmWorkerActionPositionAssignment record is less than or equal to the ValidFrom date of the HcmWorkerActionEmployment record.
Syntax
public boolean validateWorkerAssignmentStartDates(
HcmEmploymentValidFrom _employmentValidFrom,
HcmPositionActivationDateTime _positionDurationValidFrom,
HcmAvailableForAssignment _positionDetailAvaialbleForAssignment,
HcmPositionWorkerAssignmentStartDate _workerAssignmentStartDate,
HcmPositionWorkerAssignmentEndDate _workerAssignmentEndDate)
Run On
Called
Parameters
- _employmentValidFrom
Type: HcmEmploymentValidFrom Extended Data Type
The ValidFrom date of the HcmWorkerActionEmployment record.
- _positionDurationValidFrom
Type: HcmPositionActivationDateTime Extended Data Type
The ValidFrom date of the HcmPositionDuration record.
- _positionDetailAvaialbleForAssignment
Type: HcmAvailableForAssignment Extended Data Type
The AvailableForAssignment date of the HcmPositionDetail record.
- _workerAssignmentStartDate
Type: HcmPositionWorkerAssignmentStartDate Extended Data Type
The ValidFrom date of the HcmWorkerActionPositionAssignment record.
- _workerAssignmentEndDate
Type: HcmPositionWorkerAssignmentEndDate Extended Data Type
The ValidTo date of the HcmWorkerActionPositionAssignment record.
Return Value
Type: boolean
true if the validation passes; otherwise, false.