When you create a hyperlink text field and set a default value while having the “Store Value” option checked, the field will not display the default value as expected. Issue Explanation Hyperlink Text Field: A custom field type used to store URLs. Default Value: A value that is pre-filled when the field is used in… Continue reading hyperlink text fields with default values
Month: July 2024
How to open 2 PDFs with single button
User Event script The server script snippet below is written in SuiteScript 2.0. It adds a “Print Invoice” button to the Sales Order form when it’s viewed. First, a variable CS is defined to hold the path to the client script. The script then checks if the context type is “view” to ensure the button… Continue reading How to open 2 PDFs with single button
GIS (Geographic Information System) Integration in Bhoomi Technology
GIS (Geographic Information System) integration is a pivotal component of the Bhoomi technology, enhancing its capabilities in managing and utilizing land records. GIS technology allows for the visualization, analysis, and interpretation of data to understand spatial relationships, patterns, and trends. Core Features of GIS in Bhoomi Spatial Data Visualization Layered Mapping Georeferencing Query and Analysis… Continue reading GIS (Geographic Information System) Integration in Bhoomi Technology
multiple-select fields cannot be used as filters
The primary reason multiple-select fields cannot be used as filters is due to how these fields are structured and stored within the system. Multiple-select fields allow users to select more than one option from a list, which complicates the filtering process. Recognizing the need for improved functionality, there has been an enhancement request filed under… Continue reading multiple-select fields cannot be used as filters
How to convert date into ISO date string
function getISODateString(dateString) { try { const [day, month, year] = dateString.split(‘/’); const date = new Date(`${year}–${month}–${day}`); if (isNaN(date)) { … Continue reading How to convert date into ISO date string
Reload current URL
The location.reload(); method is a part of the Location interface in JavaScript. It reloads the current URL, essentially refreshing the webpage. Here’s a more detailed explanation: Purpose location.reload(); is used to refresh the current web page. This can be useful in scenarios where you want to ensure the user sees the most up-to-date content, or… Continue reading Reload current URL
How to use function to call API and integerate project record from netsuite.
Call the function in the after submit context of user event script: const afterSubmit = (scriptContext) => { if (scriptContext.type === scriptContext.UserEventType.CREATE || scriptContext.type === scriptContext.UserEventType.EDIT) { let newRecord = scriptContext.newRecord; let projectId… Continue reading How to use function to call API and integerate project record from netsuite.
Function to check whether any fields are changed in suitescript
Function to check if there are any change in old and new record values /** * Checks if there are changes between the new and old records. * * @param {Record} newRecord – The new record * @param {Record}… Continue reading Function to check whether any fields are changed in suitescript
Unable to Create a Time off Request for a Specific User Error: “the Time off Request for XX/XX/XX to XX/XX/XX Time off Request [Pto-Xxxx] Already Exists for All or Part of This Date Range”
Scenario Unable to create a Time off request for a specific user Error: “The Time off request for xx/xx/xx to xx/xx/xx time off request [PTO-XXXX] already exists for all or part of this date range”. One possible issue why this error message occurs is there is a schedule exception created on the users/employee schedule after… Continue reading Unable to Create a Time off Request for a Specific User Error: “the Time off Request for XX/XX/XX to XX/XX/XX Time off Request [Pto-Xxxx] Already Exists for All or Part of This Date Range”
Resolve Unexpected Error When Editing an Advanced PDF/HTML Template
Scenario An Unexpected Error is encountered when trying to Edit or Customize an Advanced PDF/HTML Template for a specific Transaction. This happens when a Script or Workflow deployed is encountering an error when loading the record. NetSuite runs all before load scripts to get updates on the records and it triggers all Before Record… Continue reading Resolve Unexpected Error When Editing an Advanced PDF/HTML Template