Adempiere 3.5.2a

compiere.model
Class CalloutUser

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

public class CalloutUser
extends CalloutEngine

User Callout Example.

Version:
$Id: CalloutUser.java,v 1.2 2006/07/30 00:51:57 jjanke Exp $
Author:
Jorg Janke

Field Summary
 
Fields inherited from class org.compiere.model.CalloutEngine
log, NO_ERROR
 
Constructor Summary
CalloutUser()
           
 
Method Summary
 String bPartner(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue)
          Invoice Header- BPartner
 String Frie_Name(String value)
          Frie Value - convert to standardized Name
 String Frie_Status(String value)
          Frie Status - convert to Status.
 String Frie_Value(String value)
          Frie Value - convert Name to Value
 String justAnExample(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue)
          JustAnExample.
 
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

CalloutUser

public CalloutUser()
Method Detail

justAnExample

public String justAnExample(Properties ctx,
                            int WindowNo,
                            GridTab mTab,
                            GridField mField,
                            Object value,
                            Object oldValue)
JustAnExample. The string in the Callout field is: com.adempiere.custom.CalloutEngine.justAnExample

Parameters:
ctx - Context
WindowNo - current Window No
mTab - Model Tab
mField - Model Field
value - The new value
oldValue - The old value
Returns:
error message or "" if OK

bPartner

public String bPartner(Properties ctx,
                       int WindowNo,
                       GridTab mTab,
                       GridField mField,
                       Object value,
                       Object oldValue)
Invoice Header- BPartner. - C_BPartner_Location_ID - AD_User_ID

Parameters:
ctx - Context
WindowNo - current Window No
mTab - Model Tab
mField - Model Field
value - The new value
oldValue - The old value
Returns:
error message

Frie_Name

public String Frie_Name(String value)
Frie Value - convert to standardized Name

Parameters:
value - Name
Returns:
Name

Frie_Value

public String Frie_Value(String value)
Frie Value - convert Name to Value

Parameters:
value - Name
Returns:
Value of Name

Frie_Status

public String Frie_Status(String value)
Frie Status - convert to Status.

Parameters:
value - value
Returns:
Status

Adempiere 3.5.2a

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