JmgTermJob.reportedFinish Method [AX 2012]
This method returns whether the job is reported as finished in Shop Floor Control.
Syntax
public boolean reportedFinish()
Run On
Called
Return Value
Type: boolean
true if an employee has reported the job as finished; otherwise, false.
Examples
The following example shows a method, which notifies the user if the input job has been reported as finished.
public void checkReportFinished(JmgJobId _jobId)
{
JmgTermJob jmgTermJob;
jmgTermJob = JmgTermJob::construct(_jobId);
if (jmgTermJob.reportedFinish())
{
info(strFmt("Job %1 has been reported as finished.", _jobId));
}
}