How to set the initial value to pick list (Message choice drop down) based on the certain condition? in R12.1.3.
setValue does not work, please help.
IF cust_function = "NH" then set message choice items initial value A else B ( out of A,b,c,d...) in extended CO.
for picklist use this
get your picklist
use these functions to set initial values based on condition.
setSelectionValue(OAPageContext pageContext, String selectionValue)
Sets the selection value -- internal value for the choice item that will be shown as selected.
Thank you Pradeep. Thank you Soooo much.
One more question, it seems like setdefaultvalue is deprecated, is it still ok to use it? and what would happen if I just setDefaultValue but not the setSelectionValue?