Class 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
    • Constructor Detail

      • CalloutGLJournal

        public CalloutGLJournal()
    • 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 - context
        WindowNo - window no
        mTab - tab
        mField - field
        value - 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 - context
        WindowNo - window no
        mTab - tab
        mField - field
        value - 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 - context
        WindowNo - window no
        mTab - tab
        mField - field
        value - value
        Returns:
        null or error message
      • 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 - context
        WindowNo - window no
        mTab - tab
        mField - field
        value - 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 - context
        WindowNo - window no
        mTab - tab
        mField - field
        value - value
        Returns:
        null or error message