RE: How to create custom html popup (not by using suitelet) in netsuite salesorder and getting all line data on that popup .

Creating the custom html popup field  with submit button in netsuite sales order and getting all the line level data on that popups .  And When the user Clicks on submit the particular line level sublist should be get updated .

Any Ideas will be appreicieted .

AJAY Rookie Asked on February 4, 2020 in SuiteScript.
Add Comment
5 Answers

You can use SuiteScript 1.0 apis like nlapiGetLineItemValue to get your data. Or if you can handle the asynchronous of require, you can use require to get access to N/currentRecord, get the currentRecord, and use methods like getSublistValue.

Same general idea for setting line item values, for SuiteScript 1.0, use nlapiSelectLineItem to select a line item, then set its values using apis like nlapiSetCurrentLineItemValue, then use nlapiCommitLineItem to commit the line when you are done. There are equivalents for SuiteScript 2.0.

Advanced Answered on February 4, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.