``` function validateLine(context) { var cu...
# suitescript
c
Copy code
function validateLine(context) {
     var currentRecord = context.currentRecord;
     var sublistName = context.sublistId;
     var recordType = currentRecord.type;

     if(recordType === 'customer' && sublistName === 'addressbook'){
       return true;
     }
   }