Question
2
Replies
217
Views
Uhg
Posted: April 15, 2016
Last activity: April 15, 2016
Closed
how to get the maximum pyid
how to get the maximum pyid
Message was edited by: Lochan to add Category
Question
Question
Question
Question
Question
Question
Question
Question
Idea
Question
how to get the maximum pyid
Message was edited by: Lochan to add Category
Hi,
You can actually browse on class Data-UniqueID for property pyLastReservedID with condition set pyPrefix = <your prefix of pyID>. it will return only one row and pyLastReservedID will have the last used number in it.
Regards,
Goutham
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.
Is it for a specific class? If yes, create a report definition and then use a SQL function to get the numeric part of the pyID and then apply the max aggregate function on it.