Class MDepositBatchLine

    • Constructor Detail

      • MDepositBatchLine

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

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

        public MDepositBatchLine​(MDepositBatch statement)
        Parent Constructor
        Parameters:
        statement - Bank Statement that the line is part of
      • MDepositBatchLine

        public MDepositBatchLine​(MDepositBatch statement,
                                 int lineNo)
        Parent Constructor
        Parameters:
        statement - Deposit Batch that the line is part of
        lineNo - position of the line within the statement
    • Method Detail

      • setPayment

        public void setPayment​(MPayment payment)
        Set Payment
        Parameters:
        payment - payment
      • 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