Interface Callout

All Known Implementing Classes:
Callout_AD_Column, Callout_AD_Process_Para, CalloutAddressValidation, CalloutAssignment, CalloutBankAcctProcessor, CalloutBankStatement, CalloutBOM, CalloutBPartnerLocation, CalloutCashJournal, CalloutClient, 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 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 - 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. Use by ImpFormatRow to convert an input value.
      Parameters:
      method - in notation User_Function
      value - the value
      Returns:
      converted String or Null if no method found