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)
      Description copied from class: PO
      Called after Save for Post-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      afterSave in class PO
      Parameters:
      newRecord - true if it is a new record
      success - true if save operation was success
      Returns:
      if save was a success
    • afterDelete

      protected boolean afterDelete(boolean success)
      Description copied from class: PO
      Execute after Delete operations.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      afterDelete in class PO
      Parameters:
      success - true if record deleted
      Returns:
      true if delete is a success