Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Client Script: Validate Field on Item Record
I have two item fields, A & B.
These two fields concatenate, reference saved search results, and compare vs. duplicate values. The script works well, but it triggers after every every field - not only after editing fields A and B, which results in a lengthy delay after entry for each field.
Example:
var A= nlapiGetFieldText('FieldA');
var B= nlapiGetFieldValue('FieldB');
var C= (FieldA+FieldB);
if (C == validation){
alert('Alert!');
}
Any ideas on how to set criteria to trigger only after editing fields A and B?
0