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.
Can't we add more than one line on Page init function?
Hi,
I couldn't find a way of adding multiple line items on new Quote with beforeload or Page Init function. I do not want to use group items for some reason.
With the following code I could only add one item. If I repeat the code for more items, the script only adds the last one:mad::
nlapiSelectNewLineItem('item');
nlapiSetCurrentLineItemValue('item', 'item', 3265);
nlapiCommitLineItem('item');
Can this be done in NetSuite? Any help is appreciated:)
Thanks,
Srujana.
0