LedgerSMB::DBObject::Asset
LedgerSMB Base Class for Fixed Assets
- Provided by: ledgersmb (Version: 1.3.46-1)
- Report a bug
LedgerSMB Base Class for Fixed Assets
This library contains the base utility functions for creating, saving, and retrieving fixed assets for depreciation
Saves the asset item to the database
Sets any properties set by the database that were not in the original object, usually ID (if no match to current ID or if ID was undef).
Header information is set to $self->{import_header}.
Search criteria set by the following properties: * id * asset_class * description * tag * purchase_date * purchase_value * usable_life * salvage_value * start_depreciation * warehouse_id * department_id * invoice_id * asset_account_id * dep_account_id
Tag and description are partial matches. All other matches are exact. Undef matches all values.
* id * subject * note
* asset_classes: List of all asset classes * locations: List of all warehouses/locations * deprtments: List of all departments * asset_accounts: List of all asset accounts * dep_accounts: List of all depreciation accounts * exp_accounts: List of all expense accounts
Sets $self->{tag} to that value.
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.