my $error =
$self->ut_numbern('optionnum')
- || $self->ut_number('exportnum')
+ || $self->ut_foreign_key('exportnum', 'part_export', 'exportnum')
|| $self->ut_alpha('optionname')
- || $self->ut_textn('optionvalue')
+ || $self->ut_anything('optionvalue')
;
return $error if $error;
#check options & values?
- ''; #no error
+ $self->SUPER::check;
}
=back