Class X_C_CashBook

    • Constructor Detail

      • X_C_CashBook

        public X_C_CashBook​(Properties ctx,
                            int C_CashBook_ID,
                            String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        3 - Client - Org
      • 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_CashBook_ID

        public void setC_CashBook_ID​(int C_CashBook_ID)
        Set Cash Book.
        Specified by:
        setC_CashBook_ID in interface I_C_CashBook
        Parameters:
        C_CashBook_ID - Cash Book for recording petty cash transactions
      • getC_CashBook_ID

        public int getC_CashBook_ID()
        Get Cash Book.
        Specified by:
        getC_CashBook_ID in interface I_C_CashBook
        Returns:
        Cash Book for recording petty cash transactions
      • setC_CashBook_UU

        public void setC_CashBook_UU​(String C_CashBook_UU)
        Set C_CashBook_UU.
        Specified by:
        setC_CashBook_UU in interface I_C_CashBook
        Parameters:
        C_CashBook_UU - C_CashBook_UU
      • setC_Currency_ID

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

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

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

        public void setIsDefault​(boolean IsDefault)
        Set Default.
        Specified by:
        setIsDefault in interface I_C_CashBook
        Parameters:
        IsDefault - Default value
      • isDefault

        public boolean isDefault()
        Get Default.
        Specified by:
        isDefault in interface I_C_CashBook
        Returns:
        Default value
      • setName

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

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

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