4 use FS::UID qw( adminsuidsetup );
5 use FS::Record qw( qsearchs );
8 my $user = shift or &usage;
11 my $pkgnum = shift or &usage;
13 my $cust_pkg = qsearchs('cust_pkg', { 'pkgnum' => $pkgnum } )
14 or die "unknown pkgnum $pkgnum\n";
17 my $error = $cust_pkg->replace;
22 die "usage: cust_pkg-remove_setup employee_username pkgnum\n";