Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Payroll Deductions and TSA Tax Shelter

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm trying to fix an employee deduction card. The tax shelter status is not set to true and should be. When you try to change it, you get "Activity exists fro this code. The tax status cannot be changed." 

*This post is locked for comments

  • Tracee Profile Picture
    Tracee 5 on at
    RE: Payroll Deductions and TSA Tax Shelter

    I know this is an old post but I'm trying to find some help on this same issue.  From what I've seen, manual adjustments are required even after making the changes to the table.  What manual adjustments did you have to make after making these changes, if you had any?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Payroll Deductions and TSA Tax Shelter

    Perfect!!   That is exactly what I needed.  

    Thanks!!!

  • Verified answer
    Jeff Rowles Profile Picture
    Jeff Rowles 500 on at
    RE: Payroll Deductions and TSA Tax Shelter

    Hi Barry,

    Three points in response if I may:

    1. As long as the State and Local fields are already unchecked (marked as zero) then, no need to include them in your script...but just want to confirm
    2. You bring up a field name point I should have mentioned.  In versions up through GP2010, both parts of FICA (social security & medicare) were combined into one field "SHFRFICA."  However, starting in GP2013 version, another field was added "SHFRFICAMED" to represent the Medicare portion ("SHFRFICA" field remains, but now only represents Social Security portion).
    3. If you want to include both 'MED' and 'DEN' codes in script  the last part of your "where" clause needs to use "IN" function instead of "="

    So if you are in GP2013 or later, it would be this:

    update UPR00500 
    set TXSHANTY=1, SFRFEDTX=1,SHFRFICA=1,SHFRFICAMED=1 
    where EMPLOYID='ACKE0001' and DEDUCTON IN ('MED', 'DEN')


  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Payroll Deductions and TSA Tax Shelter

    so, lets say that I have two deductions (MED and DEN) that I want exempt from Fed tax, FICA soc sec and FICA med. Is this how my script should look?

    update UPR00500 set TXSHANTY=1, SFRFEDTX=1, SHFRFICA=1, SHFRFICAMED=1 where EMPLOYEEID='ACKE0001' and DEDUCTION='MED', 'DEN'

  • Verified answer
    Jeff Rowles Profile Picture
    Jeff Rowles 500 on at
    RE: Payroll Deductions and TSA Tax Shelter

    Here's script to take care of that for you...please note that you need to ensure there's a 1 for each field that you want marked as TSA, and 0 if you don't want it marked:

    update UPR00500 
    set TXSHANTY=1,  --this is overall marking for TSA if checkmarks should exist for any 
    --taxes so leave it as 1 SFRFEDTX=1, --Fed tax SHFRFICA=1, -- FICA (soc sec & medicare) SHFRSTTX=1, --State tax SFRLCLTX=1 --Local Tax where EMPLOYID='ACKE0001' --<< Change this to be your desired employee ID and DEDUCTON='MED' --<< Change this to be equal to your desired deduction code

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…

Vahid Ghafarpour – Community Spotlight

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

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,307 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans