Hi everyone,
I have used the below query to display/fetch EMPLOYEE CODE, WORKER NAME AND EMAIL ADDRESS in report builder :
SELECT HCMWORKER.PERSONNELNUMBER AS CODE,DIRPARTYTABLE.NAMEALIAS ,LOGISTICSELECTRONICADDRESS.LOCATOR FROM DIRPARTYTABLE
INNER JOIN LOGISTICSELECTRONICADDRESS ON LOGISTICSELECTRONICADDRESS.RECID=DIRPARTYTABLE.PRIMARYCONTACTEMAIL
INNER JOIN HCMWORKER ON HCMWORKER.PERSON=DIRPARTYTABLE.RECID
LEFT JOIN ASSETTABLE ON ASSETTABLE.PERSONNELNUMBER=HCMWORKER.PERSONNELNUMBER
ORDER BY DIRPARTYTABLE.NAMEALIAS
Now i want to add worker department column in the below query to display the department of the worker how do i achieve ?
thank you
*This post is locked for comments