Adempiere 3.5.2a

org.compiere.model
Interface Callout

All Known Implementing Classes:
CalloutAssignment, CalloutBankStatement, CalloutBOM, CalloutBPartnerLocation, CalloutCashJournal, CalloutClient, CalloutCostCollector, CalloutDistributionOrder, CalloutEngine, CalloutFA, CalloutGLJournal, CalloutInOut, CalloutInventory, CalloutInvoice, CalloutInvoiceBatch, CalloutMovement, CalloutMRP, CalloutOrder, CalloutOrder, CalloutPayment, CalloutPaymentAllocate, CalloutPayroll, CalloutPaySelection, CalloutProductCategory, CalloutProduction, CalloutProfile, CalloutProject, CalloutRequest, CalloutRequisition, CalloutRMA, CalloutTemplate, CalloutTimeExpense, CalloutUser

public interface Callout

Callout Interface for Callout. Used in MTab and ImpFormatRow

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

Method Summary
 String convert(String method, String value)
          Conversion Rules.
 String start(Properties ctx, String method, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue)
          Start Callout.
 

Method Detail

start

String start(Properties ctx,
             String method,
             int WindowNo,
             GridTab mTab,
             GridField mField,
             Object value,
             Object oldValue)
Start Callout.

Callout's are used for cross field validation and setting values in other fields when returning a non empty (error message) string, an exception is raised

When invoked, the Tab model has the new value!

Parameters:
ctx - Context
method - Method name
WindowNo - current Window No
mTab - Model Tab
mField - Model Field
value - The new value
oldValue - The old value
Returns:
Error message or ""

convert

String convert(String method,
               String value)
Conversion Rules. Convert a String

Parameters:
method - in notation User_Function
value - the value
Returns:
converted String or Null if no method found

Adempiere 3.5.2a

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