ProdJobType.checkJobSequence Method [AX 2012]

Checks whether the job follows the job sequence.

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.
_prevJob
Type: RouteJobMap Map
The previous job information.
_nextJob
Type: RouteJobMap Map
The next job information.
_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.

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

Community Additions

ADD
Show: