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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

SQL Query for Project Accounting Security Setup

(0) ShareShare
ReportReport
Posted on by

Product:  MSGP 2010 SP3 version 11.00.2197, Dexterity version 11.00.0359.00 running on SQL Server 2008 R2

I am a Programmer/Analyst that supports MSGP for my company of 600+ employees.  I'm looking for some help in developing an SQL Query that will show the PA User Class Security Setup for each user.  On the front-end this is access via Microsoft Dynamics GP >> Setup >> Project >> User [User Project Accounting Settings].  There are (9) sub-forms with User Settings information that needs to be captured as well:  Project, Timesheet, Equipment Log, Miscellaneous Log, Employee Expense, Purchase Order, Purchasing Invoice, Inventory and Billing.

A majority of the information is retained in Tables PA01501 and PA40401, but I need help translating the 0, 1, 2 codes--I understand that it indicates yes/no, checked/unchecked or a drop-down selection, but not what number is associated with which option.  There is what I call the "manual method" which is going screen-by-screen and mapping it myself, but I'd rather not recreate the wheel if I don't have to.  

We have identified a gap in our MSGP Security Matrix around Project Accounting User Classes and I was tasked with filling it in.  Information on the Dynamics GP Project Accounting Tables is very limited and I would appreciate whatever assistance or resources anyone can offer.  I would rank my SQL Query writing at a solid Intermediate skill-level.

Regards,

Joanne Herzog

*This post is locked for comments

I have the same question (0)
  • L Vail Profile Picture
    65,271 on at

    Have you already looked at the various security spreadsheets available?  There's on that shows what your users have security to now, and there's another that shows you what the tasks, roles, etc that you have set up have security to.

    Find them all at Victoria Yudins blog.  Look around while you are there, she has some incredible information posted!

    Kind regards,

    Leslie

  • Verified answer
    Mahmoud Saadi Profile Picture
    32,738 on at

    When it comes to comparing users security, it might be a bit of headache. Just a bit of detail; further to the essentials information mentioned by Ms. Leslie, which might be important in your task

    GP Essentials - User Security Role Enhancement–Intersect

  • Community Member Profile Picture
    on at

    Leslie,

    Yes, I have looked at those spreadsheets and have used many of the SQL queries for the GP Security piece.  The gap we have relates specifically to the Project Accounting User Class security.  I haven't found anything existing yet, but I'm still looking.  Perhaps I will post this question on her blog...

  • Community Member Profile Picture
    on at

    Mahmoud,

    Thanks so much for the enhanced SQL script.  This will make the comparative piece of my job much easier--better than exporting to Excel and running duplicate comparisons!

    Regards,

    Joanne

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans