Skip to main content
Microsoft Dynamics AX forum

Filtering out ENUM Values in Electronic Reporting

editSubscribe (1) ShareShare
Posted on by 7

Hi i wanted to get only purchased inventory transactions. But as this field is an enum type , so i have a hard time putting in the condition.

i know in X++ we use it like this ,

However , I can’t find out anywhere what is the proper syntax I can use here for filtering my condition

AND(InventTrans.ItemId = @.ItemId,
InventTrans.DatePhysical = TransDate,
InventTrans.StatusReceipt = ‘Purchased’ /// I want this line corrected

  • Verified answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 3,611 UG Leader on at
    Filtering out ENUM Values in Electronic Reporting
    try this to use GetEnumValueByName function.
    Please refer to this :
    Best regards,
    Mohamed Amine MAHMOUDI

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,126 Super User

Martin Dráb Profile Picture

Martin Dráb 222,646 Super User

nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans