Class CalloutSetProductData

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

public class CalloutSetProductData extends Object implements IColumnCallout
Ao selecionar o produto, preenche automaticamente o valor dos campos det_prod_cProd, det_prod_xProd, imposto_icms_orig, det_prod_NCM e cof_SpecificProduct .
Version:
$Id: CalloutSetProductData.java, v1.0 17/09/2014 14:23:24, muriloht Exp $
Author:
muriloht (muriloht@devcoffee.com.br, http://www.devcoffee.com.br)
  • Constructor Details

    • CalloutSetProductData

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