How do I go about making another field visible depending on the value of another field. I would like to do this with Acumatica Tools as I’m not familiar with Visual Studio.
Make a Combo box visible depending on the value of another field
Best answer by darylbowman
I would like this combo box to be only activated when the status of a customer account is changed to “OnHold”. The user would then be able to select the reason the account is “OnHold”.
I’m assuming you’re wanting to set the combo box value from the Customer screen.
This field would be made visible on service orders as a quick glance to why the customer account is on hold and the service order cannot be created.
This may be tricky using low-code / no-code, but I haven’t looked at the screen.
Since you already used DAC attributes in creating the field, simply add this attribute in the same place:
[PXUIEnabled(typeof(Where<Customer.status.IsEqual<CustomerStatus.hold>>))]
If you additionally wish to require the field when the Custom is ‘On Hold’, add these as well:
[PXUIRequired(typeof(Where<Customer.status.IsEqual<CustomerStatus.hold>>))]
[PXDefault]
Finally,
...but from a VB perspective.
Acumatica is written in C#.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.