Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Conditional Message on Earnings Statement

Posted on by Microsoft Employee

I'm trying to add a conditional message on the Direct Deposit Statement of Earnings. My condition is if an an employee has been hired less than 1 year, I want to print a message that their vacation is not available. I created a conditional calculated field, vPossible

Condition: FUNCTION_SCRIPT( RW_AddMonth UPR_MSTR.StartDate 12 ) > UPR_WORK_Check.CheckDate

then I have 2 static strings for the true and false. I've put this calculated field on the the layout, and I get no results.

I'm guessing it's something obvious I'm missing. Any advise is appreciated.

Thanks,

George

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Conditional Message on Earnings Statement

    Forgot to change the permissions for the user I was testing with to use the modified report.

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

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans