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
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,
Like mentioned above, I think there is somewhere a customization involved. This is not the behavior of the standard application.
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.
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).
Thanks,
Girish S.
from AOT it did not throw any error and new legal entity created.
I've checked and cities are already there. no customization.
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.
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.
Thanks,
Girish S.
Hi Girish,
I did not find anything in country parameters which bind the city.
Regards,
Irshad
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.
André Arnaud de Cal...
293,274
Super User 2025 Season 1
Martin Dráb
231,947
Most Valuable Professional
nmaenpaa
101,156
Moderator