https://github.com/ako/QueryApiBlogPost/blob/master/javasource/hr/actions/RetrieveAdvancedOql.java
How to copy the primary key ID of data retrieved from Core.retrieveOQLDataTable to IMendixObject
IDataTable resultDT = Core.retrieveOQLDataTable(getContext(), this.OqlQuery);
IMendixObject obj = Core.instantiate(getContext(), this.ResultEntity); ??