Class MCommissionDetail

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

public class MCommissionDetail extends X_C_CommissionDetail
Commission Run Amount Detail Model
Version:
$Id: MCommissionDetail.java,v 1.3 2006/07/30 00:51:05 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MCommissionDetail

      public MCommissionDetail(Properties ctx, String C_CommissionDetail_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      C_CommissionDetail_UU - UUID key
      trxName - Transaction
    • MCommissionDetail

      public MCommissionDetail(Properties ctx, int ignored, String trxName)
      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
    • MCommissionDetail

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

    • 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)
      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