Class MCommissionDetail

    • Constructor Detail

      • MCommissionDetail

        public MCommissionDetail​(Properties ctx,
                                 int ignored,
                                 String trxName)
        Persistency Constructor
        Parameters:
        ctx - context
        ignored - ignored
        trxName - transaction
      • MCommissionDetail

        public MCommissionDetail​(MCommissionAmt amt,
                                 int C_Currency_ID,
                                 BigDecimal Amt,
                                 BigDecimal Qty)
        Parent Constructor
        Parameters:
        amt - commission amt
        C_Currency_ID - currency
        Amt - amount
        Qty - quantity
      • MCommissionDetail

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

      • setLineIDs

        public void setLineIDs​(int C_OrderLine_ID,
                               int C_InvoiceLine_ID)
        Set Line IDs
        Parameters:
        C_OrderLine_ID - order
        C_InvoiceLine_ID - invoice
      • setConvertedAmt

        public void setConvertedAmt​(Timestamp date)
        Set Converted Amt
        Parameters:
        date - for conversion
      • 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