Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Restrict access to fiscal period setup window

(0) ShareShare
ReportReport
Posted on by 190

We have had all users set as Default class and Power User profile. We would like to start restricting access to certain areas like the fiscal period setup window. We are a smaller company, so most users need to be able to do most functions. How can I restrict access to just the fiscal period setup window?

*This post is locked for comments

  • Suggested answer
    soma Profile Picture
    soma 24,410 on at
    RE: Restrict access to fiscal period setup window

    I would suggest you to use Field Level security for your case.

    To more detail about Field Level security in Dynamics GP, please have a look on the below link.

    community.dynamics.com/.../field-level-security-in-gp-without-customization.aspx

    Hope this helps!!!

  • Suggested answer
    Joshua Page Profile Picture
    Joshua Page on at
    RE: Restrict access to fiscal period setup window
    /*
    Type STR’s
    ========================                                        
    Windows                                                 
    Reports                                                                  
    */
    
    select a.USERID, c.CMPNYNAM, b.SECURITYROLEID, e.SECURITYTASKID
    from Dynamics..SY01400 a
    left join DYNAMICS..SY10500 b on a.USERID= b.USERID
    join DYNAMICS..SY01500 c on b.CMPANYID=c.CMPANYID
    join DYNAMICS..SY10600 d on b.SECURITYROLEID = d.SECURITYROLEID
    join DYNAMICS..SY10700 e on d.SECURITYTASKID= e.SECURITYTASKID
    join DYNAMICS..SY09400 f on e.DICTID=f.DICTID and e.SECRESTYPE= f.SECRESTYPE and e.SECURITYID= f.SECURITYID
    where f.TYPESTR='Windows' and f.DSPLNAME='Account Maintenance' 
    


    As Redbeard noted you need to drop poweruser from users security. This will always give the user access to just about everything in GP.

    After that is done the following script I wrote will be able to help you. The script will not show security granted from poweruser since they have access to everything

    Populate the SY09400 table.

    1. Backup your Dynamics and company DB’s.

    2. Log on to Microsoft Dynamics GP as “sa”.

    3. Click Microsoft Dynamics GP> Maintenance> Clear Data.

    4. On the Display menu, click Physical.

    5. In the Series field, click System in the drop-down list.

    6. Click the Security Resources Description table, click Insert, and then click OK to process.

    7. Print the report to screen, and then check for errors. 

    Find the display name of the window\report you are trying to restrict access to (opening the window\running the report should show you.

    Run the script I attached.

    1. In the script replace ‘window’ with ‘report’ if needed.

    2. Replace ‘Account Maintenance’ with the display name of the item you are trying to restrict access to.

    3. Execute the script.

    4. It will show you (outside of power user) what role and task granted a user access to the resource. From there you will be able to adjust the security as needed.

    If you have support debugging tool installed and then repopulate the SY09400 the script can be used to pull any security type, not just windows and reports.

    As one final note it is highly recommended to leave the built in security tasks alone if you need to adjust security and instead clone them and use the clones. If there is a big issue with the security and you modified the built in security tasks you wont have them to fall back on.

    Thank's for your time!

  • steveendow Profile Picture
    steveendow 2,281 on at
    RE: Restrict access to fiscal period setup window

    Hi,

    Harry has already provided the details on how to restrict access, but I wanted to offer one related suggestion.

    If you are going to start restricting access to specific windows or start assigning proper roles in GP security, I would strongly recommend learning how to use the Security related features of the Support Debug Tool.  It's a bit confusing and cryptic at first, but after a few uses, it gets easier.  

    For instance, to find the security settings for the Fiscal Periods Setup window, I launched the Support Debug Tool, started the Security Profiler and then opened the Fiscal Periods Setup window.  

    7144.sdtsecurity2.png

    The Profiler will identify the window, and you then then open the Security Information window, which will then show you which Security roles and tasks to which that window is assigned.

    In this screen shot, you can see that the window is assigned to POWERUSER and the ADMIN_COMPANY_001 task, which is used by the Accounting Manager role.

  • Suggested answer
    Redbeard Profile Picture
    Redbeard 12,931 on at
    RE: Restrict access to fiscal period setup window

    First, you're going to have to give up the PowerUser setting for any user you wish to restrict access for. PowerUsers can do anything in Dynamics GP, unless it is a setting protected by the System Password.   Fiscal Period setup, is not protected by the system password.  Fiscal periods are maintained at the Company Level.

    Dynamics GP Security is divided into four specific segments.  User Access (What companies can a user see/access), User Security (What Roles are assigned to the user in the companies they can see/access), Security Roles (Controls what Security Tasks are assigned to a Role) and Security Tasks (What specific windows, tables, reports, etc.) are granted to a Security Task.

    You would need to remove the Power User Role from the user you want to restrict access for, and then make sure you disable the Accounting Manager Security Role for users you do not wish to be able to set up/modify Fiscal Period Setup.   Only the Accounting Manager Security Role has the Admin_Company_001 Security Task assigned to it, which among other things permits access to Fiscal Period Setup.

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…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans