Class MLandedCostAllocation

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

public class MLandedCostAllocation extends X_C_LandedCostAllocation
Landed Cost Allocation Model
Version:
$Id: MLandedCostAllocation.java,v 1.3 2006/07/30 00:51:05 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MLandedCostAllocation

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

      public MLandedCostAllocation(Properties ctx, int C_LandedCostAllocation_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      C_LandedCostAllocation_ID - id
      trxName - trx
    • MLandedCostAllocation

      public MLandedCostAllocation(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
      Parameters:
      ctx - context
      rs - result name
      trxName - trx
    • MLandedCostAllocation

      public MLandedCostAllocation(MInvoiceLine parent, int M_CostElement_ID)
      Parent Constructor
      Parameters:
      parent - parent
      M_CostElement_ID - cost element
  • Method Details

    • getOfInvoiceLine

      public static MLandedCostAllocation[] getOfInvoiceLine(Properties ctx, int C_InvoiceLine_ID, String trxName)
      Get Landed Cost Allocations for invoice Line
      Parameters:
      ctx - context
      C_InvoiceLine_ID - invoice line
      trxName - trx
      Returns:
      landed cost alloc
    • setAmt

      public void setAmt(double Amt, int precision)
      Set Amt
      Parameters:
      Amt - amount
      precision - precision
    • setQty

      public void setQty(BigDecimal Qty)
      Set Allocation Qty (e.g. free products)
      Specified by:
      setQty in interface I_C_LandedCostAllocation
      Overrides:
      setQty in class X_C_LandedCostAllocation
      Parameters:
      Qty -