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

Cross Validation Rule

(0) ShareShare
ReportReport
Posted on by 20

Hi,

There is a business requirement as below is it possible to do in Microsoft Dynamics AX 2012

We need to create a rule by which we need to restrict the user to select a specific Department only against an main account, if user selects any other Department system must not allow user to complete the transaction till he changes to the Department to the one we have defined.

the requirement is for transactions in all modules.

Please share solutions if any.

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,030 Super User 2025 Season 2 on at

    Hi Krishna,

    Can you tell if this is user based or main account based or both? Is it only applicable for one account and one or some users?

  • Krishna UM Profile Picture
    20 on at

    Hi Andre thanks for responding

    it will be based on main account and not user.

    I will explain the case a little bit more in detail.

    We have around 20 main account against which we want to fix the department Code constant, basically if a user tries to do any transaction like example he enters a journal entry select's the main account and then when he tries to enter department other than what we have defined system will through error telling him to use the specific Department we have mentioned.

    Eg. Imagine i have a main account - 200456 - Brand Marketing Expenses and i want to fix this expense account with Department SGME -  Sales General Marketing Expense, when user creates a journal he will enter the main account and click to select the Department, if he selects something other than SGME, system must give him alert asking him to use SGME only, when he changes the Department system must allow him to proceed further. the purpose of this is to get all marketing and Advertising Expenses under 1 department and the overhead and Other expenses of marketing Department in another cost center.

    Krishna

  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,030 Super User 2025 Season 2 on at

    Hi Krishna,

    In this case, you can setup the account structures and/or advanced rules. Per main account (or grouped by dimension value) you can select which department will be valid.

    Another option is to use the legal entity override settings on the main account and set fixed default dimensions.

  • Krishna UM Profile Picture
    20 on at

    Many thanks Andre

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 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans