Description | manuals and libraries |
LedgerSMB::Report::Invoices::Payments - Payment Search Report for LedgerSMB
my $report = LedgerSMB::Report::Invoices::Payments->new(%$request);
$report->render();
This class provides routines for searching payments and displaying the report in the standard supported reporting formats.
1 for vendor, 2 for customer.
Customer or vendor account number, prefix search
Cash account number, exact match
Source field, prefix search
This report is sometimes used when searching for payments to reverse payments. We allow related data to be set here. This is to be passed on to the next stage of the reversal process.
ID of batch used. If this is not set we assume we are not reversing payments.
Currency used. If not set, we assume that this is the default currency (and exchange rate of 1).
Exchange rate for reversal. If not set, we use 1 if the currency is the default currency. If not, we pull the existing exchange rate for the reversal date, and if this is not set, an error will be returned during the reversal process.
Customer or vendor number
Start date
End date
Either "Payment Results" or "Receipt Results" depending on entity_class
Runs the report and sets $self->rows
Copyright (C) 2018 The LedgerSMB Core Team
This file is licensed under the GNU General Public License version 2, or at your option any later version. A copy of the license should have been included with your software.