Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Different Cutomization for different company in AX 2012?

Posted on by Microsoft Employee

Hi,

Our customer having multiple legal entities (Companies). They are going to use single AOS and single application. However some of functionalities needs to customized in Sales Invoicing. (Not just reports. We need to customize posting classes) It should behave differently in different company.

Can we have different customizations in single AOS and make it enable/disable depends on company in which user logged in?

Thank you,

Loganathan S

*This post is locked for comments

  • Suggested answer
    Malcolm Burtt Profile Picture
    Malcolm Burtt 1,475 on at
    Re: Different Cutomization for different company in AX 2012?

    Hi

    You can make the code do different things for different companies (the application already implements this) but you can't have different code.

    The way to deal with this is to add company dependant parameters that you configure differently for each company then write your code so that these parameters are tested before the custom code runs.

    e.g.

    if (parameter)
    {
       do something special
    }

    You'll see plenty of examples of this sort of thing in the code. If its sales invoicing that you're customising then I guess the SalesParameters table would be the place to add your new parameters.

    Regards

     

    Malcolm Burtt

    HSO ES Limited

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,134 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,928 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans