var record = nlapiCreateRecord('customrecord_ennveeitissuetracker', { recordmode: 'dynamic' });
nlapiLogExecution('DEBUG', 'record', record);
record.setFieldValue('custrecord_name1', name);
record.setFieldValue('custrecord_empid', id);
record.setFieldValue('custrecord_contactno', contactno);
re...