View source | Discuss this page | Page history | Printable version   

ERP 2.50:Developers Guide/Reference/Entity Model/FinancialMgmtAsset

FinancialMgmtAsset

Any item of economic value owned by the corporation, especially that which could be converted to cash.

To the database table (A_Asset) of this entity.

Back to the entity model.

Properties

Note:

Property Column Constraints Type Description
id* A_Asset_ID Mandatory
Max Length: 32
java.lang.String Any item of economic value owned by the corporation, especially that which could be converted to cash.
client AD_Client_ID Mandatory ADClient A Client is a company or a legal entity. You cannot share data between Clients.
organization AD_Org_ID Mandatory Organization An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
active IsActive Mandatory java.lang.Boolean There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:

(1) The system requires the record for auditing purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.

creationDate Created Mandatory java.util.Date The Created field indicates the date that this record was created.
createdBy CreatedBy Mandatory ADUser The Created By field indicates the user who created this record.
updated Updated Mandatory java.util.Date The Updated field indicates the date that this record was updated.
updatedBy UpdatedBy Mandatory ADUser The Updated By field indicates the user who updated this record.
searchKey Value Mandatory
Max Length: 40
java.lang.String A search key allows for a fast method of finding a particular record. If you leave the search key empty, the system automatically creates a numeric number originating from a document sequence defined in the "Document Sequence" window. The sequence naming convention follows a rule "DocumentNo_TableName", where TableName is the actual name of the database table (e.g. C_Order).

Usually, company's internal identifiers for various records (products, customers, etc) are stored here.

name# Name Mandatory
Max Length: 60
java.lang.String A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.
description Description Max Length: 255 java.lang.String A description is limited to 255 characters.
helpComment Help Max Length: 2000 java.lang.String The Help field contains a hint, comment or help about the use of this item.
assetCategory A_Asset_Group_ID Mandatory FinancialMgmtAssetGroup The group of assets determines default accounts. If an asset group is selected in the product category, assets are created when delivering the asset.
product M_Product_ID Product Identifies an item which is either purchased or sold in this organization.
serialNo SerNo Max Length: 20 java.lang.String The Serial Number identifies a tracked, warranted product. It can only be used when the quantity is 1.
lotName Lot Max Length: 20 java.lang.String The Lot Number indicates the specific lot that a product was part of.
versionNo VersionNo Max Length: 20 java.lang.String Version Number
expirationDate GuaranteeDate java.util.Date Date when the normal guarantee or availability expires
inServiceDate AssetServiceDate java.util.Date The date when the asset was put into service - usually used as start date for depreciation.
owned IsOwned Mandatory java.lang.Boolean The asset may not be in possession, but the asset is legally owned by the organization
assetDepreciationDate AssetDepreciationDate java.util.Date Date of the last deprecation, if the asset is used internally and depreciated.
usableLifeYears UseLifeYears java.lang.Long Years of the usable life of the asset
usableLifeMonths UseLifeMonths java.lang.Long Months of the usable life of the asset
lifeUse LifeUseUnits java.lang.Long Life use and the actual use may be used to calculate the depreciation
useUnits UseUnits java.lang.Long Currently used units of the assets
disposed IsDisposed Mandatory java.lang.Boolean The asset is no longer used and disposed
assetDisposalDate AssetDisposalDate java.util.Date Date when the asset is/was disposed
inPossession IsInPosession Mandatory java.lang.Boolean Assets which are not in possession are e.g. at Customer site and may or may not be owned by the company.
locationComment LocationComment Max Length: 255 java.lang.String Additional comments or remarks concerning the location
storageBin M_Locator_ID Locator The Locator ID indicates where in a Warehouse a product is located.
businessPartner C_BPartner_ID BusinessPartner A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.
partnerAddress C_BPartner_Location_ID BusinessPartnerLocation The Partner address indicates the location of a Business Partner
locationAddress C_Location_ID Location The Location / Address field defines the location of an entity.
processNow (inactive) java.lang.Boolean
depreciate IsDepreciated Mandatory java.lang.Boolean The asset is used internally and will be depreciated
fullyDepreciated IsFullyDepreciated Mandatory java.lang.Boolean The asset costs are fully amortized.
userContact AD_User_ID ADUser The User identifies a unique user in the system. This could be an internal user or a business partner contact
depreciationEndDate Amortizationenddate java.util.Date Date in which this asset ends depreciating
depreciationStartDate Amortizationstartdate java.util.Date Date in which this asset starts depreciating
annualDepreciation Annualamortizationpercentage java.math.BigDecimal Anual percentage used to depreciate this asset.
assetValue AssetValueAmt java.math.BigDecimal Book Value of the asset
currency C_Currency_ID Currency Indicates the currency to be used when processing this document.
cancellationDate Datecancelled java.util.Date Cancellation date
purchaseDate Datepurchased java.util.Date Date when this good was bougth.
attributeSetValue M_AttributeSetInstance_ID AttributeSetInstance The values of the actual Product Attributes
residualAssetValue Residualassetvalueamt java.math.BigDecimal Value of the asset once it has been totally depreciated.
acctvalueamt Acctvalueamt java.math.BigDecimal Accounting value amount
depreciationType Amortizationtype Max Length: 60 java.lang.String Indicates the method used to depreciate this asset.
depreciationAmt Amortizationvalueamt java.math.BigDecimal Accumulate depreciation amount
amortize Assetschedule Max Length: 60 java.lang.String Refers to the periods chosen between depreciation entries (monthly, yearly...).
documentNo DocumentNo Max Length: 30 java.lang.String The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". If the document type of your document has no automatic document sequence defined, the field will be empty when creating a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Document Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table inside the database (e.g. C_Order).
processed Processed Mandatory
Max Length: 60
java.lang.String The Processed checkbox indicates that a document has been processed.
profit Profit java.math.BigDecimal
quantity Qty java.math.BigDecimal The Quantity indicates the number of a specific product or item for this document.
calculateType Amortizationcalctype Max Length: 60 java.lang.String This field indicates how depreciation will be calculated: choosing the time or the percentage.
depreciatedPlan Depreciatedplan java.math.BigDecimal Value that is planned to be depreciated.
previouslyDepreciatedAmt Depreciatedpreviousamt java.math.BigDecimal
depreciatedValue Depreciatedvalue java.math.BigDecimal Is the value depreciated from processed amortizations.
financialMgmtAssetAmortizationList List of FinancialMgmtAssetAmortization
financialMgmtAssetAccountsList List of FinancialMgmtAssetAccounts
financialMgmtAmortizationLineList List of FinancialMgmtAmortizationLine

Java Entity Class

 
/*
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License.
 * The Original Code is Openbravo ERP.
 * The Initial Developer of the Original Code is Openbravo SLU
 * All portions are Copyright (C) 2008-2010 Openbravo SLU
 * All Rights Reserved.
 * Contributor(s):  ______________________________________.
 ************************************************************************
*/
package org.openbravo.model.financialmgmt.assetmgmt;
 
import org.openbravo.base.structure.ActiveEnabled;
import org.openbravo.base.structure.BaseOBObject;
import org.openbravo.base.structure.ClientEnabled;
import org.openbravo.base.structure.OrganizationEnabled;
import org.openbravo.base.structure.Traceable;
import org.openbravo.model.ad.access.User;
import org.openbravo.model.ad.system.Client;
import org.openbravo.model.common.businesspartner.BusinessPartner;
import org.openbravo.model.common.businesspartner.Location;
import org.openbravo.model.common.currency.Currency;
import org.openbravo.model.common.enterprise.Locator;
import org.openbravo.model.common.enterprise.Organization;
import org.openbravo.model.common.plm.AttributeSetInstance;
import org.openbravo.model.common.plm.Product;
 
import java.lang.Boolean;
import java.lang.Long;
import java.lang.String;
 
import java.math.BigDecimal;
 
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
 
/**
 * Entity class for entity FinancialMgmtAsset (stored in table A_Asset).
 *
 * NOTE: This class should not be instantiated directly. To instantiate this
 * class the {@link org.openbravo.base.provider.OBProvider} should be used.
 */
public class Asset extends BaseOBObject implements Traceable, ClientEnabled,
    OrganizationEnabled, ActiveEnabled {
    private static final long serialVersionUID = 1L;
    public static final String TABLE_NAME = "A_Asset";
    public static final String FinancialMgmtAsset = "FinancialMgmtAsset";
    public static final String PROPERTY_ID = "id";
    public static final String PROPERTY_CLIENT = "client";
    public static final String PROPERTY_ORGANIZATION = "organization";
    public static final String PROPERTY_ACTIVE = "active";
    public static final String PROPERTY_CREATIONDATE = "creationDate";
    public static final String PROPERTY_CREATEDBY = "createdBy";
    public static final String PROPERTY_UPDATED = "updated";
    public static final String PROPERTY_UPDATEDBY = "updatedBy";
    public static final String PROPERTY_SEARCHKEY = "searchKey";
    public static final String PROPERTY_NAME = "name";
    public static final String PROPERTY_DESCRIPTION = "description";
    public static final String PROPERTY_HELPCOMMENT = "helpComment";
    public static final String PROPERTY_ASSETCATEGORY = "assetCategory";
    public static final String PROPERTY_PRODUCT = "product";
    public static final String PROPERTY_SERIALNO = "serialNo";
    public static final String PROPERTY_LOTNAME = "lotName";
    public static final String PROPERTY_VERSIONNO = "versionNo";
    public static final String PROPERTY_EXPIRATIONDATE = "expirationDate";
    public static final String PROPERTY_INSERVICEDATE = "inServiceDate";
    public static final String PROPERTY_OWNED = "owned";
    public static final String PROPERTY_ASSETDEPRECIATIONDATE =
        "assetDepreciationDate";
    public static final String PROPERTY_USABLELIFEYEARS = "usableLifeYears";
    public static final String PROPERTY_USABLELIFEMONTHS = "usableLifeMonths";
    public static final String PROPERTY_LIFEUSE = "lifeUse";
    public static final String PROPERTY_USEUNITS = "useUnits";
    public static final String PROPERTY_DISPOSED = "disposed";
    public static final String PROPERTY_ASSETDISPOSALDATE = "assetDisposalDate";
    public static final String PROPERTY_INPOSSESSION = "inPossession";
    public static final String PROPERTY_LOCATIONCOMMENT = "locationComment";
    public static final String PROPERTY_STORAGEBIN = "storageBin";
    public static final String PROPERTY_BUSINESSPARTNER = "businessPartner";
    public static final String PROPERTY_PARTNERADDRESS = "partnerAddress";
    public static final String PROPERTY_LOCATIONADDRESS = "locationAddress";
    public static final String PROPERTY_PROCESSNOW = "processNow";
    public static final String PROPERTY_DEPRECIATE = "depreciate";
    public static final String PROPERTY_FULLYDEPRECIATED = "fullyDepreciated";
    public static final String PROPERTY_USERCONTACT = "userContact";
    public static final String PROPERTY_DEPRECIATIONENDDATE =
        "depreciationEndDate";
    public static final String PROPERTY_DEPRECIATIONSTARTDATE =
        "depreciationStartDate";
    public static final String PROPERTY_ANNUALDEPRECIATION =
        "annualDepreciation";
    public static final String PROPERTY_ASSETVALUE = "assetValue";
    public static final String PROPERTY_CURRENCY = "currency";
    public static final String PROPERTY_CANCELLATIONDATE = "cancellationDate";
    public static final String PROPERTY_PURCHASEDATE = "purchaseDate";
    public static final String PROPERTY_ATTRIBUTESETVALUE = "attributeSetValue";
    public static final String PROPERTY_RESIDUALASSETVALUE =
        "residualAssetValue";
    public static final String PROPERTY_ACCTVALUEAMT = "acctvalueamt";
    public static final String PROPERTY_DEPRECIATIONTYPE = "depreciationType";
    public static final String PROPERTY_DEPRECIATIONAMT = "depreciationAmt";
    public static final String PROPERTY_AMORTIZE = "amortize";
    public static final String PROPERTY_DOCUMENTNO = "documentNo";
    public static final String PROPERTY_PROCESSED = "processed";
    public static final String PROPERTY_PROFIT = "profit";
    public static final String PROPERTY_QUANTITY = "quantity";
    public static final String PROPERTY_CALCULATETYPE = "calculateType";
    public static final String PROPERTY_DEPRECIATEDPLAN = "depreciatedPlan";
    public static final String PROPERTY_PREVIOUSLYDEPRECIATEDAMT =
        "previouslyDepreciatedAmt";
    public static final String PROPERTY_DEPRECIATEDVALUE = "depreciatedValue";
    public static final String PROPERTY_FINANCIALMGMTASSETAMORTIZATIONLIST =
        "financialMgmtAssetAmortizationList";
    public static final String PROPERTY_FINANCIALMGMTASSETACCOUNTSLIST =
        "financialMgmtAssetAccountsList";
    public static final String PROPERTY_FINANCIALMGMTAMORTIZATIONLINELIST =
        "financialMgmtAmortizationLineList";
 
    public Asset() {
        setDefaultValue(PROPERTY_ACTIVE, true);
        setDefaultValue(PROPERTY_OWNED, false);
        setDefaultValue(PROPERTY_DISPOSED, false);
        setDefaultValue(PROPERTY_INPOSSESSION, false);
        setDefaultValue(PROPERTY_PROCESSNOW, false);
        setDefaultValue(PROPERTY_DEPRECIATE, false);
        setDefaultValue(PROPERTY_FULLYDEPRECIATED, false);
        setDefaultValue(PROPERTY_PROCESSED, "N");
        setDefaultValue(PROPERTY_DEPRECIATEDPLAN, new BigDecimal(0));
        setDefaultValue(PROPERTY_PREVIOUSLYDEPRECIATEDAMT, new BigDecimal(0));
        setDefaultValue(PROPERTY_DEPRECIATEDVALUE, new BigDecimal(0));
        setDefaultValue(PROPERTY_FINANCIALMGMTASSETAMORTIZATIONLIST,
            new ArrayList<Object>());
        setDefaultValue(PROPERTY_FINANCIALMGMTASSETACCOUNTSLIST,
            new ArrayList<Object>());
        setDefaultValue(PROPERTY_FINANCIALMGMTAMORTIZATIONLINELIST,
            new ArrayList<Object>());
    }
 
    @Override
    public String getEntityName() {
        return FinancialMgmtAsset;
    }
 
    public String getId() {
        return (String) get(PROPERTY_ID);
    }
 
    public void setId(String id) {
        set(PROPERTY_ID, id);
    }
 
    public Client getClient() {
        return (Client) get(PROPERTY_CLIENT);
    }
 
    public void setClient(Client client) {
        set(PROPERTY_CLIENT, client);
    }
 
    public Organization getOrganization() {
        return (Organization) get(PROPERTY_ORGANIZATION);
    }
 
    public void setOrganization(Organization organization) {
        set(PROPERTY_ORGANIZATION, organization);
    }
 
    public Boolean isActive() {
        return (Boolean) get(PROPERTY_ACTIVE);
    }
 
    public void setActive(Boolean active) {
        set(PROPERTY_ACTIVE, active);
    }
 
    public Date getCreationDate() {
        return (Date) get(PROPERTY_CREATIONDATE);
    }
 
    public void setCreationDate(Date creationDate) {
        set(PROPERTY_CREATIONDATE, creationDate);
    }
 
    public User getCreatedBy() {
        return (User) get(PROPERTY_CREATEDBY);
    }
 
    public void setCreatedBy(User createdBy) {
        set(PROPERTY_CREATEDBY, createdBy);
    }
 
    public Date getUpdated() {
        return (Date) get(PROPERTY_UPDATED);
    }
 
    public void setUpdated(Date updated) {
        set(PROPERTY_UPDATED, updated);
    }
 
    public User getUpdatedBy() {
        return (User) get(PROPERTY_UPDATEDBY);
    }
 
    public void setUpdatedBy(User updatedBy) {
        set(PROPERTY_UPDATEDBY, updatedBy);
    }
 
    public String getSearchKey() {
        return (String) get(PROPERTY_SEARCHKEY);
    }
 
    public void setSearchKey(String searchKey) {
        set(PROPERTY_SEARCHKEY, searchKey);
    }
 
    public String getName() {
        return (String) get(PROPERTY_NAME);
    }
 
    public void setName(String name) {
        set(PROPERTY_NAME, name);
    }
 
    public String getDescription() {
        return (String) get(PROPERTY_DESCRIPTION);
    }
 
    public void setDescription(String description) {
        set(PROPERTY_DESCRIPTION, description);
    }
 
    public String getHelpComment() {
        return (String) get(PROPERTY_HELPCOMMENT);
    }
 
    public void setHelpComment(String helpComment) {
        set(PROPERTY_HELPCOMMENT, helpComment);
    }
 
    public AssetGroup getAssetCategory() {
        return (AssetGroup) get(PROPERTY_ASSETCATEGORY);
    }
 
    public void setAssetCategory(AssetGroup assetCategory) {
        set(PROPERTY_ASSETCATEGORY, assetCategory);
    }
 
    public Product getProduct() {
        return (Product) get(PROPERTY_PRODUCT);
    }
 
    public void setProduct(Product product) {
        set(PROPERTY_PRODUCT, product);
    }
 
    public String getSerialNo() {
        return (String) get(PROPERTY_SERIALNO);
    }
 
    public void setSerialNo(String serialNo) {
        set(PROPERTY_SERIALNO, serialNo);
    }
 
    public String getLotName() {
        return (String) get(PROPERTY_LOTNAME);
    }
 
    public void setLotName(String lotName) {
        set(PROPERTY_LOTNAME, lotName);
    }
 
    public String getVersionNo() {
        return (String) get(PROPERTY_VERSIONNO);
    }
 
    public void setVersionNo(String versionNo) {
        set(PROPERTY_VERSIONNO, versionNo);
    }
 
    public Date getExpirationDate() {
        return (Date) get(PROPERTY_EXPIRATIONDATE);
    }
 
    public void setExpirationDate(Date expirationDate) {
        set(PROPERTY_EXPIRATIONDATE, expirationDate);
    }
 
    public Date getInServiceDate() {
        return (Date) get(PROPERTY_INSERVICEDATE);
    }
 
    public void setInServiceDate(Date inServiceDate) {
        set(PROPERTY_INSERVICEDATE, inServiceDate);
    }
 
    public Boolean isOwned() {
        return (Boolean) get(PROPERTY_OWNED);
    }
 
    public void setOwned(Boolean owned) {
        set(PROPERTY_OWNED, owned);
    }
 
    public Date getAssetDepreciationDate() {
        return (Date) get(PROPERTY_ASSETDEPRECIATIONDATE);
    }
 
    public void setAssetDepreciationDate(Date assetDepreciationDate) {
        set(PROPERTY_ASSETDEPRECIATIONDATE, assetDepreciationDate);
    }
 
    public Long getUsableLifeYears() {
        return (Long) get(PROPERTY_USABLELIFEYEARS);
    }
 
    public void setUsableLifeYears(Long usableLifeYears) {
        set(PROPERTY_USABLELIFEYEARS, usableLifeYears);
    }
 
    public Long getUsableLifeMonths() {
        return (Long) get(PROPERTY_USABLELIFEMONTHS);
    }
 
    public void setUsableLifeMonths(Long usableLifeMonths) {
        set(PROPERTY_USABLELIFEMONTHS, usableLifeMonths);
    }
 
    public Long getLifeUse() {
        return (Long) get(PROPERTY_LIFEUSE);
    }
 
    public void setLifeUse(Long lifeUse) {
        set(PROPERTY_LIFEUSE, lifeUse);
    }
 
    public Long getUseUnits() {
        return (Long) get(PROPERTY_USEUNITS);
    }
 
    public void setUseUnits(Long useUnits) {
        set(PROPERTY_USEUNITS, useUnits);
    }
 
    public Boolean isDisposed() {
        return (Boolean) get(PROPERTY_DISPOSED);
    }
 
    public void setDisposed(Boolean disposed) {
        set(PROPERTY_DISPOSED, disposed);
    }
 
    public Date getAssetDisposalDate() {
        return (Date) get(PROPERTY_ASSETDISPOSALDATE);
    }
 
    public void setAssetDisposalDate(Date assetDisposalDate) {
        set(PROPERTY_ASSETDISPOSALDATE, assetDisposalDate);
    }
 
    public Boolean isInPossession() {
        return (Boolean) get(PROPERTY_INPOSSESSION);
    }
 
    public void setInPossession(Boolean inPossession) {
        set(PROPERTY_INPOSSESSION, inPossession);
    }
 
    public String getLocationComment() {
        return (String) get(PROPERTY_LOCATIONCOMMENT);
    }
 
    public void setLocationComment(String locationComment) {
        set(PROPERTY_LOCATIONCOMMENT, locationComment);
    }
 
    public Locator getStorageBin() {
        return (Locator) get(PROPERTY_STORAGEBIN);
    }
 
    public void setStorageBin(Locator storageBin) {
        set(PROPERTY_STORAGEBIN, storageBin);
    }
 
    public BusinessPartner getBusinessPartner() {
        return (BusinessPartner) get(PROPERTY_BUSINESSPARTNER);
    }
 
    public void setBusinessPartner(BusinessPartner businessPartner) {
        set(PROPERTY_BUSINESSPARTNER, businessPartner);
    }
 
    public Location getPartnerAddress() {
        return (Location) get(PROPERTY_PARTNERADDRESS);
    }
 
    public void setPartnerAddress(Location partnerAddress) {
        set(PROPERTY_PARTNERADDRESS, partnerAddress);
    }
 
    public org.openbravo.model.common.geography.Location getLocationAddress() {
        return (org.openbravo.model.common.geography.Location) get(PROPERTY_LOCATIONADDRESS);
    }
 
    public void setLocationAddress(
        org.openbravo.model.common.geography.Location locationAddress) {
        set(PROPERTY_LOCATIONADDRESS, locationAddress);
    }
 
    public Boolean isProcessNow() {
        return (Boolean) get(PROPERTY_PROCESSNOW);
    }
 
    public void setProcessNow(Boolean processNow) {
        set(PROPERTY_PROCESSNOW, processNow);
    }
 
    public Boolean isDepreciate() {
        return (Boolean) get(PROPERTY_DEPRECIATE);
    }
 
    public void setDepreciate(Boolean depreciate) {
        set(PROPERTY_DEPRECIATE, depreciate);
    }
 
    public Boolean isFullyDepreciated() {
        return (Boolean) get(PROPERTY_FULLYDEPRECIATED);
    }
 
    public void setFullyDepreciated(Boolean fullyDepreciated) {
        set(PROPERTY_FULLYDEPRECIATED, fullyDepreciated);
    }
 
    public User getUserContact() {
        return (User) get(PROPERTY_USERCONTACT);
    }
 
    public void setUserContact(User userContact) {
        set(PROPERTY_USERCONTACT, userContact);
    }
 
    public Date getDepreciationEndDate() {
        return (Date) get(PROPERTY_DEPRECIATIONENDDATE);
    }
 
    public void setDepreciationEndDate(Date depreciationEndDate) {
        set(PROPERTY_DEPRECIATIONENDDATE, depreciationEndDate);
    }
 
    public Date getDepreciationStartDate() {
        return (Date) get(PROPERTY_DEPRECIATIONSTARTDATE);
    }
 
    public void setDepreciationStartDate(Date depreciationStartDate) {
        set(PROPERTY_DEPRECIATIONSTARTDATE, depreciationStartDate);
    }
 
    public BigDecimal getAnnualDepreciation() {
        return (BigDecimal) get(PROPERTY_ANNUALDEPRECIATION);
    }
 
    public void setAnnualDepreciation(BigDecimal annualDepreciation) {
        set(PROPERTY_ANNUALDEPRECIATION, annualDepreciation);
    }
 
    public BigDecimal getAssetValue() {
        return (BigDecimal) get(PROPERTY_ASSETVALUE);
    }
 
    public void setAssetValue(BigDecimal assetValue) {
        set(PROPERTY_ASSETVALUE, assetValue);
    }
 
    public Currency getCurrency() {
        return (Currency) get(PROPERTY_CURRENCY);
    }
 
    public void setCurrency(Currency currency) {
        set(PROPERTY_CURRENCY, currency);
    }
 
    public Date getCancellationDate() {
        return (Date) get(PROPERTY_CANCELLATIONDATE);
    }
 
    public void setCancellationDate(Date cancellationDate) {
        set(PROPERTY_CANCELLATIONDATE, cancellationDate);
    }
 
    public Date getPurchaseDate() {
        return (Date) get(PROPERTY_PURCHASEDATE);
    }
 
    public void setPurchaseDate(Date purchaseDate) {
        set(PROPERTY_PURCHASEDATE, purchaseDate);
    }
 
    public AttributeSetInstance getAttributeSetValue() {
        return (AttributeSetInstance) get(PROPERTY_ATTRIBUTESETVALUE);
    }
 
    public void setAttributeSetValue(AttributeSetInstance attributeSetValue) {
        set(PROPERTY_ATTRIBUTESETVALUE, attributeSetValue);
    }
 
    public BigDecimal getResidualAssetValue() {
        return (BigDecimal) get(PROPERTY_RESIDUALASSETVALUE);
    }
 
    public void setResidualAssetValue(BigDecimal residualAssetValue) {
        set(PROPERTY_RESIDUALASSETVALUE, residualAssetValue);
    }
 
    public BigDecimal getAcctvalueamt() {
        return (BigDecimal) get(PROPERTY_ACCTVALUEAMT);
    }
 
    public void setAcctvalueamt(BigDecimal acctvalueamt) {
        set(PROPERTY_ACCTVALUEAMT, acctvalueamt);
    }
 
    public String getDepreciationType() {
        return (String) get(PROPERTY_DEPRECIATIONTYPE);
    }
 
    public void setDepreciationType(String depreciationType) {
        set(PROPERTY_DEPRECIATIONTYPE, depreciationType);
    }
 
    public BigDecimal getDepreciationAmt() {
        return (BigDecimal) get(PROPERTY_DEPRECIATIONAMT);
    }
 
    public void setDepreciationAmt(BigDecimal depreciationAmt) {
        set(PROPERTY_DEPRECIATIONAMT, depreciationAmt);
    }
 
    public String getAmortize() {
        return (String) get(PROPERTY_AMORTIZE);
    }
 
    public void setAmortize(String amortize) {
        set(PROPERTY_AMORTIZE, amortize);
    }
 
    public String getDocumentNo() {
        return (String) get(PROPERTY_DOCUMENTNO);
    }
 
    public void setDocumentNo(String documentNo) {
        set(PROPERTY_DOCUMENTNO, documentNo);
    }
 
    public String getProcessed() {
        return (String) get(PROPERTY_PROCESSED);
    }
 
    public void setProcessed(String processed) {
        set(PROPERTY_PROCESSED, processed);
    }
 
    public BigDecimal getProfit() {
        return (BigDecimal) get(PROPERTY_PROFIT);
    }
 
    public void setProfit(BigDecimal profit) {
        set(PROPERTY_PROFIT, profit);
    }
 
    public BigDecimal getQuantity() {
        return (BigDecimal) get(PROPERTY_QUANTITY);
    }
 
    public void setQuantity(BigDecimal quantity) {
        set(PROPERTY_QUANTITY, quantity);
    }
 
    public String getCalculateType() {
        return (String) get(PROPERTY_CALCULATETYPE);
    }
 
    public void setCalculateType(String calculateType) {
        set(PROPERTY_CALCULATETYPE, calculateType);
    }
 
    public BigDecimal getDepreciatedPlan() {
        return (BigDecimal) get(PROPERTY_DEPRECIATEDPLAN);
    }
 
    public void setDepreciatedPlan(BigDecimal depreciatedPlan) {
        set(PROPERTY_DEPRECIATEDPLAN, depreciatedPlan);
    }
 
    public BigDecimal getPreviouslyDepreciatedAmt() {
        return (BigDecimal) get(PROPERTY_PREVIOUSLYDEPRECIATEDAMT);
    }
 
    public void setPreviouslyDepreciatedAmt(BigDecimal previouslyDepreciatedAmt) {
        set(PROPERTY_PREVIOUSLYDEPRECIATEDAMT, previouslyDepreciatedAmt);
    }
 
    public BigDecimal getDepreciatedValue() {
        return (BigDecimal) get(PROPERTY_DEPRECIATEDVALUE);
    }
 
    public void setDepreciatedValue(BigDecimal depreciatedValue) {
        set(PROPERTY_DEPRECIATEDVALUE, depreciatedValue);
    }
 
    @SuppressWarnings("unchecked")
    public List<AssetAmortization> getFinancialMgmtAssetAmortizationList() {
        return (List<AssetAmortization>) get(PROPERTY_FINANCIALMGMTASSETAMORTIZATIONLIST);
    }
 
    public void setFinancialMgmtAssetAmortizationList(
        List<AssetAmortization> financialMgmtAssetAmortizationList) {
        set(PROPERTY_FINANCIALMGMTASSETAMORTIZATIONLIST,
            financialMgmtAssetAmortizationList);
    }
 
    @SuppressWarnings("unchecked")
    public List<AssetAccounts> getFinancialMgmtAssetAccountsList() {
        return (List<AssetAccounts>) get(PROPERTY_FINANCIALMGMTASSETACCOUNTSLIST);
    }
 
    public void setFinancialMgmtAssetAccountsList(
        List<AssetAccounts> financialMgmtAssetAccountsList) {
        set(PROPERTY_FINANCIALMGMTASSETACCOUNTSLIST,
            financialMgmtAssetAccountsList);
    }
 
    @SuppressWarnings("unchecked")
    public List<AmortizationLine> getFinancialMgmtAmortizationLineList() {
        return (List<AmortizationLine>) get(PROPERTY_FINANCIALMGMTAMORTIZATIONLINELIST);
    }
 
    public void setFinancialMgmtAmortizationLineList(
        List<AmortizationLine> financialMgmtAmortizationLineList) {
        set(PROPERTY_FINANCIALMGMTAMORTIZATIONLINELIST,
            financialMgmtAmortizationLineList);
    }
}

Retrieved from "http://wiki.openbravo.com/wiki/ERP_2.50:Developers_Guide/Reference/Entity_Model/FinancialMgmtAsset"

This page has been accessed 1,599 times. This page was last modified on 14 June 2011, at 11:04. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.