Scenario The user is getting the error: TypeError Cannot read property ‘setDisplayType’ of null when using the nlobj.setDisplayType method on a field pulled using the nlapiGetField API. Solution The nlapiGetField function is not supported for inline fields under any subtab on the Item record and executing it will return null. Thus, an error is received when trying to use the setDisplayType on a… Continue reading Resolve Error: “TypeError Cannot read property ‘setDisplayType’ of null” Returned by nlobjField.setDisplayType
Month: October 2024
How to create a new admin user in Magento via the terminal
To create a new admin user in Magento via the terminal, follow these steps: Access Your Server: Open your terminal or SSH into your server. Navigate to Your Magento Installation: Change to the Magento root directory: Create a New Admin User: Use the following command to create a new admin user. Replace <new_username>, <new_email>, and… Continue reading How to create a new admin user in Magento via the terminal
Formulas for Sales achieved, Gross profit and Overdue/Collection percentages for sales commission calculation
Sales achieved % = (actual Sales / Target sales ) *100 for an associate for a specific month Gross Profit % = (Sales – COGS) / Sales *100 Overdue %= Overdue Invoices amount / Total Open invoices amount *100 : There will be open invoices with no overdue. Such invoices wont be considered for numerator.
Custom Sales Commission Generation in NetSuite: Points to consider
This article will discuss the points to be considered for custom sales commission generation in NetSuite Sales commission for employees are calculated based on Sales amount excluding the tax and other costs including shipping charges. The field to consider will be ” AMOUNT NET OF TAX” Sales commission for partial paid transactions when calculating Overdue… Continue reading Custom Sales Commission Generation in NetSuite: Points to consider
Hide a Field Created by a Locked User Event Script in a Bundle
Hide a Field Created by a Locked User Event Script in a Bundle. Some Bundles have locked User Event Scripts that create custom fields on records. To know if the field is created by a script the field’s internal id will be prefixed by custpage. Users can see the field’s internal id on the field… Continue reading Hide a Field Created by a Locked User Event Script in a Bundle
Minimalism in Animation: Telling Complex Stories with Simple Design
In the world of animation, where the possibilities for visual expression are nearly limitless, some creators have taken a counterintuitive approach by embracing minimalism. Rather than filling the screen with intricate details, these animators focus on simplicity, using pared-down visuals and a restrained aesthetic to tell rich, complex stories. Minimalism in animation proves that sometimes,… Continue reading Minimalism in Animation: Telling Complex Stories with Simple Design
CSV Import to add multiple subsidiaries to customer records along with the primary subsidiary
To add customer records with multiple subsidiaries along with the primary subsidiary, CSV import is the correct option. Below are the detailed steps: Setup>Import/Export>Import CSV Records Then Select Import Type as Relationships Record Type as Customer-Subsidiary Relationship Then upload the CSV file The file should only include the Customer ID and the Subsidiary ID that… Continue reading CSV Import to add multiple subsidiaries to customer records along with the primary subsidiary
Font Awesome not working, icons showing as squares
Description : In some cases, after updating and activating the theme, some icons may be missing and appear as squares. This issue occurs due to changes in the Font Awesome version. To resolve this, we can use the following methods Methods to Follow The issue may occur when we install Dart-Sass, which is part of… Continue reading Font Awesome not working, icons showing as squares
Understanding Average Cost in NetSuite
Average Cost is a cost calculation method in NetSuite that provides the weighted average of all costs incurred to purchase and maintain an item in stock. This value smooths out the fluctuations in purchase prices by providing a single, average figure that is updated each time inventory is received or adjusted. Key aspects of Average… Continue reading Understanding Average Cost in NetSuite
Understanding the Last Purchase Price in NetSuite item records
Last Purchase Price (LPP) in NetSuite refers to the most recent price paid for an item, based on the latest inventory-related transaction such as an Item Receipt or Inventory Transfer. This price is updated each time an item is received into inventory and serves as a benchmark for future purchases. Key points to understand about… Continue reading Understanding the Last Purchase Price in NetSuite item records