The Pool report display next work for an employee
The system calculate it and save this in table BEAS_TEMPREPORT
With function Create you can create the report in this table and this function return an PoolReportid
With this id you can read the PoolReport
ReportId=get PoolReport/Create("","",true) ; // Create the poolReport
get PoolReport; Read the report. You can link this to all work order tables
PoolReport/Delete(ReportId); // delete the report
Note:
If you don't delete the report, the system will delete it next day