I would like to create a custom field on the Customer form which has a list of options basically stating why the customer’s acccount is in the “OnHold” state. Basically a combo box. Going through the Acumatica Univeristy, it shows you how to create the field but not the difffent types using the Acumatica tools. Most of the later part of the demo uses coding which I am not familiar with. Is this doable just using the gui instead of coding?
Custom Field combo box list creation
Best answer by dcomerford
You can do this with low code.
- Create the field make it a String and allow a length so it can store all the selections
2, Go to the Data Access tab and you will see the new field and change the attributes to something like this. My field is called Collection Action
[PXDBString(20)]
[PXStringList(new string[] {"C", "E", "T","R"}, new string[] {"Call", "Email", "Standard", "At Risk"}, MultiSelect = true)]
[PXUIField(DisplayName="Collection Action")]
So in case above there will be 4 drop downs and a user can multiselect them as needed. The data stored will be a C, and or E and or T and or R but the field will display the description (new string) value on the screen. You can put the description value in here instead but make sure the field you created in Point 1 is long enough to store all the text with commas.
- Publish the Package and when published then add the field to the screen as normal and publish again
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.