RouteVersionActivate.validateResourceRequirements Method [AX 2012]

Validates that there are resources available for all operations.

protected boolean validateResourceRequirements(RouteVersion _routeVersion)

Run On



Type: RouteVersion Table
The route version to validate.

Return Value

Type: boolean
true if there are resources available for all operations; otherwise, false.

This method uses parmLogResourceInconsistency() and parmFailOnResourceInconsistency() to determine how errors are handled. If parmFailOnResourceInconsistency is false the user will be promted and asked if the error should be ignored.

If parmLogResourceInconsistency is true the error will also be shown in the infolog.