1 package FS::svc_realestate;
2 use base qw(FS::svc_Common);
8 use FS::Record qw(qsearchs qsearch dbh);
10 $FS::UID::callback{'FS::svc_realestate'} = sub {
16 FS::svc_realestate - Object methods for svc_realestate records
24 A FS::svc_realestate object represents a billable real estate trasnaction,
25 such as renting a home or office.
27 FS::svc_realestate inherits from FS::svc_Common. The following fields are
32 =item svcnum - primary key
42 Instantiates a new svc_realestate object.
47 name => 'Real estate',
48 name_plural => 'Real estate services',
49 longname_plural => 'Real estate services',
50 display_weight => 100,
54 description => 'Descriptive label',
55 property => 'Real estate property',
59 sub table {'svc_realestate'};
63 I have an unfounded suspicion this method serves no purpose in this context
67 sub search_sql {die "search_sql called on FS::svc_realestate"}
71 Adds this record to the database. If there is an error, returns the error,
72 otherwise returns false.
76 Delete this record from the database.
78 =item replace OLD_RECORD
80 Replaces the OLD_RECORD with this one in the database. If there is an error,
81 returns the error, otherwise returns false.
85 Checks all fields to make sure this is a valid record. If there is
86 an error, returns the error, otherwise returns false. Called by the insert
95 L<FS::Record>, schema.html from the base documentation.