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