web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Link ProjTransPosting RESOURCE_ to Employee name

(0) ShareShare
ReportReport
Posted on by 2
Hi everyone,
 
I try to find employee names related to who wrote hours (ProjTransPosting).
I thought it was as simple as this, but in our case we don't get the correct names:

SELECT DISTINCT
    RESOURCE_
    ,PT.ProjId
    ,PT.CategoryId
    ,CONCAT_WS(' ',DPN.FirstName, DPN.LastNamePrefix, DPN.LastName) AS [Naam]
FROM [ODS].[D365FO_DATALAKE_PROJTRANSPOSTING] PT
LEFT JOIN ODS.D365FO_DATALAKE_HCMWORKER HW
    ON HW.RECID = PT.RESOURCE_
LEFT JOIN ODS.D365FO_DATALAKE_DIRPERSONNAME DPN --incorrect names
    ON DPN.Person = HW.Person
LEFT JOIN ODS.D365FO_DATALAKE_DIRPARTYTABLE DP --this join doesn't work either
    ON DP.RECID = PT.RESOURCE_
 
The only other field in ProjTransPosting table that seems to be related to employees is EmplItemID, but I don't see any value there that corresponds even slightly with what I find in HcmWorker or DirPerson. We do not have a field called 'Worker' or anything similar.
 
 
What I don't understand is that the employee names I am looking for are visible in 'Rol-id' column, which doesn't really sound like an employee field to me either.
I am talking here about form 'ProjTransEmpl' or entry point 'ProjEmplTrans_Resource_name'.
 
 
What is actually the technical name from the table where I can find these 'Rol-id' values and how can I connect this to the ProjTransPosting table?
Any suggestions are very welcome :)
 
Kind regards,
Igor
I have the same question (0)
  • Verified answer
    GirishS Profile Picture
    27,843 Moderator on at
    Hi,
     
    You need to make use of the ResourceView to get the worker's name. Like below.
    ProjTransPosition.Resource == ResourceView.RecId
    HcmWorker.RecId == ResourceView.Worker
    From there you can get worker name from DirPerson and DirPartyTable.
     
    Thanks,
    Girish S.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 286 Super User 2026 Season 2

#2
SajeedMullaji Profile Picture

SajeedMullaji 272

#3
Martin Dráb Profile Picture

Martin Dráb 258 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans