Class MExpenseType

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

public class MExpenseType extends X_S_ExpenseType
Expense Type Model
Version:
$Id: MExpenseType.java,v 1.3 2006/07/30 00:51:05 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MExpenseType

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

      public MExpenseType(Properties ctx, int S_ExpenseType_ID, String trxName)
      Default Constructor
      Parameters:
      ctx - context
      S_ExpenseType_ID - id
      trxName - transaction
    • MExpenseType

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

    • getProduct

      public MProduct getProduct()
      Get Product
      Returns:
      first product that uses this expense type
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      beforeSave
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord -
      Returns:
      true
      See Also:
    • afterSave

      protected boolean afterSave(boolean newRecord, boolean success)
      After Save
      Overrides:
      afterSave in class PO
      Parameters:
      newRecord - new
      success - success
      Returns:
      success