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.
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