Open in Visual Studio Code, press Ctrl+Shift+P to open the Command Palette and enter suitecloud. Then from the dropdown list, select SuiteCloud: Create SuiteScript File. For the type of SuiteScript file to create, select User Event Script. Without any modules selected, click Ok to go to the next step. Save the file in the folder.… Continue reading To create a user event script in Visual Studio Code
Category: NetSuite SDF
User Event Script in Suite Script 2.1
It is the NetSuite server that runs user event scripts. Records can be created, loaded, updated, copied, deleted, or submitted by users, among other activities that trigger their execution. User event scripts can be used with the majority of standard NetSuite records as well as custom record types. The following are examples of exceptions: certain… Continue reading User Event Script in Suite Script 2.1
Unleashing the Power of NetSuite with SuiteCloud Development Framework (SDF)
In the realm of cloud-based Enterprise Resource Planning (ERP) solutions, NetSuite stands out as a robust and versatile platform. For developers looking to customize and extend the capabilities of NetSuite, the SuiteCloud Development Framework (SDF) emerges as a powerful set of tools and technologies. In this article, we’ll explore the key components and features of… Continue reading Unleashing the Power of NetSuite with SuiteCloud Development Framework (SDF)
Dependencies to the Manifest in SDF for Visual Studio
To specify dependencies on existing objects, files, and scripts from your NetSuite accounts within an account customization project or on objects in a SuiteApp, external to your SuiteCloud project (provided they are supported by SDF), you need to manage these dependencies within your SuiteCloud extension for Visual Studio Code. This is crucial when working with… Continue reading Dependencies to the Manifest in SDF for Visual Studio
Steps to push code from Visual Studio Code to GitHub – Part 2
Create a new branch in the project repository. Clone the remote repository to our local system. Switch from the main branch to the new branch Create a new project. Push the code from visual studio code to GitHub. Open a pull request. Merge the Pull request. Delete subbranch from remote repository. The third and fourth… Continue reading Steps to push code from Visual Studio Code to GitHub – Part 2
Steps to push code from Visual Studio Code to GitHub – Part 1
Create a new branch in the project repository. Clone the remote repository to our local system. Switch from the main branch to the new branch Create a new project. Push the code from visual studio code to GitHub. Open a pull request. Merge the Pull request. Delete subbranch from remote repository. This article includes first… Continue reading Steps to push code from Visual Studio Code to GitHub – Part 1
Section 3 | Naming Conventions
Please ensure the following nomenclature while doing the customizations. As a general rule, all files, custom fields/records/forms, saved searches, scripts, workflows, etc should include JJ in the ID: A template should be called as follows: <JJ name of template> A search should be called as follows: <name of search JJ>For example: Monthly Sales Order Search… Continue reading Section 3 | Naming Conventions
Section 2 | SuiteScript
1. Guidelines NetSuite SuiteScript 2.x API guidelines are a set of rules and best practices that developers should follow while using SuiteScript APIs. These guidelines are designed to ensure consistency and maintainability of SuiteScript code, as well as to optimize the performance of SuiteScript scripts. Some of the key consideration before we proceed with customization… Continue reading Section 2 | SuiteScript
Section 1 | JavaScript Coding Standard
1. Naming conventions Naming conventions in Javascript are a set of guidelines used to name variables, functions,classes, and other identifiers in a consistent and readable manner. Some common namingconventions in Javascript are: CamelCase: This is a convention where the first word is in lowercase and the firstletter of the second word is capitalized, without using… Continue reading Section 1 | JavaScript Coding Standard