Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

OData filter for a date greater than -2Y

$
0
0
I'm struggling with an OData connection which is trying to retrieve purchase lines of type Order - works fine - but with the additional filter of Only Orders from the last 2 years (to reduce traffic and improve refresh time) as below however I get a Bad Request. This is equivalent to filtering in Navision for the Order Date >-2Y

OData/PurchaseLinesList?$filter=Document_Type eq 'Order' and Order_Date gt '-2y'

Any ideas welcome?

Viewing all articles
Browse latest Browse all 10032

Trending Articles



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