Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2740

Prices in Service Layer

$
0
0

Hello,

 

Is it possible to limit the attributes of "subcollections" by using $select and $filter in Service Layer?

 

I have this URL: https://<servername>:50000/b1s/v1/Items?$top=1&$select=ItemCode,ItemPrices

which returns ItemCode of the first item with the related prices.

 

I want to limit this result to only list ItemCode and Price and Currency of pricelist 1.

 

Something like this: https://<servername>/b1s/v1/Items?$top=1&$select=ItemCode,ItemPrices($filter=PriceList eq 1&$select=Price,Currency)

 

Is this possible to do in in OData?

 

 

Thanks!

 

Best regards

Bengt Skrettingland


Viewing all articles
Browse latest Browse all 2740


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>