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

Authorization for Customization/Modification Line Detail

(0) ShareShare
ReportReport
Posted on by 2,075

Dear All,

my company has customization at sales order line, at line detail.

we had added customization, its was tab for financial.

I had tried to record at security entry point permission by open those tab, later when I finished recording.

its not listed at recording list.

how I could add those line detail tab for authorization some user.

or how I could know the menu name for those tab, so I could add it by type its menu name.

anyone ever experience this, please help

Line-Detail-_2D00_-Authorization.png

*This post is locked for comments

I have the same question (0)
  • Chandra Wijaya Setiawan Profile Picture
    1,145 on at

    you can refer to this trade and reply by Andre.

    community.dynamics.com/.../111412

  • benjamin84 Profile Picture
    2,075 on at

    Thanks Chandra,

    let me check this first,

    will update once done.

    Thank you

  • Suggested answer
    Mahmoud Hakim Profile Picture
    17,887 on at

    you can open AOT/FORMS/salestable

    and browse design line details to get this tab

    and check it

  • Suggested answer
    startax Profile Picture
    1,845 on at

    Hi Benjamin

    Dimension on form is working with class DimensionDefaultingController . Till now I did not get any form where any dimension group is linked with any Menuitems. tabFinancialDimensionTable and tabFinancialDimensionLine these two tabs you can hide or enable disable using code in Form = SALESTABLE.INIT().

  • benjamin84 Profile Picture
    2,075 on at

    Hi Mahmoud,

    let me check this first.

    thank you

  • benjamin84 Profile Picture
    2,075 on at

    Hi Dinkar,

    could you gice example code with standart tab at sales order.

    thank you

  • Suggested answer
    startax Profile Picture
    1,845 on at

    Hi,

    \Forms\SalesTable\Designs\Design\[Tab:MainTab]\[TabPage:TabPageDetails]\[Tab:DetailsTab]\[TabPage:LineView]\[Tab:LineViewTab]\[TabPage:LineViewLineDetails]\[Tab:LineDetailsTab]\[TabPage:TabFinancialDimensionLine]\Methods\pageActivated

    Check this method

    if(curUserId() != 'ABC' || curUserId() != 'XYZ')

    {

    dimensionDefaultingControllerLine.pageActivated();

    }

    OR INIT method of form

    if(curUserId() == 'dinkar.u')

    {

    TabFinancialDimensionLine.visible(false);

    }

  • benjamin84 Profile Picture
    2,075 on at

    Hi Dinkar,

    appreciate your help,

    could you give detail steps to do it, since i'm not experienced at development.

    Thanks

  • Suggested answer
    Chandra Wijaya Setiawan Profile Picture
    1,145 on at

    Hi Benjamin

    The proposed solution is hardcoded and I dont think you want to do that in the event the user resign you will need to go to change code

    I believe this should be consulted with your partner or developer to get right approach within ax security framework with link of standard permission duties privilege and role

  • Suggested answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    Please try to set the required access on the formcontrol on SalesTable form for the required role through below steps.

    Navigate to the tabPage TabFinancialDimensionLine and set NeededPermission to Manual.

    Path: \Forms\SalesTable\Designs\Design\[Tab:MainTab]\[TabPage:TabPageDetails]\[Tab:DetailsTab]\[TabPage:LineView]\[Tab:LineViewTab]\[TabPage:LineViewLineDetails]\[Tab:LineDetailsTab]\[TabPage:TabFinancialDimensionLine]

    On the required role, under the Forms node add the form SalesTable and add the control(TabFinancialDimensionLine) by setting EffectiveAccess property to either Update or Delete

    Path: \Security\Roles\<RequiredRole>\Permissions\Forms\SalesTable\TabFinancialDimensionLine.

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

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Sukrut Parab Profile Picture

Sukrut Parab 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans