Class MTimeExpenseLine

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

public class MTimeExpenseLine extends X_S_TimeExpenseLine
Time + Expense Line Model
Version:
$Id: MTimeExpenseLine.java,v 1.4 2006/09/25 00:59:41 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MTimeExpenseLine

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

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

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

    • getParent

      public MTimeExpense getParent()
      Get Parent
      Returns:
      parent
    • getQtyInvoiced

      public BigDecimal getQtyInvoiced()
      Get Qty Invoiced
      Specified by:
      getQtyInvoiced in interface I_S_TimeExpenseLine
      Overrides:
      getQtyInvoiced in class X_S_TimeExpenseLine
      Returns:
      entered or qty
    • getQtyReimbursed

      public BigDecimal getQtyReimbursed()
      Get Qty Reimbursed
      Specified by:
      getQtyReimbursed in interface I_S_TimeExpenseLine
      Overrides:
      getQtyReimbursed in class X_S_TimeExpenseLine
      Returns:
      entered or qty
    • getPriceInvoiced

      public BigDecimal getPriceInvoiced()
      Get Price Invoiced
      Specified by:
      getPriceInvoiced in interface I_S_TimeExpenseLine
      Overrides:
      getPriceInvoiced in class X_S_TimeExpenseLine
      Returns:
      entered or invoice price
    • getPriceReimbursed

      public BigDecimal getPriceReimbursed()
      Get Price Reimbursed
      Specified by:
      getPriceReimbursed in interface I_S_TimeExpenseLine
      Overrides:
      getPriceReimbursed in class X_S_TimeExpenseLine
      Returns:
      entered or converted amt
    • getApprovalAmt

      public BigDecimal getApprovalAmt()
      Get Approval Amt
      Returns:
      qty * converted amt
    • getC_Currency_Report_ID

      public int getC_Currency_Report_ID()
      Get C_Currency_ID of Report (Price List)
      Returns:
      currency
    • setC_Currency_Report_ID

      protected void setC_Currency_Report_ID(int C_Currency_ID)
      Set C_Currency_ID of Report (Price List)
      Parameters:
      C_Currency_ID - currency
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Before Save. Calculate converted amt
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - new
      Returns:
      true
    • afterSave

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

      protected boolean afterDelete(boolean success)
      After Delete
      Overrides:
      afterDelete in class PO
      Parameters:
      success - success
      Returns:
      success