When you put a summary on a search column, you must specify the summary when you retrieve the value as well. So, because you have:
new nlobjSearchColumn('custentity_employeenumber', null, 'max');
you must retrieve the value with:
results[0].getValue('custentity_employeenumber', null, 'max');