Class MCommissionAmt

    • Constructor Detail

      • MCommissionAmt

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

        public MCommissionAmt​(MCommissionRun run,
                              int C_CommissionLine_ID)
        Parent Constructor
        Parameters:
        run - parent
        C_CommissionLine_ID - line
      • MCommissionAmt

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

      • getDetails

        public MCommissionDetail[] getDetails()
        Get Details
        Returns:
        array of details
      • calculateCommission

        public void calculateCommission()
        Calculate Commission
      • 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