Class X_C_Period

    • Field Detail

      • PERIODTYPE_AD_Reference_ID

        public static final int PERIODTYPE_AD_Reference_ID
        PeriodType AD_Reference_ID=115
        See Also:
        Constant Field Values
      • PERIODTYPE_AdjustmentPeriod

        public static final String PERIODTYPE_AdjustmentPeriod
        Adjustment Period = A
        See Also:
        Constant Field Values
      • PERIODTYPE_StandardCalendarPeriod

        public static final String PERIODTYPE_StandardCalendarPeriod
        Standard Calendar Period = S
        See Also:
        Constant Field Values
    • Constructor Detail

      • X_C_Period

        public X_C_Period​(Properties ctx,
                          int C_Period_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
      • setC_Period_ID

        public void setC_Period_ID​(int C_Period_ID)
        Set Period.
        Specified by:
        setC_Period_ID in interface I_C_Period
        Parameters:
        C_Period_ID - Period of the Calendar
      • getC_Period_ID

        public int getC_Period_ID()
        Get Period.
        Specified by:
        getC_Period_ID in interface I_C_Period
        Returns:
        Period of the Calendar
      • setC_Period_UU

        public void setC_Period_UU​(String C_Period_UU)
        Set C_Period_UU.
        Specified by:
        setC_Period_UU in interface I_C_Period
        Parameters:
        C_Period_UU - C_Period_UU
      • setC_Year_ID

        public void setC_Year_ID​(int C_Year_ID)
        Set Year.
        Specified by:
        setC_Year_ID in interface I_C_Period
        Parameters:
        C_Year_ID - Calendar Year
      • getC_Year_ID

        public int getC_Year_ID()
        Get Year.
        Specified by:
        getC_Year_ID in interface I_C_Period
        Returns:
        Calendar Year
      • setEndDate

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

        public Timestamp getEndDate()
        Get End Date.
        Specified by:
        getEndDate in interface I_C_Period
        Returns:
        Last effective date (inclusive)
      • setName

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

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

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

        public void setPeriodNo​(int PeriodNo)
        Set Period No.
        Specified by:
        setPeriodNo in interface I_C_Period
        Parameters:
        PeriodNo - Unique Period Number
      • getPeriodNo

        public int getPeriodNo()
        Get Period No.
        Specified by:
        getPeriodNo in interface I_C_Period
        Returns:
        Unique Period Number
      • setPeriodType

        public void setPeriodType​(String PeriodType)
        Set Period Type.
        Specified by:
        setPeriodType in interface I_C_Period
        Parameters:
        PeriodType - Period Type
      • setProcessing

        public void setProcessing​(boolean Processing)
        Set Process Now.
        Specified by:
        setProcessing in interface I_C_Period
        Parameters:
        Processing - Process Now
      • isProcessing

        public boolean isProcessing()
        Get Process Now.
        Specified by:
        isProcessing in interface I_C_Period
        Returns:
        Process Now
      • setStartDate

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

        public Timestamp getStartDate()
        Get Start Date.
        Specified by:
        getStartDate in interface I_C_Period
        Returns:
        First effective day (inclusive)