summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-08-30 09:52:48 -0700
committerIvan Kohler <ivan@freeside.biz>2016-08-30 09:52:48 -0700
commit72e8c3cf0a7289402708742a82d7aff74f93055d (patch)
tree823f79127cb2cbe64f0074ad9e827b18d1fa15b7 /FS
parentb564fba4468036e08f537189092c73f667dd20df (diff)
doc
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Schema.pm3
-rw-r--r--FS/FS/cust_location.pm32
2 files changed, 32 insertions, 3 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 8a04106..31db1d3 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -2055,9 +2055,12 @@ sub tables_hashref {
'district', 'varchar', 'NULL', 20, '', '',
'censustract', 'varchar', 'NULL', 20, '', '',
'censusyear', 'char', 'NULL', 4, '', '',
+
+ #used only in... DSL qualification? .CA DSL qualification?
'location_type', 'varchar', 'NULL', 20, '', '',
'location_number', 'varchar', 'NULL', 20, '', '',
'location_kind', 'char', 'NULL', 1, '', '',
+
'incorporated', 'char', 'NULL', 1, '', '',
'disabled', 'char', 'NULL', 1, '', '',
],
diff --git a/FS/FS/cust_location.pm b/FS/FS/cust_location.pm
index fdc2cf8..5a144b8 100644
--- a/FS/FS/cust_location.pm
+++ b/FS/FS/cust_location.pm
@@ -44,8 +44,9 @@ FS::cust_location - Object methods for cust_location records
=head1 DESCRIPTION
-An FS::cust_location object represents a customer location. FS::cust_location
-inherits from FS::Record. The following fields are currently supported:
+An FS::cust_location object represents a customer (or prospect) location.
+FS::cust_location inherits from FS::Record. The following fields are currently
+supported:
=over 4
@@ -55,7 +56,15 @@ primary key
=item custnum
-custnum
+Customer (see L<FS::cust_main>).
+
+=item prospectnum
+
+Prospect (see L<FS::prospect_main>).
+
+=item locationname
+
+Optional location name.
=item address1
@@ -89,6 +98,23 @@ Country (see L<FS::cust_main_county>)
Geocode
+=item latitude
+
+=item longitude
+
+=item coord_auto
+
+Flag indicating whether coordinates were obtained automatically or manually
+entered
+
+=item addr_clean
+
+Flag indicating whether address has been normalized
+
+=item censustract
+
+=item censusyear
+
=item district
Tax district code (optional)