% 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::state - Object methods for state/province records
use FS::state;
$record = new FS::state \%hash;
$record = new FS::state { 'column' => 'value' };
$error = $record->insert;
$error = $new_record->replace($old_record);
$error = $record->delete;
$error = $record->check;
An FS::state object represents a state, province, or other top-level subdivision of a sovereign nation. FS::state inherits from FS::Record. The following fields are currently supported:
primary key
two-letter country code
state code/abbreviation/name (as used in cust_location.state)
FIPS 10-4 code (not including country code)
Hey! The above document had some coding errors, which are explained below:
=back without =over