Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

SDK REST - Retrieve record with date filter

$
0
0

Hello, 

I want to retrieve only the records greater than today using SDK REST.

Any help is appreciated.Below is the code :

// JavaScript source code :

var datedujour = new Date();

var options = "$filter=abo_produit/Id eq guid'" + productID+ "' and abo_date_expedition gt " + datedujour;

SDK.REST.retrieveMultipleRecords(
"abo_lot",
options,
function (lotCollection) {

},
function (error) {
alert(error.message);
},
function (){
});


Viewing all articles
Browse latest Browse all 46379

Trending Articles



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