Adempiere 3.5.2a

org.eevolution.model
Class X_PP_Product_BOMLine

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.eevolution.model.X_PP_Product_BOMLine
All Implemented Interfaces:
Serializable, Comparator, I_Persistent, Evaluatee, I_PP_Product_BOMLine
Direct Known Subclasses:
MPPProductBOMLine

public class X_PP_Product_BOMLine
extends PO
implements I_PP_Product_BOMLine, I_Persistent

Generated Model for PP_Product_BOMLine

Version:
Release 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int COMPONENTTYPE_AD_Reference_ID
          ComponentType AD_Reference_ID=53225
static String COMPONENTTYPE_ByProduct
          By Product = BY
static String COMPONENTTYPE_Component
          Component = CO
static String COMPONENTTYPE_Option
          Option = OP
static String COMPONENTTYPE_Packing
          Packing = PK
static String COMPONENTTYPE_Phantom
          Phantom = PH
static String COMPONENTTYPE_Planning
          Planning = PL
static String COMPONENTTYPE_Tools
          Tools = TL
static String COMPONENTTYPE_Variant
          Variant = VA
static int ISSUEMETHOD_AD_Reference_ID
          IssueMethod AD_Reference_ID=53226
static String ISSUEMETHOD_BackFlush
          BackFlush = 1
static String ISSUEMETHOD_Issue
          Issue = 0
 
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Fields inherited from interface org.eevolution.model.I_PP_Product_BOMLine
accessLevel, COLUMNNAME_Assay, COLUMNNAME_BackflushGroup, COLUMNNAME_C_UOM_ID, COLUMNNAME_ComponentType, COLUMNNAME_Description, COLUMNNAME_Feature, COLUMNNAME_Forecast, COLUMNNAME_Help, COLUMNNAME_IsCritical, COLUMNNAME_IsQtyPercentage, COLUMNNAME_IssueMethod, COLUMNNAME_LeadTimeOffset, COLUMNNAME_Line, COLUMNNAME_M_AttributeSetInstance_ID, COLUMNNAME_M_ChangeNotice_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_PP_Product_BOM_ID, COLUMNNAME_PP_Product_BOMLine_ID, COLUMNNAME_QtyBatch, COLUMNNAME_QtyBOM, COLUMNNAME_Scrap, COLUMNNAME_ValidFrom, COLUMNNAME_ValidTo, Model, Table_ID, Table_Name
 
Constructor Summary
X_PP_Product_BOMLine(Properties ctx, int PP_Product_BOMLine_ID, String trxName)
          Standard Constructor
