% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
FS::svc_dsl - Object methods for svc_dsl records
use FS::svc_dsl;
$record = new FS::svc_dsl \%hash;
$record = new FS::svc_dsl { 'column' => 'value' };
$error = $record->insert;
$error = $new_record->replace($old_record);
$error = $record->delete;
$error = $record->check;
$error = $record->suspend;
$error = $record->unsuspend;
$error = $record->cancel;
An FS::svc_dsl object represents a DSL service. FS::svc_dsl inherits from FS::svc_Common. The following fields are currently supported:
Primary key (assigned automatcially for new DSL))
Time DSL order pushed to vendor/telco, if applicable
Desired Due Date
Due Date
Vendor/telco DSL order #
Vendor/telco DSL order type (e.g. (M)ove, (A)dd, (C)hange, (D)elete, or similar)
Vendor/telco DSL order status (e.g. (N)ew, (A)ssigned, (R)ejected, (M)revised, (C)ompleted, (X)cancelled, or similar)
End-user first name
End-user last name
End-user company name
DSL Telephone Number
Gateway access number, if different
Loop-type - vendor/telco-specific
Local Voice Provider's name
Circuit #
Rate Band
Ikano-specific fields, do not use otherwise
if outsourced PPPoE/RADIUS, username
if outsourced PPPoE/RADIUS, password
Order is monitored (auto-pull/sync), either Y or blank
time of last data pull from vendor/telco
Creates a new DSL. To add the DSL to the database, see "insert".
Note that this stores the hash reference, not a distinct copy of the hash it points to. You can ask the object for a copy with the hash method.
Returns the set of FS::dsl_notes associated with this service
Adds this record to the database. If there is an error, returns the error, otherwise returns false.
Delete this record from the database.
Replaces the OLD_RECORD with this one in the database. If there is an error, returns the error, otherwise returns false.
Checks all fields to make sure this is a valid DSL. If there is an error, returns the error, otherwise returns false. Called by the insert and replace methods.
Returns the MAC addresses associated with this DSL service, as FS::dsl_device objects.
FS::svc_Common, edit/part_svc.cgi from an installed web interface, export.html from the base documentation, FS::Record, FS::Conf, FS::cust_svc, FS::part_svc, FS::cust_pkg, FS::queue, freeside-queued, schema.html from the base documentation.