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 .
You can write a client script on sales order using validateLine function. To show the line level data on the pop up push all the data you need into an array and show it in the message.
Hi , But how i will get the data of item record in client script can u please provide me some clarification .how i will get the option for the select field value .
Use comments if you want the discussion to be sane.
You can use the curentRecord module and .get() method.
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.
By using this apis i can change only suitescript contents(whatever lines but not the html select field).i want to do for the custom html popups . Actually i want to get the item option in select field of the html .