Class MIFixedAsset

    • Constructor Detail

      • MIFixedAsset

        public MIFixedAsset​(Properties ctx,
                            int I_FixedAsset_ID,
                            String trxName)
        Standard Constructor
      • MIFixedAsset

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

      • getCreateProduct

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

        public void process()
      • isFullyDepreciated

        public boolean isFullyDepreciated()
        Returns:
        Este MF-ul depreciat integral
      • 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)
      • setDefault_Asset_Group_ID

        public void setDefault_Asset_Group_ID​(int A_Asset_Group_ID)
      • setProduct

        public void setProduct​(MProduct product)
      • getProduct

        public MProduct getProduct()
      • getA_Depreciation_ID

        public int getA_Depreciation_ID()
        Depreciation Method
      • getA_Depreciation_F_ID

        public int getA_Depreciation_F_ID()
      • getStdPrecision

        public int getStdPrecision()
        Currency
      • getSummary

        public String getSummary()
        String representation
      • setError

        public void setError​(String msg)
        Sets custom error