not done yet
authorivan <ivan>
Wed, 6 Sep 2006 01:20:29 +0000 (01:20 +0000)
committerivan <ivan>
Wed, 6 Sep 2006 01:20:29 +0000 (01:20 +0000)
bin/breakdown-bill-applications [new file with mode: 0644]

diff --git a/bin/breakdown-bill-applications b/bin/breakdown-bill-applications
new file mode 100644 (file)
index 0000000..44c3e36
--- /dev/null
@@ -0,0 +1,25 @@
+#!/usr/bin/perl -w
+
+use strict;
+use FS::UID qw(adminsuidsetup dbh);
+use FS::Record qw( qsearch );
+use FS::cust_bill_pay;
+use FS::cust_credit_bill;
+
+$FS::CurrentUser::upgrade_hack = 1;
+adminsuidsetup(shift) or die "Usage: breakdown-bill-applications username\n";
+
+#quick and dirty conversion script if you have enough memory to throw at it
+
+my @tables = qw( cust_bill_pay cust_credit_bill );
+
+my @apps = ();
+foreach my $table {
+  push @apps, qsearch($table, 
+
+
+) {
+
+}
+
+foreach my $cust_bill_