Compiere 3.1

org.compiere.model
Class CalloutInvoice

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

Deprecated.

@Deprecated
public class CalloutInvoice
extends CalloutEngine

Invoice Callouts

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

Constructor Summary
CalloutInvoice()
          Deprecated.  
 
Method Summary
 String amt(Ctx ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Deprecated. Invoice - Amount
 String bPartner(Ctx ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Deprecated. Invoice Header- BPartner
 String charge(Ctx ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Deprecated. Invoice Line - Charge
 String dateInvoiced(Ctx ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Deprecated.  
 String docType(Ctx ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue)
          Deprecated. Invoice Header - DocType
 String paymentTerm(Ctx ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Deprecated. Set Payment Term.
 String priceList(Ctx ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Deprecated. Order Header - PriceList.
 String product(Ctx ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Deprecated. Invoice Line - Product
 String qty(Ctx ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Deprecated. Invoice Line - Quantity
 String tax(Ctx ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Deprecated. Invoice Line - Tax
 
Methods inherited from class org.compiere.model.CalloutEngine
convert, dateAcct, isCalloutActive, rate, setCalloutActive, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalloutInvoice

public CalloutInvoice()
Deprecated. 
Method Detail

docType

public String docType(Ctx ctx,
                      int WindowNo,
                      GridTab mTab,
                      GridField mField,
                      Object value,
                      Object oldValue)
Deprecated. 
Invoice Header - DocType. - PaymentRule - temporary Document Context: - DocSubTypeSO - HasCharges - (re-sets Business Partner info of required)

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

bPartner

public String bPartner(Ctx ctx,
                       int WindowNo,
                       GridTab mTab,
                       GridField mField,
                       Object value)
Deprecated. 
Invoice Header- BPartner. - M_PriceList_ID (+ Context) - C_BPartner_Location_ID - AD_User_ID - POReference - SO_Description - IsDiscountPrinted - PaymentRule - C_PaymentTerm_ID

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

paymentTerm

public String paymentTerm(Ctx ctx,
                          int WindowNo,
                          GridTab mTab,
                          GridField mField,
                          Object value)
Deprecated. 
Set Payment Term. Payment Term has changed

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

dateInvoiced

public String dateInvoiced(Ctx ctx,
                           int WindowNo,
                           GridTab mTab,
                           GridField mField,
                           Object value)
Deprecated. 

priceList

public String priceList(Ctx ctx,
                        int WindowNo,
                        GridTab mTab,
                        GridField mField,
                        Object value)
Deprecated. 
Order Header - PriceList. (used also in Invoice) - C_Currency_ID - IsTaxIncluded Window Context: - EnforcePriceLimit - StdPrecision - M_PriceList_Version_ID

Parameters:
ctx - context
WindowNo - current Window No
mTab - Grid Tab
mField - Grid Field
value - New Value
Returns:
null or error message

product

public String product(Ctx ctx,
                      int WindowNo,
                      GridTab mTab,
                      GridField mField,
                      Object value)
Deprecated. 
Invoice Line - Product. - reset C_Charge_ID / M_AttributeSetInstance_ID - PriceList, PriceStd, PriceLimit, C_Currency_ID, EnforcePriceLimit - UOM Calls Tax

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

charge

public String charge(Ctx ctx,
                     int WindowNo,
                     GridTab mTab,
                     GridField mField,
                     Object value)
Deprecated. 
Invoice Line - Charge. - updates PriceActual from Charge - sets PriceLimit, PriceList to zero Calles tax

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

tax

public String tax(Ctx ctx,
                  int WindowNo,
                  GridTab mTab,
                  GridField mField,
                  Object value)
Deprecated. 
Invoice Line - Tax. - basis: Product, 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(Ctx ctx,
                  int WindowNo,
                  GridTab mTab,
                  GridField mField,
                  Object value)
Deprecated. 
Invoice - Amount. - called from QtyInvoiced, PriceActual - calculates LineNetAmt

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

qty

public String qty(Ctx ctx,
                  int WindowNo,
                  GridTab mTab,
                  GridField mField,
                  Object value)
Deprecated. 
Invoice Line - Quantity. - called from C_UOM_ID, QtyEntered, QtyInvoiced - enforces qty UOM relationship

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

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.