Share via


ProdJobType.checkJobSequence Method [AX 2012]

Checks whether the job follows the job sequence.

Syntax

public boolean checkJobSequence(
    RouteJobMap _currentJob, 
    RouteJobMap _prevJob, 
    RouteJobMap _nextJob, 
    container _identifierFieldIds, 
   [SchedJobLink _link])

Run On

Called

Parameters

  • _currentJob
    Type: RouteJobMap Map
    A map instance that contains the job information for which to check the sequence.
  • _identifierFieldIds
    Type: container
    A container with the field Ids that will be used in building a job identifier.
  • _link
    Type: SchedJobLink Enumeration
    A SchedJobLink enumeration value forced by the caller thateplaces the link information that is on the data record; optional.

Return Value

Type: boolean
true if the job does not break the sequence; otherwise, false.

Remarks

This method implements the default checks for job sequence. The special rules should be implemented in the derived classes.

See Also

Reference

ProdJobType Class