my ($tablename, $tablenum) = @m{'tablename', 'tablenum'};
if ( $object and $object->isa('FS::Record') ) {
$tablename = $object->table;
my ($tablename, $tablenum) = @m{'tablename', 'tablenum'};
if ( $object and $object->isa('FS::Record') ) {
$tablename = $object->table;