SuiteLet scripts can be used to create your own custom NetSuite page or form. Although I would definitely categorize SuiteLet scripts as more advanced than some of the other scripts, I thought I would provide you with an understanding of how they can be used. I have used SuiteLet scripts a good bit, and they can be very helpful depending on the need.
One of the most noticeable differences with SuiteLet scripts when compared to the other types of NetSuite scripts is that it is more visually oriented. Other scripts can place buttons and fields on existing records, but the SuiteLet scripts can create a whole standalone NetSuite page that looks and feels like a native NetSuite page.
SuiteLet Script Facts
- SuiteLet Scripts run when the script link is accessed in the browser. Common ways to setup a SuiteLet page to be opened is to put a button on a record that leads to that page or by adding it to the native NetSuite navigation.
- A submit button can be added to a SuiteLet Script that can perform actions with the fields contained on the SuiteLet page.
A few ways I have found SuiteLets to be helpful.
- Starting point for process automation: Sometimes automation happens when certain criteria is met on a particular record. But often it is helpful to manually start a process with the ability to specify some options.
- Quick input form: This is a way to quickly create certain records or update information on certain records. Creating an input form can also be very helpful to enable Vendors or Customers to update information on some records without actually giving them access to the whole record, and it can be made available to them through the Vendor Center or the Customer Center.
- PDF Creator/Viewer: On several occasions I have worked with clients who needed to create PDFs that went beyond the capabilities of the native Advanced PDF functionality. One particular example of this was with a manufacturing company who needed a Terms document appended to the end of the Work Order PDF. On top of that, they needed all of the item drawing files associated with that Work Order to be separate pages in that PDF. An advanced PDF was not going to come close to pulling that off, but a SuiteLet was able to get them exactly what was needed.
There can be a lot more uses for SuiteLets. If you have a particular situation in mind in which you are wondering if a SuiteLet would be a good fit, please feel free to ask me about that.
Future NetSuite Scripting Content
These first few articles have been focused on an overview of the main script types. Pretty soon I will begin writing some articles that focus on the basics of getting started with SuiteScript. Please leave a comment about anything in particular that would be really helpful to you for me to cover in these articles!
Next scripting blog: NetSuite Development 7: Three Basic Resources
Previous scripting blog: NetSuite Development 5: Scheduled Scripts