summaryrefslogtreecommitdiff
path: root/FS/FS/qual.pm
diff options
context:
space:
mode:
authorlevinse <levinse>2010-12-07 19:04:43 +0000
committerlevinse <levinse>2010-12-07 19:04:43 +0000
commitc58774a70c3326ad2ba5a7a38b174dfbd76a9f78 (patch)
tree0f07d6ce6fd140ea0985c5d066a8d620d13846dc /FS/FS/qual.pm
parent663b89d06a2c97fb0e7915ba409310fbefefea98 (diff)
-small svc_dsl UI and flow changes, RT7111
-finish basic qualifications, except prospect support, RT7111
Diffstat (limited to 'FS/FS/qual.pm')
-rw-r--r--FS/FS/qual.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/FS/FS/qual.pm b/FS/FS/qual.pm
index 4859b77..1bc3397 100644
--- a/FS/FS/qual.pm
+++ b/FS/FS/qual.pm
@@ -127,6 +127,15 @@ sub check {
$self->SUPER::check;
}
+sub export {
+ my $self = shift;
+ if ( $self->exportnum ) {
+ return qsearchs('part_export', { exportnum => $self->exportnum } )
+ or die 'invalid exportnum';
+ }
+ '';
+}
+
sub location {
my $self = shift;
if ( $self->locationnum ) {