Adempiere 3.5.2a

org.compiere.model
Class CalloutTimeExpense

java.lang.Object
  extended by org.compiere.model.CalloutEngine
      extended by org.compiere.model.CalloutTimeExpense
All Implemented Interfaces:
Callout

public class CalloutTimeExpense
extends CalloutEngine

Time & Expense Report Callout

Version:
$Id: CalloutTimeExpense.java,v 1.3 2006/07/30 00:51:02 jjanke Exp $
Author:
Jorg Janke

Field Summary
 
Fields inherited from class org.compiere.model.CalloutEngine
log, NO_ERROR
 
Constructor Summary
CalloutTimeExpense()
           
 
Method Summary
 String amount(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Expense - Amount
 String product(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Expense Report Line - called from M_Product_ID, S_ResourceAssignment_ID - set ExpenseAmt
 
Methods inherited from class org.compiere.model.CalloutEngine
convert, dateAcct, getGridField, getGridTab, isCalloutActive, rate, setCalloutActive, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalloutTimeExpense

public CalloutTimeExpense()
Method Detail

product

public String product(Properties ctx,
                      int WindowNo,
                      GridTab mTab,
                      GridField mField,
                      Object value)
Expense Report Line - called from M_Product_ID, S_ResourceAssignment_ID - set ExpenseAmt

Parameters:
ctx - context
WindowNo - current Window No
mTab - Grid Tab
mField - Grid Field
value - New Value
Returns:
null or error message

amount

public String amount(Properties ctx,
                     int WindowNo,
                     GridTab mTab,
                     GridField mField,
                     Object value)
Expense - Amount. - called from ExpenseAmt, C_Currency_ID - calculates ConvertedAmt

Parameters:
ctx - context
WindowNo - current Window No
mTab - Grid Tab
mField - Grid Field
value - New Value
Returns:
null or error message

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.