Share via


JmgTermJob.jobRef Method [AX 2012]

Returns the job reference of the job.

Syntax

public JmgJobRef jobRef()

Run On

Called

Return Value

Type: JmgJobRef Extended Data Type
The job reference of this job.

Remarks

Depending on the type of job, this method returns the following:

Examples

The following example displays the production ID of the production job with ID '10000008'.

JmgTermJob jmgTermJob; 
 
jmgTermJob = JmgTermJob::construct('10000008'); 
info("The production ID is: " + jmgTermJob.JobRef());

See Also

Reference

JmgTermJob Class