summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2019-02-16 20:20:54 -0500
committerMitch Jackson <mitch@freeside.biz>2019-02-16 20:25:35 -0500
commit772656864b377bbd2ef2febd40891ef1206b5be0 (patch)
treea97981fda3131cda6e8ef412fa5a2616cf6d45c7 /FS
parent70a5e47201ffd625d0b146af9ce407d285619690 (diff)
RT# 81961 Repair broken links in POD documentation
- Update many links - chmod a+x scripts in FS/bin, so Pod::Simple::HTMLBatch will parse them for POD documentation
Diffstat (limited to 'FS')
-rw-r--r--FS/FS.pm12
-rw-r--r--FS/FS/ClientAPI.pm14
-rw-r--r--FS/FS/Cron/upload.pm2
-rw-r--r--FS/FS/PagedSearch.pm2
-rw-r--r--FS/FS/Template_Mixin.pm2
-rw-r--r--FS/FS/UI/Web.pm4
-rw-r--r--FS/FS/cust_bill.pm6
-rw-r--r--FS/FS/cust_bill_pkg_void.pm2
-rw-r--r--FS/FS/cust_bill_void.pm4
-rw-r--r--FS/FS/cust_credit.pm4
-rw-r--r--FS/FS/cust_credit_bill_pkg.pm2
-rw-r--r--FS/FS/cust_main.pm6
-rw-r--r--FS/FS/cust_main_Mixin.pm2
-rw-r--r--FS/FS/cust_pay_batch.pm6
-rw-r--r--FS/FS/cust_pay_void.pm2
-rw-r--r--FS/FS/cust_payby.pm4
-rw-r--r--FS/FS/cust_pkg.pm10
-rw-r--r--FS/FS/cust_tax_exempt_pkg.pm2
-rw-r--r--FS/FS/hardware_type.pm2
-rw-r--r--FS/FS/inventory_item.pm2
-rw-r--r--FS/FS/legacy_cust_bill.pm2
-rw-r--r--FS/FS/legacy_cust_history.pm2
-rw-r--r--FS/FS/part_event.pm2
-rw-r--r--FS/FS/part_pkg.pm6
-rw-r--r--FS/FS/part_svc.pm2
-rw-r--r--FS/FS/radius_usergroup.pm2
-rw-r--r--FS/FS/sales.pm2
-rw-r--r--FS/FS/svc_Parent_Mixin.pm2
-rw-r--r--FS/FS/svc_acct.pm2
-rw-r--r--FS/FS/type_pkgs.pm2
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-addoutsource0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-addoutsourceuser0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-adduser0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-backup0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-cdr-freeswitch0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-cdr-portaone-import0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-cdrd0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-cdrrated0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-cdrrewrited0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-censustract-update0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-check0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-deloutsource0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-deloutsourceuser0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-ipifony-download0
-rwxr-xr-xFS/bin/freeside-paymentech-download2
-rwxr-xr-xFS/bin/freeside-paymentech-upload2
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-pingd0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-prepaidd0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-queued0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-radgroup0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-reexport0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-selfservice-server6
-rwxr-xr-xFS/bin/freeside-selfservice-xmlrpcd6
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-setinvoice0
-rwxr-xr-xFS/bin/freeside-setup6
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-sqlradius-radacctd0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-sqlradius-seconds0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-tax-district-update0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-tax-location-update0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-torrus-srvderive0
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-xmlrpcd6
-rwxr-xr-x[-rw-r--r--]FS/bin/freeside-yori0
62 files changed, 87 insertions, 55 deletions
diff --git a/FS/FS.pm b/FS/FS.pm
index aed0c5f5c..16845fac1 100644
--- a/FS/FS.pm
+++ b/FS/FS.pm
@@ -53,7 +53,7 @@ L<FS::Report::Table> - Report data objects
L<FS::Report::Table::Monthly> - Report data objects
-L<FS::XMLRPC> - Backend XML::RPC server
+L<FS::ClientAPI_XMLRPC> - Backend XML::RPC server
L<FS::Misc> - Miscellaneous subroutines
@@ -304,7 +304,7 @@ L<FS::rate_detail> - Rate plan detail for call billing
L<FS::rate_tier> - Rate tiers for call billing
-L<FS::rate_tier_details> - Rater tier details for call billing
+L<FS::rate_tier_detail> - Rater tier details for call billing
L<FS::usage_class> - Usage class class
@@ -546,8 +546,6 @@ L<FS::UI::bytecount> - Byte counter user-interface class
L<freeside-adduser> - Command line interface to add (freeside) users.
-L<freeside-deluser> - Command line interface to delete (freeside) users.
-
L<freeside-dbdef-create> - Recreate database schema cache
L<freeside-setup> - Create new database
@@ -564,8 +562,6 @@ L<freeside-daily> - Run daily billing and collection events.
L<freeside-monthly> - Run monthly billing and invoice collection events.
-L<freeside-expiration-alerter> - Emails notifications of credit card expirations.
-
=head3 Cron (payment batches)
L<freeside-eftca-download> - Download EFT Canada batch results
@@ -592,8 +588,6 @@ L<freeside-phonenum_list> - List all phone numbers in the system
=head3 Misc. Tools (taking actions)
-L<freeside-fetch> - Send a freeside page to a list of employees.
-
L<freeside-prune-applications> - Removes stray applications of credit, payment to bills, refunds, etc.
=head3 Services
@@ -624,7 +618,7 @@ L<freeside-prepaidd> - Real-time daemon for prepaid packages
L<freeside-queued> - Job queue daemon
-L<freeside-selvservice-server> - Self-service server
+L<freeside-selfservice-server> - Self-service server
L<freeside-selfservice-xmlrpcd> - Self-service XML-RPC server
diff --git a/FS/FS/ClientAPI.pm b/FS/FS/ClientAPI.pm
index 1fea28c67..2a880687e 100644
--- a/FS/FS/ClientAPI.pm
+++ b/FS/FS/ClientAPI.pm
@@ -11,6 +11,16 @@ $me = '[FS::ClientAPI]';
%handler = ();
+=head1 NAME
+
+FS::ClientAPI
+
+=item load_clientapi_modules
+
+=cut
+
+=cut
+
sub load_clientapi_modules {
#find modules
@@ -31,6 +41,10 @@ sub load_clientapi_modules {
}
+=item dispatch [ name ]
+
+=cut
+
sub dispatch {
my ( $self, $name ) = ( shift, shift );
$name =~ s(/)(::)g;
diff --git a/FS/FS/Cron/upload.pm b/FS/FS/Cron/upload.pm
index 6a4d153f8..691170af9 100644
--- a/FS/FS/Cron/upload.pm
+++ b/FS/FS/Cron/upload.pm
@@ -474,7 +474,7 @@ sub spool_upload {
Retrieves the config value named CONFIG, parses it as a Text::Template,
extracts "to" and "subject" headers, and returns a hash that can be passed
-to L<FS::Misc::send_email>.
+to L<FS::Misc/send_email>.
PARAMS is a hashref to be passed to C<fill_in>. It must contain
'agentnum' to look up the per-agent config.
diff --git a/FS/FS/PagedSearch.pm b/FS/FS/PagedSearch.pm
index e740965ea..a1cd06818 100644
--- a/FS/FS/PagedSearch.pm
+++ b/FS/FS/PagedSearch.pm
@@ -31,7 +31,7 @@ while ( my $row = $search->fetch ) {
=item psearch ARGUMENTS
-A wrapper around L<FS::Record::qsearch>. Accepts all the same arguments
+A wrapper around L<FS::Record/qsearch>. Accepts all the same arguments
as qsearch, except for the arrayref union query mode, and returns an
FS::PagedSearch object to access the rows of the query one at a time.
If the query doesn't contain an ORDER BY clause already, it will be ordered
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index c6a9b9fd2..953c6e17b 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -2194,7 +2194,7 @@ notice name instead of "Invoice", optional
=back
-Returns an argument list to be passed to L<FS::Misc::send_email>.
+Returns an argument list to be passed to L<FS::Misc/send_email>.
=cut
diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm
index 8a1d50236..9b1c16f97 100644
--- a/FS/FS/UI/Web.pm
+++ b/FS/FS/UI/Web.pm
@@ -471,9 +471,9 @@ sub cust_sql_fields {
=item join_cust_main [ TABLE[.CUSTNUM] ] [ LOCATION_TABLE[.LOCATIONNUM] ]
Returns an SQL join phrase for the FROM clause so that the fields listed
-in L<cust_sql_fields> will be available. Currently joins to cust_main
+in L</cust_sql_fields> will be available. Currently joins to cust_main
itself, as well as cust_location (under the aliases 'bill_location' and
-'ship_location') if address fields are needed. L<cust_header()> should have
+'ship_location') if address fields are needed. L</cust_header> should have
been called already.
All of these will be left joins; if you want to exclude rows with no linked
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 7158cb285..459206b1a 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -891,7 +891,7 @@ sub owed {
Returns the amount to be displayed as the "Balance Due" on this
invoice. Amount returned depends on conf flags for invoicing
-See L<FS::cust_bill::owed> for the true amount currently owed
+See L<FS::cust_bill/owed> for the true amount currently owed
=cut
@@ -1372,7 +1372,7 @@ sub ftp_invoice {
=item spool_invoice [ TEMPLATENAME ]
-Spools this invoice data (see L<FS::spool_csv>)
+Spools this invoice data (see L<FS::cust_bill/spool_csv>)
TEMPLATENAME is unused?
@@ -3830,7 +3830,7 @@ The delete method.
=head1 SEE ALSO
L<FS::Record>, L<FS::cust_main>, L<FS::cust_bill_pay>, L<FS::cust_pay>,
-L<FS::cust_bill_pkg>, L<FS::cust_bill_credit>, schema.html from the base
+L<FS::cust_bill_pkg>, L<FS::cust_credit>, schema.html from the base
documentation.
=cut
diff --git a/FS/FS/cust_bill_pkg_void.pm b/FS/FS/cust_bill_pkg_void.pm
index 2cbfa02d3..883869b21 100644
--- a/FS/FS/cust_bill_pkg_void.pm
+++ b/FS/FS/cust_bill_pkg_void.pm
@@ -115,7 +115,7 @@ freeform string (deprecated)
=item reasonnum
-reason for voiding the payment (see L<FS::reson>)
+reason for voiding the payment (see L<FS::reason>)
=back
diff --git a/FS/FS/cust_bill_void.pm b/FS/FS/cust_bill_void.pm
index 43b295014..60abc732a 100644
--- a/FS/FS/cust_bill_void.pm
+++ b/FS/FS/cust_bill_void.pm
@@ -93,7 +93,7 @@ freeform string (deprecated)
=item reasonnum
-reason for voiding the payment (see L<FS::reson>)
+reason for voiding the payment (see L<FS::reason>)
=item void_usernum
@@ -292,7 +292,7 @@ sub cust_pkg {
Class method which returns an SQL WHERE fragment to search for parameters
specified in HASHREF. Accepts the following parameters for
-L<FS::cust_bill::search_sql_where>: C<_date>, C<invnum_min>, C<invnum_max>,
+L<FS::cust_bill/search_sql_where>: C<_date>, C<invnum_min>, C<invnum_max>,
C<agentnum>, C<custnum>, C<cust_classnum>, C<refnum>. Also
accepts the following:
diff --git a/FS/FS/cust_credit.pm b/FS/FS/cust_credit.pm
index ddf407b69..ad888f9d1 100644
--- a/FS/FS/cust_credit.pm
+++ b/FS/FS/cust_credit.pm
@@ -140,12 +140,12 @@ Ooptions are passed as a list of keys and values. Available options:
=item reason_type
-L<FS::reason_type|Reason> type for newly-inserted reason
+L<FS::reason_type> Reason type for newly-inserted reason
=item cust_credit_source_bill_pkg
An arrayref of
-L<FS::cust_credit_source_bill_pkg|FS::cust_credit_source_bilL_pkg> objects.
+L<FS::cust_credit_source_bill_pkg> objects.
They will have their crednum set and will be inserted along with this credit.
=back
diff --git a/FS/FS/cust_credit_bill_pkg.pm b/FS/FS/cust_credit_bill_pkg.pm
index 080a83aaa..b30595841 100644
--- a/FS/FS/cust_credit_bill_pkg.pm
+++ b/FS/FS/cust_credit_bill_pkg.pm
@@ -37,7 +37,7 @@ The following fields are currently supported:
=item creditbillpkgnum - primary key
-=item creditbillnum - Credit application to the overall invoice (see L<FS::cust_credit::bill>)
+=item creditbillnum - Credit application to the overall invoice (see L<FS::cust_credit_bill>)
=item billpkgnum - Line item to which credit is applied (see L<FS::cust_bill_pkg>)
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index 8647c829a..112c28dff 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -272,7 +272,7 @@ Enable individual CDR spooling, empty or `Y'
=item dundate
-A suggestion to events (see L<FS::part_bill_event">) to delay until this unix timestamp
+A suggestion to events (see L<FS::part_bill_event>) to delay until this unix timestamp
=item squelch_cdr
@@ -2179,7 +2179,7 @@ FS::cust_pkg::cancel() methods.
=item quiet - can be set true to supress email cancellation notices.
-=item reason - can be set to a cancellation reason (see L<FS:reason>), either a
+=item reason - can be set to a cancellation reason (see L<FS::reason>), either a
reasonnum of an existing reason, or passing a hashref will create a new reason.
The hashref should have the following keys:
typenum - Reason type (see L<FS::reason_type>)
@@ -2730,7 +2730,7 @@ UNIX timestamps; see L<perlfunc/"time">). Also see L<Time::Local> and
L<Date::Parse> for conversion functions. The empty string can be passed
to disable that time constraint completely.
-Accepts the same options as L<balance_date_sql>:
+Accepts the same options as L</balance_date_sql>:
=over 4
diff --git a/FS/FS/cust_main_Mixin.pm b/FS/FS/cust_main_Mixin.pm
index c36b79a8a..e31a31031 100644
--- a/FS/FS/cust_main_Mixin.pm
+++ b/FS/FS/cust_main_Mixin.pm
@@ -372,7 +372,7 @@ Queue job for status updates. Required.
=item search
-Hashref of params to the L<search()> method. Required.
+Hashref of params to the L<FS::Record/search> method. Required.
=item msgnum
diff --git a/FS/FS/cust_pay_batch.pm b/FS/FS/cust_pay_batch.pm
index 614c11753..6e76b3462 100644
--- a/FS/FS/cust_pay_batch.pm
+++ b/FS/FS/cust_pay_batch.pm
@@ -239,7 +239,7 @@ sub expmmyy {
=item pay_batch
-Returns the payment batch this payment belongs to (L<FS::pay_batch).
+Returns the payment batch this payment belongs to (L<FS::pay_batch>).
=cut
@@ -479,8 +479,8 @@ sub process_unbatch_and_delete {
=item unbatch_and_delete
May only be called on a record with an empty status and an associated
-L<pay_batch> with a status of 'O' (not yet in transit.) Deletes all associated
-records from L<cust_bill_pay_batch> and then deletes this record.
+L<FS::pay_batch> with a status of 'O' (not yet in transit.) Deletes all associated
+records from L<FS::cust_bill_pay_batch> and then deletes this record.
If there is an error, returns the error, otherwise returns false.
=cut
diff --git a/FS/FS/cust_pay_void.pm b/FS/FS/cust_pay_void.pm
index 29540d1c6..ce4e7da78 100644
--- a/FS/FS/cust_pay_void.pm
+++ b/FS/FS/cust_pay_void.pm
@@ -94,7 +94,7 @@ Desired pkgnum when using experimental package balances.
=item reason - a freeform string (deprecated)
-=item reasonnum - Reason for voiding the payment (see L<FS::reson>)
+=item reasonnum - Reason for voiding the payment (see L<FS::reason>)
=back
diff --git a/FS/FS/cust_payby.pm b/FS/FS/cust_payby.pm
index 4e9f04f51..410d69093 100644
--- a/FS/FS/cust_payby.pm
+++ b/FS/FS/cust_payby.pm
@@ -668,7 +668,7 @@ sub label {
=item realtime_bop
-Runs a L<realtime_bop|FS::cust_main::Billing_Realtime::realtime_bop> transaction on this card
+Runs a L<FS::cust_main::Billing_Realtime/realtime_bop> transaction on this card
=cut
@@ -684,7 +684,7 @@ sub realtime_bop {
=item tokenize
-Runs a L<realtime_tokenize|FS::cust_main::Billing_Realtime::realtime_tokenize> transaction on this card
+Runs a L<FS::cust_main::Billing_Realtime/realtime_tokenize> transaction on this card
=cut
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index d39dbbbcd..ba5016efb 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -147,7 +147,7 @@ Billing item definition (see L<FS::part_pkg>)
=item locationnum
-Optional link to package location (see L<FS::location>)
+Optional link to package location (see L<FS::cust_location>)
=item order_date
@@ -623,7 +623,7 @@ Available options are:
=item reason
-can be set to a cancellation reason (see L<FS:reason>), either a reasonnum of an existing reason, or passing a hashref will create a new reason. The hashref should have the following keys: typenum - Reason type (see L<FS::reason_type>, reason - Text of the new reason.
+can be set to a cancellation reason (see L<FS::reason>), either a reasonnum of an existing reason, or passing a hashref will create a new reason. The hashref should have the following keys: typenum - Reason type (see L<FS::reason_type>, reason - Text of the new reason.
=item reason_otaker
@@ -869,7 +869,7 @@ correctly. Note however that this is an immediate cancel and just changes
the date. You are PROBABLY looking to expire the account instead of using
this.
-=item reason - can be set to a cancellation reason (see L<FS:reason>),
+=item reason - can be set to a cancellation reason (see L<FS::reason>),
either a reasonnum of an existing reason, or passing a hashref will create
a new reason. The hashref should have the following keys: typenum - Reason
type (see L<FS::reason_type>, reason - Text of the new reason.
@@ -1521,7 +1521,7 @@ Available options are:
=over 4
-=item reason - can be set to a cancellation reason (see L<FS:reason>),
+=item reason - can be set to a cancellation reason (see L<FS::reason>),
either a reasonnum of an existing reason, or passing a hashref will create
a new reason. The hashref should have the following keys:
- typenum - Reason type (see L<FS::reason_type>
@@ -4767,7 +4767,7 @@ Available options are:
=item reason
-can be set to a cancellation reason (see L<FS:reason>), either a reasonnum of an existing reason, or passing a hashref will create a new reason. The hashref should have the following keys: typenum - Reason type (see L<FS::reason_type>, reason - Text of the new reason.
+can be set to a cancellation reason (see L<FS::reason>), either a reasonnum of an existing reason, or passing a hashref will create a new reason. The hashref should have the following keys: typenum - Reason type (see L<FS::reason_type>, reason - Text of the new reason.
=item reason_otaker
diff --git a/FS/FS/cust_tax_exempt_pkg.pm b/FS/FS/cust_tax_exempt_pkg.pm
index 5057781f4..68b7724ec 100644
--- a/FS/FS/cust_tax_exempt_pkg.pm
+++ b/FS/FS/cust_tax_exempt_pkg.pm
@@ -62,7 +62,7 @@ may be the setup fee, the recurring fee, or the sum of those.
(cust_main.tax = 'Y').
=item exempt_cust_taxname - flag indicating that the customer is exempt
-from the tax with this name (see L<FS::cust_main_exemption).
+from the tax with this name (see L<FS::cust_main_exemption>).
=item exempt_setup, exempt_recur: flag indicating that the package's setup
or recurring fee is not taxable (part_pkg.setuptax and part_pkg.recurtax).
diff --git a/FS/FS/hardware_type.pm b/FS/FS/hardware_type.pm
index 85473125c..844ea13a8 100644
--- a/FS/FS/hardware_type.pm
+++ b/FS/FS/hardware_type.pm
@@ -25,7 +25,7 @@ FS::hardware_type - Object methods for hardware_type records
=head1 DESCRIPTION
An FS::hardware_type object represents a device type (a model name or
-number) assignable as a hardware service (L<FS::svc_hardware)>).
+number) assignable as a hardware service (L<FS::svc_hardware>).
FS::hardware_type inherits from FS::Record. The following fields are
currently supported:
diff --git a/FS/FS/inventory_item.pm b/FS/FS/inventory_item.pm
index eef8880b8..9a58a6463 100644
--- a/FS/FS/inventory_item.pm
+++ b/FS/FS/inventory_item.pm
@@ -153,7 +153,7 @@ maybe batch_import should be a regular method in FS::inventory_class
=head1 SEE ALSO
-L<inventory_class>, L<cust_svc>, L<FS::Record>, schema.html from the base
+L<FS::inventory_class>, L<FS::cust_svc>, L<FS::Record>, schema.html from the base
documentation.
=cut
diff --git a/FS/FS/legacy_cust_bill.pm b/FS/FS/legacy_cust_bill.pm
index 6b43c2f2b..38f9485c5 100644
--- a/FS/FS/legacy_cust_bill.pm
+++ b/FS/FS/legacy_cust_bill.pm
@@ -45,7 +45,7 @@ Invoice number or identifier from previous system
=item custnum
-Customer (see L<FS::cust_main)
+Customer (see L<FS::cust_main>)
=item _date
diff --git a/FS/FS/legacy_cust_history.pm b/FS/FS/legacy_cust_history.pm
index 9e149036b..e214d7241 100644
--- a/FS/FS/legacy_cust_history.pm
+++ b/FS/FS/legacy_cust_history.pm
@@ -37,7 +37,7 @@ primary key
=item custnum
-Customer (see L<FS::cust_main)
+Customer (see L<FS::cust_main>)
=item history_action
diff --git a/FS/FS/part_event.pm b/FS/FS/part_event.pm
index ba5b6d641..be894593e 100644
--- a/FS/FS/part_event.pm
+++ b/FS/FS/part_event.pm
@@ -638,7 +638,7 @@ sub process_initialize {
=head1 SEE ALSO
L<FS::part_event_option>, L<FS::part_event_condition>, L<FS::cust_main>,
-L<FS::cust_pkg>, L<FS::svc_acct>, L<FS::cust_bill>, L<FS::cust_bill_event>,
+L<FS::cust_pkg>, L<FS::svc_acct>, L<FS::cust_bill>, L<FS::cust_event>,
L<FS::Record>,
schema.html from the base documentation.
diff --git a/FS/FS/part_pkg.pm b/FS/FS/part_pkg.pm
index 05cbf1b57..f8720a9c7 100644
--- a/FS/FS/part_pkg.pm
+++ b/FS/FS/part_pkg.pm
@@ -1900,11 +1900,11 @@ Frequency override (for calc_recur)
This option is filled in by the method rather than controlling its operation.
It is an arrayref. Applicable discounts will be added to the arrayref, as
-L<FS::cust_bill_pkg_discount|FS::cust_bill_pkg_discount records>.
+L<FS::cust_bill_pkg_discount> records.
=item real_pkgpart
-For package add-ons, is the base L<FS::part_pkg|package definition>, otherwise
+For package add-ons, is the base L<FS::part_pkg> package definition, otherwise
no different than pkgpart.
=item precommit_hooks
@@ -1928,7 +1928,7 @@ plan option prorate_defer_bill).
=back
Note: Don't calculate prices when not actually billing the package. For that,
-see the L</base_setup|base_setup> and L</base_recur|base_recur> methods.
+see the L<FS::cust_pkg/base_setup> and L<FS::cust_pkg/base_recur> methods.
=cut
diff --git a/FS/FS/part_svc.pm b/FS/FS/part_svc.pm
index b82996e0d..49854f7ca 100644
--- a/FS/FS/part_svc.pm
+++ b/FS/FS/part_svc.pm
@@ -57,7 +57,7 @@ FS::Record. The following fields are currently supported:
=item svcdb - table used for this service. See L<FS::svc_acct>,
L<FS::svc_domain>, and L<FS::svc_forward>, among others.
-=item classnum - Optional service class (see L<FS::svc_class>)
+=item classnum - Optional service class (see L<FS::part_svc_class>)
=item disabled - Disabled flag, empty or `Y'
diff --git a/FS/FS/radius_usergroup.pm b/FS/FS/radius_usergroup.pm
index 9c78796c4..cf3cdfa01 100644
--- a/FS/FS/radius_usergroup.pm
+++ b/FS/FS/radius_usergroup.pm
@@ -156,7 +156,7 @@ sub _upgrade_data { #class method
=head1 SEE ALSO
-L<svc_acct>, L<FS::radius_group>, L<FS::Record>, schema.html from the base documentation.
+L<FS::svc_acct>, L<FS::radius_group>, L<FS::Record>, schema.html from the base documentation.
=cut
diff --git a/FS/FS/sales.pm b/FS/FS/sales.pm
index 31409288e..c1e075e5e 100644
--- a/FS/FS/sales.pm
+++ b/FS/FS/sales.pm
@@ -44,7 +44,7 @@ Name
=item agentnum
-Agent (see L<FS::agent)
+Agent (see L<FS::agent>)
=item disabled
diff --git a/FS/FS/svc_Parent_Mixin.pm b/FS/FS/svc_Parent_Mixin.pm
index 4501bafc8..a63921f62 100644
--- a/FS/FS/svc_Parent_Mixin.pm
+++ b/FS/FS/svc_Parent_Mixin.pm
@@ -76,7 +76,7 @@ sub children_svc_x {
This class provides a check subroutine which takes care of checking the
parent_svcnum field. The svc_ class which uses it will call SUPER::check at
the end of its own checks, and this class will call NEXT::check to pass
-the check "up the chain" (see L<NEXT>).
+the check "up the chain" (see L<perlfunc/next>).
=cut
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm
index 32190b19f..053f1e0f4 100644
--- a/FS/FS/svc_acct.pm
+++ b/FS/FS/svc_acct.pm
@@ -2294,7 +2294,7 @@ sub is_rechargable {
=item seconds_since TIMESTAMP
Returns the number of seconds this account has been online since TIMESTAMP,
-according to the session monitor (see L<FS::Session>).
+according to the session monitor (see L<FS::session>).
TIMESTAMP is specified as a UNIX timestamp; see L<perlfunc/"time">. Also see
L<Time::Local> and L<Date::Parse> for conversion functions.
diff --git a/FS/FS/type_pkgs.pm b/FS/FS/type_pkgs.pm
index d06050e4b..8cc2345ff 100644
--- a/FS/FS/type_pkgs.pm
+++ b/FS/FS/type_pkgs.pm
@@ -102,7 +102,7 @@ Returns the FS::agent_type object associated with this record.
=head1 SEE ALSO
-L<FS::Record>, L<FS::agent_type>, L<FS::part_pkgs>, schema.html from the base
+L<FS::Record>, L<FS::agent_type>, L<FS::part_pkg>, schema.html from the base
documentation.
=cut
diff --git a/FS/bin/freeside-addoutsource b/FS/bin/freeside-addoutsource
index 9cb12195a..9cb12195a 100644..100755
--- a/FS/bin/freeside-addoutsource
+++ b/FS/bin/freeside-addoutsource
diff --git a/FS/bin/freeside-addoutsourceuser b/FS/bin/freeside-addoutsourceuser
index cbe792acc..cbe792acc 100644..100755
--- a/FS/bin/freeside-addoutsourceuser
+++ b/FS/bin/freeside-addoutsourceuser
diff --git a/FS/bin/freeside-adduser b/FS/bin/freeside-adduser
index 6b4becb5f..6b4becb5f 100644..100755
--- a/FS/bin/freeside-adduser
+++ b/FS/bin/freeside-adduser
diff --git a/FS/bin/freeside-backup b/FS/bin/freeside-backup
index 25e74a451..25e74a451 100644..100755
--- a/FS/bin/freeside-backup
+++ b/FS/bin/freeside-backup
diff --git a/FS/bin/freeside-cdr-freeswitch b/FS/bin/freeside-cdr-freeswitch
index 3c18ef2a6..3c18ef2a6 100644..100755
--- a/FS/bin/freeside-cdr-freeswitch
+++ b/FS/bin/freeside-cdr-freeswitch
diff --git a/FS/bin/freeside-cdr-portaone-import b/FS/bin/freeside-cdr-portaone-import
index dfd130bbb..dfd130bbb 100644..100755
--- a/FS/bin/freeside-cdr-portaone-import
+++ b/FS/bin/freeside-cdr-portaone-import
diff --git a/FS/bin/freeside-cdrd b/FS/bin/freeside-cdrd
index a3c67f919..a3c67f919 100644..100755
--- a/FS/bin/freeside-cdrd
+++ b/FS/bin/freeside-cdrd
diff --git a/FS/bin/freeside-cdrrated b/FS/bin/freeside-cdrrated
index a8fcf5157..a8fcf5157 100644..100755
--- a/FS/bin/freeside-cdrrated
+++ b/FS/bin/freeside-cdrrated
diff --git a/FS/bin/freeside-cdrrewrited b/FS/bin/freeside-cdrrewrited
index d117f569e..d117f569e 100644..100755
--- a/FS/bin/freeside-cdrrewrited
+++ b/FS/bin/freeside-cdrrewrited
diff --git a/FS/bin/freeside-censustract-update b/FS/bin/freeside-censustract-update
index f9b6d1197..f9b6d1197 100644..100755
--- a/FS/bin/freeside-censustract-update
+++ b/FS/bin/freeside-censustract-update
diff --git a/FS/bin/freeside-check b/FS/bin/freeside-check
index fdfc66af0..fdfc66af0 100644..100755
--- a/FS/bin/freeside-check
+++ b/FS/bin/freeside-check
diff --git a/FS/bin/freeside-deloutsource b/FS/bin/freeside-deloutsource
index afc3a0118..afc3a0118 100644..100755
--- a/FS/bin/freeside-deloutsource
+++ b/FS/bin/freeside-deloutsource
diff --git a/FS/bin/freeside-deloutsourceuser b/FS/bin/freeside-deloutsourceuser
index dc4ff9cdc..dc4ff9cdc 100644..100755
--- a/FS/bin/freeside-deloutsourceuser
+++ b/FS/bin/freeside-deloutsourceuser
diff --git a/FS/bin/freeside-ipifony-download b/FS/bin/freeside-ipifony-download
index 1e77c3a75..1e77c3a75 100644..100755
--- a/FS/bin/freeside-ipifony-download
+++ b/FS/bin/freeside-ipifony-download
diff --git a/FS/bin/freeside-paymentech-download b/FS/bin/freeside-paymentech-download
index 4d99df2d0..d300f3edc 100755
--- a/FS/bin/freeside-paymentech-download
+++ b/FS/bin/freeside-paymentech-download
@@ -133,7 +133,7 @@ freeside-paymentech-download - Retrieve payment batch responses from Chase Payme
Command line tool to download payment batch responses from the Chase Paymentech
gateway. These are XML files packaged in ZIP files. This script downloads them
-by SFTP, extracts the contents, and passes them to L<FS::pay_batch::import_result>.
+by SFTP, extracts the contents, and passes them to L<FS::pay_batch/import_results>.
-v: Be verbose.
diff --git a/FS/bin/freeside-paymentech-upload b/FS/bin/freeside-paymentech-upload
index 770239d8d..d6ca0cd28 100755
--- a/FS/bin/freeside-paymentech-upload
+++ b/FS/bin/freeside-paymentech-upload
@@ -126,7 +126,7 @@ freeside-paymentech-upload - Transmit a payment batch to Chase Paymentech via SF
Command line tool to upload a payment batch to the Chase Paymentech gateway.
The batch will be exported to the Paymentech XML format, packaged in a ZIP
-file, and transmitted via SFTP. Use L<paymentech-download> to retrieve the
+file, and transmitted via SFTP. Use L<freeside-paymentech-download> to retrieve the
response file.
-a: Send all open batches, instead of specifying a batchnum.
diff --git a/FS/bin/freeside-pingd b/FS/bin/freeside-pingd
index fc9f8a378..fc9f8a378 100644..100755
--- a/FS/bin/freeside-pingd
+++ b/FS/bin/freeside-pingd
diff --git a/FS/bin/freeside-prepaidd b/FS/bin/freeside-prepaidd
index cb8315435..cb8315435 100644..100755
--- a/FS/bin/freeside-prepaidd
+++ b/FS/bin/freeside-prepaidd
diff --git a/FS/bin/freeside-queued b/FS/bin/freeside-queued
index 36871b295..36871b295 100644..100755
--- a/FS/bin/freeside-queued
+++ b/FS/bin/freeside-queued
diff --git a/FS/bin/freeside-radgroup b/FS/bin/freeside-radgroup
index 332632942..332632942 100644..100755
--- a/FS/bin/freeside-radgroup
+++ b/FS/bin/freeside-radgroup
diff --git a/FS/bin/freeside-reexport b/FS/bin/freeside-reexport
index 6b689178d..6b689178d 100644..100755
--- a/FS/bin/freeside-reexport
+++ b/FS/bin/freeside-reexport
diff --git a/FS/bin/freeside-selfservice-server b/FS/bin/freeside-selfservice-server
index f008285e5..4272caed5 100644..100755
--- a/FS/bin/freeside-selfservice-server
+++ b/FS/bin/freeside-selfservice-server
@@ -1,5 +1,11 @@
#!/usr/bin/perl -w
+=head1 NAME
+
+freeside-selfservice-server
+
+=cut
+
use strict;
use vars qw( $FREESIDE_LOG $FREESIDE_LOCK );
use vars qw( $Debug %kids $kids $max_kids $ssh_pid %old_ssh_pid $keepalives );
diff --git a/FS/bin/freeside-selfservice-xmlrpcd b/FS/bin/freeside-selfservice-xmlrpcd
index 7e373a0c3..7ec72e9b9 100755
--- a/FS/bin/freeside-selfservice-xmlrpcd
+++ b/FS/bin/freeside-selfservice-xmlrpcd
@@ -1,5 +1,11 @@
#!/usr/bin/perl
+=head1 NAME
+
+freeside-selfservice-xmlrpcd
+
+=cut
+
use FS::Daemon::Preforking qw( freeside_init1 freeside_init2 daemon_run );
use FS::XMLRPC_Lite; #XMLRPC::Lite for XMLRPC::Serializer
diff --git a/FS/bin/freeside-setinvoice b/FS/bin/freeside-setinvoice
index 708e2fa30..708e2fa30 100644..100755
--- a/FS/bin/freeside-setinvoice
+++ b/FS/bin/freeside-setinvoice
diff --git a/FS/bin/freeside-setup b/FS/bin/freeside-setup
index a6908e172..d6e191f3b 100755
--- a/FS/bin/freeside-setup
+++ b/FS/bin/freeside-setup
@@ -1,5 +1,11 @@
#!/usr/bin/perl -w
+=head1 NAME
+
+freeside-setup
+
+=cut
+
#to delay loading dbdef until we're ready
BEGIN { $FS::Schema::setup_hack = 1; }
diff --git a/FS/bin/freeside-sqlradius-radacctd b/FS/bin/freeside-sqlradius-radacctd
index 7b2d04dc7..7b2d04dc7 100644..100755
--- a/FS/bin/freeside-sqlradius-radacctd
+++ b/FS/bin/freeside-sqlradius-radacctd
diff --git a/FS/bin/freeside-sqlradius-seconds b/FS/bin/freeside-sqlradius-seconds
index 9999cbbf3..9999cbbf3 100644..100755
--- a/FS/bin/freeside-sqlradius-seconds
+++ b/FS/bin/freeside-sqlradius-seconds
diff --git a/FS/bin/freeside-tax-district-update b/FS/bin/freeside-tax-district-update
index af43130d5..af43130d5 100644..100755
--- a/FS/bin/freeside-tax-district-update
+++ b/FS/bin/freeside-tax-district-update
diff --git a/FS/bin/freeside-tax-location-update b/FS/bin/freeside-tax-location-update
index f45e5e11c..f45e5e11c 100644..100755
--- a/FS/bin/freeside-tax-location-update
+++ b/FS/bin/freeside-tax-location-update
diff --git a/FS/bin/freeside-torrus-srvderive b/FS/bin/freeside-torrus-srvderive
index 5ad23aba4..5ad23aba4 100644..100755
--- a/FS/bin/freeside-torrus-srvderive
+++ b/FS/bin/freeside-torrus-srvderive
diff --git a/FS/bin/freeside-xmlrpcd b/FS/bin/freeside-xmlrpcd
index e4e03345a..b6f15ce89 100644..100755
--- a/FS/bin/freeside-xmlrpcd
+++ b/FS/bin/freeside-xmlrpcd
@@ -1,5 +1,11 @@
#!/usr/bin/perl
+=head1 NAME
+
+freeside-xmlrpcd
+
+=cut
+
use FS::Daemon::Preforking qw( freeside_init1 freeside_init2 daemon_run );
use FS::XMLRPC_Lite; #XMLRPC::Lite for XMLRPC::Serializer
diff --git a/FS/bin/freeside-yori b/FS/bin/freeside-yori
index d1137995d..d1137995d 100644..100755
--- a/FS/bin/freeside-yori
+++ b/FS/bin/freeside-yori