Class X_C_Currency

    • Constructor Detail

      • X_C_Currency

        public X_C_Currency​(Properties ctx,
                            int C_Currency_ID,
                            String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        6 - System - Client
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setC_Currency_ID

        public void setC_Currency_ID​(int C_Currency_ID)
        Set Currency.
        Specified by:
        setC_Currency_ID in interface I_C_Currency
        Parameters:
        C_Currency_ID - The Currency for this record
      • getC_Currency_ID

        public int getC_Currency_ID()
        Get Currency.
        Specified by:
        getC_Currency_ID in interface I_C_Currency
        Returns:
        The Currency for this record
      • setC_Currency_UU

        public void setC_Currency_UU​(String C_Currency_UU)
        Set C_Currency_UU.
        Specified by:
        setC_Currency_UU in interface I_C_Currency
        Parameters:
        C_Currency_UU - C_Currency_UU
      • setCostingPrecision

        public void setCostingPrecision​(int CostingPrecision)
        Set Costing Precision.
        Specified by:
        setCostingPrecision in interface I_C_Currency
        Parameters:
        CostingPrecision - Rounding used costing calculations
      • getCostingPrecision

        public int getCostingPrecision()
        Get Costing Precision.
        Specified by:
        getCostingPrecision in interface I_C_Currency
        Returns:
        Rounding used costing calculations
      • setCurSymbol

        public void setCurSymbol​(String CurSymbol)
        Set Symbol.
        Specified by:
        setCurSymbol in interface I_C_Currency
        Parameters:
        CurSymbol - Symbol of the currency (opt used for printing only)
      • getCurSymbol

        public String getCurSymbol()
        Get Symbol.
        Specified by:
        getCurSymbol in interface I_C_Currency
        Returns:
        Symbol of the currency (opt used for printing only)
      • setDescription

        public void setDescription​(String Description)
        Set Description.
        Specified by:
        setDescription in interface I_C_Currency
        Parameters:
        Description - Optional short description of the record
      • getDescription

        public String getDescription()
        Get Description.
        Specified by:
        getDescription in interface I_C_Currency
        Returns:
        Optional short description of the record
      • setEMUEntryDate

        public void setEMUEntryDate​(Timestamp EMUEntryDate)
        Set EMU Entry Date.
        Specified by:
        setEMUEntryDate in interface I_C_Currency
        Parameters:
        EMUEntryDate - Date when the currency joined / will join the EMU
      • getEMUEntryDate

        public Timestamp getEMUEntryDate()
        Get EMU Entry Date.
        Specified by:
        getEMUEntryDate in interface I_C_Currency
        Returns:
        Date when the currency joined / will join the EMU
      • setEMURate

        public void setEMURate​(BigDecimal EMURate)
        Set EMU Rate.
        Specified by:
        setEMURate in interface I_C_Currency
        Parameters:
        EMURate - Official rate to the Euro
      • setIsEMUMember

        public void setIsEMUMember​(boolean IsEMUMember)
        Set EMU Member.
        Specified by:
        setIsEMUMember in interface I_C_Currency
        Parameters:
        IsEMUMember - This currency is member if the European Monetary Union
      • isEMUMember

        public boolean isEMUMember()
        Get EMU Member.
        Specified by:
        isEMUMember in interface I_C_Currency
        Returns:
        This currency is member if the European Monetary Union
      • setIsEuro

        public void setIsEuro​(boolean IsEuro)
        Set The Euro Currency.
        Specified by:
        setIsEuro in interface I_C_Currency
        Parameters:
        IsEuro - This currency is the Euro
      • isEuro

        public boolean isEuro()
        Get The Euro Currency.
        Specified by:
        isEuro in interface I_C_Currency
        Returns:
        This currency is the Euro
      • setISO_Code

        public void setISO_Code​(String ISO_Code)
        Set ISO Currency Code.
        Specified by:
        setISO_Code in interface I_C_Currency
        Parameters:
        ISO_Code - Three letter ISO 4217 Code of the Currency
      • getISO_Code

        public String getISO_Code()
        Get ISO Currency Code.
        Specified by:
        getISO_Code in interface I_C_Currency
        Returns:
        Three letter ISO 4217 Code of the Currency
      • getKeyNamePair

        public KeyNamePair getKeyNamePair()
        Get Record ID/ColumnName
        Returns:
        ID/ColumnName pair
      • setRoundOffFactor

        public void setRoundOffFactor​(BigDecimal RoundOffFactor)
        Set Round Off Factor.
        Specified by:
        setRoundOffFactor in interface I_C_Currency
        Parameters:
        RoundOffFactor - Used to Round Off Payment Amount
      • setStdPrecision

        public void setStdPrecision​(int StdPrecision)
        Set Standard Precision.
        Specified by:
        setStdPrecision in interface I_C_Currency
        Parameters:
        StdPrecision - Rule for rounding calculated amounts
      • getStdPrecision

        public int getStdPrecision()
        Get Standard Precision.
        Specified by:
        getStdPrecision in interface I_C_Currency
        Returns:
        Rule for rounding calculated amounts