I have the following use case:
Acumatica combo box / dropdown, which can have 8 or so values, the selection of which determines the table / DAC used to present in a Combo box/ drop down.
e.g.:
StatusProfileID = WO1 and Status = WCMP ,
WCMP is Current UserStatus, then UserStatus = WRJT, WEXE,WCMPStatusProfileID = WO1 and Status = WRJT ,
WRJT is Current UserStatus, then UserStatus = WEXE, WRJTHow can I make the user status that appears in accordance with the current status, and will change in real time while selecting another data
I follow the way of Acumatica Dynamic MultiSelect Dropdown to select data from status table
I understand that I'd have to use a Custom StringList Attribute, but the details of how to do this are not clear.
Screen Drop Down List
Data from table status
one way of dynamically changing the stringlist is by the below sample code in a proper rowselected event
if(somecondition)
PXStringListAttribute.SetList<DAC.Field>(sender, row,
new string[] { "WRJT", "WEXE", "WCMP" },
new string[] { "WRJT", "WEXE", "WCMP" });
else
PXStringListAttribute.SetList<DAC.Field>(sender, row,
new string[] { "WEXE", "WRJT" },
new string[] { "WEXE", "WRJT" });
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With