<% 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_realestate

NAME

FS::svc_realestate - Object methods for svc_realestate records

SYNOPSIS

  {...} TODO

DESCRIPTION

A FS::svc_realestate object represents a billable real estate trasnaction, such as renting a home or office.

FS::svc_realestate inherits from FS::svc_Common. The following fields are currently supported:

svcnum - primary key

METHODS

new HASHREF

Instantiates a new svc_realestate object.

label

Returns a label formatted as: <location_title> <unit_title>

realestate_unit

Returns associated FS::realestate_unit

realestate_location

Returns associated FS::realestate_location

cust_svc

Returns associated FS::cust_svc

search_sql

I have an unfounded suspicion this method serves no purpose in this context

insert

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

delete

Delete this record from the database.

replace OLD_RECORD

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

BUGS

SEE ALSO

FS::Record, schema.html from the base documentation.

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 162:

=back doesn't take any parameters, but you said =back 4

<% include ('/elements/footer.html' ) %>