Removing Fields From a Form in Dynamics AX 2012: User Has Less Than Full Control Permissions

by | Updated June 15, 2016 | Dynamics AX, Installation, Security, Set Up

In this post, we will look at how to remove a particular field on a form when a user has less than full control permissions to the form.  To demonstrate how this works we will look at a user as a part of the project manager security role, with access to project accounting forms with the cost price field.  These users have read permissions to the form, but you do not want them to be able to see the cost price field as they could deduce a co-worker’s salary.  You do not want to create a new form without this field, so you are looking for another way to restrict access to this field.

This article will cover this specific example but it gives you the steps to do this for other roles, forms, and fields.

1. First we have to determine a few things such as what security role we want to limit access to, and the underlying table and field that the field on the form relates to.  In our example, we are looking at the Project Manager role.  One example of a place that you can find the cost price field is if you go to Project Management and Accounting, then Common, then Projects, then All projects.  From here you select to edit a project.  On the Project form, select the hour journals button.  On the Journal form that comes up select the lines button.  When you are on the Journal lines for hours click on the general tab and you will see the cost price field.

2.   Next we need to find where this field is on the form in the design view.  To determine this, right-click on the form and select personalize.

Journal Lines for hours

What you are looking for here is where in the design of the form this field is located, as it will help you find the field when you are in the AOT under the designs node of the form.  From here you can see that cost price is highlighted. You will want to scroll up to see more of the design tree.

Here you can see that the cost price field will be under the Tab node, then General, then GroupMiddle.

3.  After you have where the field is, in the design of the form, you need to find the name for the form and view it in the AOT.  To do this click on the Information tab.   You will see the name of the form is ProjJournalTransEmpl.  Click on the edit button after the Form name field to open the form in the AOT.

4.  The final step is to set the needed permission property on the field to one level higher than the user has access to.  For example, if the user has create permission, you set the Needed Permission to Correct.  In our example, the project manager has read permission, so we will set the Needed Permission to Update.  To do this, expand the design node until you find the costPrice field (which we found would be under Tab then General then GroupMiddle).  In the properties form for the CostPrice field you will find the NeededPermission option – change it to update.

 

After this, I like to log in as a user assigned to the group and verify that you no longer have the field, which in our case is the cost price field.

For more information, read my post on Removing Fields From a Form in Dynamics Ax 2012: User Has Full Control. 

 

Related Posts

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Upcoming Events

september

01sep10:00 am10:30 amEnsuring Quality and Compliance for Batch Manufacturers in Life Sciences

01sep12:00 pm12:30 pmIs it Worth It to Move to the Cloud? A Look at Considerations for Current Agribusinesses Using Dynamics GP

01sep2:00 pm2:45 pmWhat’s New in Dynamics 365 Finance and Supply Chain

09sep11:00 am12:00 pmConfab Live with Stoneridge – Data Strategy and Reporting – Mining Decision Making Insights

15sep10:00 am11:00 amSolving the Biggest Challenges in Agribusiness Through Innovation and Technology

22sep12:00 am12:30 pmSimplifying Payroll and HR Management with ADP Workforce Now

22sep10:00 am10:30 amStreamlining Batch Manufacturing with Technology

22sep2:00 pm2:30 pmProcess Automation for Microsoft Dynamics D365 for Business Central, Finance and Operations and GP

23sep11:00 am12:00 pmConfab LIVE with Stoneridge - Riding the Wave 2 Release – Key Features Coming to Dynamics 365 this October

27sep(sep 27)9:00 am15oct(oct 15)11:00 amDynamics 365 Finance & Supply Chain Development Training - Online Workshop

29sep10:00 am11:00 amTop Five Reasons Why NOW is the Right Time to Move from Salesforce to Dynamics 365 Customer Engagement

29sep12:00 pm12:45 pmUnderstanding Job Costing and Tax Management in Business Central

29sep2:00 pm3:00 pmDigitalizing Horticulture & Agriculture - How to Sell Plants Online and Simplify Business Management

30sep12:00 pm4:00 pmSecurity and Permissions Training for D365 Business Central or Dynamics NAV

october

27sep(sep 27)9:00 am15oct(oct 15)11:00 amDynamics 365 Finance & Supply Chain Development Training - Online Workshop

06oct10:00 am10:30 amPreview of D365 Business Central Fall Release Features and Functionality

06oct12:00 pm12:30 pmInsider's Guide to New Features Available in the Fall Release of D365 Finance and Supply Chain

07oct11:00 am12:00 pmConfab LIVE with Stoneridge - Dataverse and Dynamics in Review – Let’s Get Technical

21oct11:00 am12:00 pmConfab LIVE with Stoneridge - Dataverse and Dynamics in Review – Let’s Get Functional

26oct(oct 26)9:00 am28(oct 28)5:00 pmStoneridge Connect Leadership and Community Conference

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about, and develop trusting, long-term relationships with our clients.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X