LedgerSMB::AA
Contains the routines for managing AR and AP transactions.
- Provided by: ledgersmb (Version: 1.3.46-1)
- Report a bug
Contains the routines for managing AR and AP transactions.
This module contains the routines for managing AR and AP transactions and many of the reorts (a few others are found in LedgerSMB::RP.pm).
All routines require $form->{dbh} to be set so that database actions can be performed.
This module is due to be deprecated for active development as soon as a replacement is available.
approved: whether or not transactions must be approved to show up
transdatefrom: Earliest day of transactions
transdateto: Latest day of transactions
month, year, interval: Used in palce of transdatefrom and transdate to
vc: 'customer' for ar, 'vendor' for ap.
meta_number: customer/vendor number
entity_id: A specific entity id
parts_id: Show transactions including a specific part
department_id: Transactions for a department
entity_credit_account: As an alternate for meta_number to identify a customer of vendor credit account
invoice_type: 3 for on-hold, 2 for active
The transaction list is stored at: @{$form->{transactions}}
Form variables used: vc: customer or vendor ${vc}_id: id of vendor/customemr transdate: Transaction date desired
Sets the following form variables currency exchangerate forex taxaccounts
# LedgerSMB # Small Medium Business Accounting software # http://www.ledgersmb.org/ # Copyright (C) 2006-2010 # This work contains copyrighted information from a number of sources all used # with permission. # # This file contains source code included with or based on SQL-Ledger which # is Copyright Dieter Simader and DWS Systems Inc. 2000-2005 and licensed # under the GNU General Public License version 2 or, at your option, any later # version. For a full list including contact information of contributors, # maintainers, and copyright holders, see the CONTRIBUTORS file. # # Original Copyright Notice from SQL-Ledger 2.6.17 (before the fork): # Copyright (C) 2006 # # Author: DWS Systems Inc. # Web: http://www.sql-ledger.org # # Contributors: # # # See COPYRIGHT file for copyright information