Hello Suhail,
Thanks for the answer.
I checked both tables and could not find information about incidents.
The only place I found something is in the prtimeentry and ppa_wip tables.
With the following query I should be able to bring hours and total cost for the incidents but there is a bug in version 14.x, the job Post Incident Financials does not update correctly the field PPA_WIP .EXTERNALBATCHID with the PRTIMESHEETID.PRID so it is no possible to link both tables in order to get the incident data.
select e.INCIDENT_ID,e.INCIDENT_INVESTMENT_ID,e.PRACTSUM/3600,v.TOTALCOST,v.BILLRATE
from PRTIMESHEET t
inner join PRTIMEENTRY e on e.PRTIMESHEETID = t.PRID
inner join PPA_WIP w on w.EXTERNALBATCHID = t.PRID
inner join PPA_WIP_VALUES v on w.TRANSNO = v.TRANSNO
where v.CURRENCY_TYPE = 'NATURAL' and INCIDENT_ID is not null