How can I get a row unique identifier (uid) from classes or Table View.
Table and View classes have the method that returns a row unique identifier getUID (both server side that client side).
For the Table class, you can use:
long uid = tbl.getUID() //Return the uid for the current row on the table opened with the class Table
For the View class, you can use:
long uid = view.getUID("<package>.<table>", <idxrow>) //Return the uid of the row <idxrow> on the table <package>.<table>
In the case of the View class is we could have only the uid on the tables declared in the view definition.