Class MLandedCost

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

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

    • MLandedCost

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

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

      public MLandedCost(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
      Parameters:
      ctx - context
      rs - result set
      trxName - trx
  • Method Details

    • getLandedCosts

      public static MLandedCost[] getLandedCosts(MInvoiceLine il)
      Get Landed Costs of Invoice Line
      Parameters:
      il - invoice line
      Returns:
      array of landed cost lines
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Before Save
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - new
      Returns:
      true if ok
    • allocateCosts

      public String allocateCosts()
      Allocate Landed Costs. Done at Invoice Line Level.
      Returns:
      error message or ""
    • toString

      public String toString()
      String Representation
      Overrides:
      toString in class X_C_LandedCost
      Returns:
      info