
HI,
I have Custom Entity called ABCWorker (Not sure of the underlining tables that is used to build this ), when I run the below SQL
SELECT
scw.PERSONNELNUMBER
,scw.LEGALENTITY
,scw.LEGALENTITYID
,scw.LEGALENTITYNAME
FROM dbo.ABCWorker scw
The Fields LEGALENTITY, LEGALENTITYID and LEGALENTITYNAME are all Blank for Employees that have been Terminated.
Does anyone know if there are tables that holds this information for when an Employee Leaves the company? As this is causing a nightmare for reporting.
Thanks
Hi there,
You should use hcmworker and HCMemployment tables which give you all workers with their employment dates and company information.