var firstques = new Array(); var nhorder = new Array(); nhorder[0] = 'First Name'; nhorder[1] = 'Last Name'; nhorder[2] = "Employee's Supervisor"; nhorder[3] = 'Employee ID (if known)'; nhorder[4] = "Employee's Title"; nhorder[5] = "Employee's Department"; nhorder[6] = 'Hyperion Code (HFM)'; nhorder[7] = 'Please select the street address of the office'; nhorder[8] = 'Office number or cube location'; nhorder[9] = 'Start date'; nhorder[10] = 'Type of hire'; nhorder[11] = 'Is this a rehire?'; nhorder[12] = 'Projected end date'; nhorder[13] = 'Please choose a computer for this new hire'; nhorder[14] = 'If you have any additional comments or information for the technician, please enter them here:'; nhorder[15] = 'Please enter the email address(es) of anyone you would like notified of this request:'; var item = new GlideRecord('sc_req_item'); item.addQuery('request.sys_id', current.sys_id); item.query(); var nhflag = 0; var qlist = 0; var itemname = ''; while(item.next()){ template.print('Item Name: ' + item.cat_item.name + '<br>'); itemname = item.cat_item.name; var nhflag = 0; var varpool = new Array(); var ord = 0;