AX / D365fo – Filter by Enum value in an AOT Query

Are you creating an AOT Query and want to create a filter condition by an ENUM field?

In the AOT query you can do it by using a data source Range object

In the value field property just insert the numeric or string value of the the ENUM field.

In this example I used the string value (StartedUp) of the field ProdStatus, but you could also use the numeric value of the enum

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s