Software defects refer to the deviation from the expected behavior to the actual behavior of a software application. These deviations can occur at any software development life cycle stage, from data collection to coding, testing, and deployment. Root Cause Analysis (RCA) in software testing is an effective process to identify the root causes of software… Continue reading Root Cause Analysis(RCA) in Software Testing
Month: June 2024
Meditrack Subscription Map/Reduce script
Type Record Subscription created: Mpa/Reduce Script after creating deploy it. After Deploying it we need to scedule it: /** * @NApiVersion 2.1 * @NScriptType MapReduceScript */ define([‘N/search’, ‘N/record’, ‘N/runtime’, ‘N/format’, ‘N/log’, ‘N/email’], function (search, record, runtime, format, log, email) { function getInputData() { try { … Continue reading Meditrack Subscription Map/Reduce script
Refer a friend program (PromoCode)
Promo-code We have added a separate “PROMO CODE” Section in the My Account. This feature allows customers to refer colleague using a unique URL, track referrals, and reward customers with promo codes. We can navigate to the Promo code section from the header menu pr Navigating to the Promo Code Tab: Log in to the… Continue reading Refer a friend program (PromoCode)
Workflow and Workflow script for PromoCode:
State 1: Custom created Email template: Workflow Script: /** * @NApiVersion 2.x * @NScriptType WorkflowActionScript */ define([‘N/record’, ‘N/search’], function (record, search) { function onAction(scriptContext) { try { var salesOrder = scriptContext.newRecord; var customerId = salesOrder.getValue({ fieldId: ‘entity’… Continue reading Workflow and Workflow script for PromoCode:
Managing Multi-Entity Consolidation in NetSuite ERP: Strategies and Best Practices
In today’s global business landscape, many organizations operate with multiple subsidiaries, each having its own set of financials, operations, and reporting requirements. Managing financial data across multiple entities can be complex and challenging without the right tools and strategies in place. NetSuite ERP provides robust capabilities for multi-entity consolidation, enabling businesses to streamline financial reporting,… Continue reading Managing Multi-Entity Consolidation in NetSuite ERP: Strategies and Best Practices
SS 2.0 > Client Script > search.lookupField > How to Retrieve a Joined Column
User wants to use search.lookupField to lookup joined fields on a record. Solution Make sure the field to be searched is a joined field Please refer to the The SuiteScript Records Browser – ID 74610 *The reference would be found under Search Joins table Edit the Sample Code Below var fieldLookUp = search.lookupFields({ type: search.Type.SALES_ORDER, //The intended record type id: ‘1865’,… Continue reading SS 2.0 > Client Script > search.lookupField > How to Retrieve a Joined Column
Configuring Search Fields and Field Sets
SuiteCommerce InStore (SCIS) uses search fields and field sets to retrieve and display item information. The NS_RP_ResetSearchFields.js script is run automatically during the first installation of SCIS. However, if you create a second SCIS website, or if you make significant changes to your SCIS configuration, you may need to use the following steps to configure… Continue reading Configuring Search Fields and Field Sets
How to resolve TypeError: sass.sync is not a function when running gulp local in Git
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’));
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
Posting period search to show only the open periods
var accountingperiodSearchObj = search.create({ type: “accountingperiod”, filters: [ [“closed”, “is”, “F”], “AND”, [“aplocked”, “is”, “F”], “AND”, … Continue reading Posting period search to show only the open periods