From f7afca1829f8496509d10806439c37fcc1349135 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 29 Dec 2004 12:00:08 +0000 Subject: historical (immutable) invoice details about services and other history infrastructure --- FS/FS/h_svc_forward.pm | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 FS/FS/h_svc_forward.pm (limited to 'FS/FS/h_svc_forward.pm') diff --git a/FS/FS/h_svc_forward.pm b/FS/FS/h_svc_forward.pm new file mode 100644 index 0000000..231f9df --- /dev/null +++ b/FS/FS/h_svc_forward.pm @@ -0,0 +1,65 @@ +package FS::h_svc_forward; + +use strict; +use vars qw( @ISA ); +se FS::Record qw(qsearchs); +use FS::h_Common; +use FS::svc_forward; +use FS::h_svc_acct; + +@ISA = qw( FS::h_Common FS::svc_forward ); + +sub table { 'h_svc_forward' }; + +=head1 NAME + +FS::h_svc_forward - Historical mail forwarding alias objects + +=head1 SYNOPSIS + +=head1 METHODS + +=over 4 + +=item srcsvc_acct + +=cut + +sub srcsvc_acct { + my $self = shift; + qsearchs( 'h_svc_acct', + { 'svcnum' => $self->srcsvc }, + FS::h_svc_acct->sql_h_search(@_), + ); +} + +=item dstsvc_acct + +=cut + +sub dstsvc_acct { + my $self = shift; + qsearchs( 'h_svc_acct', + { 'svcnum' => $self->dstsvc }, + FS::h_svc_acct->sql_h_search(@_), + ); +} + +=back + +=head1 DESCRIPTION + +An FS::h_svc_forward object represents a historical mail forwarding alias. +FS::h_svc_forward inherits from FS::h_Common and FS::svc_forward. + +=head1 BUGS + +=head1 SEE ALSO + +L, L, L, schema.html from the base +documentation. + +=cut + +1; + -- cgit v1.1