SuiteScript Tutorial - Custom Modules | Third Party Library Files | NetSuite
SuiteScript 2.x Custom Module Tutorial
A custom module script holds logic that can be used by other scripts. If you have logic that is used in multiple scripts, you can create a custom module script to hold that logic. This approach is more efficient than copying the logic into each script where it is needed.
⏱️⏱️VIDEO CHAPTERS⏱️⏱️
00:00 - Intro
00:35 - SuiteScript Custom Modules
01:20 - Sample Syntax of Custom Script/Blank Script
03:45 - Custom Functions
03:55 - Upload File to NetSuite Account
04:15 - Using Custom module in Schedule Script
05:26 - Referring the custom module in schedule script.
06:44 - Calling Custom Functions from Schedule Script.
08:10 - Create Script Record for Schedule Script
08:35 - Testing Custom Modules.
08:51 - Checking Output
10:15 - Third Party Library Files in SuiteScript
10:50 - Download Moment JS Third Party Library File
11:18 - Upload Moment JS Third Party Library File in NetSuite File Cabinet
11:40 - Referring Moment JS Third Party Library File in Schedule Script
12:15 - Using Moment JS Third Party Library File API's in Schedule Script
12:55 - Testing the Moment JS Third Party Library File API's in Schedule Script
13:40 - Import a third-party library/Custom module using NAmdConfig JS doc Tag
16:00 - Using NAmdConfig JS doc Tag in Schedule Script