<% include("/elements/header.html",'Batch Customer Import') %>
Import a CSV file containing customer records.

Extended file format is CSV, with the following field order: agent_custid, refnum[1]<%$req%>, last<%$req%>, first<%$req%>, address1<%$req%>, address2, city<%$req%>, state<%$req%>, zip<%$req%>, country, daytime, night, ship_last, ship_first, ship_address1, ship_address2, ship_city, ship_state, ship_zip, ship_country, payinfo<%$req%>, paycvv, paydate<%$req%>, invoicing_list, pkgpart, username[2], _password[2]

<%$req%> Required fields

[1] This field has special treatment upon import: If a string is passed instead of an integer, the string is searched for and if necessary auto-created in the target table.

[2] username and _password are required if pkgpart is specified.

<% &ntable("#cccccc") %> <% include('/elements/tr-select-agent.html', #'curr_value' => '', #$agentnum, 'label' => "Agent", 'empty_label' => 'Select agent', ) %> Format CSV filename % #include('/elements/tr-select-part_referral.html') %

<% include('/elements/footer.html') %> <%once> my $req = qq!*!;