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 :
Finance | Project Operations, Human Resources, ...
Answered

Securities created on AOT or UI in AX 2012 R3

(6) ShareShare
ReportReport
Posted on by 1,275
Hi team,
 
If we created 
 
A. Security role 
Security privilege 
Security Duty through User interface , is it impact on AOT under securities? I mean it will be available on AOT?
 
B. If we created the above directly on AOT, It's obviously reflected on User interface.
 
Questions-
Kindly clarify A & B.
 
Is there any difference between creation of securities through UI or AOT ?
 
Thanks in advance.
Categories:
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    300,977 Super User 2025 Season 2 on at
    Hi,
     
    In AX2012, when you modify security roles via the user interface, it adjusts the objects in the AOT directly. In fact, the result of changing via UI or the AOT is the same. When opening the AX client, it is recommended to check which development layer and model is selected, as it will make the changes in that layer. 
     
    In case you have enabled source control in AX2012, you need to work via the AOT to be able to check out objects. 
     
    Note that in Dynamics 365 F&O the development option is disconnected from the application. For that reason this reply is valid for AX2012 only. In Dynamics 365, changes via UI are not changing the application objects, only runtime data.
  • CU05031448-0 Profile Picture
    1,275 on at
    Thanks Andre,
     
    So, in AX 2012, if we created or modified Securities via UI, it will impact on the AOT - Securities also.
     
    As you said " Note that in Dynamics 365 F&O the development option is disconnected from the application. For that reason this reply is valid for AX2012 only. In Dynamics 365, changes via UI are not changing the application objects, only runtime data."
     
    ---
     
    I am not recollect the development option in AX 2012. Pls let me know where is it?
     
    What actually does the "development" option?
     
    What are the mazor table and classes are called in Securities in AX 2012.
     
    Kindky elaborate pls.
     
    Thanks in advance.
  • CU05031448-0 Profile Picture
    1,275 on at
    Kindky reply on this pls 
  • CU05031448-0 Profile Picture
    1,275 on at
    I am not recollect the development option in AX 2012. Pls let me know where is it?
     
    *** What actually does the "development" option?
     
    **" What are the mazor table and classes are called in Securities in AX 2012.
     
    Kindly reply on this pls 
  • CU05031448-0 Profile Picture
    1,275 on at
    Kindly reply on this pls 
  • Verified answer
    Sohaib Cheema Profile Picture
    49,438 User Group Leader on at
    Hi,
     
    This is a forum where volunteers work for free. Neither Microsoft nor anyone else pays them for the hours they spend here. Please be patient if there is a delay in response.
     
    In older versions of Dynamics, when you made a change and pressed the save button, it was executed instantly on the instance/server. In AX 2012, when a security change was made from the UI, the underlying AOT objects were updated at the same time.
    However, in D365 FO, when you make security object changes from the UI (running app), the changes are stored in tables and not in the Application Explorer as new objects.
     
    In D365 FO, if you wish to make a security change via the Application Explorer, you must do it in Visual Studio and then deploy the code.

    What are you trying to build? What is your business need?
  • CU05031448-0 Profile Picture
    1,275 on at
    Hi Sohaib, I know about it and thanks to everyone for the response.
     
    I posted for the reminder because it's comes to up in queue so that u guys look in to it. 
     
    Just for reminder purpose. Nothing else. 
     
    I hope you understand. Thanks
  • CU05031448-0 Profile Picture
    1,275 on at
    Hi Sohaib, What I understood...
     
    As you said "
     
    older versions of Dynamics, when you made a change and pressed the save button, it was executed instantly on the instance/server.
     
    --  AX 2009, Any changes happend on application level (UI), it instantly executed in Client/ Server.
     
     
    In AX 2012, when a security change was made from the UI, the underlying AOT objects were updated at the same time.
     
    -- AX 2012 , If any changes happend in UI level, the underlying AOT objects update immediately.
     
    In D365 FO, when you make security object changes from the UI (running app), the changes are stored in tables and not in the Application Explorer as new objects.
     
    In D365 FO, if you wish to make a security change via the Application Explorer, you must do it in Visual Studio and then deploy the code."
     
    -- D365FO, If any changes happend in UI that will happened run time. But if I like to stored the changes on AOT , then we should go to VS - Application expolrer to deploy it. Then only it will impacted on database level.
     
    Am I correct?
     
    Thanks in advance.
  • CU05031448-0 Profile Picture
    1,275 on at
    Pls Validate and confirm 
  • Verified answer
    André Arnaud de Calavon Profile Picture
    300,977 Super User 2025 Season 2 on at
    Hi,

    Apologies for a late reply. Somehow I didn't got notified about new replies on this thread even though I subscribed to this question.
     
    In AX2009, all security was based on table series. That got refactored to a (in my opinion) better security model in AX 2012, starting from the AOT. If you want to make changes to the security via the development option, you had to open the AOT view. All changes via UI or via development were directly updating both the application objects and the view using the UI.
     
    Your summary above is correct. 

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 672 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 534 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 289 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans