LedgerSMB::Batch(3pm)

LedgerSMB::Batch3pm

Batch/voucher management model for ledgersmb 1.3

Usage

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.

unlock($id)

Unlocks a given batch

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.

Releases

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 8

From ledgersmb 1.3.40-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.