Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
DECODE with dropdown list field
Hello,
I'm trying to create a saved search for kits to display "Please Disallow BO" if one of members out of stock behavior is "Disallow BO" - based on field with id 'custitem_bo_behavior' , so I use DECODE in saved search results (Formula (Text)) as the following:
DECODE({memberitem.custitem_bo_behavior}, 'Disallow BO', 'Please Disallow BO', 'Keep as it is')
but DECODE returns 2 rows for kit if members mixed with Allow and Disallow (one with 'Please Disallow BO' and the other with 'Keep as it is')
Shouldn't decode return one value only? (Compares expr to each search value one by one. If expr is equal to a search, the corresponding result is returned. If no match is found, default is returned.)