Ajith Kumaran
04/21/2025, 4:50 PMCeligo AI
04/21/2025, 4:51 PMAI generated answer (using internal Slack threads):To check the "price_display" in the sales order item sublist, you can use SuiteScript's
getCurrentSublistValue
method. This method allows you to retrieve the value of a field on the current line of a sublist.
Here is a sample code snippet:
javascript
var priceDisplay = record.getCurrentSublistValue({
sublistId: 'item',
fieldId: 'price_display'
});
In this code, 'item' is the sublistId for the item sublist on a sales order, and 'price_display' is the fieldId for the price display field. This code will return the value of the 'price_display' field for the currently selected line in the item sublist.
Please note that the fieldId may vary based on your NetSuite setup. If 'price_display' does not work, you may need to check your field IDs.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
04/21/2025, 4:51 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.806741118
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.798142
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.798060715
Celigo AI
04/21/2025, 4:51 PM