Class CalloutSetUOM

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

public class CalloutSetUOM extends Object implements IColumnCallout
na linha de documento fiscal, ao selecionar a UdM preenche o campo det_prod_uCom e det_prod_uTrib
Version:
$Id: CalloutSetUOM.java, v1.0 17/09/2014 14:06:46, muriloht Exp $
Author:
muriloht (muriloht@devcoffee.com.br, http://www.devcoffee.com.br)
  • Constructor Details

    • CalloutSetUOM

      public CalloutSetUOM()
  • 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 ""