Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Creating an Inventory Worksheet with SuiteScript
I need to create an Inventory Worksheet with SuiteScript for 14,300 items. The account has a total of 252,290 items.
The only way I know to do it is to create an inventoryworksheet record, set the Subsidiary, Account, and Location, then use findSublistLineWithValue using the item's internal id as the value.
Because only 10,000 lines are "visible" to the script, most of the items are not found because they fall outside that range of lines.
In the UI I can add a filter using a custom item field to reduce the number of lines.
Question: Is there is any way to add that filter when creating the record with SuiteScript?
Tagged:
1