Package org.compiere.model
Class CalloutGLJournal
java.lang.Object
org.compiere.model.CalloutEngine
org.compiere.model.CalloutGLJournal
- All Implemented Interfaces:
Callout
GL Journal Callout
- Version:
- $Id: CalloutGLJournal.java,v 1.3 2006/07/30 00:51:05 jjanke Exp $
- Author:
- Jorg Janke
-
Field Summary
Fields inherited from class org.compiere.model.CalloutEngine
additionalArgs, ARG_SEPARATOR, log, NO_ERROR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccount(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) acctSchema(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Journal - Acct Schema Set Currency from C_AcctSchema_IDalias(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) amt(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) JournalLine - Amt.docType(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Journal - Doc Type Set GL Category from C_DocType_IDperiod(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Journal - Period.rate(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Journal/Line - rate.Methods inherited from class org.compiere.model.CalloutEngine
checkPeriodOpen, convert, dateAcct, getGridField, getGridTab, isCalloutActive, setCalloutActive, start
-
Constructor Details
-
CalloutGLJournal
public CalloutGLJournal()
-
-
Method Details
-
period
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
Journal/Line - rate. Set CurrencyRate from DateAcct, C_ConversionType_ID, C_Currency_ID- Overrides:
ratein classCalloutEngine- Parameters:
ctx- contextWindowNo- window nomTab- tabmField- fieldvalue- value- Returns:
- null or error message
-
amt
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
-
account
-
alias
-
acctSchema
public String acctSchema(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Journal - Acct Schema Set Currency from C_AcctSchema_ID- Parameters:
ctx- contextWindowNo- window nomTab- tabmField- fieldvalue- value- Returns:
- null or error message
-
docType
Journal - Doc Type Set GL Category from C_DocType_ID- Parameters:
ctx- contextWindowNo- window nomTab- tabmField- fieldvalue- value- Returns:
- null or error message
-