Imports options

ADD – Select if all imported records are new to NetSuite. UPDATE – Select if all imported records already exist in NetSuite, and the import is intended to modify these records. ADD OR UPDATE – Select if imported records are a mixture of new and existing records. Under Advanced Options: If Validate Mandatory Custom Fields checkbox is checked,… Continue reading Imports options

Pass a Value from the Before Submit to the After Submit Script

Requirement: A developer wishes to use a transient variable between the Before Submit and After Submit entry points of a User Event script. Solution: One of the ways to have this done is to define a session object on the Before Submit script using the ‘runtime.Session’ method found in the runtime record. The After Submit… Continue reading Pass a Value from the Before Submit to the After Submit Script

BackboneJS

BackboneJS is a lightweight JavaScript Library that allows to develop and structure client side apps that run in web browserBackboneJS offers an MVC framework which abstracts data into models, DOM into views and binds these two using events. BackboneJS communicate via events BackboneJS has a soft dependency with jquery.js and hard dependency with underscore.js Features… Continue reading BackboneJS

Async functions

An async function is a function declared with the async keyword. Async functions are instances of the AsyncFunction constructor, and the await keyword is permitted within them. The async and await keywords enable asynchronous, promise-based behavior to be written in a cleaner style, avoiding the need to explicitly configure promise chains. Async functions may also… Continue reading Async functions

Backbone.cache.model

A simple module to add a localstorage cache to Backbone.sync. Objects you have already fetched are retrieved from the local cache. If the object isn’t cached, it falls back to ‘Backbone.sync’ which does not need to be the default implementation, so it should be compatible with any custom sync implementations. To use, extend Backbone.CachedModel instead… Continue reading Backbone.cache.model

Google Apps Script

What is Google Apps Script . . .  Google Apps Script is a scripting platform developed by Google for light-weight application development in the Google Workspace platform. Google Apps Script was initially developed by Mike Harm as a side project whilst working as a developer on Google Sheets. It is based on JavaScript 1.6, but… Continue reading Google Apps Script