PrintMgmtSetupSettingsConditional::hasConditionRanges Method [AX 2012]

Determines whether a query has any ranges defined.

client server public static boolean hasConditionRanges(Query _query)

Run On

Called

Parameters

_query
Type: Query Class

Return Value

Type: boolean
true of any ranges in the query have values defined; otherwise, false.

This method is used to validate that a query is not empty. Not empty means that there is at least one range that has a non-blank value so that the query does not implicitly select all records.

Show: