projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#38881: BILL illegal payby in 4.x [update_payby]
[freeside.git]
/
FS
/
FS
/
part_export_option.pm
diff --git
a/FS/FS/part_export_option.pm
b/FS/FS/part_export_option.pm
index
4ce70b4
..
17bcf00
100644
(file)
--- a/
FS/FS/part_export_option.pm
+++ b/
FS/FS/part_export_option.pm
@@
-1,11
+1,8
@@
package FS::part_export_option;
package FS::part_export_option;
+use base qw(FS::Record);
use strict;
use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-use FS::part_export;
-
-@ISA = qw(FS::Record);
+use FS::Record qw( qsearchs ); #qw( qsearch qsearchs );
=head1 NAME
=head1 NAME
@@
-38,9
+35,9
@@
currently supported:
=item exportnum - export (see L<FS::part_export>)
=item exportnum - export (see L<FS::part_export>)
-=item option - option name
+=item option
name
- option name
-=item op
e
ionvalue - option value
+=item op
t
ionvalue - option value
=back
=back
@@
-104,9
+101,9
@@
sub check {
my $error =
$self->ut_numbern('optionnum')
my $error =
$self->ut_numbern('optionnum')
- || $self->ut_
number(
'exportnum')
- || $self->ut_alpha('option')
- || $self->ut_
textn
('optionvalue')
+ || $self->ut_
foreign_key('exportnum', 'part_export',
'exportnum')
+ || $self->ut_alpha('option
name
')
+ || $self->ut_
anything
('optionvalue')
;
return $error if $error;
;
return $error if $error;
@@
-115,7
+112,7
@@
sub check {
#check options & values?
#check options & values?
- ''; #no error
+ $self->SUPER::check;
}
=back
}
=back