Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Show HcmJob.JobId in AOT Views using AOT Queries

$
0
0

Hi there,

I came across a problem, can anyone help me in this regard,

I have created a View say “WorkerRoleView” and Queries say “WorkerRoleQuery."

I want to show HcmWorker.Person and worker last job - HcmJob.JobId  in the AOT WorkerRoleView without using any methods only using AOT WorkerRoleQuery the result should be for example 5637141234    BI consultant.

The issue that I have is that the worker can have more than one JobId, and I want to show only their last jobId.

I believe that the sudocode should be like Select worker,   Group by HcmWorker.Person ,order by HcmJob. RecId Desc.

Right now, I have for the same worker multiple JobID.

I am new in AX, and right now, I cannot find where I made mistake and step by step how to fix it.

Right now, I have for the same worker multiple JobID and I need one worker one jobId. 

Thank you.


Viewing all articles
Browse latest Browse all 72043

Trending Articles