[freeside-commits] freeside/bin cust_main-bill_now,NONE,1.2.2.2
Ivan,,,
ivan at wavetail.420.am
Thu Aug 11 11:24:50 PDT 2011
- Previous message: [freeside-commits] freeside/httemplate/elements tr-select-cust-part_pkg.html, 1.2.4.1, 1.2.4.2 order_pkg.js, 1.1.2.2, 1.1.2.3 select-part_pkg.html, 1.7, 1.7.4.1
- Next message: [freeside-commits] freeside/FS/FS/part_pkg bulk_simple.pm, NONE, 1.1 bulk_Common.pm, NONE, 1.1 bulk.pm, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail.420.am:/tmp/cvs-serv21626
Added Files:
Tag: FREESIDE_2_3_BRANCH
cust_main-bill_now
Log Message:
adding
--- NEW FILE: cust_main-bill_now ---
#!/usr/bin/perl -w
use strict;
use FS::UID qw( adminsuidsetup );
#use FS::Schema qw( dbdef );
use FS::Record qw(qsearchs);
use FS::cust_main;
my $user = shift or die &usage;
adminsuidsetup($user);
my $custnum = shift or die &usage;
my $cust_main = qsearchs('cust_main', { 'custnum' => $custnum } )
or die "unknown custnum $custnum\n";
$cust_main->bill_and_collect( debug=>2, check_freq=>'1d' );
sub usage {
die "Usage:\n cust_main-bill_now user custnum\n";
}
1;
- Previous message: [freeside-commits] freeside/httemplate/elements tr-select-cust-part_pkg.html, 1.2.4.1, 1.2.4.2 order_pkg.js, 1.1.2.2, 1.1.2.3 select-part_pkg.html, 1.7, 1.7.4.1
- Next message: [freeside-commits] freeside/FS/FS/part_pkg bulk_simple.pm, NONE, 1.1 bulk_Common.pm, NONE, 1.1 bulk.pm, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list