Class MLot

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

public class MLot extends X_M_Lot
Product Lot
Version:
$Id: MLot.java,v 1.3 2006/07/30 00:51:02 jjanke Exp $ FR: [ 2214883 ] Remove SQL code and Replace for Query - red1
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MLot

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

      public MLot(Properties ctx, int M_Lot_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      M_Lot_ID - ID
      trxName - transaction
    • MLot

      public MLot(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
      Parameters:
      ctx - context
      rs - result set
      trxName - transaction
    • MLot

      public MLot(MLotCtl ctl, int M_Product_ID, String Name)
      Parameters:
      ctl - lot control
      M_Product_ID - product
      Name - name
  • Method Details

    • getProductLots

      public static MLot[] getProductLots(Properties ctx, int M_Product_ID, String trxName)
      Get Lots for Product
      Parameters:
      ctx - context
      M_Product_ID - product
      trxName - transaction
      Returns:
      Array of Lots for Product
    • getProductLot

      public static MLot getProductLot(Properties ctx, int M_Product_ID, String lot, String trxName)
      Get Lot for Product
      Parameters:
      ctx - context
      M_Product_ID - product
      lot -
      trxName - transaction
      Returns:
      Last Lot for Product
    • getProductLotPairs

      public static KeyNamePair[] getProductLotPairs(int M_Product_ID, String trxName)
      Get Lot Key Name Pairs for Product
      Parameters:
      M_Product_ID - product
      trxName - transaction
      Returns:
      Array of Lot Key Name Pairs for Product
    • toString

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