use strict;
use FS::UID qw(dbh);
+use FS::cust_main_county;
use FS::upgrade_journal;
# some kind of common ancestor with cust_bill_pkg_tax_location would make sense
=cut
+# do not remove; this can't be autogenerated
+
+sub cust_main_county {
+ my $self = shift;
+ if ( $self->taxtype eq 'FS::cust_main_county' ) {
+ return FS::cust_main_county->by_key($self->taxnum);
+ }
+ '';
+}
+
sub _upgrade_data {
my $class = shift;