web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Advanced filtering query syntax

(0) ShareShare
ReportReport
Posted on by 536
Hi,

can i do the following range in data entity (InventTransferOrderHeaderEntity) ?

((TransferOrderStatus = /Shipped/) && ((ReceivingAddressLocationId= 1234) || (ShippingAddressLocationId = 1234))

 
I have the same question (0)
  • DELDYN Profile Picture
    536 on at
    Any idea?
  • Suggested answer
    Waed Ayyad Profile Picture
    9,090 Super User 2026 Season 1 on at
    Hi Deldyn,
     
    1- Replace the TransferOrderStatus  with Enum integer that is related to "Shipped" status.
    2- ReceivingAddressLocationId  is it integer value? or String?
     
    Thanks,
    Waed Ayyad
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
     
  • Verified answer
    Igor Karmalita Profile Picture
    16 on at
    Hello Deldyn,
    1. Use "Shipped" instead /Shipped/
    2. Add aone mode closing bracket ")" in the end 
     
    so if you are correct with data types in LocationId's range should looks like this:
    ((TransferOrderStatus = "Shipped") && ((ReceivingAddressLocationId = 1234) || (ShippingAddressLocationId = 1234)))
     
    But I think ReceivingAddressLocationId  and ShippingAddressLocationId  it's string, so rather:
    ((TransferOrderStatus = "Shipped") && ((ReceivingAddressLocationId = "1234") || (ShippingAddressLocationId = "1234")))
  • DELDYN Profile Picture
    536 on at
    Hi Igor,

    i've put quotations on shipped, but the question format replaces "" with /

    i've added the extra bracket at the end thank you and the error stopped appearing.

    ((TransferOrderStatus = "Shipped") && ((ReceivingAddressLocationId= "1234") || (ShippingAddressLocationId = "1234")))
     
     
    However, the range is not working as expected.

    i created a new transfer, i've put the ReceivingAddressLocationId as 1234 and the status is shipped.
    However, when i export the entity i get nothing

    i also tried to replaced shipped with it's integer value but same result (it's not good to put enum integers anyway)

    So is to doable via the UI in the first place?
  • Waed Ayyad Profile Picture
    9,090 Super User 2026 Season 1 on at
    Hi Deldyn,
     
    Did you save view after you changed the query? Can you share the form? 
     
     
    Thanks,
    Waed Ayyad
     
  • Igor Karmalita Profile Picture
    16 on at
    Hello Deldyn,
    I've tried to solve "Extended range failure", i'm not sure about tables fields and ranges you have used here, if Query works now but you see nothing or result is different from you expects, then problem in something else.
  • Martin Dráb Profile Picture
    239,055 Most Valuable Professional on at
    The problem about no data returned shouldn't be discussed here anymore. DELDYN created a new thread for it and forgot to mention it here.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 669

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 445 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 331 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans