Operators for validation rules

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

The following operators are available for creating logical expressions in validation rules:

*

multiply

/

divide

+

plus

-

minus

>

greater than

<

less than

>=

greater than or equal to

<=

less than or equal to

=

equal to

!=

not equal to

and

logical AND

or

logical OR

The operators in this table are listed in order of operator precedence. Operator precedence means that operators that appear higher up in the table are evaluated before operators that are listed after them. Therefore, A = B or C = D and A + B * D = C is evaluated as ((A = B) or (C = D)) and ((A + (B * D)) = C).