Class CalloutBOM

java.lang.Object
org.compiere.model.CalloutEngine
org.eevolution.model.CalloutBOM
All Implemented Interfaces:
Callout

public class CalloutBOM extends CalloutEngine
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/
    • Constructor Details

      • CalloutBOM

        public CalloutBOM()
    • Method Details

      • parent

        public String parent(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
        Callout for M_Product_ID.
        Parent cycle check and BOM Line defaults.
        Parameters:
        ctx - Context
        WindowNo - current Window No
        mTab - Model Tab
        mField - Model Field
        value - The new value
      • qtyLine

        public String qtyLine(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
        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 - Context
        WindowNo - current Window No
        mTab - Model Tab
        mField - Model Field
        value - The new value