Class MCommissionAmt

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_CommissionAmt, I_Persistent, Evaluatee

public class MCommissionAmt extends X_C_CommissionAmt
Commission Run Amounts
Version:
$Id: MCommissionAmt.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MCommissionAmt

      public MCommissionAmt(Properties ctx, String C_CommissionAmt_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      C_CommissionAmt_UU - UUID key
      trxName - Transaction
    • 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
    • MCommissionAmt

      public MCommissionAmt(Properties ctx, int C_CommissionAmt_ID, String trxName, String... virtualColumns)
      Parameters:
      ctx -
      C_CommissionAmt_ID -
      trxName -
      virtualColumns -
  • Method Details

    • 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