After creating a new project create a new VM instances for manage the server, go to compute engine -> VM Instances. And create a new VM instances Please make sure these fileds are filled when creating New VM instance Set name, Region, Zone Set machine type RAM which is a minimum of 3GB to run… Continue reading Set Up Magento in google cloud platform
Month: May 2021
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
How to create bin transfer for a move all items from one location to another location.
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
Convert XML to JSON in Netsuite
This code will help us to convert XML files to JSON. Using this script snippet You can easily convert XML data to JSON format. This will apply in SOAP-based integration(XML based response converting to JSON)
How to add text that includes static and dynamic text
NB-166 Product Listing Page
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