FS::svc_Common - Object method for all svc_ records
use FS::svc_Common;
@ISA
= qw(
FS::svc_Common );
FS::svc_Common is intended as a base class for table-specific classes to inherit from, i.e. FS::svc_acct. FS::svc_Common inherits from FS::Record.
Adds this record to the database. If there is an error, returns the error, otherwise returns false.
The additional fields pkgnum and svcpart (see FS::cust_svc) should be defined. An FS::cust_svc record will be created and inserted.
Deletes this account from the database. If there is an error, returns the error, otherwise returns false.
The corresponding FS::cust_svc record will be deleted as well.
Sets any fixed fields for this service (see FS::part_svc). If there is an error, returns the error, otherwise returns the
FS::part_svc object (use ref()
to test the return). Usually
called by the check method.
Sets all fields to their defaults (see FS::part_svc), overriding their current values. If there is an error, returns the
error, otherwise returns the FS::part_svc object (use ref()
to
test the return).
Stubs - return false (no error) so derived classes don't need to define these methods. Called by the cancel method of FS::cust_pkg (see FS::cust_pkg).
$Id: svc_Common.html,v 1.2 2000-03-03 18:22:43 ivan Exp $
The setfixed method return value.
The new method should set defaults from part_svc (like the check method sets fixed values)?
FS::Record, FS::cust_svc, FS::part_svc, FS::cust_pkg, schema.html from the base documentation.