Package org.brerp.sped.nfe.callout
Class CalloutSetProductData
java.lang.Object
org.brerp.sped.nfe.callout.CalloutSetProductData
- All Implemented Interfaces:
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 Summary
-
Method Summary
-
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 interfaceIColumnCallout
- Parameters:
ctx
- ContextWindowNo
- current Window NomTab
- Tab modelmField
- Field modelvalue
- The new valueoldValue
- The old value- Returns:
- Error message or ""
-