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

<% &ntable("#cccccc", 2) %> <% 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') %

Extended file format is CSV, with the following field order: agent_custid, refnum<%$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, _password

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

<%$req%> Required fields

Field information:
<% include('/elements/footer.html') %> <%once> my $req = qq!*!; <%init> die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Import');