Class MProductPO

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

public class MProductPO extends X_M_Product_PO
Product Purchasing Model
Version:
$Id: MProductPO.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MProductPO

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

      public MProductPO(Properties ctx, int ignored, String trxName)
      Persistency Constructor
      Parameters:
      ctx - context
      ignored - ignored
      trxName - transaction
    • MProductPO

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

    • getOfProduct

      public static MProductPO[] getOfProduct(Properties ctx, int M_Product_ID, String trxName)
      Get current MProductPO of Product
      Parameters:
      ctx - context
      M_Product_ID - product
      trxName - transaction
      Returns:
      array of MProductPO - current vendor first
    • 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