Class CalloutCashJournal

java.lang.Object
org.compiere.model.CalloutEngine
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
  • Constructor Details

    • CalloutCashJournal

      public CalloutCashJournal()
  • Method Details

    • 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