[freeside-commits] freeside/bin all-postal-no-email,NONE,1.1.2.2
Ivan,,,
ivan at wavetail.420.am
Fri Jun 8 16:21:21 PDT 2007
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail:/tmp/cvs-serv22817
Added Files:
Tag: FREESIDE_1_7_BRANCH
all-postal-no-email
Log Message:
adding quick script to move all customers to postal billing only for skycatcher
--- NEW FILE: all-postal-no-email ---
#!/usr/bin/perl -w
use strict;
use FS::UID qw(adminsuidsetup);
use FS::Record qw(qsearch);
use FS::cust_main;
my $user = shift or die &usage;
adminsuidsetup $user;
foreach my $cust_main ( qsearch( 'cust_main', {} ) ) {
print $cust_main->custnum. "\n";
$cust_main->invoicing_list( [ 'POST' ] );
}
sub usage {
die "Usage:\n\n all-postal-no-email user\n";
}
More information about the freeside-commits
mailing list