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 - + +

-

NAME

-

-FS::pkg_svc - Object methods for pkg_svc records - +

NAME

+

FS::pkg_svc - Object methods for pkg_svc records


-

SYNOPSIS

-

-

  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;
-
+

SYNOPSIS

+
+  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;


-

DESCRIPTION

-

-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: - +

DESCRIPTION

+

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:

-
pkgpart - Billing item definition (see FS::part_pkg)
-
svcpart - Service definition (see FS::part_svc)
-
quantity - Quantity of this service definition that this billing item -definition includes
+
pkgpart - Billing item definition (see the FS::part_pkg manpage)
+
+
svcpart - Service definition (see the FS::part_svc manpage)
+
+
quantity - Quantity of this service definition that this billing item +definition includes
+


-

METHODS

+

METHODS

-
new HASHREF
-

-Create a new record. To add the record to the database, see insert. - -

insert
-

-Adds this record to the database. If there is an error, returns the error, +

new HASHREF
+
+Create a new record. To add the record to the database, see insert. +

+
insert
+
+Adds this record to the database. If there is an error, returns the error, otherwise returns false. - -
delete
-

-Deletes this record from the database. If there is an error, returns the +

+
delete
+
+Deletes this record from the database. If there is an error, returns the error, otherwise returns false. - -
replace OLD_RECORD
-

-Replaces OLD_RECORD with this one in the database. If there is an error, +

+
replace OLD_RECORD
+
+Replaces OLD_RECORD with this one in the database. If there is an error, returns the error, otherwise returns false. - -
check
-

-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. - -

part_pkg
-

-Returns the FS::part_pkg object (see FS::part_pkg). - -

part_svc
-

-Returns the FS::part_svc object (see FS::part_svc). - -

+

+
check
+
+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. +

+
part_pkg
+
+Returns the FS::part_pkg object (see the FS::part_pkg manpage). +

+
part_svc
+
+Returns the FS::part_svc object (see the FS::part_svc manpage). +


-

VERSION

-

-$Id: pkg_svc.html,v 1.2 2000-03-03 18:22:43 ivan Exp $ - +

VERSION

+

$Id: pkg_svc.html,v 1.3 2001-04-23 12:40:31 ivan Exp $


-

BUGS

+

BUGS


-

SEE ALSO

-

-FS::Record, FS::part_pkg, FS::part_svc, schema.html from the base documentation. +

SEE ALSO

+

the FS::Record manpage, the FS::part_pkg manpage, the FS::part_svc manpage, schema.html from the base +documentation.