Logic for Custom Tax calculation

Cretee a UserEvent Script Eg: jj_ue_Custom_Tax_Calculation_RSPDC-1361.js /**  * @NApiVersion 2.1  * @NScriptType UserEventScript  */ define([‘N/record’],     /**  * @param{record} record  */     (record) => {         /**          * Defines the function definition that is executed before record is loaded.          * @param {Object}… Continue reading Logic for Custom Tax calculation

Predictive Test Selection

Predictive Test Selection is an AI-powered testing method that selects the most relevant test cases to execute based on factors like code changes, historical test results, and risk areas. This method is especially useful in large projects where running a full suite of tests can be time-consuming and resource-intensive. How Predictive Test Selection Works: Code… Continue reading Predictive Test Selection

How to Avoid Multiple Toasts from Appearing After Many Clicks

When building interactive applications, it’s common to run into the issue of triggering multiple toast notifications from multiple clicks, especially if users are impatient and click buttons repeatedly. To prevent this, we can manage button clicks by disabling the button after the first click, ensuring that no extra toasts are triggered. A common way to… Continue reading How to Avoid Multiple Toasts from Appearing After Many Clicks

Workflow to set subsidiary on Transaction

Problem Statement: Trying to default subsidiary in sales order via workflow, for specific transaction forms only Solution: As per checking, it is standard behavior that the Subsidiary field is not available in the Set Field Action for your workflow. There is currently an enhancement for this: 314838 WorkFlow > Transfer Order record > Set Field… Continue reading Workflow to set subsidiary on Transaction

React 18 Feature Quick Guide

React 18 Feature Quick Guide Now let’s look at each of these updates in more detail. But first, if you haven’t already, let’s learn how to update React. Concurrent Rendering: Improves performance by allowing React to work on multiple tasks simultaneously without blocking the main thread. Automatic Batching: Multiple state updates within an event handler… Continue reading React 18 Feature Quick Guide

To enable the Available to Promise feature

We can enable the promise feature by following the steps below 1.Go to Setup > Company > Enable Features 2.On the Items & Inventory subtab, check the Available to Promise box. 3.Click Save After the feature is enabled, you can set up item records for it.

Designing for Accessibility: Animation’s Role in Creating Inclusive User Experiences

Introduction In the digital age, accessibility has become a critical aspect of design, ensuring that everyone, regardless of their abilities, can interact with products and services. While animation is often seen as a tool for enhancing user engagement, it can also play a pivotal role in creating inclusive user experiences. However, when not carefully implemented,… Continue reading Designing for Accessibility: Animation’s Role in Creating Inclusive User Experiences

Published
Categorized as Design

Managing the NetSuite Accounts in VS Code Environment

To manage and organize NetSuite accounts, follow these steps: Open the Command Palette by pressing Ctrl+Shift+P. Select SuiteCloud: Manage Accounts from the Command Palette. A list of NetSuite accounts will be displayed. Choose the unused account from the list that you wish to remove or rename. You can then remove or rename the selected NetSuite… Continue reading Managing the NetSuite Accounts in VS Code Environment

Deleting the Record using Custom Button in Client Script using HTTPS.DELETE.PROMISE

-> In suiteLet add the custom button: let form = serverWidget.createForm({             title: “Custom Suitelet Form”           }); form.addButton({             id: ‘custpage_delete_button’,             label: ‘Delete’,             functionName: `deleteButton()`           }); //Sending the response if(scriptContext.request.method === ‘DELETE’){           record.delete({             type: record.Type.TASK,             id: internalId           });           scriptContext.response.write({             output: JSON.stringify({               success: true,               data: {                 “id”: internalId               }             }),             contentType: ‘application/json’           })         }catch(error){           scriptContext.response.write({             output: JSON.stringify({               success:… Continue reading Deleting the Record using Custom Button in Client Script using HTTPS.DELETE.PROMISE