projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(almost) everything for bug#375 - create export_svc table - part_svc to
[freeside.git]
/
FS
/
FS
/
part_svc.pm
diff --git
a/FS/FS/part_svc.pm
b/FS/FS/part_svc.pm
index
7ef996f
..
959a3f8
100644
(file)
--- a/
FS/FS/part_svc.pm
+++ b/
FS/FS/part_svc.pm
@@
-5,6
+5,7
@@
use vars qw( @ISA );
use FS::Record qw( qsearch qsearchs fields dbh );
use FS::part_svc_column;
use FS::part_export;
use FS::Record qw( qsearch qsearchs fields dbh );
use FS::part_svc_column;
use FS::part_export;
+use FS::export_svc;
@ISA = qw(FS::Record);
@ISA = qw(FS::Record);
@@
-316,15
+317,15
@@
sub all_part_svc_column {
sub part_export {
my $self = shift;
sub part_export {
my $self = shift;
- m
y %search = ( 'svcpart' => $self->svcpart );
-
qsearch('part_export', \%search
);
+ m
ap { qsearchs('part_export', { 'exportnum' => $_->exportnum } ) }
+
qsearch('export_svc', { 'svcpart' => $self->svcpart }
);
}
=back
=head1 VERSION
}
=back
=head1 VERSION
-$Id: part_svc.pm,v 1.1
2 2002-03-26 13:58:29
ivan Exp $
+$Id: part_svc.pm,v 1.1
3 2002-04-11 22:05:31
ivan Exp $
=head1 BUGS
=head1 BUGS
@@
-333,6
+334,8
@@
Delete is unimplemented.
The list of svc_* tables is hardcoded. When svc_acct_pop is renamed, this
should be fixed.
The list of svc_* tables is hardcoded. When svc_acct_pop is renamed, this
should be fixed.
+all_part_svc_column and part_export methods should be documented
+
=head1 SEE ALSO
L<FS::Record>, L<FS::part_svc_column>, L<FS::part_pkg>, L<FS::pkg_svc>,
=head1 SEE ALSO
L<FS::Record>, L<FS::part_svc_column>, L<FS::part_pkg>, L<FS::pkg_svc>,