1 <% include("/elements/header.html",'Batch Customer Note Import') %>
3 <FORM ACTION="cust_main_note-import.cgi" METHOD="post" ENCTYPE="multipart/form-data">
5 Import a CSV file containing customer notes records.
8 File format is CSV, with the following field order: <i>[custnum,] last, first, notefield1, notefield2, notefield3...</i>
10 The optional custnum field is identified by being numeric.
11 Anything after the character sequence #! is ignored. If a notefield starts
12 like <i>classnum|</i>, with a number followed by the pipe symbol (|), then it
13 the note will be imported into that note class.
16 <% &ntable("#cccccc") %>
18 <% include('/elements/tr-select-agent.html',
19 #'curr_value' => '', #$agentnum,
20 'label' => "<B>Agent</B>",
21 'empty_label' => 'Select agent',
26 <TH ALIGN="right">CSV filename</TH>
27 <TD><INPUT TYPE="file" NAME="csvfile"></TD>
30 <TH ALIGN="right">Include additional possibilites when exact match is found</TH>
31 <TD><INPUT TYPE="checkbox" NAME="fuzzies"></TD>
35 <TH ALIGN="right">custnum is reseller's customer number</TH>
36 <TD><INPUT TYPE="checkbox" NAME="use_agent_custid"></TD>
42 <INPUT TYPE="submit" VALUE="Load and match">
45 <% include('/elements/footer.html') %>
50 unless $FS::CurrentUser::CurrentUser->access_right('Import');