Compiere 3.1

org.compiere.model
Class CalloutPayment

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

Deprecated.

@Deprecated
public class CalloutPayment
extends CalloutEngine

Payment Callouts. org.compiere.model.CalloutPayment.*

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

Constructor Summary
CalloutPayment()
          Deprecated.  
 
Method Summary
 String amounts(Ctx ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue)
          Deprecated. Payment_Amounts.
 String charge(Ctx ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Deprecated. Payment_Charge
 String docType(Ctx ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Deprecated. Payment_Document Type.
 String invoice(Ctx ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Deprecated. Payment_Invoice.
 String order(Ctx ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
          Deprecated. Payment_Order.
 
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

CalloutPayment

public CalloutPayment()
Deprecated. 
Method Detail

invoice

public String invoice(Ctx ctx,
                      int WindowNo,
                      GridTab mTab,
                      GridField mField,
                      Object value)
Deprecated. 
Payment_Invoice. when Invoice selected - set C_Currency_ID - C_BPartner_ID - DiscountAmt = C_Invoice_Discount (ID, DateTrx) - PayAmt = invoiceOpen (ID) - Discount - WriteOffAmt = 0

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

order

public String order(Ctx ctx,
                    int WindowNo,
                    GridTab mTab,
                    GridField mField,
                    Object value)
Deprecated. 
Payment_Order. when Waiting Payment Order selected - set C_Currency_ID - C_BPartner_ID - DiscountAmt = C_Invoice_Discount (ID, DateTrx) - PayAmt = invoiceOpen (ID) - Discount - WriteOffAmt = 0

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

charge

public String charge(Ctx ctx,
                     int WindowNo,
                     GridTab mTab,
                     GridField mField,
                     Object value)
Deprecated. 
Payment_Charge. - reset - C_BPartner_ID, Invoice, Order, Project, Discount, WriteOff

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

docType

public String docType(Ctx ctx,
                      int WindowNo,
                      GridTab mTab,
                      GridField mField,
                      Object value)
Deprecated. 
Payment_Document Type. Verify that Document Type (AP/AR) and Invoice (SO/PO) are in sync

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

amounts

public String amounts(Ctx ctx,
                      int WindowNo,
                      GridTab mTab,
                      GridField mField,
                      Object value,
                      Object oldValue)
Deprecated. 
Payment_Amounts. Change of: - IsOverUnderPayment -> set OverUnderAmt to 0 - C_Currency_ID, C_ConvesionRate_ID -> convert all - PayAmt, DiscountAmt, WriteOffAmt, OverUnderAmt -> PayAmt make sure that add up to InvoiceOpenAmt

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

Compiere 3.1

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