% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
cust_main-bulk_change
cust_main-bulk_change [ -a agentnum ] [ -p NEW_PAYBY ] [ -t tagnum ] [ -k old_pkgpart:new_pkgpart,... ] [ -c reasonnum ] username <custnums.txt
Command-line tool to make bulk changes to a group of customers.
-a: new agentnum
-p: new payby, for example, CARD or DCRD
-t: tagnum to add if not present
-k: old_pkgpart:new_pkgpart, for example, 5:4. Multiple entries can be comma-separated.
-c: Cancel customer
-v: verbose
-E: input is customer emails, rather than customer numbers
user: Employee username