Jira Code : CLTG-177 Description Usually, we couldn’t fetch the internal id of the custom form using the getValue() and using the search() in the beforeLoad entry point of the record. So, in order to fetch the custom form, we need to load the record.
Month: February 2023
Script to add a button in Quote Record
Jira Code : CLTG-177 Description We need to create a custom button named “SOP” in the Quote record and on clicking that button, user should be navigated to a URL in a new window. We need to be redirected to different webpages based on which form the button is on. Solution In order to achieve… Continue reading Script to add a button in Quote Record
Forgot password functionality for email contain special characters
If the password for the mail ids like test+123@jobinandjismi.com, the reset link will be sent to the parent email id. If did not set up security questions or do not remember the answers to them the reset link will not be sent to the corresponding parent email, then need assistance to access your account. The… Continue reading Forgot password functionality for email contain special characters
Function to set landed cost in item receipt
Function to set landed cost in item receipt.
Using Suitescript,resolve splitting of single data into multiple columns in csv file when there is comma (,) inside the data.
Consider the value inside variable data as “item, description”. There is a chance of splitting it into “item” in one column and “description” in another column. To resolve the issue JSON. stringify() the variable
QA Tips : NetSuite: Show Field IDs
There is an extension NetSuite: Show Field IDs, it will help us to find fields from a page Used to find fields and copy field ids. Hover over NetSuite field links to show their IDs. To copy the ID to the clipboard use Shift + Click the link. If you can’t find that field and… Continue reading QA Tips : NetSuite: Show Field IDs
How to restrict a custom opportunity form for a specific role?
In order to perform the steps below, use the Administrator role. Navigate to Setup > Users/Roles > Manage Roles Click Edit/Customize by the Role for which the custom form will be restricted Click Forms tab Click Transaction subtab Find the forms with a Opportunity Type Preferred: Enter Checkmark by the form you want to restrict for this Role Enabled: Remove Checkmark for other Opportunity forms Click Save
Adding a virtual field to remove sales custom price level.
Generally is to hide the natural drop-down on the form and add a custom drop-down over which has better control. Then in a Client script, Can make changes from the custom drop-down and apply those to the hidden field. But the user can hide that field and use a custom one. For example, if you… Continue reading Adding a virtual field to remove sales custom price level.
How to restrict users to put a future date in Netsuite custom date field?
To restrict user from adding a future date in shipment receiving date. The field should be either today or any past date but not future. The below validation function that is executed when a field is changed by a user or client call.
Change Thumbnail Images Based on Color Refinement on a Product List Page
By default, the images shown for items on a product list page (PLP) will be whatever is the item’s default. This is fine in most cases, but what if a shopper refines by a color? Shouldn’t a search for, say, red dresses show images of red dresses, rather than just the default? This article will… Continue reading Change Thumbnail Images Based on Color Refinement on a Product List Page