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.
Validate Line Function Script
I'm trying to return an error when line quantity is over a certain amount...
This is what I have so far...Thanks!
function CheckQuantity(){
if (type == 'item'){
if(nlapiGetCurrentLineItemValue('item', 'quantity') >=1000 ){
alert("Please check quantity for this line.");
return false;
}
}
}
6