Customer Enquiry
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Customer Enquiry</title><script language="JavaScript" type="text/javascript">window.status='Loading...';</script><link rel="stylesheet" type="text/css" href="/ext-3.3.1/resources/css/ext-all-notheme.css?NS_VER=2017.2.0&minver=179" /> <link rel="stylesheet" type="text/css" href="/ext-3.3.1/resources/css/xtheme-gray.css?NS_VER=2017.2.0&minver=179" /> <link rel="stylesheet" type="text/css" href="/ext-3.3.1/resources/css/ext-override.css?NS_VER=2017.2.0&minver=179" /> <link rel="stylesheet" type="text/css" href="/ext-3.3.1/resources/css/htmleditorplugins.css?NS_VER=2017.2.0&minver=179" /><script type="text/javascript" src="/ui/jquery/jquery-1.11.3.min.js?NS_VER=2017.2.0&minver=179"></script><script type="text/javascript" src="/ui/jquery/jquery_isolation.js?NS_VER=2017.2.0&minver=179"></script><script type="text/javascript" src="/javascript/NLUtil.jsp?NS_VER=2017.2.0&minver=179&JSP_VER=1&locale=en_AU"></script><script type="text/javascript" src="/javascript/NLUtil.js?NS_VER=2017.2.0&minver=179"></script><script type="text/javascript" src="/javascript/NLUIWidgets.jsp?NS_VER=2017.2.0&minver=179&JSP_VER=1&locale=en_AU"></script><script type="text/javascript" src="/assets/legacy_widgets/1245173030.js?NS_VER=2017.2.0&minver=179"></script><script type="text/javascript" src="/javascript/NLCalendar.jsp?NS_VER=2017.2.0&minver=179&JSP_VER=1&locale=en_AU"></script><script type="text/javascript" src="/assets/legacy_slavingutil/426354954.js?NS_VER=2017.2.0&minver=179"></script><script type="text/javascript" src="/assets/legacy_apputil/3875111965.js?NS_VER=2017.2.0&minver=179"></script><script type="text/javascript" src="/javascript/NLAppUtil.jsp?NS_VER=2017.2.0&minver=179&JSP_VER=1&locale=en_AU"></script><script type="text/javascript" src="/ext-3.3.1/adapter/ext/ext-base.js?NS_VER=2017.2.0&minver=179"></script><script type="text/javascript" src="/ext-3.3.1/ext-all.js?NS_VER=2017.2.0&minver=179"></script><script type="text/javascript" src="/ext-3.3.1/ext-netsuite-ie9-fix.js?NS_VER=2017.2.0&minver=179"></script><script type="text/javascript" src="/ext-3.3.1/extensions/plugins/Ext.ux.form.HtmlEditorExtensions.js?NS_VER=2017.2.0&minver=179"></script><script language="JavaScript" type="text/javascript">window.status='';</script><link rel="stylesheet" href="/core/styles/pagestyles.nl?ct=0&bglt=F2F4F6&bgmd=E0E4E8&bgdk=737A82&bgon=C1C8D2&bgoff=8492A5&bgbar=C1C8D2&tasktitletext=000000&crumbtext=000000&headertext=000000&ontab=000000&offtab=FFFFFF&text=000000&link=000000&bgbody=FFFFFF&bghead=FFFFFF&portlet=E0E4E8&portletlabel=000000&bgbutton=FFE599&bgrequiredfld=FFFFE5&font=Arial%2CHelvetica%2Csans-serif&size_site_content=9pt&size_site_title=9pt&size=1.0&nlinputstyles=F&accessibility=F&appOnly=F&NS_VER=2017.2.0" /><script type="application/json" id="data_491381113">{"translations":{},"horizontalLabelEnabled":true}</script><script type="application/javascript"> (function (data, preferences) { NS = window.NS || {}; NS.Translations = NS.Translations || {}; NS.Translations.dictionary = NS.Translations.dictionary || {}; for(var key in data.translations) { if (data.translations.hasOwnProperty(key)) { NS.Translations.dictionary[key] = data.translations[key]; } } NS.UI = NS.UI || {}; NS.UI.Preferences = NS.UI.Preferences || {}; NS.UI.Preferences.horizontalLabelsEnabled = data.horizontalLabelEnabled; })(JSON.parse(document.getElementById('data_491381113').textContent),{}); </script><script language="JavaScript" type="text/javascript">window.status='Loading...';</script><script type="text/javascript" src="/javascript/NLAPI.jsp__NS_VER=2017.2.0&minver=179&locale=en_AU.nlqs"></script></head><body bgcolor="#FFFFFF" link="#000000" vlink="#000000" alink="#000000" text="#000000" style="background-image:none;margin: 5px 0px 5px 0px;" onload="page_init()"> <div id="outerwrapper" style="width:100%"> <div id="innerwrapper"> <div id="div__header" class="noprint" leftmargin="0" topmargin="0" marginwidth="1"> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr bgcolor="#FFFFFF"> <td> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td align="LEFT"><img src="/images/nav/stretch.gif" border="0" /></td> </tr> </table> </td> </tr> </table> </div> <div id="div__title" style="margin: 0px;"></div> <div id="div__label" class="scrollarea" style="margin: 0px; overflow:hidden;"></div> <div id="div__body" style="margin: 0px; "> <table border="0" cellspacing="0" cellpadding="0" width="100%" id="__enclosingtable" role="presentation"> <tr> <td width="100%" valign="top"> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr class="portletHandle"> <td width="100%" valign="top"> <form enctype="multipart/form-data" method="post" name="main_form" action="/app/site/crm/externalcasepage.nl" id="main_form" onsubmit="try {if (NS.form.isInited() && NS.form.isValid() && save_record(true)) { return true; } return false; } catch(e) { return false; }" onkeypress="if (getEventKeypress(event) == 13) { setEventCancelBubble(event);return true;} return true;" style="margin: 0; font-size: 0px; padding-bottom: 10px; "> <table width="100%" border="0" cellspacing="0" cellpadding="0" role="presentation"> <tr> <td> <tr> <td> <div class="bgbar"> <div class="pt_head"></div> <div class="tasktitlemed"> <div class="pt_buttons"></div> <div class="pt_title">Customer Enquiry</div> </div> <div class="pt_end"></div> </div> </td> </tr> </td> </tr> <tr> <td> <table border="0" cellspacing="0" width="100%" cellpadding="0"> <tr> <td class="text" valign="top"> <div class="bgmd"></div> </td> </tr> </table> </td> </tr> <tr> <td> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td valign="top"> <table border="0" class="table_fields" cellspacing="2" cellpadding="0" data-colnumber="1"> <tr> <td valign="middle" nowrap="nowrap" align="right" class="smalltextnolink"><span class="labelSpanEdit smalltextnolink" style="white-space: wrap;" id="email_fs_lbl"><img class="required_icon" title="Required Field" alt="Required Field" src="/images/chiles/pageTitle/required.png" /><a class="smalltextnolink" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">Email</a> </span></td> <td nowrap="nowrap" valign="middle"><span style="white-space: nowrap" id="email_fs" class="effectStatic" data-fieldtype=""><input onkeyup="" onchange="this.onchangecalled=true; setWindowChanged(window, true);this.checkvalid=false;this.isvalid=validate_field(this,'email',true,false,null,null,false);if (!this.isvalid) { selectAndFocusField(this);}return this.isvalid;" maxlength="300" onkeypress="" type="text" onfocus="this.onchangecalled=false; this.origValue = this.value;this.checkvalid=true;" onblur="if (this.onchangecalled == false && this.origValue != this.value) { return this.onchange(); } this.value = trim(this.value); if (this.checkvalid == true) {this.isvalid=validate_field(this,'email',false,false,null,null,false);} if (this.isvalid == false) { selectAndFocusField(this); if (arguments[0]){ arguments[0].stopPropagation();} return this.isvalid;} " size="-1" aria-labelledby="email_fs_lbl" name="email" style="; ime-mode:disabled" id="email" class="inputreq" /></span></td> </tr> <tr> <td valign="middle" nowrap="nowrap" align="right" class="smalltextnolink"><span class="labelSpanEdit smalltextnolink" style="white-space: wrap;" id="title_fs_lbl"><img class="required_icon" title="Required Field" alt="Required Field" src="/images/chiles/pageTitle/required.png" /><a class="smalltextnolink" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">Subject</a> </span></td> <td nowrap="nowrap" valign="middle"><span style="white-space: nowrap" id="title_fs" class="effectStatic" data-fieldtype=""><input onkeyup="" onchange="this.onchangecalled=true; setWindowChanged(window, true);this.checkvalid=false;this.isvalid=validate_field(this,'text',true,false,null,null,false);if (this.isvalid) this.isvalid=validate_textfield_maxlen(this,256,true,true);if (!this.isvalid) { selectAndFocusField(this);}return this.isvalid;" maxlength="256" onkeypress="" type="text" onfocus="this.onchangecalled=false; this.origValue = this.value;this.checkvalid=true;" onblur="if (this.onchangecalled == false && this.origValue != this.value) { return this.onchange(); } if (this.checkvalid == true) {this.isvalid=validate_field(this,'text',false,false,null,null,false);} if (this.isvalid == false) { selectAndFocusField(this); if (arguments[0]){ arguments[0].stopPropagation();} return this.isvalid;} " size="25" aria-labelledby="title_fs_lbl" name="title" style="" id="title" class="inputreq" /></span></td> </tr> <tr> <td valign="middle" nowrap="nowrap" align="right" class="smalltextnolink"><span class="labelSpanEdit smalltextnolink" style="white-space: wrap;" id="category_fs_lbl"><img class="required_icon" title="Required Field" alt="Required Field" src="/images/chiles/pageTitle/required.png" /><a class="smalltextnolink" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">Case Type</a> </span></td> <td nowrap="nowrap" valign="middle"><span id="category_fs" data-fieldtype="select" class="" style="white-space: nowrap;"> <select name="category" id="category" class="inputreq" flags="2267742732416" type="select-one" valuewhenrendered="" aria-labelledby="category_fs_lbl" onchange="if(!this.noslaving) { setWindowChanged(window, true); }"> <option value="" selected="selected"></option> <option value="1">Question</option> <option value="2">Concern</option> <option value="3">Problem</option> </select> <span class="field_widget_helper_pos effectStatic"></span></span></td> </tr> <tr> <td valign="middle" nowrap="nowrap" align="right" class="smalltextnolink"><span class="labelSpanEdit smalltextnolink" style="white-space: wrap;" id="firstname_fs_lbl"><img class="required_icon" title="Required Field" alt="Required Field" src="/images/chiles/pageTitle/required.png" /><a class="smalltextnolink" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">First Name</a> </span></td> <td nowrap="nowrap" valign="middle"><span style="white-space: nowrap" id="firstname_fs" class="effectStatic" data-fieldtype=""><input onkeyup="" onchange="this.onchangecalled=true; setWindowChanged(window, true);this.checkvalid=false;this.isvalid=validate_field(this,'text',true,false,null,null,false);if (this.isvalid) this.isvalid=validate_textfield_maxlen(this,300,true,true);if (!this.isvalid) { selectAndFocusField(this);}return this.isvalid;" maxlength="300" onkeypress="" type="text" onfocus="this.onchangecalled=false; this.origValue = this.value;this.checkvalid=true;" onblur="if (this.onchangecalled == false && this.origValue != this.value) { return this.onchange(); } if (this.checkvalid == true) {this.isvalid=validate_field(this,'text',false,false,null,null,false);} if (this.isvalid == false) { selectAndFocusField(this); if (arguments[0]){ arguments[0].stopPropagation();} return this.isvalid;} " size="25" aria-labelledby="firstname_fs_lbl" name="firstname" style="" id="firstname" class="inputreq" /></span></td> </tr> <tr> <td valign="middle" nowrap="nowrap" align="right" class="smalltextnolink"><span class="labelSpanEdit smalltextnolink" style="white-space: wrap;" id="lastname_fs_lbl"><img class="required_icon" title="Required Field" alt="Required Field" src="/images/chiles/pageTitle/required.png" /><a class="smalltextnolink" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">Last Name</a> </span></td> <td nowrap="nowrap" valign="middle"><span style="white-space: nowrap" id="lastname_fs" class="effectStatic" data-fieldtype=""><input onkeyup="" onchange="this.onchangecalled=true; setWindowChanged(window, true);this.checkvalid=false;this.isvalid=validate_field(this,'text',true,false,null,null,false);if (this.isvalid) this.isvalid=validate_textfield_maxlen(this,300,true,true);if (!this.isvalid) { selectAndFocusField(this);}return this.isvalid;" maxlength="300" onkeypress="" type="text" onfocus="this.onchangecalled=false; this.origValue = this.value;this.checkvalid=true;" onblur="if (this.onchangecalled == false && this.origValue != this.value) { return this.onchange(); } if (this.checkvalid == true) {this.isvalid=validate_field(this,'text',false,false,null,null,false);} if (this.isvalid == false) { selectAndFocusField(this); if (arguments[0]){ arguments[0].stopPropagation();} return this.isvalid;} " size="25" aria-labelledby="lastname_fs_lbl" name="lastname" style="" id="lastname" class="inputreq" /></span></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td> <table class="uir-outside-fields-table" border="0" cellspacing="2" cellpadding="0"> <tr> <td valign="top" style="padding-top:3px" nowrap="nowrap" align="right" class="smalltextnolink"><span class="labelSpanEdit smalltextnolink" style="white-space: wrap;" id="incomingmessage_fs_lbl"><img class="required_icon" title="Required Field" alt="Required Field" src="/images/chiles/pageTitle/required.png" /><a class="smalltextnolink" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">Incoming Message</a> </span></td> <td nowrap="nowrap"><span id="incomingmessage_fs" data-fieldtype="" class="effectStatic" style="white-space: nowrap"><textarea name="incomingmessage" id="incomingmessage" rows="5" class="inputreq textarea" wrap="VIRTUAL" aria-labelledby="incomingmessage_fs_lbl" cols="120" onfocus="this.isvalid=false;" onblur="this.isvalid=validate_textfield_maxlen(this,1000000,false,true);return this.isvalid;" onchange="setWindowChanged(window, true);if (!this.isvalid) this.isvalid=validate_textfield_maxlen(this,1000000,true,true);if (this.isvalid == false) { selectAndFocusField(this); }if (this.isvalid) {};return this.isvalid;" onkeypress="event.cancelBubble = true; return true;"></textarea> </span> </td> </tr> </table> </td> </tr> <tr> <td align="right" style="padding-bottom:6px;" class="uir-header-buttons"> <table border="0" cellspacing="0" cellpadding="3" role="presentation"> <tr> <td><span id="tbl_submitter"><input type="submit" style="" value="Submit" id="submitter" name="submitter" /></span></td> <td><span id="tbl_resetter"><input type="button" style="" value="Reset" id="resetter" name="resetter" onclick="page_reset(); return false;" /></span></td> </tr> </table> </td> </tr> </table> <input name="_eml_nkey_" id="_eml_nkey_" type="hidden" value="0" /> <input name="selectedtab" id="selectedtab" type="hidden" value="" /> <input name="nsapiPI" id="nsapiPI" type="hidden" value="" /> <input name="nsapiSR" id="nsapiSR" type="hidden" value="" /> <input name="nsapiVF" id="nsapiVF" type="hidden" value="" /> <input name="nsapiFC" id="nsapiFC" type="hidden" value="" /> <input name="nsapiPS" id="nsapiPS" type="hidden" value="" /> <input name="nsapiVI" id="nsapiVI" type="hidden" value="" /> <input name="nsapiVD" id="nsapiVD" type="hidden" value="" /> <input name="nsapiPD" id="nsapiPD" type="hidden" value="" /> <input name="nsapiVL" id="nsapiVL" type="hidden" value="" /> <input name="nsapiRC" id="nsapiRC" type="hidden" value="" /> <input name="nsapiLI" id="nsapiLI" type="hidden" value="" /> <input name="nsapiLC" id="nsapiLC" type="hidden" value="" /> <input name="nsapiCT" id="nsapiCT" type="hidden" value="1525154447980" /> <input name="nsbrowserenv" id="nsbrowserenv" type="hidden" value="" /> <input name="wfPI" id="wfPI" type="hidden" value="" /> <input name="wfSR" id="wfSR" type="hidden" value="" /> <input name="wfVF" id="wfVF" type="hidden" value="" /> <input name="wfFC" id="wfFC" type="hidden" value="" /> <input name="wfPS" id="wfPS" type="hidden" value="" /> <input name="type" id="type" type="hidden" value="Case" /> <input name="id" id="id" type="hidden" value="" /> <input name="externalid" id="externalid" type="hidden" value="" /> <input name="whence" id="whence" type="hidden" value="" /> <input name="customwhence" id="customwhence" type="hidden" value="" /> <input name="entryformquerystring" id="entryformquerystring" type="hidden" value="compid=3895650&formid=2&h=AACffht_FDfGORULG5yu4Dm5P1upcWJFpyM&redirect_count=1&did_javascript_redirect=T&formid=2&h=AACffht_FDfGORULG5yu4Dm5P1upcWJFpyM&redirect_count=1&did_javascript_redirect=T" /> <input name="wfinstances" id="wfinstances" type="hidden" value="" /> <input name="h" id="h" type="hidden" value="AACffht_FDfGORULG5yu4Dm5P1upcWJFpyM" /> <input name="compid" id="compid" type="hidden" value="3895650" /> <input name="formid" id="formid" type="hidden" value="2" /> <input name="subsidiary" id="subsidiary" type="hidden" value="-1" /> <input name="forminstance" id="forminstance" type="hidden" value="0d9d93d9-8e1a-46f2-afe6-a7c4ea3bdc16" /> <input name="submitted" id="submitted" type="hidden" value="" /> <input name="formdisplayview" id="formdisplayview" type="hidden" value="NONE" /> <input name="_button" id="_button" type="hidden" value="" /></form> <iframe id="server_commands" name="server_commands" style="display:none;" height="0" aria-hidden="true" tabindex="-1" title="empty"></iframe></td> </tr> </table> </td> </tr> </table> </div> <div id="div__footer" class="noprint" leftmargin="0" topmargin="0" marginwidth="1" marginheight="1"></div> </div> </div> <script language="JavaScript" type="text/javascript">function page_init() {window.weekstart ='2'; window.dateformat ='DD/MM/YYYY'; window.longdateformat ='DD Month YYYY'; window.timeformat ='fmHH:fmMI am'; window.timeformatwithseconds ='fmHH:fmMI:SS am'; window.decimalseparator ='.'; window.groupseparator =','; window.negativeprefix ='-'; window.negativesuffix =''; window.number_blacklist_regex = new RegExp('[^\\.\\-\\d]','g'); window.datetime_am_string ='am'; window.datetime_pm_string ='pm'; window.datetime_short_months = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""]; window.subrecordcache = new Array(); NS.form.setValid(true); setWindowChanged(window, false); NS.form.setInited(false); page_init2(); page_init3(); setWindowChanged(window, false); loadClientModulesThenPageInit4(); NS.form.setInited(true); page_postInit(); window.status = ''; window.loadcomplete = true;}</script><script type="text/javascript"> window.decimalseparator ='.'; window.groupseparator =','; window.negativeprefix ='-'; window.negativesuffix =''; window.weekstart ='2'; window.dateformat ='DD/MM/YYYY'; window.longdateformat ='DD Month YYYY'; window.timeformat ='fmHH:fmMI am'; window.timeformatwithseconds ='fmHH:fmMI:SS am'; window.decimalseparator ='.'; window.groupseparator =','; window.negativeprefix ='-'; window.negativesuffix =''; window.number_blacklist_regex = new RegExp('[^\\.\\-\\d]','g'); window.datetime_am_string ='am'; window.datetime_pm_string ='pm'; window.datetime_short_months = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""]; var fieldtosubrecordmap = new Array(); var fieldtosubrecordfieldmap = new Array(); function page_unload() { if(document.activeElement != null && document.activeElement.form != null) { document.activeElement.blur(); } if (NS.form.isChanged()) { return ('You have not yet submitted this record.'); } } function save_record(lastcall) { if(document.forms['main_form'].bonsubmitisnull) return true; if (!NS.form.isInited()) return false; for(key in window.subrecordcache) { if (window.subrecordcache.hasOwnProperty(key) && window.subrecordcache[key]) { window.subrecordcache[key].commit(); } } var form = document.forms['main_form']; if (form.submitted) { if (form.submitted.value == 'T') { var resubmit = false; resubmit = confirm('You have already submitted this form, would you like to submit it again?'); if(!resubmit) return false; } } try { var isSaveRecordValid= nlapiSaveRecord(); if ( !isSaveRecordValid ) return false; var emptylabels = checkMandatoryFields(new Array(document.forms['main_form'].elements['email'],document.forms['main_form'].elements['incomingmessage'],document.forms['main_form'].elements['title'],document.forms['main_form'].elements['category'],document.forms['main_form'].elements['firstname'],document.forms['main_form'].elements['lastname']),new Array('Email','Incoming Message','Subject','Case Type','First Name','Last Name'),null,null);if (emptylabels.length>0) { alert('Please enter value(s) for: ' + emptylabels); return false; } enableDisabledFields(isSaveRecordValid); for(key in window.subrecordcache) { if (window.subrecordcache.hasOwnProperty(key) && window.subrecordcache[key]) { window.subrecordcache[key].commit(); } } } catch(err) { alert('You cannot submit this form due to an unexpected error.'); return false; } setWindowChanged(window, false); if(lastcall == true && form.submitted) form.submitted.value='T'; return true; } function page_reset() { document.page_is_resetting=true; document.forms['main_form'].reset(); resetNLPopupSelects(document.forms['main_form']); setWindowChanged(window, false); page_init3(); var savechanged = NS.form.isChanged(); setWindowChanged(window, savechanged); NS.form.setValid(true); window.clickCount=0; if (window.clickCount == 0) { } nlapiPageInit('create'); nlapiSetFieldValue('nsbrowserenv', 'istop=' + (window==top ? 'T':'F')); document.page_is_resetting=false; } function checkMachineValid(mach) { if (document.forms[0].elements[mach+'valid'] != null && document.forms[0].elements[mach+'valid'].value=='F') { alert('One or more sublists had errors.'); return false;} return true; } function delete_record(url) { if (confirm('Are you sure you want to ' + (url == 'void.jsp' ? 'void' : 'delete') + ' this '+'record?')) { document.forms['main_form'].onsubmit=null;document.forms['main_form'].bonsubmitisnull=true setWindowChanged(window, false); return true; } else return false; } function appendMastersForQueryRequest(sublistId, queryFieldId, url){ var masters = null; if(sublistId == null){ masters = fmasters.main[queryFieldId]; } else if(sublistId != null){ masters = fmasters.sublists[sublistId] ? fmasters.sublists[sublistId][queryFieldId] : null; } if(masters && Array.isArray(masters)){ masters.forEach(function(master){ var dotIndex = master.indexOf('.'), sublistId, fieldId; if(dotIndex != -1){ sublistId = master.substring(0, dotIndex); fieldId = master.substring(dotIndex+1); }else{ fieldId = master }; var val = sublistId ? nlapiGetCurrentLineItemValue(sublistId, fieldId) : nlapiGetFieldValue(fieldId); url = addParamToURL(url, 'si_'+fieldId, val); }) } return url; } function NLEntryForm_querySelectText(fldname, machine, linenum, value) { if ( isValEmpty( value ) ) return null; var url = '/app/site/crm/externalcasepage.nl?staticunlayered=T&h=AACffht_FDfGORULG5yu4Dm5P1upcWJFpyM&compid=3895650&formid=2&subsidiary=-1&forminstance=0d9d93d9-8e1a-46f2-afe6-a7c4ea3bdc16'; var id = document.forms['main_form'].elements['id'].value; if ( !isValEmpty( id ) && id != -1 ) url = addParamToURL( url, 'id', id ); url = addParamToURL( url, 'q', fldname ); url = addParamToURL( url, 'si', value ); url = appendMastersForQueryRequest(machine, fldname, url); url = addParamToURL( url, 'lookuplabel', 'T' ); if ( !isValEmpty( machine ) ) url = addParamToURL( url, 'machine', machine ); var response = new NLXMLHttpRequest().requestURL( url ).getBody(); eval( response.replace(/^\s*<!--[\s\S]*?-->\s*$/gm, '') ); return selectmap; } function NLEntryForm_querySelectValue(fldname, machine, text) { if ( isValEmpty( text ) ) return null; var url = '/app/site/crm/externalcasepage.nl?staticunlayered=T&h=AACffht_FDfGORULG5yu4Dm5P1upcWJFpyM&compid=3895650&formid=2&subsidiary=-1&forminstance=0d9d93d9-8e1a-46f2-afe6-a7c4ea3bdc16'; var id = document.forms['main_form'].elements['id'].value; if ( !isValEmpty( id ) && id != -1 ) url = addParamToURL( url, 'id', id ); url = addParamToURL( url, 'q', fldname ); url = addParamToURL( url, 'st', encodeURIComponent( text ) ); url = appendMastersForQueryRequest(machine, fldname, url); url = addParamToURL( url, 'resolvelabel', 'T' ); if ( !isValEmpty( machine ) ) url = addParamToURL( url, 'machine', machine ); var response = new NLXMLHttpRequest().requestURL( url ).getBody(); eval( response.replace(/^\s*<!--[\s\S]*?-->\s*$/gm, '') ); return selectmap; } function Synccategory(fieldspec, linenum, onlySlaveSelect, mach, addlparams, callbacks) { } function Listcategory(fld, multi,addlparams) { var displayField = document.forms['main_form'].elements['category'];if (displayField != null) { if (typeof(displayField.isvalid) == 'undefined') { displayField.isvalid = true; } if (!displayField.isvalid) { displayField.isvalid = true; NS.form.setValid(true); displayField.value = ''; }}NLPopupSelect_displayLoadingDiv('category', false);var valueField = document.forms['main_form'].elements['category'];var serverUrl = '/app/site/crm/externalcasepage.nl?staticunlayered=T&h=AACffht_FDfGORULG5yu4Dm5P1upcWJFpyM&compid=3895650&formid=2&subsidiary=-1&forminstance=0d9d93d9-8e1a-46f2-afe6-a7c4ea3bdc16&q=category&l=T&t=main:category'+(multi ? '&multi=T' : '')+''+(addlparams?'&'+addlparams:'')+''; document.getElementById('server_commands').src=serverUrl;} var ftabs = new Array(); var ftypes = new Array(); var fparents = new Array(); var fmasters = {main:{}, sublists:{}}; ftypes['email']='email'; ftabs['email']='main'; ftypes['incomingmessage']='textarea'; ftabs['incomingmessage']='main'; ftypes['title']='text'; ftabs['title']='main'; ftypes['category']='select'; ftabs['category']='main'; ftypes['firstname']='text'; ftabs['firstname']='main'; ftypes['lastname']='text'; ftabs['lastname']='main'; fmasters.main = (Object.freeze) ? Object.freeze(fmasters.main) : fmasters.main; fmasters.sublists = (Object.freeze) ? Object.freeze(fmasters.sublists) : fmasters.sublists; fmasters = (Object.freeze) ? Object.freeze(fmasters) : fmasters; var fScriptIds = null; (function () {return this;}())._macro = {"macroMetadata":[]};if (Object.freeze) {(function deepFreeze(obj){Object.freeze(obj);for (var p in obj) {if (!obj.hasOwnProperty(p) || !(typeof obj[p] === 'object') || Object.isFrozen(obj[p])) { continue; }deepFreeze(obj[p]);}})(_macro);} window.nsDefaultContextObj={"role":"31","roleid":"online_form_user","rolecenter":"CUSTOMER","version":"2017.2","subsidiary":"1","environment":"PRODUCTION","contact":"0","name":"-System-","context":"userinterface","company":"3895650","location":"0","department":"0","user":"-4","email":"onlineformuser@3895650.com"}; function addShortcut() { nlOpenWindow('/core/pages/addShortcut.nl?label='+encodeURIComponent('Customer Enquiry')+'&taskid=null¶ms=h%3DAACffht_FDfGORULG5yu4Dm5P1upcWJFpyM%26compid%3D3895650%26formid%3D2%26subsidiary%3D-1%26forminstance%3D0d9d93d9-8e1a-46f2-afe6-a7c4ea3bdc16','addshortcut','scrollbars=no,width=450,height=250'); } function localEval(s) { return eval(s); } function page_init3() { document.forms['main_form'].elements['whence'].value = '/app/site/crm/externalcasepage.nl?compid=3895650&formid=2&h=AACffht_FDfGORULG5yu4Dm5P1upcWJFpyM'; document.forms['main_form'].elements['whence'].defaultValue='/app/site/crm/externalcasepage.nl?compid=3895650&formid=2&h=AACffht_FDfGORULG5yu4Dm5P1upcWJFpyM'; } </script><script type="text/javascript"> var vismachs = new Array(); var allmachs = new Array(); allmachs['main']=''; function loadClientModulesThenPageInit4() { fetchClientScripts(false); page_init4(); } function page_init2() { } function page_init4() { if (window.clickCount == 0) { } nlapiPageInit('create'); nlapiSetFieldValue('nsbrowserenv', 'istop=' + (window==top ? 'T':'F')); } function page_postInit() { } delete window._N_define </script></body></html>