Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ledgersmb::dbobject::asset_class(3pm) [debian man page]

LedgerSMB::DBObject::Asset_Class(3pm)			User Contributed Perl Documentation		     LedgerSMB::DBObject::Asset_Class(3pm)

NAME
LedgerSMB::DBObject::Asset_Class - LedgerSMB Base Class for Asset Classes SYNOPSIS
This library contains the base utility functions for creating, saving, and retrieving depreciation categories of assets. STANDARD PROPERTIES
id Integer ID of record. lable Text description of asset class asset_account_id Integer id of asset account. dep_account_id Integer id of depreciation account. method Integer id of depreciation method. METHODS
save Properties used: 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. get_metadata sets: asset_accounts to arrayref of asset accounts dep_accounts to arrayref of depreciation accounts dep_methods to arrayrefo of depreciation methods get_asset_class() Requires id to be set. Sets all other standard properties if the record is found. list_asset_classes 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. perl v5.14.2 2012-03-25 LedgerSMB::DBObject::Asset_Class(3pm)

Check Out this Related Man Page

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

NAME
LedgerSMB::DBObject - LedgerSMB class for building objects from db relations SYOPSIS
This module creates object instances based on LedgerSMB's in-database ORM. METHODS
new ($class, base => $LedgerSMB::hash) This is the base constructor for all child classes. It must be used with base argument because this is necessary for database connectivity and the like. Of course the base object can be any object that inherits LedgerSMB, so you can use any subclass of that. The per-session dbh is passed between the objects this way as is any information that is needed. exec_method ($self, procname => $function_name, [args => @args, schema => $schema, continue_on_error=>$continue_on_error]) Provides the basic mapping of parameters to the SQL stored procedure function arguments. If @args is not defined, args are mapped from the object's properties, stripping them of their in_ prefix. If schema is provided, that is used instead of PostgreSQL's search path. If continue_on_error is provided and true, the operation will not raise an exception in the event of a database error, and it will be up to the application to handle any exceptions. __validate__ is called on every new() invocation. It is blank in this module but can be overridden in decendant modules. _db_array_scalars(@elements) creates a db array from scalars. _db_array_literal(@elements) creates a multiple dimension db array from preparsed db arrays or other data which does not need to be escaped. set_ordering Sets the ordering used by default for specific functions called by exec_method run_custom_queries Backward-compatible with 1.2 custom query system for moving forward. Copyright (C) 2007, 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 2011-12-10 LedgerSMB::DBObject(3pm)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Account

!HELLO SIR, Can any one tell how to create a Account in SCOUNIX. By using which commands . and what are steps i should have to follow to create a account. (1 Reply)
Discussion started by: smdakram
1 Replies

2. UNIX for Advanced & Expert Users

su

Can someone please point me in the right direction. When I try so 'su' to a different user than the one I am currently logged in as, I get the following error. Account is Disabled -- See Account Administrator. I can 'su' as root, but not as a user. I have come across this problem before... (4 Replies)
Discussion started by: JammerFSU
4 Replies

3. UNIX for Dummies Questions & Answers

Countof/space used by certain file type

I am very new to Unix, and am managing a digital asset management system. The GUI lets me do certain things, but I am finding that the real power is in the Solaris back-end. I have been asked to report how many and how much space the xml files in our repository are taking up. Is there a way to do... (2 Replies)
Discussion started by: pfulgione
2 Replies

4. UNIX Desktop Questions & Answers

Account Utility

Hi, I'm pretty new to UNIX and LINUX and am trying to find out what utility to use to manage accounts. Thanks for the help in advance. (3 Replies)
Discussion started by: klevr99
3 Replies

5. UNIX for Advanced & Expert Users

Su To Diffent Account And Automate The Password

I Need To Switch To A Different Account Before A Shell Is Executed. Unforturnately I Have To Call This Shell Via A Third Party App And The User Account Of The Processes That I Need To Kill Is Not The Same As The Default Account Gui Signs In As. I Need The Password To Be Hard Coded When Prompted... (3 Replies)
Discussion started by: kingoice
3 Replies

6. UNIX for Dummies Questions & Answers

Account hygiene

Hi, all. Is there an automated tool to identify infrequently used accounts ? Neb (1 Reply)
Discussion started by: Nebx
1 Replies

7. Post Here to Contact Site Administrators and Moderators

Account Deletion...

Please delete my account? Thanks, so very much, really. (2 Replies)
Discussion started by: spaceshiporion
2 Replies

8. HP-UX

Temporarily Disable User Account

I want to temporarily disable a user account on HP-UX at the start of a script and renable the account at the end of the script. What would be the best method on HP-UX to temporarily disable a user account? I know of the passwd -l option that will lock the account, but I do not see a flag for... (4 Replies)
Discussion started by: scotbuff
4 Replies

9. Shell Programming and Scripting

how to rename multiple files with a single command

Hi I have following list of files at a path: 01.AR.asset 01.AR.index 01.AR.asset.vf 01.AR.asset.xv I want to rename all these files as follows: 73.AR.asset.Z 73.AR.index.Z 73.AR.asset.vf.Z 73.AR.asset.xv.Z Can any body give me a single command to acheive the above results. ... (5 Replies)
Discussion started by: tayyabq8
5 Replies

10. Shell Programming and Scripting

Combine 2 values into single variable

Hi gurus, I need to manipulate the output of a database query. The output contains 2 fields (asset and serial number) and I'd like to combine them into a single value, seperated by whitespace. the orginal data is in seprate fileds and of the following format: asset serial asset serial etc ... (6 Replies)
Discussion started by: melias
6 Replies

11. Red Hat

Account issue

Hello I use 2 accounts on a RHEL 5 test server. one account was made when the system was built. The other I made the other day. I use VNC to connect to the server from a windows PC. With the account that was built with the server I can do more stuff with it. Both accounts have the same right as... (2 Replies)
Discussion started by: bitlord
2 Replies

12. UNIX for Dummies Questions & Answers

UNIX Account getting Locked Everyday between same Time Frame

I am facing an Issue with a particular Unix Account ( ie a particular Userid) getting LOCKED everyday between 7:30am and 8:00am. The Password associated with this particular Account has been setup such that it should never Expire at all but it does LOCK the Account after more than 3 failed... (5 Replies)
Discussion started by: pchegoor
5 Replies

13. HP-UX

HP-UX LOGS Files

hello, i just want to know logs files for these actions listed below : - User Account Creation - User Account Deletion - Failed and or Successful User Password Changes - Failed Login Activities for all User Users - System Reboot or and shutdown help appreciated... (1 Reply)
Discussion started by: Bolou
1 Replies

14. AIX

AIX system logs files

hello, i just want to know logs files for these actions listed below : - User Account Creation - User Account Deletion - Failed and or Successful User Password Changes - Failed Login Activities for all User Users - System Reboot or and shutdown help appreciated... (6 Replies)
Discussion started by: Bolou
6 Replies