what is Siebel escript-equivalent of "rownum" which is used in sql query
My requirement : To query Account records which are 1 year old
My Search spec : bcAccount.SetSearchExpr("[Created] < (Today()-364) AND [Created] > (Today()-366)");
The output is more than 2k records, I want to include rownum < 51, becuase i want to only get 50 records. whithout using while loop or for loop.
For this we use clause like rownum < 51 in SQL query.
What can we use in escript search spec, for similar result.