Adempiere 3.5.2a

org.compiere.model
Class CalloutCashJournal

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

public class CalloutCashJournal
extends CalloutEngine

Cash Book Journal Callouts

Version:
$Id: CalloutCashJournal.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
CalloutCashJournal()
           
 
Method Summary
 String amounts(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Cash Journal Line Invoice Amounts.
 String invoice(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Cash Journal Line Invoice.
 
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

CalloutCashJournal

public CalloutCashJournal()
Method Detail

invoice

public String invoice(Properties ctx,
                      int WindowNo,
                      GridTab mTab,
                      GridField mField,
                      Object value)
Cash Journal Line Invoice. when Invoice selected - set C_Currency, DiscountAnt, Amount, WriteOffAmt

Parameters:
ctx - context
WindowNo - window no
mTab - tab
mField - field
value - value
Returns:
null or error message

amounts

public String amounts(Properties ctx,
                      int WindowNo,
                      GridTab mTab,
                      GridField mField,
                      Object value)
Cash Journal Line Invoice Amounts. when DiscountAnt, Amount, WriteOffAmt change making sure that add up to InvTotalAmt (created by CashJournal_Invoice)

Parameters:
ctx - context
WindowNo - window no
mTab - tab
mField - field
value - 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.