X_PP_Product_BOMLine(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 BigDecimal getAssay()
          Get Quantity Assay.
 String getBackflushGroup()
          Get Backflush Group.
 int getC_UOM_ID()
          Get UOM.
 I_C_UOM getC_UOM()
           
 String getComponentType()
          Get Component Type.
 String getDescription()
          Get Description.
 String getFeature()
          Get Feature.
 BigDecimal getForecast()
          Get Forecast.
 String getHelp()
          Get Comment/Help.
 String getIssueMethod()
          Get Issue Method.
 int getLeadTimeOffset()
          Get Lead Time Offset.
 int getLine()
          Get Line No.
 int getM_AttributeSetInstance_ID()
          Get Attribute Set Instance.
 int getM_ChangeNotice_ID()
          Get Change Notice.
 I_M_ChangeNotice getM_ChangeNotice()
           
 int getM_Product_ID()
          Get Product.
 I_M_Product getM_Product()
           
 int getPP_Product_BOM_ID()
          Get BOM & Formula.
 I_PP_Product_BOM getPP_Product_BOM()
           
 int getPP_Product_BOMLine_ID()
          Get BOM Line.
 BigDecimal getQtyBatch()
          Get Quantity %.
 BigDecimal getQtyBOM()
          Get Quantity.
 BigDecimal getScrap()
          Get Scrap.
 Timestamp getValidFrom()
          Get Valid from.
 Timestamp getValidTo()
          Get Valid to.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isCritical()
          Get Is Critical Component.
 boolean isQtyPercentage()
          Get Is Qty Percentage.
 void setAssay(BigDecimal Assay)
          Set Quantity Assay.
 void setBackflushGroup(String BackflushGroup)
          Set Backflush Group.
 void setC_UOM_ID(int C_UOM_ID)
          Set UOM.
 void setComponentType(String ComponentType)
          Set Component Type.
 void setDescription(String Description)
          Set Description.
 void setFeature(String Feature)
          Set Feature.
 void setForecast(BigDecimal Forecast)
          Set Forecast.
 void setHelp(String Help)
          Set Comment/Help.
 void setIsCritical(boolean IsCritical)
          Set Is Critical Component.
 void setIsQtyPercentage(boolean IsQtyPercentage)
          Set Is Qty Percentage.
 void setIssueMethod(String IssueMethod)
          Set Issue Method.
 void setLeadTimeOffset(int LeadTimeOffset)
          Set Lead Time Offset.
 void setLine(int Line)
          Set Line No.
 void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
          Set Attribute Set Instance.
 void setM_ChangeNotice_ID(int M_ChangeNotice_ID)
          Set Change Notice.
 void setM_Product_ID(int M_Product_ID)
          Set Product.
 void setPP_Product_BOM_ID(int PP_Product_BOM_ID)
          Set BOM & Formula.
 void setPP_Product_BOMLine_ID(int PP_Product_BOMLine_ID)
          Set BOM Line.
 void setQtyBatch(BigDecimal QtyBatch)
          Set Quantity %.
 void setQtyBOM(BigDecimal QtyBOM)
          Set Quantity.
 void setScrap(BigDecimal Scrap)
          Set Scrap.
 void setValidFrom(Timestamp ValidFrom)
          Set Valid from.
 void setValidTo(Timestamp ValidTo)
          Set Valid to.
 String toString()
          String representation
 
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.compiere.model.I_Persistent
save
 

Field Detail

COMPONENTTYPE_AD_Reference_ID

public static final int COMPONENTTYPE_AD_Reference_ID
ComponentType AD_Reference_ID=53225

See Also:
Constant Field Values

COMPONENTTYPE_ByProduct

public static final String COMPONENTTYPE_ByProduct
By Product = BY

See Also:
Constant Field Values

COMPONENTTYPE_Component

public static final String COMPONENTTYPE_Component
Component = CO

See Also:
Constant Field Values

COMPONENTTYPE_Phantom

public static final String COMPONENTTYPE_Phantom
Phantom = PH

See Also:
Constant Field Values

COMPONENTTYPE_Packing

public static final String COMPONENTTYPE_Packing
Packing = PK

See Also:
Constant Field Values

COMPONENTTYPE_Planning

public static final String COMPONENTTYPE_Planning
Planning = PL

See Also:
Constant Field Values

COMPONENTTYPE_Tools

public static final String COMPONENTTYPE_Tools
Tools = TL

See Also:
Constant Field Values

COMPONENTTYPE_Option

public static final String COMPONENTTYPE_Option
Option = OP

See Also:
Constant Field Values

COMPONENTTYPE_Variant

public static final String COMPONENTTYPE_Variant
Variant = VA

See Also:
Constant Field Values

ISSUEMETHOD_AD_Reference_ID

public static final int ISSUEMETHOD_AD_Reference_ID
IssueMethod AD_Reference_ID=53226

See Also:
Constant Field Values

ISSUEMETHOD_Issue

public static final String ISSUEMETHOD_Issue
Issue = 0

See Also:
Constant Field Values

ISSUEMETHOD_BackFlush

public static final String ISSUEMETHOD_BackFlush
BackFlush = 1

See Also:
Constant Field Values
Constructor Detail

X_PP_Product_BOMLine

public X_PP_Product_BOMLine(Properties ctx,
                            int PP_Product_BOMLine_ID,
                            String trxName)
Standard Constructor


X_PP_Product_BOMLine

public X_PP_Product_BOMLine(Properties ctx,
                            ResultSet rs,
                            String trxName)
Load 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

setAssay

public void setAssay(BigDecimal Assay)
Set Quantity Assay.

Specified by:
setAssay in interface I_PP_Product_BOMLine
Parameters:
Assay - Indicated the Quantity Assay to use into Quality Order

getAssay

public BigDecimal getAssay()
Get Quantity Assay.

Specified by:
getAssay in interface I_PP_Product_BOMLine
Returns:
Indicated the Quantity Assay to use into Quality Order

setBackflushGroup

public void setBackflushGroup(String BackflushGroup)
Set Backflush Group.

Specified by:
setBackflushGroup in interface I_PP_Product_BOMLine
Parameters:
BackflushGroup - The Grouping Components to the Backflush

getBackflushGroup

public String getBackflushGroup()
Get Backflush Group.

Specified by:
getBackflushGroup in interface I_PP_Product_BOMLine
Returns:
The Grouping Components to the Backflush

setComponentType

public void setComponentType(String ComponentType)
Set Component Type.

Specified by:
setComponentType in interface I_PP_Product_BOMLine
Parameters:
ComponentType - Component Type for a Bill of Material or Formula

getComponentType

public String getComponentType()
Get Component Type.

Specified by:
getComponentType in interface I_PP_Product_BOMLine
Returns:
Component Type for a Bill of Material or Formula

getC_UOM

public I_C_UOM getC_UOM()
                 throws Exception
Specified by:
getC_UOM in interface I_PP_Product_BOMLine
Throws:
Exception

setC_UOM_ID

public void setC_UOM_ID(int C_UOM_ID)
Set UOM.

Specified by:
setC_UOM_ID in interface I_PP_Product_BOMLine
Parameters:
C_UOM_ID - Unit of Measure

getC_UOM_ID

public int getC_UOM_ID()
Get UOM.

Specified by:
getC_UOM_ID in interface I_PP_Product_BOMLine
Returns:
Unit of Measure

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_PP_Product_BOMLine
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_PP_Product_BOMLine
Returns:
Optional short description of the record

setFeature

public void setFeature(String Feature)
Set Feature.

Specified by:
setFeature in interface I_PP_Product_BOMLine
Parameters:
Feature - Indicated the Feature for Product Configure

getFeature

public String getFeature()
Get Feature.

Specified by:
getFeature in interface I_PP_Product_BOMLine
Returns:
Indicated the Feature for Product Configure

setForecast

public void setForecast(BigDecimal Forecast)
Set Forecast.

Specified by:
setForecast in interface I_PP_Product_BOMLine
Parameters:
Forecast - Indicated the % of participation this component into a of the BOM Planning

getForecast

public BigDecimal getForecast()
Get Forecast.

Specified by:
getForecast in interface I_PP_Product_BOMLine
Returns:
Indicated the % of participation this component into a of the BOM Planning

setHelp

public void setHelp(String Help)
Set Comment/Help.

Specified by:
setHelp in interface I_PP_Product_BOMLine
Parameters:
Help - Comment or Hint

getHelp

public String getHelp()
Get Comment/Help.

Specified by:
getHelp in interface I_PP_Product_BOMLine
Returns:
Comment or Hint

setIsCritical

public void setIsCritical(boolean IsCritical)
Set Is Critical Component.

Specified by:
setIsCritical in interface I_PP_Product_BOMLine
Parameters:
IsCritical - Indicate that a Manufacturing Order can not begin without have this component

isCritical

public boolean isCritical()
Get Is Critical Component.

Specified by:
isCritical in interface I_PP_Product_BOMLine
Returns:
Indicate that a Manufacturing Order can not begin without have this component

setIsQtyPercentage

public void setIsQtyPercentage(boolean IsQtyPercentage)
Set Is Qty Percentage.

Specified by:
setIsQtyPercentage in interface I_PP_Product_BOMLine
Parameters:
IsQtyPercentage - Indicate that this component is based in % Quantity

isQtyPercentage

public boolean isQtyPercentage()
Get Is Qty Percentage.

Specified by:
isQtyPercentage in interface I_PP_Product_BOMLine
Returns:
Indicate that this component is based in % Quantity

setIssueMethod

public void setIssueMethod(String IssueMethod)
Set Issue Method.

Specified by:
setIssueMethod in interface I_PP_Product_BOMLine
Parameters:
IssueMethod - There are two methods for issue the components to Manufacturing Order

getIssueMethod

public String getIssueMethod()
Get Issue Method.

Specified by:
getIssueMethod in interface I_PP_Product_BOMLine
Returns:
There are two methods for issue the components to Manufacturing Order

setLeadTimeOffset

public void setLeadTimeOffset(int LeadTimeOffset)
Set Lead Time Offset.

Specified by:
setLeadTimeOffset in interface I_PP_Product_BOMLine
Parameters:
LeadTimeOffset - Optional Lead Time offest before starting production

getLeadTimeOffset

public int getLeadTimeOffset()
Get Lead Time Offset.

Specified by:
getLeadTimeOffset in interface I_PP_Product_BOMLine
Returns:
Optional Lead Time offest before starting production

setLine

public void setLine(int Line)
Set Line No.

Specified by:
setLine in interface I_PP_Product_BOMLine
Parameters:
Line - Unique line for this document

getLine

public int getLine()
Get Line No.

Specified by:
getLine in interface I_PP_Product_BOMLine
Returns:
Unique line for this document

setM_AttributeSetInstance_ID

public void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
Set Attribute Set Instance.

Specified by:
setM_AttributeSetInstance_ID in interface I_PP_Product_BOMLine
Parameters:
M_AttributeSetInstance_ID - Product Attribute Set Instance

getM_AttributeSetInstance_ID

public int getM_AttributeSetInstance_ID()
Get Attribute Set Instance.

Specified by:
getM_AttributeSetInstance_ID in interface I_PP_Product_BOMLine
Returns:
Product Attribute Set Instance

getM_ChangeNotice

public I_M_ChangeNotice getM_ChangeNotice()
                                   throws Exception
Specified by:
getM_ChangeNotice in interface I_PP_Product_BOMLine
Throws:
Exception

setM_ChangeNotice_ID

public void setM_ChangeNotice_ID(int M_ChangeNotice_ID)
Set Change Notice.

Specified by:
setM_ChangeNotice_ID in interface I_PP_Product_BOMLine
Parameters:
M_ChangeNotice_ID - Bill of Materials (Engineering) Change Notice (Version)

getM_ChangeNotice_ID

public int getM_ChangeNotice_ID()
Get Change Notice.

Specified by:
getM_ChangeNotice_ID in interface I_PP_Product_BOMLine
Returns:
Bill of Materials (Engineering) Change Notice (Version)

getM_Product

public I_M_Product getM_Product()
                         throws Exception
Specified by:
getM_Product in interface I_PP_Product_BOMLine
Throws:
Exception

setM_Product_ID

public void setM_Product_ID(int M_Product_ID)
Set Product.

Specified by:
setM_Product_ID in interface I_PP_Product_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_PP_Product_BOMLine
Returns:
Product, Service, Item

getPP_Product_BOM

public I_PP_Product_BOM getPP_Product_BOM()
                                   throws Exception
Specified by:
getPP_Product_BOM in interface I_PP_Product_BOMLine
Throws:
Exception

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_PP_Product_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_PP_Product_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_PP_Product_BOMLine
Parameters:
PP_Product_BOMLine_ID - BOM Line

getPP_Product_BOMLine_ID

public int getPP_Product_BOMLine_ID()
Get BOM Line.

Specified by:
getPP_Product_BOMLine_ID in interface I_PP_Product_BOMLine
Returns:
BOM Line

setQtyBatch

public void setQtyBatch(BigDecimal QtyBatch)
Set Quantity %.

Specified by:
setQtyBatch in interface I_PP_Product_BOMLine
Parameters:
QtyBatch - Indicate the Quantity % use in this Formula

getQtyBatch

public BigDecimal getQtyBatch()
Get Quantity %.

Specified by:
getQtyBatch in interface I_PP_Product_BOMLine
Returns:
Indicate the Quantity % use in this Formula

setQtyBOM

public void setQtyBOM(BigDecimal QtyBOM)
Set Quantity.

Specified by:
setQtyBOM in interface I_PP_Product_BOMLine
Parameters:
QtyBOM - Indicate the Quantity use in this BOM

getQtyBOM

public BigDecimal getQtyBOM()
Get Quantity.

Specified by:
getQtyBOM in interface I_PP_Product_BOMLine
Returns:
Indicate the Quantity use in this BOM

setScrap

public void setScrap(BigDecimal Scrap)
Set Scrap.

Specified by:
setScrap in interface I_PP_Product_BOMLine
Parameters:
Scrap - Indicate the Scrap Quantity that is generate in a manufacturing process

getScrap

public BigDecimal getScrap()
Get Scrap.

Specified by:
getScrap in interface I_PP_Product_BOMLine
Returns:
Indicate the Scrap Quantity that is generate in a manufacturing process

setValidFrom

public void setValidFrom(Timestamp ValidFrom)
Set Valid from.

Specified by:
setValidFrom in interface I_PP_Product_BOMLine
Parameters:
ValidFrom - Valid from including this date (first day)

getValidFrom

public Timestamp getValidFrom()
Get Valid from.

Specified by:
getValidFrom in interface I_PP_Product_BOMLine
Returns:
Valid from including this date (first day)

setValidTo

public void setValidTo(Timestamp ValidTo)
Set Valid to.

Specified by:
setValidTo in interface I_PP_Product_BOMLine
Parameters:
ValidTo - Valid to including this date (last day)

getValidTo

public Timestamp getValidTo()
Get Valid to.

Specified by:
getValidTo in interface I_PP_Product_BOMLine
Returns:
Valid to including this date (last day)

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.