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;
}
}
}