Applicable Versions: 2.01.0152 Onwards
DataPA Supports Business Logic subjects that allow reports and queries to be built using any Progress 4GL code that returns a temp-table. The video below shows an example of how to create a business logic subject, and a report based upon it. The code examples used in the video can be downloaded from here.
It may well be the case that most of your business logic resides in procedures rather than functions. This doesn't prevent you from using this business logic, you simply need to create a wrapper function for each of these procedures. For details see How can I call my existing business logic, in a procedure, from DataPA?.