Contents tagged with Drop down list values

  • Hos to add list values to drop down in Acumatica

    Hello everybody,

    today I want to make quick notice of how to make drop down values in Acumatica avalable. 

    Let's imagine, that you need following drow down list:

    In order to get this kind of list, you can use the following code:

    public static class JiraAccountStatusEnum

    {

    public const string Open = "O";

    public const string Closed = "C";

    public const string Archived = "A";

    }

    public class JiraAccountListAttribute : PXStringListAttribute

    {

    public JiraAccountListAttribute() : base(

    new string[] {JiraAccountStatusEnum.Open, JiraAccountStatusEnum.Closed, JiraAccountStatusEnum.Archived},

    new string[] {" … more