Package org.eevolution.model
Class CalloutBOM
java.lang.Object
org.compiere.model.CalloutEngine
org.eevolution.model.CalloutBOM
- All Implemented Interfaces:
Callout
BOM Callouts
- Author:
- Victor Perez www.e-evolution.com, Teo Sarca, www.arhipac.ro
- BF [ 2820743 ] CalloutBOM - apply ABP https://sourceforge.net/p/adempiere/libero/211/
-
Field Summary
Fields inherited from class org.compiere.model.CalloutEngine
additionalArgs, ARG_SEPARATOR, log, NO_ERROR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetdefaults
(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Callout for M_Product_ID.
Get defaults for Product (search key, name, description, help and UOM)parent
(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Callout for M_Product_ID.
Parent cycle check and BOM Line defaults.qtyLine
(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Callout for C_UOM_ID, QtyEntered and QtyRequired.
Sync QtyEntered and QtyRequired.Methods inherited from class org.compiere.model.CalloutEngine
checkPeriodOpen, convert, dateAcct, getGridField, getGridTab, isCalloutActive, rate, setCalloutActive, start
-
Constructor Details
-
CalloutBOM
public CalloutBOM()
-
-
Method Details
-
parent
Callout for M_Product_ID.
Parent cycle check and BOM Line defaults.- Parameters:
ctx
- ContextWindowNo
- current Window NomTab
- Model TabmField
- Model Fieldvalue
- The new value
-
qtyLine
Callout for C_UOM_ID, QtyEntered and QtyRequired.
Sync QtyEntered and QtyRequired.- Parameters:
ctx
-WindowNo
-mTab
-mField
-value
-- Returns:
- empty string
-
getdefaults
public String getdefaults(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Callout for M_Product_ID.
Get defaults for Product (search key, name, description, help and UOM)- Parameters:
ctx
- ContextWindowNo
- current Window NomTab
- Model TabmField
- Model Fieldvalue
- The new value
-