Relative Content

Tag Archive for javascriptnetsuitesuitescriptsuitescript2.0

How to calculate the date difference in NetSuite JavaScript

I’ve found a common problem in NetSuite involving calculating the difference between two dates and subtracting a specific number of days from a date. I’ve developed a solution that seamlessly handles NetSuite’s date formats.
I am sure my solution will help the others.

How to Adjust the Order of Sublist Fields in NetSuite Kit/Item Records Using SuiteScript?

I have customized some sublist fields in the Kit/Item records of NetSuite using SuiteScript. However, when I attempted to adjust the display order of these fields, I found that the official modules provided by NetSuite don’t seem to include code for adjusting the order of sublist fields. I’m not sure if I missed some relevant documentation. Is there a way to edit the display order of sublist fields using SuiteScript in NetSuite?enter image description here