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!
How to Remove Large Number of Items in Commerce Category via script
Hello,
One of our Commerce Categories has too many items and we want to remove a large number of the items via a SuiteScript. We created a script to do this but we get the following error:
You have attempted an invalid sublist or line item operation. You are either trying to access a field on a non-existent line or you are trying to add or remove lines from a static sublist
We tried to just remove the 1st item using 1 and 0 as the line number but same error. Are we not able to remove items from this list via script? I've seen a thread saying to set the Display in Web site to false but that does not fix our problem. Item is still in the list and that is what we need to remove. We need to remove the Commerce Category from the item without manually removing thousands from the list manually. Is this not possible?