% 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::Commission_Mixin - Common interface for entities that can receive sales commissions.
Returns an SQL WHERE fragment to search for commission credits belonging to this entity.
Returns an SQL WHERE fragment to search for sales records (FS::cust_bill_pkg) that would be assigned to this entity for commission.
Returns a qsearch hashref for the commission credits given to this entity. START and END are a date range.
OPTIONS may optionally contain "commission_classnum", a package classnum to limit the commission packages.
Takes the same options as cust_credit_search, and performs the search.
Returns a qsearch hashref for the sales for which this entity could receive commission. START and END are a date range; OPTIONS may contain: - classnum: limit to this package class (or null, if it's empty) - paid: limit to sales that have no unpaid balance (as of now)
Same as "cust_bill_pkg_search" but then performs the search.
Hey! The above document had some coding errors, which are explained below:
You forgot a '=back' before '=head1'