communigate provisioning phase 2: Domain:Account Defaults:Settings: RulesAllowed...
[freeside.git] / FS / FS / part_export_option.pm
index 61ea956..e759404 100644 (file)
@@ -104,9 +104,9 @@ sub check {
 
   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;
 
@@ -115,7 +115,7 @@ sub check {
 
   #check options & values?
 
-  ''; #no error
+  $self->SUPER::check;
 }
 
 =back