Share via


JmgTermJob.reportedStarted Method [AX 2012]

This method returns whether the job has been reported as started.

Syntax

public abstract boolean reportedStarted()

Run On

Called

Return Value

Type: boolean
true if the job is started; otherwise, false.

Examples

The following example shows a method, that prompts the user if the input job has not been started.

public void checkReportStarted(JmgJobId _jobId) 
{ 
    JmgTermJob jmgTermJob; 
 
    jmgTermJob = JmgTermJob::construct(_jobId); 
    if (!jmgTermJob.reportedStarted()) 
    { 
        // Prompt the user to start the job. 
    } 
}

See Also

Reference

JmgTermJob Class