JmgTermJob_HRMAbsence Class [AX 2012]
The JmgTermJob_HRMAbsence class represents jobs of type absence, which originate either from the HRMAbsenceCodeGroup Table or the HRMAbsenceCode Table.
| Method | Description | |
|---|---|---|
| actOprId | Retrieves the absence code of the absence job. (Overrides the actOprId Method.) |
| allow | Retrieves whether employees can create registrations on the absence job. (Overrides the allow Method.) |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| estimatedHours | Retrieves the estimated job time. (Inherited from JmgTermJob.) |
| function | Retrieves the function that is associated with the job. (Inherited from JmgTermJob.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| init | Part of the initialization procedure of an instance. The method is called by the JmgTermJob::construct Method and JmgTermJob::constructJobTable Method. (Inherited from JmgTermJob.) |
| initCommon | This method initializes the common fields in a JmgTermReg record, which is created when a registration is made. (Inherited from JmgTermJob.) |
| initSourceData | Initializes source data for the absence job that the job is based on and loads either the HRMAbsenceCode record or the HRMAbsenceCodeGroup record into memory. (Overrides the initSourceData Method.) |
| isValidJobId | This method returns whether an instance of the JmgTermJob Class is based on a valid job ID. (Inherited from JmgTermJob.) |
| jmgJobTable | Retrieves the JmgJobTable record, which is associated to the job. (Inherited from JmgTermJob.) |
| jobDescription | Retrieves the job description of the absence job. (Overrides the jobDescription Method.) |
| jobId | This method returns the job ID which identifies this job. (Inherited from JmgTermJob.) |
| jobRef | Returns the job reference of the job. (Overrides the jobRef Method.) |
| jobStatus | Retrieves the status of a job. (Inherited from JmgTermJob.) |
| jourRegType | Retrieves the journal registration type for absence jobs, which is JmgJourRegTypeEnum::Absence. (Overrides the jourRegType Method.) |
| makeFeedback | Makes feedback on a started job. (Overrides the makeFeedback Method.) |
| makeRegistration | Makes a start or a stop job registration on this job. (Overrides the makeRegistration Method.) |
| module | Retrieves the module that the job originates from. For absence jobs, this module is JmgModuleEnum::IPC. (Overrides the module Method.) |
| new | Creates a new instance of the JmgTermJob_HRMAbsence Class. (Overrides the new Method.) |
| 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.) |
| pmfCanHaveCoProducts | Indicates whether the job can have co-product outputs. (Inherited from JmgTermJob.) |
| pmfIsBatchOrderJob | Indicates whether the term job belongs to the batch order. (Inherited from JmgTermJob.) |
| registrationError | This method is invoked if an error occurs when a registration on the job is created. It throws an error that has the specified error message. If special handling of registration errors is necessary for a specific type of job, this method should be overridden. (Inherited from JmgTermJob.) |
| reportedFinish | This method returns whether the job is reported as finished in Shop Floor Control. (Inherited from JmgTermJob.) |
| reportedStarted | Retrieves whether an absence job is reported as started. An absence job is always considered started. (Overrides the reportedStarted Method.) |
| requireFeedbackInfo | Retrieves whether additional feedback is needed. Absence jobs never require additional feedback. (Overrides the requireFeedbackInfo Method.) |
| requireStartupInfo | Retrieves whether additional startup information is needed. Absence jobs never require such information. (Overrides the requireStartupInfo Method.) |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| signType | This method returns the type of registration associated with this job. (Inherited from JmgTermJob.) |
| sourceData | Provides access to the source data record that the job originates from, which is either an HRMAbsenceCode record or an HRMAbsenceCodeGroup record. (Overrides the sourceData Method.) |
| stampType | Retrieves the stamp type associated with the job. For absence jobs, this is JmgStampTypeEnum::Absence. (Overrides the stampType Method.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validateStampJournalTransWrite | Validates a JmgStampJournalTrans record. (Inherited from JmgTermJob.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
Community Additions
ADD
Show: