Quantcast
Channel: aras PLM community
Viewing all articles
Browse latest Browse all 1103

Get items order by a date property

$
0
0

Hi,

I am using following query to get items, it gets all the items if I don't use 'order by'.

BLOCKED SCRIPT

var Items_ = inn.newItem("Formulas","get");
     Items_.setAttribute("where","[Formulas].state = 'Approved' order by [Formulas].approved_date desc ");
     var results = Items.apply();

This is not getting the items. How to use order by in the above query?

Thank you.


Viewing all articles
Browse latest Browse all 1103

Trending Articles



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