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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Disable 2 fields "Unit Price" and "Net Amount" in Sales order Line. Please help !!!

(0) ShareShare
ReportReport
Posted on by 132

Dear all friends,

In Sales Order form, I want to security permission users Role as follow:

Every users click Sales Order belong "Customer group = "XK00", user can not see this 2 fields "Unit Price" and "Net Amount" in grid view in Sales order lines. I want to disable that 2 fields.

This is example images

screenshot.319.jpg

screenshot.320.jpg


I tried used Override Permission but the other of "Customer group" all were disable 2 field "Unit Price" and "Net Amount" too.

Please told me the simplest way how can i do that.

Many thanks.

Regards.

*This post is locked for comments

I have the same question (0)
  • Yasir Shahzad Profile Picture
    1,635 on at

    Dear 1 thing you can do with personalisation...

    will you plz tell me which role you have assigned to user's...its customized or by default..

  • Suggested answer
    Rachit Profile Picture
    4,015 User Group Leader on at

    Simplest way to achieve is by customization. Suggested simple customization approach is to add a new check box in customer group form label "Disable unit price and net amount". Users can turn this ON for customer groups which needs this functionality. Then on the sales table form check the setup of the selected sales table record and disable the line fields by code.

    Not sure if this can be handled by security roles.

  • Suggested answer
    krishna.rao@dax Profile Picture
    3,008 on at

    Hello Huy Tran,

    You could achieve this by business logic, x++.

    It seems not possible with security roles. You could use XDS, in case of whole record not for specific fields.

  • Suggested answer
    guk1964 Profile Picture
    10,888 on at

    Security keys control access to functionality within the application, this security access is limited to menu items. To  protect the system at a granular level, set up security for table and field access.

    Access can be set up individually for each user group working within a company or domain without affecting other user groups.

    Table and field access is configured by  security keys (Administration > Setup > Security > User group permissions on the Permissions tab).

    Like user group table access, user group access to a field is defined by several factors:

    • The field rights defined for the user group within the domain.

    • The field's security key and the user group's security key rights within the domain for the field.

    • The setting of the Visible field property.

    • The setting of the AllowEdit field property.

    Those set ups are used to determine a user group's permissions to each field in the application during startup. This access is compared to the one defined for the table. A user group's access to a field can never exceed the group's access to the table in which that  field is found. The field access rights are s the lesser of the field and table rights.

    You can also do this with xds.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Huy Tran,

     

    blocking the form field using permissions


    Permission for form field.

    Please follow below steps to achieve this.

    1. I want to restrict balance field in below form for particular user.

    p2.JPG

    2. Go to form design in AOT as shown in below image.

    p2.JPG

    3.Select the balance field and set NeedPermission property to Manual as shown above and copy the field name.

    4.Go to securities in AOT

    5.AOT > Securities > Privileges > create a new privilege

    add your required menuitems in entry points.

    6. Add your form in form in the privilege

    add new control > add your field in the new control > set Effective access property as NoAccess as shown below

    p3.JPG

    Assign this privilege to specific role to restrict the fields in form.

    7.Now add new Duty

    drag your privilage which you created above.

    8. Now add new Role

    drag privilege and duty which you created above.

    9.add this role to specific user which you want to restrict the fields.

    May be this is your solution. If not please let me know!

    Thanks

    Suresh

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

News and Announcements

Season of Giving Solutions is Here!

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 AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#1
Nakul Profile Picture

Nakul 2

#3
Umar-Usman Profile Picture

Umar-Usman 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans