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.
Extra line item added when adding an item in the item sublist
Hi All,
I'm seeing some peculiar behavior when adding an item to an item sublist. You can see in my client script code below, all that i'm doing is calculating a credit card fee and adding a new item (called "Credit Card Fee", w/item id = 14506). All I do to add the new line item is to select a new line in the sublist, populate the item and amount fields and commit the line.
What happens is that it creates the new line, then adds another one below it. It appears to be a timing issue, that while NS goes to retrieve the information for the item, I am commiting the first line. When NS returns the other information, like description and price level, It puts them in a new line item.
0