How to show list of years in the dropdown

Hi All,

Is there any EDT or something which can show list of years in Ax 2012 ?


Have you got any idea on this?

First you have to decide which years. There are infinite number of them…

If you already have them in a table, use that table. Otherwise iterate through the years you want and fill them to a pick list (see Global::pickClass() as an example) or to a temporary table.

Completely agree with Mr. Martin.

Also see Global::pickList() for example. Override lookup() method on field and write your own logic.

Hope this will help you out.