Hello,
Would it be possible to create a Suitelet Popup for selecting 'items' in a sales order or custom transaction? Is there a way to add a button or how would you call the Suitelet? I would like to be able to display a list of items with a small image next to it for the user to select.
d
Dominic B
12/14/2020, 12:28 PM
User event script with a beforeLoad function and form.addButton to add the button to the form. Attach a client script at the same time. In the client script, use window.open to load a suitelet. The suitelet can write back to the sales order lines using window.opener.nlapiSetCurrentLineItemValue
Dominic B
12/14/2020, 12:28 PM
Bear in mind this is very non-standard methodology, so won't be supported by Netsuite.
m
MoCheeks
12/14/2020, 2:52 PM
thank you so much. I was hoping to deploy this in the vendor center, which prevents the beforeLoad entry point. Is that a show stopper?
d
Dominic B
12/14/2020, 3:28 PM
Sorry, that's not something I have any experience with.