Hi Team,
Requirement is , Display new field "Bundle Version" based on Component value "NetSuite"> I tried to accomplish this through behaviors plugin. When selected the "NetSuite" component, the bundle Version is not displaying on create screen. Did i miss anything in this script ? can anyone please help on this.
Below is the code i used.
def formComponent = getFieldByName("Component/s")
def formBundle = getFieldByName("Bundle Version")
def componentFieldValues = formComponent.getValue() as String
if (componentFieldValues.toString().contains("NetSuite"))
{
formBundle.setHidden(false)
formBundle.setRequired(true)
}
else
{
formBundle.setHidden(true)
formBundle.setRequired(false)
}