Class MPaymentAllocate

    • Constructor Detail

      • MPaymentAllocate

        public MPaymentAllocate​(Properties ctx,
                                int C_PaymentAllocate_ID,
                                String trxName)
        Standard Constructor
        Parameters:
        ctx - context
        C_PaymentAllocate_ID - id
        trxName - trx
      • MPaymentAllocate

        public MPaymentAllocate​(Properties ctx,
                                ResultSet rs,
                                String trxName)
        Load Cosntructor
        Parameters:
        ctx - context
        rs - result set
        trxName - trx
    • Method Detail

      • get

        public static MPaymentAllocate[] get​(MPayment parent)
        Get active Payment Allocation of Payment
        Parameters:
        parent - payment
        Returns:
        array of allocations
      • getInvoice

        public MInvoice getInvoice()
        Get Invoice
        Returns:
        invoice
      • getC_BPartner_ID

        public int getC_BPartner_ID()
        Get BPartner of Invoice
        Returns:
        bp
      • beforeSave

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