Package 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
-
-
Field Summary
-
Fields inherited from class org.compiere.model.CalloutEngine
additionalArgs, ARG_SEPARATOR, log, NO_ERROR
-
-
Constructor Summary
Constructors Constructor Description CalloutGLJournal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
account(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
String
acctSchema(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
Journal - Acct Schema Set Currency from C_AcctSchema_IDString
alias(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
String
amt(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
JournalLine - Amt.String
docType(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
Journal - Doc Type Set GL Category from C_DocType_IDString
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 org.compiere.model.CalloutEngine
checkPeriodOpen, convert, dateAcct, getGridField, getGridTab, isCalloutActive, setCalloutActive, start
-
-
-
-
Method Detail
-
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 classCalloutEngine
- 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
-
account
public String account(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
-
alias
public String alias(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
-
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
public String docType(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
Journal - Doc Type Set GL Category from C_DocType_ID- Parameters:
ctx
- contextWindowNo
- window nomTab
- tabmField
- fieldvalue
- value- Returns:
- null or error message
-
-