ERP Lover
10/22/2024, 11:25 AMCeligo AI
10/22/2024, 11:25 AMAI generated answer (using internal Slack threads):Based on the conversations, it seems that creating a native-looking multi-select field without using a source in SuiteScript 2.1 is not straightforward. The common approach is to use the
source
attribute when adding a field, which allows you to use a pre-defined source such as 'vendor' or 'vendorcategory'. This will automatically populate the field with the appropriate options and provide a native-looking multi-select field.
However, when you want to add custom options to the multi-select field, you would typically use the addSelectOption
method. But this does not provide a native-looking multi-select field.
One of the users suggested creating a custom sublist as an alternative, but this might not be suitable for all use cases.
Unfortunately, there doesn't seem to be a direct way to achieve a native-looking multi-select field without using a source in SuiteScript 2.1 based on the conversations provided.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
10/22/2024, 11:26 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.834473372
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.832213581
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.830749512
Celigo AI
10/22/2024, 11:26 AM