LedgerSMB::Batch(3pm)					User Contributed Perl Documentation				     LedgerSMB::Batch(3pm)

NAME
LedgerSMB::Batch - Batch/voucher management model for LedgerSMB 1.3 SYNOPSIS
Batch/voucher management model for LedgerSMB 1.3 METHODS
get_new_info This gets the information required for the new batch screen. Currently this just populates the batch_number hashref value. create Saves the batch info and populates the id hashref value with the id inserted. delete_voucher($id) Deletes the voucher specified by $id. get_search_criteria Sets all hash values needed for the search interface: batch_classes List of all batch classes batch_users List of all users get_search_method (private) Determines the appropriate search method, either for empty, mini, or full searches Returns the appropriate stored proc name. get_search_results Returns the appropriate search as detected by get_search_method. get_class_id($type) Returns the class_id of batch class specified by its label. post Posts a batch to the books and makes the vouchers show up in transaction reports, financial statements, and more. delete Deletes the unapproved batch and all vouchers under it. list_vouchers Returns a list of all vouchers in the batch and attaches that list to $self->{vouchers} get Gets the batch and merges information with the current batch object. Copyright (C) 2009, 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. perl v5.14.2 2012-03-26 LedgerSMB::Batch(3pm)