X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2Ftype_pkgs.pm;h=bf34e7cdaba6957bf40b4d2ab088d2272c2b5867;hb=f583418a23dfb001978d3abf8476670d5adb96af;hp=5b3b11c096c0c2aab2aaa96c3a3ddf6952b3a451;hpb=2041a9143fac20b79ead4a1ae01224dedf5b27c2;p=freeside.git diff --git a/FS/FS/type_pkgs.pm b/FS/FS/type_pkgs.pm index 5b3b11c09..bf34e7cda 100644 --- a/FS/FS/type_pkgs.pm +++ b/FS/FS/type_pkgs.pm @@ -35,6 +35,8 @@ FS::Record. The following fields are currently supported: =over 4 +=item typepkgnum - primary key + =item typenum - Agent type, see L =item pkgpart - Billing item definition, see L @@ -80,7 +82,8 @@ sub check { my $self = shift; my $error = - $self->ut_number('typenum') + $self->ut_numbern('typepkgnum') + || $self->ut_number('typenum') || $self->ut_number('pkgpart') ; return $error if $error; @@ -109,10 +112,6 @@ sub part_pkg { =back -=head1 VERSION - -$Id: type_pkgs.pm,v 1.3 2003-08-05 00:20:48 khoff Exp $ - =head1 BUGS =head1 SEE ALSO