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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

HCMWorker and relation with Benefir Accrual view

(0) ShareShare
ReportReport
Posted on by 68

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

I have the same question (0)
  • Suggested answer
    GirishS Profile Picture
    27,843 Moderator on at

    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.

  • vicky1234 Profile Picture
    68 on at

    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.

  • GirishS Profile Picture
    27,843 Moderator on at

    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.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 797

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 589 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 534

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans