Class MOpportunity

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

public class MOpportunity extends X_C_Opportunity
Business Opportunity model
See Also:
  • Constructor Details

    • MOpportunity

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

      public MOpportunity(Properties ctx, int C_Opportunity_ID, String trxName)
      Parameters:
      ctx -
      C_Opportunity_ID -
      trxName -
    • MOpportunity

      public MOpportunity(Properties ctx, ResultSet rs, String trxName)
      Parameters:
      ctx -
      rs -
      trxName -
    • MOpportunity

      public MOpportunity(Properties ctx, int C_Opportunity_ID, String trxName, String... virtualColumns)
      Parameters:
      ctx -
      C_Opportunity_ID -
      trxName -
      virtualColumns -
  • Method Details

    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Description copied from class: PO
      Called before Save for Pre-Save Operation
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - new record
      Returns:
      true if record can be saved