X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Frate.pm;h=aef9d8bec3126e5c440d9dd8e626bffd9174186c;hb=edea94b6bd41a3fceac47267a3df3dc7fcf7c565;hp=4052807478e94b0e64db0591ac61d180a9694629;hpb=32072dbf59a054529f5304574c0f56f9567d14d0;p=freeside.git diff --git a/FS/FS/rate.pm b/FS/FS/rate.pm index 405280747..aef9d8bec 100644 --- a/FS/FS/rate.pm +++ b/FS/FS/rate.pm @@ -34,10 +34,18 @@ FS::Record. The following fields are currently supported: =over 4 -=item ratenum - primary key +=item ratenum + +primary key =item ratename +Rate name + +=item agentnum + +Optional agent (see L) for agent-virtualized rates. + =back =head1 METHODS @@ -253,15 +261,13 @@ and replace methods. =cut -# the check method should currently be supplied - FS::Record contains some -# data checking routines - sub check { my $self = shift; my $error = $self->ut_numbern('ratenum') || $self->ut_text('ratename') + #|| $self->ut_foreign_keyn('agentnum', 'agent', 'agentnum') ; return $error if $error;