🎯 Learning Objectives
- Understand the anatomy of a SuiteScript file
- Master the define() pattern and module dependencies
- Learn entry points for User Event and Client scripts
- Write effective JSDoc annotations
- Navigate the NetSuite Help Center documentation
- Understand context objects and their properties
📖 Module
🔑 Key Concepts This Week
@NApiVersion
Declares SuiteScript version (2.1, 2.0, 2.x)
@NScriptType
Defines script type for NetSuite
define()
AMD pattern for module loading
Entry Points
beforeLoad, beforeSubmit, afterSubmit, etc.
Context Object
Event type, newRecord, oldRecord access
JSDoc
@param, @returns for IDE intelligence