Restricting the Sales Rep role to his/her own Opp but still have a full/view access of the customers

I want each of my sales representatives to have access to their own opportunities without being able to see other sales representatives’ opportunities. However, they should still be able to view customer information. I made changes to the sales representative role page, setting the employee restriction to “Own & Subordinates only.” However, these changes are… Continue reading Restricting the Sales Rep role to his/her own Opp but still have a full/view access of the customers

Advanced Image Optimization Options on Next.js

Advanced Image Optimization Options We can pass several advanced options to the <Image> component: Quality: You can control the quality of the image, with a value between 1-100 (default is 75). <Image src=”/images/quality-image.jpg” alt=”High-Quality Image” width={600} height={400} quality={90} // Set image quality /> Priority: If you want an image to load immediately and not lazily,… Continue reading Advanced Image Optimization Options on Next.js

Advanced PDF/HTML Template > Lock the Printed PDF and use a Custom Field to Store the Password

Scenario User wants to create a password to be stored and hidden on the Purchase Order record for transaction PDFs using a Custom Transaction Body Field. Solution Create a Custom Transaction Body Field Navigate to Customization > Lists, Records, & Fields > Transaction Body Fields > New Label: Enter Label (Example: PDF Password) Type: Select… Continue reading Advanced PDF/HTML Template > Lock the Printed PDF and use a Custom Field to Store the Password

Techniques for Seamless Transitions

When building immersive 3D experiences using Three.js, it is often necessary to switch between different scenes, such as moving from one environment to another or loading different levels in a game. However, abrupt scene changes can be jarring for users, breaking the immersion and flow of the experience. To avoid this, developers can use smooth… Continue reading Techniques for Seamless Transitions

The Importance of Digital Marketing in Today’s Business Landscape

In the modern world, digital marketing is more than just a trend—it’s a necessity. Whether you’re a startup, a small business, or an established corporation, having a strong digital presence is essential for growth and success. Let’s dive into why digital marketing holds such significance today and how it shapes the future of businesses. 1.… Continue reading The Importance of Digital Marketing in Today’s Business Landscape

Formatting Numbers as Currency in NetSuite Scripts Using the format Module

n NetSuite SuiteScript, you can format numbers with commas and decimal points across all types of scripts (not just Suitelets) using the format module. The format.formatCurrency() method converts numeric values into a currency format, adding commas for thousands and ensuring two decimal places. This is useful when you need to display or process numbers as… Continue reading Formatting Numbers as Currency in NetSuite Scripts Using the format Module

WebGL vs WebGPU: The Future of Web Graphics

The rise of web technologies over the past decade has made web-based applications, particularly in 3D graphics, a key part of modern development. From gaming to virtual reality (VR) and simulations, the web is now home to increasingly complex and visually immersive experiences. Central to this transformation is the evolution of two key technologies: WebGL… Continue reading WebGL vs WebGPU: The Future of Web Graphics

Basic usage of the “Image” tag and Advantage using “Image” tag on Next.js

1.Basic Usage of the <Image> Component The <Image> component in Next.js requires src, width, height, and alt attributes. Here’s a simple example: import Image from ‘next/image’; const HomePage = () => ( <div> <Image src=”/images/my-image.jpg” // Path to your image alt=”Description of image” // Important for accessibility and SEO width={500} // Specify width height={300} //… Continue reading Basic usage of the “Image” tag and Advantage using “Image” tag on Next.js

Change the alignment according to the length of the value in Advanced html PDF template

<#if item.custrecord_vr_svcord_item_lotnum?length > 3>     <td colspan=”7″ style=”border: 1px solid rgb(187, 187, 187);” align=”left”>         ${item.custrecord_vr_svcord_item_lotnum}     </td> <#else>     <td colspan=”7″ style=”border: 1px solid rgb(187, 187, 187);” align=”center”>         <#if item.custrecord_vr_svcord_item_lotnum?has_content>             ${item.custrecord_vr_svcord_item_lotnum}         <#else>    … Continue reading Change the alignment according to the length of the value in Advanced html PDF template

Number to words for USD

    function numberToWords(num) {         const units = [‘Zero’, ‘One’, ‘Two’, ‘Three’, ‘Four’, ‘Five’, ‘Six’, ‘Seven’, ‘Eight’, ‘Nine’];         const teens = [‘Ten’, ‘Eleven’, ‘Twelve’, ‘Thirteen’, ‘Fourteen’, ‘Fifteen’, ‘Sixteen’, ‘Seventeen’, ‘Eighteen’, ‘Nineteen’];         const tens = [‘Twenty’, ‘Thirty’, ‘Forty’, ‘Fifty’, ‘Sixty’, ‘Seventy’, ‘Eighty’, ‘Ninety’];  … Continue reading Number to words for USD