Class MProjectLine

    • Constructor Detail

      • MProjectLine

        public MProjectLine​(Properties ctx,
                            int C_ProjectLine_ID,
                            String trxName)
        Standard Constructor
        Parameters:
        ctx - context
        C_ProjectLine_ID - id
        trxName - transaction
      • MProjectLine

        public MProjectLine​(Properties ctx,
                            ResultSet rs,
                            String trxName)
        Load Constructor
        Parameters:
        ctx - context
        rs - result set
        trxName - transaction
      • MProjectLine

        public MProjectLine​(MProject project)
        Parent Constructor
        Parameters:
        project - parent
    • Method Detail

      • setMProjectIssue

        public void setMProjectIssue​(MProjectIssue pi)
        Set Product, committed qty, etc.
        Parameters:
        pi - project issue
      • getProject

        public MProject getProject()
        Get Project
        Returns:
        parent
      • getLimitPrice

        public BigDecimal getLimitPrice()
        Get Limit Price if exists
        Returns:
        limit
      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Before Save
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord - new
        Returns:
        true
      • afterSave

        protected boolean afterSave​(boolean newRecord,
                                    boolean success)
        After Save
        Overrides:
        afterSave in class PO
        Parameters:
        newRecord - new
        success - success
        Returns:
        success
      • afterDelete

        protected boolean afterDelete​(boolean success)
        After Delete
        Overrides:
        afterDelete in class PO
        Parameters:
        success - success
        Returns:
        success