Hi All,
I want to hide particular drop down value(Scrap) once the from part need checkbox is unchecked in mobile.
Once I click on the from part need checkbox I should be able to hide the Scarp value only from the dropdown not the (Installed and Transfer To Vanstock values)
Below is my code but its not working as expected kindly help.
var IsChecked = getControlValue("custom","from_part_needs");
if (IsChecked == 'N')
{
var conSump = stringFormat("SELECT description, code_value FROM global_code_table WHERE code_name = 'ELUX_CONSUMPTION_TYPES' AND code_value != 'Scrap'");
populateListFromQuery('part_usage','user_def16', conSump, false);
}
else
{
var conSump = stringFormat("SELECT description,code_value FROM global_code_table WHERE code_name = 'ELUX_CONSUMPTION_TYPES'");
populateListFromQuery('part_usage','user_def16', conSump, true);
}
Regards,
Pinmaya