Class MDunningRunEntry

    • Constructor Detail

      • MDunningRunEntry

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

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

        public MDunningRunEntry​(MDunningRun parent)
        Parent Constructor
        Parameters:
        parent - parent
    • Method Detail

      • setBPartner

        public void setBPartner​(MBPartner bp,
                                boolean isSOTrx)
        Set BPartner
        Parameters:
        bp - partner
        isSOTrx - SO
      • getLines

        public MDunningRunLine[] getLines()
        Get Lines
        Returns:
        Array of all lines for this Run
      • getLines

        public MDunningRunLine[] getLines​(boolean onlyInvoices)
        Get Lines
        Parameters:
        onlyInvoices - only with invoices
        Returns:
        Array of all lines for this Run
      • hasInvoices

        public boolean hasInvoices()
        Check whether has Invoices
        Returns:
        true if it has Invoices
      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Description copied from class: PO
        Called before Save for Pre-Save Operation
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord - new record
        Returns:
        true if record can be saved