Class CalloutSetEmitLocation

java.lang.Object
org.brerp.sped.nfe.callout.CalloutSetEmitLocation
All Implemented Interfaces:
IColumnCallout

public class CalloutSetEmitLocation extends Object implements IColumnCallout
Ao selecionar a localização, preenche informações da localização do Emitente
Version:
$Id: CalloutSetEmitLocation.java, v1.0 17/09/2014 13:38:42, muriloht Exp $
Author:
muriloht (muriloht@devcoffee.com.br, http://www.devcoffee.com.br)
  • Constructor Details

    • CalloutSetEmitLocation

      public CalloutSetEmitLocation()
  • Method Details

    • start

      public String start(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue)
      Description copied from interface: IColumnCallout
      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!

      Specified by:
      start in interface IColumnCallout
      Parameters:
      ctx - Context
      WindowNo - current Window No
      mTab - Tab model
      mField - Field model
      value - The new value
      oldValue - The old value
      Returns:
      Error message or ""