SYNOPSISThis library contains the base utility functions for creating, saving, and retrieving depreciation categories of assets.
- Integer ID of record.
- Text description of asset class
- Integer id of asset account.
- Integer id of depreciation account.
- Integer id of depreciation method.
id: (Optional) ID of existing class to overwrite.
asset_account_id: Account id to store asset values
dep_account_id: Account id for depreciation information
method: ID of depreciation method
label: Name of the asset class
unit_label: Label of the depreciation unit
Typically sets ID if no match found or if ID not provided.
asset_accounts to arrayref of asset accounts dep_accounts to arrayref of depreciation accounts dep_methods to arrayrefo of depreciation methods
Requires id to be set.
Sets all other standard properties if the record is found.
- Sets classes to a list of all asset classes, ordered as per db.
Copyright (C) 2010, 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.