X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htdocs%2Fdocs%2Fman%2FFS%2Fpkg_svc.html;fp=htdocs%2Fdocs%2Fman%2FFS%2Fpkg_svc.html;h=31592d4bda4ab2347fc03709ca298bae1110f718;hp=6c8af12c4dc0108cb0053ffeba43d651f3ae916c;hb=f3235d39d083518d47f21cd5585e5f9a13070763;hpb=ece31063b782031e21ba1f57476afab555af5363 diff --git a/htdocs/docs/man/FS/pkg_svc.html b/htdocs/docs/man/FS/pkg_svc.html index 6c8af12c4..31592d4bd 100644 --- a/htdocs/docs/man/FS/pkg_svc.html +++ b/htdocs/docs/man/FS/pkg_svc.html @@ -1,124 +1,114 @@
-
-FS::pkg_svc - Object methods for pkg_svc records - +
FS::pkg_svc - Object methods for pkg_svc records
-
use FS::pkg_svc; --
-
$record = new FS::pkg_svc \%hash; - $record = new FS::pkg_svc { 'column' => 'value' }; --
-
$error = $record->insert; --
-
$error = $new_record->replace($old_record); --
-
$error = $record->delete; --
-
$error = $record->check; --
-
$part_pkg = $record->part_pkg; --
-
$part_svc = $record->part_svc; -+
+ use FS::pkg_svc;+
+ $record = new FS::pkg_svc \%hash; + $record = new FS::pkg_svc { 'column' => 'value' };+
+ $error = $record->insert;+
+ $error = $new_record->replace($old_record);+
+ $error = $record->delete;+
+ $error = $record->check;+
+ $part_pkg = $record->part_pkg;+
+ $part_svc = $record->part_svc;
-An FS::pkg_svc record links a billing item definition (see FS::part_pkg) to a service definition (see FS::part_svc). FS::pkg_svc inherits from FS::Record. The following fields are currently -supported: - +
An FS::pkg_svc record links a billing item definition (see the FS::part_pkg manpage) to +a service definition (see the FS::part_svc manpage). FS::pkg_svc inherits from +FS::Record. The following fields are currently supported:
-Create a new record. To add the record to the database, see insert. - -
-Adds this record to the database. If there is an error, returns the error, +
-Deletes this record from the database. If there is an error, returns the +
+-Replaces OLD_RECORD with this one in the database. If there is an error, +
+-Checks all fields to make sure this is a valid record. If there is an -error, returns the error, otherwise returns false. Called by the insert and -replace methods. - -
-Returns the FS::part_pkg object (see FS::part_pkg). - -
-Returns the FS::part_svc object (see FS::part_svc). - -
-$Id: pkg_svc.html,v 1.2 2000-03-03 18:22:43 ivan Exp $ - +
$Id: pkg_svc.html,v 1.3 2001-04-23 12:40:31 ivan Exp $
-FS::Record, FS::part_pkg, FS::part_svc, schema.html from the base documentation. +
the FS::Record manpage, the FS::part_pkg manpage, the FS::part_svc manpage, schema.html from the base +documentation.