Notifications
Announcements
No record found.
Hi
I am trying to create new legal entity in AX 2012 but
After clicking at "OK" I got this error.
Any solution for it?
Hi Irshad Speaks,
Click on view details of Country region control and check whether it has city setup.
Also do you have any customization on this form?
Thanks,
Girish S.
Hi Girish,
I did not find anything in country parameters which bind the city.
Regards,
Irshad
On the left side you have list of setup - Select "City" and check whether you have city setups.
Also check if there is any customization done on that form.
Hi,
Girish also mentioned about customization, did you check that?
Note- the address table is basically same table for customer, vendor address table, hence if you in case customized for vendor and customer city is mandatory in address, there is high chance the same custom code is working in your LE creation address as well.
I've checked and cities are already there. no customization.
from AOT it did not throw any error and new legal entity created.
From the AOT means - are you saying creating legal entity via code?
Try to debug the code and find out the issue. Add a debugger on the OMNewLegalEntityFormView(class) >> okCommandButtonControlClicked(Method name).
No, I did not use codes to create company but ran form directly from there and then it did not ask me mandatory city option. let me debug.
Hi Irshad,
Like mentioned above, I think there is somewhere a customization involved. This is not the behavior of the standard application.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 646 Most Valuable Professional
André Arnaud de Cal... 529 Super User 2025 Season 2
Sohaib Cheema 285 User Group Leader