I am new to Microsoft Dynamics AX 2012 and am trying to edit the tree view control on the form EcoResCategory so that the text displayed for each node is the concatenation of EcoResCategory.Name and EcoResCategoryTranslation.FriendlyName. I've searched through all of the X++ code within the methods of the form and haven't figured out where I can modify it to do so.
Does anyone have any pointers or leads on how to achieve this? It can't be as complicated as I am making it out to be. Documentation seems to limited with X++ as well.
In the initializeHelper method of the EcoResCategory class, there is an initialization line that reads
EcoResCategoryLookupParameters lookupParameters = new EcoResCategoryLookupParameters(false, false, false);
The second boolean paremeter is boolean _showFriendlyNameWithName (documentation here: http://msdn.microsoft.com/en-us/library/ecorescategorylookupparameters.new.aspx)
My guess would be that if you set this to true instead of false you will get the requested behavior.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With