summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-08-30 09:52:44 -0700
committerIvan Kohler <ivan@freeside.biz>2016-08-30 09:52:44 -0700
commit0abdebedb22597b1e9c0b3e1c0fc91a5e7116388 (patch)
treee7fd3d5e409476dc6ac7b8472265c53398aa7602
parentc348008de567bbede345c2fa861c4d3694f8b1d3 (diff)
doc
-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 a74de4c0d..4ff9db211 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -2049,9 +2049,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 fdc2cf8da..5a144b8dc 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)