Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Filter parent based on ChildList (filter salesOrders based on DimensionSetLines) in API v2.0

Posted on by 10

Hello all,

I'm using API v2.0 to access SalesOrders data. I need to filter SalesOrders based on the list of dimensions. I used the following API:

{{url}}/api/v2.0/companies({{companyId}})/salesOrders?$expand=dimensionSetLines&$top =10&$filter=dimensionSetLines/any(d:d/valueCode eq 'EFT')

The problem is that it seems Business Central OData does not apply the filter and returns all salesOrders. Could you please assist me on this? 

Thanks,

Arax

Categories:
  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Filter parent based on ChildList (filter salesOrders based on DimensionSetLines) in API v2.0

    Hello,

    Maybe the scenario can be achieved via a custom API.

    Thank you.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans