Solved

How add a dropdown list in 2023R2

  • 11 June 2024
  • 3 replies
  • 42 views

Userlevel 3
Badge

Hi All,

Could please share us the steps to add a dropdown list for a screen.

Thank you

icon

Best answer by Dipak Nilkanth 11 June 2024, 14:44

View original

3 replies

Badge +18

Hello,

Can you please show a screen shot of what you need, an example?  To help us answer.

Thank you.

 

Laura

Userlevel 5
Badge +1

Hi @nawanjanahansamali50 ,

You need to create a custom field with string datatype. then in DAC declaration add a

 [PXDBString(10, IsUnicode = true)]
[PXUIField(DisplayName = "Test")]
[PXStringList(
new string[] { "Value1", "Value2", "Value3" },
new string[] { "Description 1", "Description 2", "Description 3" }
)]
public virtual string TestField { get; set; }

attribute to add dropdown values. It will changes your string field to dropdown automatically

Userlevel 4
Badge

Hi @nawanjanahansamali50 

 

Is this help to resolve your concern?

https://community.acumatica.com/develop-customizations-288/dropdown-list-in-customer-location-screen-13322?tid=13322&fid=288

https://community.acumatica.com/develop-customizations-288/dropdown-list-not-displaying-13590?tid=13590&fid=288

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved