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

ERP/3.0/Developers Guide/Reference/Entity Model/FinancialMgmtAssetAmortization


To the database table (A_Asset_Amortization) of this entity.

Back to the entity model.



Property Column Constraints Type Description
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.
asset A_Asset_ID Mandatory FinancialMgmtAsset Any item of economic value owned by the corporation, especially that which could be converted to cash.
id* A_Amortization_ID Mandatory
Max Length: 32
java.lang.String Refers to all the depreciations ocurred btween two dates
startingDate StartDate java.util.Date A parameter stating when a specified request will begin.
endingDate EndDate java.util.Date The End Date indicates the last date in this range.
amortizationPercentage Amortization_Percentage java.math.BigDecimal Amortization Percentage
amortizationAmount Amortizationamt java.math.BigDecimal Amortization Amount
amortization# A_Amortization_ID Mandatory FinancialMgmtAmortization Refers to all the depreciations ocurred btween two dates

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
 * 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.BaseOBObject;
import org.openbravo.base.structure.ClientEnabled;
import org.openbravo.base.structure.OrganizationEnabled;
import org.openbravo.model.common.enterprise.Organization;
import java.lang.String;
import java.math.BigDecimal;
import java.util.Date;
 * Entity class for entity FinancialMgmtAssetAmortization (stored in table A_Asset_Amortization).
 * NOTE: This class should not be instantiated directly. To instantiate this
 * class the {@link org.openbravo.base.provider.OBProvider} should be used.
public class AssetAmortization extends BaseOBObject implements ClientEnabled,
    OrganizationEnabled {
    private static final long serialVersionUID = 1L;
    public static final String TABLE_NAME = "A_Asset_Amortization";
    public static final String FinancialMgmtAssetAmortization = "FinancialMgmtAssetAmortization";
    public static final String PROPERTY_CLIENT = "client";
    public static final String PROPERTY_ORGANIZATION = "organization";
    public static final String PROPERTY_ASSET = "asset";
    public static final String PROPERTY_ID = "id";
    public static final String PROPERTY_STARTINGDATE = "startingDate";
    public static final String PROPERTY_ENDINGDATE = "endingDate";
    public static final String PROPERTY_AMORTIZATIONPERCENTAGE =
    public static final String PROPERTY_AMORTIZATIONAMOUNT =
    public static final String PROPERTY_AMORTIZATION = "amortization";
    public AssetAmortization() {
    public String getEntityName() {
        return FinancialMgmtAssetAmortization;
    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 Asset getAsset() {
        return (Asset) get(PROPERTY_ASSET);
    public void setAsset(Asset asset) {
        set(PROPERTY_ASSET, asset);
    public String getId() {
        return (String) get(PROPERTY_ID);
    public void setId(String id) {
        set(PROPERTY_ID, id);
    public Date getStartingDate() {
        return (Date) get(PROPERTY_STARTINGDATE);
    public void setStartingDate(Date startingDate) {
        set(PROPERTY_STARTINGDATE, startingDate);
    public Date getEndingDate() {
        return (Date) get(PROPERTY_ENDINGDATE);
    public void setEndingDate(Date endingDate) {
        set(PROPERTY_ENDINGDATE, endingDate);
    public BigDecimal getAmortizationPercentage() {
        return (BigDecimal) get(PROPERTY_AMORTIZATIONPERCENTAGE);
    public void setAmortizationPercentage(BigDecimal amortizationPercentage) {
        set(PROPERTY_AMORTIZATIONPERCENTAGE, amortizationPercentage);
    public BigDecimal getAmortizationAmount() {
        return (BigDecimal) get(PROPERTY_AMORTIZATIONAMOUNT);
    public void setAmortizationAmount(BigDecimal amortizationAmount) {
        set(PROPERTY_AMORTIZATIONAMOUNT, amortizationAmount);
    public Amortization getAmortization() {
        return (Amortization) get(PROPERTY_AMORTIZATION);
    public void setAmortization(Amortization amortization) {
        set(PROPERTY_AMORTIZATION, amortization);

Retrieved from ""

This page has been accessed 819 times. This page was last modified on 15 April 2011, at 22:50. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.