Skip to main content

Notifications

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

Running Payroll "benefit" history via smartlist builder

(1) ShareShare
ReportReport
Posted on by 10

I need to run a history of benefits posted in payroll for health insurance. This is filtered by department. The kicker is that the department is closed and literally 50 employees are now in new departments. When I run a smartlist for the benefits, these employees who were in the department at the time are not showing. I am using Smartlist builder

How do I include and "as of date" to return all people who were in that specific department as of the specific check date? 

Thanks for your help! 

Categories:
  • Suggested answer
    Andrea Melroe Profile Picture
    Andrea Melroe 3,437 on at
    RE: Running Payroll "benefit" history via smartlist builder

    Hi karlcgray,

     

    While I can’t speak to Smartlist Builder functionality, I can tell you that the information you’re looking for can be pulled from the UPR30300 table.

     

    Here’s an example of a view you could create in SQL (which can be used to create a smart list in GP):

     

    CREATE VIEW [dbo].[Payroll_Benefit_History]

    AS

    SELECT

    EMPLOYID AS EMPLOYEE,

    DEPRTMNT AS DEPARTMENT,

    PAYROLCD AS BENEFIT,

    UPRTRXAM AS BENEFIT_AMOUNT,

    CHEKNMBR AS CHECK_NUMBER,

    AUCTRLCD AS AUDITTRAILCODE,

    CHEKDATE AS CHECK_DATE

    FROM UPR30300 WHERE PYRLRTYP = 3

    GO

    grant select on [Payroll_Benefit_History] TO DYNGRP

     

    This blog talks about how to create a smart list based on a view in Smartlist Designer:

    Microsoft Dynamics GP SQL Views for SmartList Designer to Enhance Reporting - Microsoft Dynamics GP Community

    I’m sure it’s possible to do something similar in Smartlist Builder as well. Others who use builder will likely have more advice for you there.

    Hope this helps!

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans