Class MRfQLine

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

public class MRfQLine extends X_C_RfQLine
RfQ Line
Version:
$Id: MRfQLine.java,v 1.3 2006/07/30 00:51:05 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MRfQLine

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

      public MRfQLine(Properties ctx, int C_RfQLine_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      C_RfQLine_ID - id
      trxName - transaction
    • MRfQLine

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

      public MRfQLine(MRfQ rfq)
      Parent Constructor
      Parameters:
      rfq - RfQ
    • MRfQLine

      public MRfQLine(MRfQLine copy)
      Copy constructor
      Parameters:
      copy -
    • MRfQLine

      public MRfQLine(Properties ctx, MRfQLine copy)
      Copy constructor
      Parameters:
      ctx -
      copy -
    • MRfQLine

      public MRfQLine(Properties ctx, MRfQLine copy, String trxName)
      Copy constructor
      Parameters:
      ctx -
      copy -
      trxName -
  • Method Details

    • get

      public static MRfQLine get(int C_RfQLine_ID)
      Get MRfQLine from DB
      Parameters:
      C_RfQLine_ID - id
      Returns:
      MRfQLine
    • get

      public static MRfQLine get(int C_RfQLine_ID, String trxName)
      Get MRfQLine from DB
      Parameters:
      C_RfQLine_ID - id
      trxName - transaction
      Returns:
      MRfQLine
    • get

      public static MRfQLine get(Properties ctx, int C_RfQLine_ID, String trxName)
      Get MRfQLine from DB
      Parameters:
      ctx - context
      C_RfQLine_ID - id
      trxName - transaction
      Returns:
      MRfQLine
    • getQtys

      public MRfQLineQty[] getQtys()
      Get Quantities
      Returns:
      array of quantities
    • getQtys

      public MRfQLineQty[] getQtys(boolean requery)
      Get RFQ Line Quantities
      Parameters:
      requery - true to re-query from DB
      Returns:
      array of RFQ line quantities
    • getProductDetailHTML

      public String getProductDetailHTML()
      Get Product Details in HTML
      Returns:
      Product Name and Description in HTML format
    • toString

      public String toString()
      String Representation
      Overrides:
      toString in class X_C_RfQLine
      Returns:
      info
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Description copied from class: PO
      Called before Save for Pre-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - true if it is a new record
      Returns:
      true if record can be saved