Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : kVMetzBwTqSpSc4r3pOEks
Finance | Project Operations, Human Resources, ...
Suggested answer

HCMWorker and relation with Benefir Accrual view

Like (0) ShareShare
ReportReport
Posted on 27 Dec 2022 15:48:16 by 64

Hi,

I have a requirement to show the values of the view "PayrollAccrualTransactionsInquiry" on another form which is having HCMWorker and HCMPosition.

However I do not find any direct relation on the related View and am not sure what logic should be kept on the display method to pass the worker id and get the values of the view.

Can someone please share what relation needs to be specified to get values from the view "PayrollAccrualTransactionsInquiry" in case we have values from tables. HCMWorker and HCMPosition..

The view is used in this form. Payroll > Inquiries and reports > Benefit accrual transactions 

Thanks,

VK

  • GirishS Profile Picture
    27,823 Moderator on 27 Dec 2022 at 17:14:11
    RE: HCMWorker and relation with Benefir Accrual view

    As you can see in the form you will be having transaction date.

    So I think whenever an pay statement is created for employee benefit accrual will be calculated and accrual amount will be shown in the inquiry form you said.

    Benefit accrual id will be mapped against the worker.

    You can get the total accrual amount for the worker by adding aggregate function like sum.

    Thanks,

    Girish S.

  • vicky1234 Profile Picture
    64 on 27 Dec 2022 at 16:58:28
    RE: HCMWorker and relation with Benefir Accrual view

    hi Girish,

    Thanks for the quick reply.

    The problem is that it shows multiple records for the same worker ID and i think it's because there are multiple Accruals shown against a worker.

    Is the benefit accrual plan setup somewhere to get the values from or it is setup which can be changed anytime.

  • Suggested answer
    GirishS Profile Picture
    27,823 Moderator on 27 Dec 2022 at 15:58:10
    RE: HCMWorker and relation with Benefir Accrual view

    Hi vicky1234,

    "PayrollAccrualTransactionsView" has a field named Worker - You can relate HcmWorker.RecId == PayrollAccrualTransactionsView.Worker.

    This will return accural trasaction against the worker given.

    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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans
Loading complete