I m news in dynamics ax2012 , i m looking for a tutorial to create in AOT
a base Enum
and get all value of this enumiration in a form.
Hi Ahmed, welcome to DUG!
Please consult the documentation: Enums [AX 2012].
I’ll assign tags to your question and move it to the Developer Forum.
Thank you , I have already seen this documentation and I’ve created the Enum in AOT , what i m looking for is how for exemple fill all values in a combobox or in other control of form.
Best regards.
OK, half of your original question (how to create enums) is resolved. Good!
To show it in a combobox, simply set the name of your enum to the EnumType property. Note that a much more common approach is creating a table field based on enum and using it through a form data source.
it works thank you , now i will make it with another way , I’ll create a table to allow user to insert new values and display in form