HcmWorkerTransition Class [AX 2012]
The HcmWorkerTransition class manages the creating, editing, and deleting of the worker and employment entities.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| createHcmEmployment | Creates a new employment. |
| createHcmWorker | Creates a new worker. |
| deleteHcmEmployment | Deletes the HcmEmployment record that is stored in the class. |
| endAllHcmEmployments | Ends all of the active employment for a specified worker. |
| endHcmEmployment | Ends an active or future employment. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| hireHcmWorker | Hires a new worker by creating the HcmWorker and the HcmPositionWorkerAssignment records. |
| new | Initializes a new instance of the HcmWorkerTransition class. |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| parmHcmEmployment | Gets or sets the HcmEmployment parameter. |
| parmHcmEmploymentDetail | Gets or sets the HcmEmploymentDetail parameter. |
| parmHcmEmploymentLastDayWorked | Gets or sets the HcmEmploymentLastWorkedDateTime parameter for the HcmEmploymentDetail record. |
| parmHcmEmploymentRecId | Gets or sets the HcmEmploymentRecId parameter. |
| parmHcmEmploymentType | Gets or sets the HcmEmploymentType parameter. |
| parmHcmPositionRetirementDateTime | Gets or sets the ValidTo parameter for the HcmPositionDuration record. |
| parmHcmPositionWorkerAssignmentRecId | Gets or sets the _value parameter. |
| parmHcmReasonCodeRecId | Gets or sets the HcmReasonCodeRecId parameter. |
| parmHcmWorkerPrimaryPositionEndDate | Gets or sets the _value parameter. |
| parmHcmWorkerPrimaryPositionStartDate | Gets or sets the _value parameter. |
| parmHcmWorkerRecId | Gets or sets the HcmWorkerRecId parameter for the HcmEmployment record. |
| parmLegalEntityRecId | Gets or sets the legal entity record ID parameter for the HcmEmployment record. |
| parmRetirePositions | Gets or sets the retirePositions parameter. |
| parmValidFrom | Gets or sets the ValidFrom parameter for the HcmEmployment record. |
| parmValidTo | Gets or sets the ValidTo parameter for the HcmEmployment record. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| terminateHcmWorker | Terminates a worker by ending all of the active employments and position worker assignments and optionally retiring the assigned positions. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| updateHcmEmployment | Updates the effective dates for a given HcmEmployment record. |
| updateHcmEmploymentDetail | Updates the effective dates for a given HcmEmploymentDetail record. |
| updateHcmEmploymentValidFrom | Updates the ValidFrom value for a given employment record. |
| updateHcmEmploymentValidTo | Updates the ValidTo value for a given employment record. |
| updateWorkerPositionAssignments | |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::getNewHcmWorkerPersonnelNumber | Generates a new personnel number automatically for the new worker that is being created. |
| ::newCreateHcmEmployment | Creates a new employment. |
| ::newCreateHcmWorker | Creates a new worker. |
| ::newEndHcmEmployment | Ends an active or future employment. |
| ::newHireHcmWorker | Hires a new worker by creating the HcmWorker and the HcmPositionWorkerAssignment records. |
| ::newTerminateHcmWorker | |
| ::newUpdateHcmEmployment | Updates the effective dates for a given HcmEmployment record. |
| ::updateHcmWorkerPrimaryPosition | Creates a new HcmWorkerPrimaryPosition record that is based on the specified parameters. |
Community Additions
ADD
Show: