Class X_T_BOMLine

    • Constructor Detail

      • X_T_BOMLine

        public X_T_BOMLine​(Properties ctx,
                           int T_BOMLine_ID,
                           String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        3 - Client - Org
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setAD_PInstance_ID

        public void setAD_PInstance_ID​(int AD_PInstance_ID)
        Set Process Instance.
        Specified by:
        setAD_PInstance_ID in interface I_T_BOMLine
        Parameters:
        AD_PInstance_ID - Instance of the process
      • getAD_PInstance_ID

        public int getAD_PInstance_ID()
        Get Process Instance.
        Specified by:
        getAD_PInstance_ID in interface I_T_BOMLine
        Returns:
        Instance of the process
      • setC_AcctSchema_ID

        public void setC_AcctSchema_ID​(int C_AcctSchema_ID)
        Set Accounting Schema.
        Specified by:
        setC_AcctSchema_ID in interface I_T_BOMLine
        Parameters:
        C_AcctSchema_ID - Rules for accounting
      • getC_AcctSchema_ID

        public int getC_AcctSchema_ID()
        Get Accounting Schema.
        Specified by:
        getC_AcctSchema_ID in interface I_T_BOMLine
        Returns:
        Rules for accounting
      • setCost

        public void setCost​(BigDecimal Cost)
        Set Cost.
        Specified by:
        setCost in interface I_T_BOMLine
        Parameters:
        Cost - Cost information
      • setCostingMethod

        public void setCostingMethod​(String CostingMethod)
        Set Costing Method.
        Specified by:
        setCostingMethod in interface I_T_BOMLine
        Parameters:
        CostingMethod - Indicates how Costs will be calculated
      • getCostingMethod

        public String getCostingMethod()
        Get Costing Method.
        Specified by:
        getCostingMethod in interface I_T_BOMLine
        Returns:
        Indicates how Costs will be calculated
      • setCostStandard

        public void setCostStandard​(BigDecimal CostStandard)
        Set Standard Cost.
        Specified by:
        setCostStandard in interface I_T_BOMLine
        Parameters:
        CostStandard - Standard Costs
      • setCurrentCostPrice

        public void setCurrentCostPrice​(BigDecimal CurrentCostPrice)
        Set Current Cost Price.
        Specified by:
        setCurrentCostPrice in interface I_T_BOMLine
        Parameters:
        CurrentCostPrice - The currently used cost price
      • setCurrentCostPriceLL

        public void setCurrentCostPriceLL​(BigDecimal CurrentCostPriceLL)
        Set Current Cost Price Lower Level.
        Specified by:
        setCurrentCostPriceLL in interface I_T_BOMLine
        Parameters:
        CurrentCostPriceLL - Current Price Lower Level Is the sum of the costs of the components of this product manufactured for this level.
      • getCurrentCostPriceLL

        public BigDecimal getCurrentCostPriceLL()
        Get Current Cost Price Lower Level.
        Specified by:
        getCurrentCostPriceLL in interface I_T_BOMLine
        Returns:
        Current Price Lower Level Is the sum of the costs of the components of this product manufactured for this level.
      • setFutureCostPrice

        public void setFutureCostPrice​(BigDecimal FutureCostPrice)
        Set Future Cost Price.
        Specified by:
        setFutureCostPrice in interface I_T_BOMLine
        Parameters:
        FutureCostPrice - Future Cost Price
      • setFutureCostPriceLL

        public void setFutureCostPriceLL​(BigDecimal FutureCostPriceLL)
        Set Future Cost Price Lower Level.
        Specified by:
        setFutureCostPriceLL in interface I_T_BOMLine
        Parameters:
        FutureCostPriceLL - Future Cost Price Lower Level
      • setImplosion

        public void setImplosion​(boolean Implosion)
        Set Implosion.
        Specified by:
        setImplosion in interface I_T_BOMLine
        Parameters:
        Implosion - Implosion of a Bill of Materials refers to finding all the BOM''s in which a component is used.
      • isImplosion

        public boolean isImplosion()
        Get Implosion.
        Specified by:
        isImplosion in interface I_T_BOMLine
        Returns:
        Implosion of a Bill of Materials refers to finding all the BOM''s in which a component is used.
      • setIsCostFrozen

        public void setIsCostFrozen​(boolean IsCostFrozen)
        Set Cost Frozen.
        Specified by:
        setIsCostFrozen in interface I_T_BOMLine
        Parameters:
        IsCostFrozen - Indicated that the Standard Cost is frozen
      • isCostFrozen

        public boolean isCostFrozen()
        Get Cost Frozen.
        Specified by:
        isCostFrozen in interface I_T_BOMLine
        Returns:
        Indicated that the Standard Cost is frozen
      • setLevelNo

        public void setLevelNo​(int LevelNo)
        Set Level no.
        Specified by:
        setLevelNo in interface I_T_BOMLine
        Parameters:
        LevelNo - Level no
      • getLevelNo

        public int getLevelNo()
        Get Level no.
        Specified by:
        getLevelNo in interface I_T_BOMLine
        Returns:
        Level no
      • setLevels

        public void setLevels​(String Levels)
        Set Levels.
        Specified by:
        setLevels in interface I_T_BOMLine
        Parameters:
        Levels - Levels
      • setM_CostElement_ID

        public void setM_CostElement_ID​(int M_CostElement_ID)
        Set Cost Element.
        Specified by:
        setM_CostElement_ID in interface I_T_BOMLine
        Parameters:
        M_CostElement_ID - Product Cost Element
      • getM_CostElement_ID

        public int getM_CostElement_ID()
        Get Cost Element.
        Specified by:
        getM_CostElement_ID in interface I_T_BOMLine
        Returns:
        Product Cost Element
      • setM_CostType_ID

        public void setM_CostType_ID​(int M_CostType_ID)
        Set Cost Type.
        Specified by:
        setM_CostType_ID in interface I_T_BOMLine
        Parameters:
        M_CostType_ID - Type of Cost (e.g. Current, Plan, Future)
      • getM_CostType_ID

        public int getM_CostType_ID()
        Get Cost Type.
        Specified by:
        getM_CostType_ID in interface I_T_BOMLine
        Returns:
        Type of Cost (e.g. Current, Plan, Future)
      • setM_Product_ID

        public void setM_Product_ID​(int M_Product_ID)
        Set Product.
        Specified by:
        setM_Product_ID in interface I_T_BOMLine
        Parameters:
        M_Product_ID - Product, Service, Item
      • getM_Product_ID

        public int getM_Product_ID()
        Get Product.
        Specified by:
        getM_Product_ID in interface I_T_BOMLine
        Returns:
        Product, Service, Item
      • setPP_Product_BOM_ID

        public void setPP_Product_BOM_ID​(int PP_Product_BOM_ID)
        Set BOM & Formula.
        Specified by:
        setPP_Product_BOM_ID in interface I_T_BOMLine
        Parameters:
        PP_Product_BOM_ID - BOM & Formula
      • getPP_Product_BOM_ID

        public int getPP_Product_BOM_ID()
        Get BOM & Formula.
        Specified by:
        getPP_Product_BOM_ID in interface I_T_BOMLine
        Returns:
        BOM & Formula
      • setPP_Product_BOMLine_ID

        public void setPP_Product_BOMLine_ID​(int PP_Product_BOMLine_ID)
        Set BOM Line.
        Specified by:
        setPP_Product_BOMLine_ID in interface I_T_BOMLine
        Parameters:
        PP_Product_BOMLine_ID - BOM Line
      • setQtyBOM

        public void setQtyBOM​(BigDecimal QtyBOM)
        Set Quantity.
        Specified by:
        setQtyBOM in interface I_T_BOMLine
        Parameters:
        QtyBOM - Indicate the Quantity use in this BOM
      • getQtyBOM

        public BigDecimal getQtyBOM()
        Get Quantity.
        Specified by:
        getQtyBOM in interface I_T_BOMLine
        Returns:
        Indicate the Quantity use in this BOM
      • setSel_Product_ID

        public void setSel_Product_ID​(int Sel_Product_ID)
        Set Selected Product.
        Specified by:
        setSel_Product_ID in interface I_T_BOMLine
        Parameters:
        Sel_Product_ID - Selected Product
      • getSel_Product_ID

        public int getSel_Product_ID()
        Get Selected Product.
        Specified by:
        getSel_Product_ID in interface I_T_BOMLine
        Returns:
        Selected Product
      • setSeqNo

        public void setSeqNo​(int SeqNo)
        Set Sequence.
        Specified by:
        setSeqNo in interface I_T_BOMLine
        Parameters:
        SeqNo - Method of ordering records; lowest number comes first
      • getSeqNo

        public int getSeqNo()
        Get Sequence.
        Specified by:
        getSeqNo in interface I_T_BOMLine
        Returns:
        Method of ordering records; lowest number comes first
      • setT_BOMLine_ID

        public void setT_BOMLine_ID​(int T_BOMLine_ID)
        Set Temporal BOM Line.
        Specified by:
        setT_BOMLine_ID in interface I_T_BOMLine
        Parameters:
        T_BOMLine_ID - Temporal BOM Line
      • getT_BOMLine_ID

        public int getT_BOMLine_ID()
        Get Temporal BOM Line.
        Specified by:
        getT_BOMLine_ID in interface I_T_BOMLine
        Returns:
        Temporal BOM Line
      • setT_BOMLine_UU

        public void setT_BOMLine_UU​(String T_BOMLine_UU)
        Set T_BOMLine_UU.
        Specified by:
        setT_BOMLine_UU in interface I_T_BOMLine
        Parameters:
        T_BOMLine_UU - T_BOMLine_UU