Share via


JmgTermJob.jobId Method [AX 2012]

This method returns the job ID which identifies this job.

Syntax

public JmgJobId jobId()

Run On

Called

Return Value

Type: JmgJobId Extended Data Type
The job ID which identifies the job.

Examples

The following example shows the job ID for the clock-in job.

JmgTermJob jmgTermJob; 
 
jmgTermJob = JmgTermJob::construct(JmgIpcActivity::findSignInJobId()); 
info(strFmt("The clock in job ID is: %1", jmgTermJob.jobId()));

See Also

Reference

JmgTermJob Class