Class MOrderLandedCost

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

public class MOrderLandedCost extends X_C_OrderLandedCost
Landed cost for order
Author:
hengsin
See Also:
  • Constructor Details

    • MOrderLandedCost

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

      public MOrderLandedCost(Properties ctx, int C_OrderLandedCost_ID, String trxName)
      Parameters:
      ctx -
      C_OrderLandedCost_ID -
      trxName -
    • MOrderLandedCost

      public MOrderLandedCost(Properties ctx, ResultSet rs, String trxName)
      Parameters:
      ctx -
      rs -
      trxName -
  • Method Details

    • getOfOrder

      public static MOrderLandedCost[] getOfOrder(int C_Order_ID, String trxName)
      Get landed cost lines
      Parameters:
      C_Order_ID -
      Returns:
      array of MOrderLandedCost
    • getLines

      public MOrderLandedCostAllocation[] getLines(String whereClause)
      Get Lines of allocation
      Parameters:
      whereClause - starting with AND
      Returns:
      landed cost allocation lines
    • distributeLandedCost

      public String distributeLandedCost()
      create landed cost allocations
      Returns:
      error message or null