OQL in JavaActions

1
Can one use OQL to retieve data in java actions. I need to aggregate data and would like to use the OQL functionality to achieve this
asked
2 answers
2

Yep that is perfectly possible. Just take a look at the Core.retrieve... functions

answered
2

Yes,

IDataTable table = Core.retrieveOQLDataTable(IContext context, java.lang.String oqlQuery);

or other variants, see API doc

answered