Class MIFixedAsset

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_I_FixedAsset, I_Persistent, Evaluatee

public class MIFixedAsset extends X_I_FixedAsset
Version:
$Id
Author:
Teo Sarca, SC ARHIPAC SRL
See Also:
  • Constructor Details

    • MIFixedAsset

      public MIFixedAsset(Properties ctx, String I_FixedAsset_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      I_FixedAsset_UU - UUID key
      trxName - Transaction
    • MIFixedAsset

      public MIFixedAsset(Properties ctx, int I_FixedAsset_ID, String trxName)
      Parameters:
      ctx -
      I_FixedAsset_ID -
      trxName -
    • MIFixedAsset

      public MIFixedAsset(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
      Parameters:
      ctx - context
      rs - result set record
  • Method Details

    • getCreateProduct

      public MProduct getCreateProduct()
      Create / Load product
      Returns:
      product
    • process

      @Deprecated public void process()
      Deprecated.
    • isFullyDepreciated

      public boolean isFullyDepreciated()
      Returns:
      true if fully depreciated
    • isDepreciating

      public boolean isDepreciating()
      Returns:
      Asset is Depreciating
    • getA_Last_Period

      public int getA_Last_Period()
      Returns:
    • setDefault_Product_Category_ID

      public void setDefault_Product_Category_ID(int M_Product_Category_ID)
      SEt default product category id
      Parameters:
      M_Product_Category_ID -
    • setDefault_Asset_Group_ID

      public void setDefault_Asset_Group_ID(int A_Asset_Group_ID)
      set default asset group id
      Parameters:
      A_Asset_Group_ID -
    • setProduct

      public void setProduct(MProduct product)
      Parameters:
      product -
    • getProduct

      public MProduct getProduct()
      Returns:
      product or null
    • getA_Depreciation_ID

      public int getA_Depreciation_ID()
      Returns:
      A_Depreciation_ID
    • getA_Depreciation_F_ID

      public int getA_Depreciation_F_ID()
      Returns:
      A_Depreciation_ID
    • getStdPrecision

      public int getStdPrecision()
      Returns:
      standard precision of primary accounting schema
    • getSummary

      public String getSummary()
      Returns:
      summary text
    • setError

      public void setError(String msg)
      Sets custom error (I_ErrorMsg)
      Parameters:
      msg -