Package org.compiere.model
Interface Callout
- All Known Implementing Classes:
Callout_AD_Column
,Callout_AD_Process_Para
,CalloutAddressValidation
,CalloutAssignment
,CalloutBankAcctProcessor
,CalloutBankStatement
,CalloutBOM
,CalloutBPartnerLocation
,CalloutCashJournal
,CalloutClient
,CalloutDepositBatch
,CalloutEngine
,CalloutFillLocator
,CalloutGLJournal
,CalloutImportTemplate
,CalloutInOut
,CalloutInventory
,CalloutInvoice
,CalloutInvoiceBatch
,CalloutMovement
,CalloutOpportunity
,CalloutOrder
,CalloutPackage
,CalloutPayment
,CalloutPaymentAllocate
,CalloutPaySelection
,CalloutProcessCustomization
,CalloutProductCategory
,CalloutProduction
,CalloutProject
,CalloutRequest
,CalloutRequisition
,CalloutRMA
,CalloutShipper
,CalloutShippingProcessor
,CalloutTaxProvider
,CalloutTimeExpense
,CalloutWindowCustomization
,MAssetType.Callout
public interface Callout
Callout Interface for column/field.
Used in MTab and ImpFormatRow.
- Version:
- $Id: Callout.java,v 1.2 2006/07/30 00:51:05 jjanke Exp $
- Author:
- Jorg Janke
- See Also:
-
Method Summary
-
Method Details
-
start
String start(Properties ctx, String method, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue) Start Callout.Callout's are used for field validation, 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
- Contextmethod
- Method nameWindowNo
- current Window NomTab
- Model TabmField
- Model Fieldvalue
- The new valueoldValue
- The old value- Returns:
- Error message or ""
-
convert
Conversion Rules. Use by ImpFormatRow to convert an input value.- Parameters:
method
- in notation User_Functionvalue
- the value- Returns:
- converted String or Null if no method found
-