We need to display virtual field on selecting values in a standard field. When “YES ” or “PAO” values are selected in the field USE EXPIRY then we need to display the virtual field. Then select the values from the virtual field and set it in the standard field SHELF LIFE. The fieldChanged() entry point… Continue reading Create virtual field to display list of values.
Author: Mintu Antony
Remove a select option from certain types of select and multiselect fields.
Field.removeSelectOption(options) Method Description Removes a select option from certain types of select and multiselect fields.This method is usable only in select fields that were added by a front-end Suitelet or beforeLoad user event script. The IDs for these fields always have a prefix of custpage. Returns void Supported Script Types Client scriptsFor more information, see SuiteScript 2.x… Continue reading Remove a select option from certain types of select and multiselect fields.
Skipped Actions in a workflow.
When SuiteFlow skips an action, the action may not be supported for the server trigger on which the workflow entered the state. The following screenshot shows a record that entered a state on a Before Record Load trigger and consequently, the Send Email action was skipped: You can view the options for the Send Email… Continue reading Skipped Actions in a workflow.
Other record field created for address was not visible in address book.
Other record field created for address was not visible in address book because the country was not set in the selected address forms. Navigation to create other record fields is, Customization -> Lists, Records and Fields -> Other record fields We need to select the countries for which the other record fields created are to… Continue reading Other record field created for address was not visible in address book.
Validation for a field to allow only decimal numbers.
Client script with fieldChanged() entry point can be used.
escapeSpecialChar() function to display special characters on the item label PDF print.
To generate and print labels for items that had an “&” symbol in the “Purchase Description” field, we can use escapeSpecialChar() function.
How to Fix Table Cell Alignment Justification Anomaly
Here is the typical HTML code used for structuring the <td> cells of the table. White spaces are appeared between the letters of the words. Here is the modified HTML code. The last line shows the fix for the unexpected cell alignment in the “PO #” column. This simply wrap the cell contents inside of… Continue reading How to Fix Table Cell Alignment Justification Anomaly
Script for setting up the preferred vendor in the item price based on the lowest purchase price.
The preferred vendor is set based on lowest purchase price using a user event script.
To get domain name from an email address using saved search
A formula(text) can be selected in the column field andSUBSTR({email}, INSTR({email}, ‘@’) + 1, INSTR({email}, ‘.’) – INSTR({email}, ‘@’) – 1)can be entered in the formula field. For example:If the email address is “test@gmail.com”By using the above-mentioned formula in saved search, we get “gmail” from the saved search results.
Script for Quantity Order column in Purchase order
The client script that validates the line based on location on the purchase order and data is sourced to on hand field.