Class X_HR_Period

    • Constructor Detail

      • X_HR_Period

        public X_HR_Period​(Properties ctx,
                           int HR_Period_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_Period_ID

        public void setC_Period_ID​(int C_Period_ID)
        Set Period.
        Specified by:
        setC_Period_ID in interface I_HR_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_HR_Period
        Returns:
        Period of the Calendar
      • setC_Year_ID

        public void setC_Year_ID​(int C_Year_ID)
        Set Year.
        Specified by:
        setC_Year_ID in interface I_HR_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_HR_Period
        Returns:
        Calendar Year
      • setDateAcct

        public void setDateAcct​(Timestamp DateAcct)
        Set Account Date.
        Specified by:
        setDateAcct in interface I_HR_Period
        Parameters:
        DateAcct - Accounting Date
      • setDescription

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

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

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

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

        public void setHR_Payroll_ID​(int HR_Payroll_ID)
        Set Payroll.
        Specified by:
        setHR_Payroll_ID in interface I_HR_Period
        Parameters:
        HR_Payroll_ID - Payroll
      • getHR_Payroll_ID

        public int getHR_Payroll_ID()
        Get Payroll.
        Specified by:
        getHR_Payroll_ID in interface I_HR_Period
        Returns:
        Payroll
      • setHR_Period_ID

        public void setHR_Period_ID​(int HR_Period_ID)
        Set Payroll Period.
        Specified by:
        setHR_Period_ID in interface I_HR_Period
        Parameters:
        HR_Period_ID - Payroll Period
      • getHR_Period_ID

        public int getHR_Period_ID()
        Get Payroll Period.
        Specified by:
        getHR_Period_ID in interface I_HR_Period
        Returns:
        Payroll Period
      • setHR_Period_UU

        public void setHR_Period_UU​(String HR_Period_UU)
        Set HR_Period_UU.
        Specified by:
        setHR_Period_UU in interface I_HR_Period
        Parameters:
        HR_Period_UU - HR_Period_UU
      • setHR_Year_ID

        public void setHR_Year_ID​(int HR_Year_ID)
        Set Payroll Year.
        Specified by:
        setHR_Year_ID in interface I_HR_Period
        Parameters:
        HR_Year_ID - Payroll Year
      • getHR_Year_ID

        public int getHR_Year_ID()
        Get Payroll Year.
        Specified by:
        getHR_Year_ID in interface I_HR_Period
        Returns:
        Payroll Year
      • setName

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

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

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

        public void setPeriodAction​(String PeriodAction)
        Set Period Action.
        Specified by:
        setPeriodAction in interface I_HR_Period
        Parameters:
        PeriodAction - Action taken for this period
      • getPeriodAction

        public String getPeriodAction()
        Get Period Action.
        Specified by:
        getPeriodAction in interface I_HR_Period
        Returns:
        Action taken for this period
      • setPeriodNo

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

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

        public void setPeriodStatus​(String PeriodStatus)
        Set Period Status.
        Specified by:
        setPeriodStatus in interface I_HR_Period
        Parameters:
        PeriodStatus - Current state of this period
      • getPeriodStatus

        public String getPeriodStatus()
        Get Period Status.
        Specified by:
        getPeriodStatus in interface I_HR_Period
        Returns:
        Current state of this period
      • setProcessed

        public void setProcessed​(boolean Processed)
        Set Processed.
        Specified by:
        setProcessed in interface I_HR_Period
        Parameters:
        Processed - The document has been processed
      • isProcessed

        public boolean isProcessed()
        Get Processed.
        Specified by:
        isProcessed in interface I_HR_Period
        Returns:
        The document has been processed
      • setProcessing

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

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

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