Class X_C_ElementValue

    • Constructor Detail

      • X_C_ElementValue

        public X_C_ElementValue​(Properties ctx,
                                int C_ElementValue_ID,
                                String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        2 - 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
      • setAccountSign

        public void setAccountSign​(String AccountSign)
        Set Account Sign.
        Specified by:
        setAccountSign in interface I_C_ElementValue
        Parameters:
        AccountSign - Indicates the Natural Sign of the Account as a Debit or Credit
      • getAccountSign

        public String getAccountSign()
        Get Account Sign.
        Specified by:
        getAccountSign in interface I_C_ElementValue
        Returns:
        Indicates the Natural Sign of the Account as a Debit or Credit
      • setAccountType

        public void setAccountType​(String AccountType)
        Set Account Type.
        Specified by:
        setAccountType in interface I_C_ElementValue
        Parameters:
        AccountType - Indicates the type of account
      • setBPartnerType

        public void setBPartnerType​(String BPartnerType)
        Set Business Partner Type.
        Specified by:
        setBPartnerType in interface I_C_ElementValue
        Parameters:
        BPartnerType - Business Partner Type
      • setC_BankAccount_ID

        public void setC_BankAccount_ID​(int C_BankAccount_ID)
        Set Bank Account.
        Specified by:
        setC_BankAccount_ID in interface I_C_ElementValue
        Parameters:
        C_BankAccount_ID - Account at the Bank
      • setC_Currency_ID

        public void setC_Currency_ID​(int C_Currency_ID)
        Set Currency.
        Specified by:
        setC_Currency_ID in interface I_C_ElementValue
        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_ElementValue
        Returns:
        The Currency for this record
      • setC_Element_ID

        public void setC_Element_ID​(int C_Element_ID)
        Set Element.
        Specified by:
        setC_Element_ID in interface I_C_ElementValue
        Parameters:
        C_Element_ID - Accounting Element
      • setC_ElementValue_ID

        public void setC_ElementValue_ID​(int C_ElementValue_ID)
        Set Account Element.
        Specified by:
        setC_ElementValue_ID in interface I_C_ElementValue
        Parameters:
        C_ElementValue_ID - Account Element
      • setC_ElementValue_UU

        public void setC_ElementValue_UU​(String C_ElementValue_UU)
        Set C_ElementValue_UU.
        Specified by:
        setC_ElementValue_UU in interface I_C_ElementValue
        Parameters:
        C_ElementValue_UU - C_ElementValue_UU
      • setDescription

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

        public void setIsBankAccount​(boolean IsBankAccount)
        Set Bank Account.
        Specified by:
        setIsBankAccount in interface I_C_ElementValue
        Parameters:
        IsBankAccount - Indicates if this is the Bank Account
      • isBankAccount

        public boolean isBankAccount()
        Get Bank Account.
        Specified by:
        isBankAccount in interface I_C_ElementValue
        Returns:
        Indicates if this is the Bank Account
      • setIsDetailBPartner

        public void setIsDetailBPartner​(boolean IsDetailBPartner)
        Set Manage Business Partners.
        Specified by:
        setIsDetailBPartner in interface I_C_ElementValue
        Parameters:
        IsDetailBPartner - Manage Business Partners
      • isDetailBPartner

        public boolean isDetailBPartner()
        Get Manage Business Partners.
        Specified by:
        isDetailBPartner in interface I_C_ElementValue
        Returns:
        Manage Business Partners
      • setIsDetailProduct

        public void setIsDetailProduct​(boolean IsDetailProduct)
        Set Manage Products.
        Specified by:
        setIsDetailProduct in interface I_C_ElementValue
        Parameters:
        IsDetailProduct - Manage Products
      • isDetailProduct

        public boolean isDetailProduct()
        Get Manage Products.
        Specified by:
        isDetailProduct in interface I_C_ElementValue
        Returns:
        Manage Products
      • setIsDocControlled

        public void setIsDocControlled​(boolean IsDocControlled)
        Set Document Controlled.
        Specified by:
        setIsDocControlled in interface I_C_ElementValue
        Parameters:
        IsDocControlled - Control account - If an account is controlled by a document, you cannot post manually to it
      • isDocControlled

        public boolean isDocControlled()
        Get Document Controlled.
        Specified by:
        isDocControlled in interface I_C_ElementValue
        Returns:
        Control account - If an account is controlled by a document, you cannot post manually to it
      • setIsForeignCurrency

        public void setIsForeignCurrency​(boolean IsForeignCurrency)
        Set Foreign Currency Account.
        Specified by:
        setIsForeignCurrency in interface I_C_ElementValue
        Parameters:
        IsForeignCurrency - Balances in foreign currency accounts are held in the nominated currency
      • isForeignCurrency

        public boolean isForeignCurrency()
        Get Foreign Currency Account.
        Specified by:
        isForeignCurrency in interface I_C_ElementValue
        Returns:
        Balances in foreign currency accounts are held in the nominated currency
      • setIsSummary

        public void setIsSummary​(boolean IsSummary)
        Set Summary Level.
        Specified by:
        setIsSummary in interface I_C_ElementValue
        Parameters:
        IsSummary - This is a summary entity
      • isSummary

        public boolean isSummary()
        Get Summary Level.
        Specified by:
        isSummary in interface I_C_ElementValue
        Returns:
        This is a summary entity
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_C_ElementValue
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getName

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_C_ElementValue
        Returns:
        Alphanumeric identifier of the entity
      • setPostActual

        public void setPostActual​(boolean PostActual)
        Set Post Actual.
        Specified by:
        setPostActual in interface I_C_ElementValue
        Parameters:
        PostActual - Actual Values can be posted
      • isPostActual

        public boolean isPostActual()
        Get Post Actual.
        Specified by:
        isPostActual in interface I_C_ElementValue
        Returns:
        Actual Values can be posted
      • setPostBudget

        public void setPostBudget​(boolean PostBudget)
        Set Post Budget.
        Specified by:
        setPostBudget in interface I_C_ElementValue
        Parameters:
        PostBudget - Budget values can be posted
      • isPostBudget

        public boolean isPostBudget()
        Get Post Budget.
        Specified by:
        isPostBudget in interface I_C_ElementValue
        Returns:
        Budget values can be posted
      • setPostEncumbrance

        public void setPostEncumbrance​(boolean PostEncumbrance)
        Set Post Encumbrance.
        Specified by:
        setPostEncumbrance in interface I_C_ElementValue
        Parameters:
        PostEncumbrance - Post commitments to this account
      • isPostEncumbrance

        public boolean isPostEncumbrance()
        Get Post Encumbrance.
        Specified by:
        isPostEncumbrance in interface I_C_ElementValue
        Returns:
        Post commitments to this account
      • setPostStatistical

        public void setPostStatistical​(boolean PostStatistical)
        Set Post Statistical.
        Specified by:
        setPostStatistical in interface I_C_ElementValue
        Parameters:
        PostStatistical - Post statistical quantities to this account?
      • isPostStatistical

        public boolean isPostStatistical()
        Get Post Statistical.
        Specified by:
        isPostStatistical in interface I_C_ElementValue
        Returns:
        Post statistical quantities to this account?
      • setValidFrom

        public void setValidFrom​(Timestamp ValidFrom)
        Set Valid from.
        Specified by:
        setValidFrom in interface I_C_ElementValue
        Parameters:
        ValidFrom - Valid from including this date (first day)
      • setValidTo

        public void setValidTo​(Timestamp ValidTo)
        Set Valid to.
        Specified by:
        setValidTo in interface I_C_ElementValue
        Parameters:
        ValidTo - Valid to including this date (last day)
      • setValue

        public void setValue​(String Value)
        Set Search Key.
        Specified by:
        setValue in interface I_C_ElementValue
        Parameters:
        Value - Search key for the record in the format required - must be unique
      • getValue

        public String getValue()
        Get Search Key.
        Specified by:
        getValue in interface I_C_ElementValue
        Returns:
        Search key for the record in the format required - must be unique
      • getKeyNamePair

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