Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

HCMWorker and relation with Benefir Accrual view

(0) ShareShare
ReportReport
Posted on 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
    GirishS 27,821 Super User 2024 Season 1 on at
    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
    vicky1234 64 on at
    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
    GirishS 27,821 Super User 2024 Season 1 on at
    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

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans