You need to change the sass compiler to use dart–sass instead of the default node–sass like this: const sass = require(‘gulp-sass’); sass.compiler = require(‘sass’); Or for version 5 of gulp–sass: const sass = require(‘gulp-sass’)(require(‘sass’));
Tag: sca
How to update the logo style list for both liquid and non-liquid pixel items
To load a customer record created a suitelet /** * @NApiVersion 2.x * @NScriptType Suitelet */ define([‘N/record’, ‘N/log’, ‘N/search’], function(record, log, search) { function onRequest(context) { var customerId = context.request.body; log.debug(‘Customer ID’, customerId); try { … Continue reading How to update the logo style list for both liquid and non-liquid pixel items
How to hide the eye from a password input in MS Edge
To hide the default hide/show password input field in the MS edge we need to disappears by using css property . The ::ms-clear is working and removes the little x where the user can clear the input. But the ::ms-reveal isn’t working. input[type=”password”]::-ms-reveal, input[type=”password”]::-ms-clear { display: none; } and input::-ms-reveal, input::-ms-clear { display: none; }
How to change the shipping cost in the order summary section and store that value in the custom field of the sales order
We can set the value and store in the transaction body field in the sales order by using suitescript . try { var canadaShipCost = Configuration.get(“shipcost.canada”); var unitedStates = Configuration.get(“shipcost.unitedstates”); … Continue reading How to change the shipping cost in the order summary section and store that value in the custom field of the sales order
How to resolve error: Cannot find module ‘node-sass’
This error is for node-sass is not present … to solve this just you want to run following command npm install node-sass npm install –save-dev node-sass npm rebuild node-sass –force sudo npm rebuild node-sass –force
Set up Options for CSC (Card Security Code) for Credit Card Processing
If you want your website to be secured in terms of online transactions. It is mandatory to set this settings in order to avoid fraudulent orders from occurring. Solution Enabling Use Card Security Code for Credit Card Transactions will add a Card Security Code (CSC) field to sales orders (Billing tab) and sales made through your Web… Continue reading Set up Options for CSC (Card Security Code) for Credit Card Processing
How to create a template for saved search
Create a template from saved search: Lists > Relationships > customers > list. To modify the customer list select the customize view. Provide template name. Then go for More options . There is no records found , then export the excel sheet. Spread sheet contain headers of your template as you constructed in the saved… Continue reading How to create a template for saved search
How to Compare Sales Order Count and Sum Through Saved Search
User compares Sales Orders within two specific Dates for the count and sum of Sales Order created. 1.Navigate to Lists > Search > Saved Searches > New 2.Click Transaction 3.Search Title: Enter Title Example: Comparison of Sales Orders Count and Sum 4.Click Criteria 5.Click Standard 6.Filter: Select Type Type: Select any of Select Sales Order… Continue reading How to Compare Sales Order Count and Sum Through Saved Search
How to replace and copy images from new folder using map reduce script
/** * @NApiVersion 2.x * @NScriptType MapReduceScript */ define([‘N/file’, ‘N/search’], function (file, search) { function getInputData() { var itemSearchObj = search.create({ type: “item”, filters: [ [“internalid”, “anyof”, “3355”, “6453”, “4647”, “1082”, “2221”, “4250”] ], columns: [ search.createColumn({ name: “itemid”, sort: search.Sort.ASC, label: “Name” }), search.createColumn({ name: “displayname”, label: “Display Name” }), search.createColumn({ name: “thumbnailurl”, label:… Continue reading How to replace and copy images from new folder using map reduce script
Removal of the Ext JS Library
NetSuite has started the process to remove the unsupported Ext JS library. If your customizations rely on this library’s API, despite its lack of support, you should prepare for this removal as soon as possible. The Ext JS library will be removed before 2025. The removal of the Ext JS library may break external references… Continue reading Removal of the Ext JS Library