% 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::part_pop_local - Object methods for part_pop_local records
use FS::part_pop_local;
$record = new FS::part_pop_local \%hash;
$record = new FS::part_pop_local { 'column' => 'value' };
$error = $record->insert;
$error = $new_record->replace($old_record);
$error = $record->delete;
$error = $record->check;
An FS::part_pop_local object represents a local call area. Each FS::part_pop_local record maps a NPA/NXX (area code and exchange) to the POP (see FS::svc_acct_pop) which is a local call. FS::part_pop_local inherits from FS::Record. The following fields are currently supported:
Creates a new point of presence (if only it were that easy!). To add the point of presence to the database, see "insert".
Adds this point of presence to the database. If there is an error, returns the error, otherwise returns false.
Removes this point of presence from the database.
Replaces 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 point of presence. If there is an error, returns the error, otherwise returns false. Called by the insert and replace methods.
US/CA-centric.
FS::Record, FS::svc_acct_pop, schema.html from the base documentation.