Class X_C_Campaign

    • Constructor Detail

      • X_C_Campaign

        public X_C_Campaign​(Properties ctx,
                            int C_Campaign_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_Campaign_ID

        public void setC_Campaign_ID​(int C_Campaign_ID)
        Set Campaign.
        Specified by:
        setC_Campaign_ID in interface I_C_Campaign
        Parameters:
        C_Campaign_ID - Marketing Campaign
      • getC_Campaign_ID

        public int getC_Campaign_ID()
        Get Campaign.
        Specified by:
        getC_Campaign_ID in interface I_C_Campaign
        Returns:
        Marketing Campaign
      • setC_Campaign_UU

        public void setC_Campaign_UU​(String C_Campaign_UU)
        Set C_Campaign_UU.
        Specified by:
        setC_Campaign_UU in interface I_C_Campaign
        Parameters:
        C_Campaign_UU - C_Campaign_UU
      • setC_Channel_ID

        public void setC_Channel_ID​(int C_Channel_ID)
        Set Channel.
        Specified by:
        setC_Channel_ID in interface I_C_Campaign
        Parameters:
        C_Channel_ID - Sales Channel
      • getC_Channel_ID

        public int getC_Channel_ID()
        Get Channel.
        Specified by:
        getC_Channel_ID in interface I_C_Campaign
        Returns:
        Sales Channel
      • setCosts

        public void setCosts​(BigDecimal Costs)
        Set Costs.
        Specified by:
        setCosts in interface I_C_Campaign
        Parameters:
        Costs - Costs in accounting currency
      • setDescription

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

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

        public void setEndDate​(Timestamp EndDate)
        Set End Date.
        Specified by:
        setEndDate in interface I_C_Campaign
        Parameters:
        EndDate - Last effective date (inclusive)
      • setIsSummary

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

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

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

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

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

        public void setStartDate​(Timestamp StartDate)
        Set Start Date.
        Specified by:
        setStartDate in interface I_C_Campaign
        Parameters:
        StartDate - First effective day (inclusive)
      • setValue

        public void setValue​(String Value)
        Set Search Key.
        Specified by:
        setValue in interface I_C_Campaign
        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_Campaign
        Returns:
        Search key for the record in the format required - must be unique