Class MProductPO

    • Constructor Detail

      • 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 Detail

      • getOfProduct

        public static MProductPO[] getOfProduct​(Properties ctx,
                                                int M_Product_ID,
                                                String trxName)
        Get current PO of Product
        Parameters:
        ctx - context
        M_Product_ID - product
        trxName - transaction
        Returns:
        PO - current vendor first
      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Before Save
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord - new
        Returns:
        true