Adempiere 3.5.2a

org.compiere.model
Class CalloutInvoiceBatch

java.lang.Object
  extended by org.compiere.model.CalloutEngine
      extended by org.compiere.model.CalloutInvoiceBatch
All Implemented Interfaces:
Callout

public class CalloutInvoiceBatch
extends CalloutEngine

Callouts for Invoice Batch

Version:
$Id: CalloutInvoiceBatch.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $
Author:
Jorg Janke

Field Summary
 
Fields inherited from class org.compiere.model.CalloutEngine
log, NO_ERROR
 
Constructor Summary
CalloutInvoiceBatch()
           
 
Method Summary
 String amt(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Invoice - Amount
 String bPartner(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Invoice Batch Line - BPartner
 String charge(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Invoice Batch Line - Charge
 String date(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Invoice Batch Line - DateInvoiced
 String docType(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Document Type
 String tax(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Invoice Line - Tax
 
Methods inherited from class org.compiere.model.CalloutEngine
convert, dateAcct, getGridField, getGridTab, isCalloutActive, rate, setCalloutActive, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalloutInvoiceBatch

public CalloutInvoiceBatch()
Method Detail

date

public String date(Properties ctx,
                   int WindowNo,
                   GridTab mTab,
                   GridField mField,
                   Object value)
Invoice Batch Line - DateInvoiced. - updates DateAcct

Parameters:
ctx - context
WindowNo - window no
mTab - tab
mField - field
value - value
Returns:
null or error message

bPartner

public String bPartner(Properties ctx,
                       int WindowNo,
                       GridTab mTab,
                       GridField mField,
                       Object value)
Invoice Batch Line - BPartner. - C_BPartner_Location_ID - AD_User_ID - PaymentRule - C_PaymentTerm_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)
Document Type. - called from DocType

Parameters:
ctx - context
WindowNo - window no
mTab - tab
mField - field
value - value
Returns:
null or error message

charge

public String charge(Properties ctx,
                     int WindowNo,
                     GridTab mTab,
                     GridField mField,
                     Object value)
Invoice Batch Line - Charge. - updates PriceEntered from Charge Calles tax

Parameters:
ctx - context
WindowNo - window no
mTab - tab
mField - field
value - value
Returns:
null or error message

tax

public String tax(Properties ctx,
                  int WindowNo,
                  GridTab mTab,
                  GridField mField,
                  Object value)
Invoice Line - Tax. - basis: Charge, BPartner Location - sets C_Tax_ID Calles Amount

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)
Invoice - Amount. - called from QtyEntered, PriceEntered - calculates LineNetAmt

Parameters:
ctx - context
WindowNo - window no
mTab - tab
mField - field
value - value
Returns:
null or error message

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.