org.compiere.model
Class CalloutGLJournal
java.lang.Object
org.compiere.model.CalloutEngine
org.compiere.model.CalloutGLJournal
- All Implemented Interfaces:
- Callout
public class CalloutGLJournal
- extends CalloutEngine
GL Journal Callout
- Version:
- $Id: CalloutGLJournal.java,v 1.3 2006/07/30 00:51:05 jjanke Exp $
- Author:
- Jorg Janke
|
Method Summary |
String |
amt(Properties ctx,
int WindowNo,
GridTab mTab,
GridField mField,
Object value)
JournalLine - Amt. |
String |
period(Properties ctx,
int WindowNo,
GridTab mTab,
GridField mField,
Object value)
Journal - Period. |
String |
rate(Properties ctx,
int WindowNo,
GridTab mTab,
GridField mField,
Object value)
Journal/Line - rate. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalloutGLJournal
public CalloutGLJournal()
period
public String period(Properties ctx,
int WindowNo,
GridTab mTab,
GridField mField,
Object value)
- Journal - Period.
Check that selected period is in DateAcct Range or Adjusting Period
Called when C_Period_ID or DateAcct, DateDoc changed
- Parameters:
ctx - contextWindowNo - window nomTab - tabmField - fieldvalue - value
- Returns:
- null or error message
rate
public String rate(Properties ctx,
int WindowNo,
GridTab mTab,
GridField mField,
Object value)
- Journal/Line - rate.
Set CurrencyRate from DateAcct, C_ConversionType_ID, C_Currency_ID
- Overrides:
rate in class CalloutEngine
- Parameters:
ctx - contextWindowNo - window nomTab - tabmField - fieldvalue - value
- Returns:
- null or error message
amt
public String amt(Properties ctx,
int WindowNo,
GridTab mTab,
GridField mField,
Object value)
- JournalLine - Amt.
Convert the source amount to accounted amount (AmtAcctDr/Cr)
Called when source amount (AmtSourceCr/Dr) or rate changes
- Parameters:
ctx - contextWindowNo - window nomTab - tabmField - fieldvalue - value
- Returns:
- null or error message
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.