Package org.eevolution.model
Class X_PP_Product_BOM
- java.lang.Object
-
- org.compiere.model.PO
-
- org.eevolution.model.X_PP_Product_BOM
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,I_Persistent,Evaluatee,I_PP_Product_BOM
- Direct Known Subclasses:
MPPProductBOM
public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persistent
Generated Model for PP_Product_BOM- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intBOMTYPE_AD_Reference_IDBOMType AD_Reference_ID=347static StringBOMTYPE_CurrentActiveCurrent Active = Astatic StringBOMTYPE_FutureFuture = Fstatic StringBOMTYPE_MaintenanceMaintenance = Mstatic StringBOMTYPE_Make_To_KitMake-To-Kit = Kstatic StringBOMTYPE_Make_To_OrderMake-To-Order = Ostatic StringBOMTYPE_PreviousPrevious = Pstatic StringBOMTYPE_PreviousSparePrevious, Spare = Sstatic StringBOMTYPE_ProductConfigureProduct Configure = Cstatic StringBOMTYPE_RepairRepair = Rstatic intBOMUSE_AD_Reference_IDBOMUse AD_Reference_ID=348static StringBOMUSE_EngineeringEngineering = Estatic StringBOMUSE_ManufacturingManufacturing = Mstatic StringBOMUSE_MasterMaster = Astatic StringBOMUSE_PlanningPlanning = Pstatic StringBOMUSE_QualityQuality = Q-
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, LOCAL_TRX_PREFIX, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.eevolution.model.I_PP_Product_BOM
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_BOMType, COLUMNNAME_BOMUse, COLUMNNAME_C_UOM_ID, COLUMNNAME_CopyFrom, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_Help, COLUMNNAME_IsActive, COLUMNNAME_M_AttributeSetInstance_ID, COLUMNNAME_M_ChangeNotice_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_Name, COLUMNNAME_PP_Product_BOM_ID, COLUMNNAME_PP_Product_BOM_UU, COLUMNNAME_Processing, COLUMNNAME_Revision, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_ValidFrom, COLUMNNAME_ValidTo, COLUMNNAME_Value, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_PP_Product_BOM(Properties ctx, int PP_Product_BOM_ID, String trxName)Standard ConstructorX_PP_Product_BOM(Properties ctx, ResultSet rs, String trxName)Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intget_AccessLevel()AccessLevelStringgetBOMType()Get BOM Type.StringgetBOMUse()Get BOM Use.I_C_UOMgetC_UOM()intgetC_UOM_ID()Get UOM.StringgetCopyFrom()Get Copy From.StringgetDescription()Get Description.StringgetHelp()Get Comment/Help.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameI_M_AttributeSetInstancegetM_AttributeSetInstance()intgetM_AttributeSetInstance_ID()Get Attribute Set Instance.I_M_ChangeNoticegetM_ChangeNotice()intgetM_ChangeNotice_ID()Get Change Notice.I_M_ProductgetM_Product()intgetM_Product_ID()Get Product.StringgetName()Get Name.intgetPP_Product_BOM_ID()Get BOM & Formula.StringgetPP_Product_BOM_UU()Get PP_Product_BOM_UU.StringgetRevision()Get Revision.TimestampgetValidFrom()Get Valid from.TimestampgetValidTo()Get Valid to.StringgetValue()Get Search Key.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisProcessing()Get Process Now.voidsetBOMType(String BOMType)Set BOM Type.voidsetBOMUse(String BOMUse)Set BOM Use.voidsetC_UOM_ID(int C_UOM_ID)Set UOM.voidsetCopyFrom(String CopyFrom)Set Copy From.voidsetDescription(String Description)Set Description.voidsetHelp(String Help)Set Comment/Help.voidsetM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)Set Attribute Set Instance.voidsetM_ChangeNotice_ID(int M_ChangeNotice_ID)Set Change Notice.voidsetM_Product_ID(int M_Product_ID)Set Product.voidsetName(String Name)Set Name.voidsetPP_Product_BOM_ID(int PP_Product_BOM_ID)Set BOM & Formula.voidsetPP_Product_BOM_UU(String PP_Product_BOM_UU)Set PP_Product_BOM_UU.voidsetProcessing(boolean Processing)Set Process Now.voidsetRevision(String Revision)Set Revision.voidsetValidFrom(Timestamp ValidFrom)Set Valid from.voidsetValidTo(Timestamp ValidTo)Set Valid to.voidsetValue(String Value)Set Search Key.StringtoString()String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, 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_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
Methods inherited from interface org.eevolution.model.I_PP_Product_BOM
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
-
-
-
Field Detail
-
BOMTYPE_AD_Reference_ID
public static final int BOMTYPE_AD_Reference_ID
BOMType AD_Reference_ID=347- See Also:
- Constant Field Values
-
BOMTYPE_CurrentActive
public static final String BOMTYPE_CurrentActive
Current Active = A- See Also:
- Constant Field Values
-
BOMTYPE_ProductConfigure
public static final String BOMTYPE_ProductConfigure
Product Configure = C- See Also:
- Constant Field Values
-
BOMTYPE_Future
public static final String BOMTYPE_Future
Future = F- See Also:
- Constant Field Values
-
BOMTYPE_Make_To_Kit
public static final String BOMTYPE_Make_To_Kit
Make-To-Kit = K- See Also:
- Constant Field Values
-
BOMTYPE_Maintenance
public static final String BOMTYPE_Maintenance
Maintenance = M- See Also:
- Constant Field Values
-
BOMTYPE_Make_To_Order
public static final String BOMTYPE_Make_To_Order
Make-To-Order = O- See Also:
- Constant Field Values
-
BOMTYPE_Previous
public static final String BOMTYPE_Previous
Previous = P- See Also:
- Constant Field Values
-
BOMTYPE_Repair
public static final String BOMTYPE_Repair
Repair = R- See Also:
- Constant Field Values
-
BOMTYPE_PreviousSpare
public static final String BOMTYPE_PreviousSpare
Previous, Spare = S- See Also:
- Constant Field Values
-
BOMUSE_AD_Reference_ID
public static final int BOMUSE_AD_Reference_ID
BOMUse AD_Reference_ID=348- See Also:
- Constant Field Values
-
BOMUSE_Master
public static final String BOMUSE_Master
Master = A- See Also:
- Constant Field Values
-
BOMUSE_Engineering
public static final String BOMUSE_Engineering
Engineering = E- See Also:
- Constant Field Values
-
BOMUSE_Manufacturing
public static final String BOMUSE_Manufacturing
Manufacturing = M- See Also:
- Constant Field Values
-
BOMUSE_Planning
public static final String BOMUSE_Planning
Planning = P- See Also:
- Constant Field Values
-
BOMUSE_Quality
public static final String BOMUSE_Quality
Quality = Q- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_PP_Product_BOM
public X_PP_Product_BOM(Properties ctx, int PP_Product_BOM_ID, String trxName)
Standard Constructor
-
X_PP_Product_BOM
public X_PP_Product_BOM(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setBOMType
public void setBOMType(String BOMType)
Set BOM Type.- Specified by:
setBOMTypein interfaceI_PP_Product_BOM- Parameters:
BOMType- Type of BOM
-
getBOMType
public String getBOMType()
Get BOM Type.- Specified by:
getBOMTypein interfaceI_PP_Product_BOM- Returns:
- Type of BOM
-
setBOMUse
public void setBOMUse(String BOMUse)
Set BOM Use.- Specified by:
setBOMUsein interfaceI_PP_Product_BOM- Parameters:
BOMUse- The use of the Bill of Material
-
getBOMUse
public String getBOMUse()
Get BOM Use.- Specified by:
getBOMUsein interfaceI_PP_Product_BOM- Returns:
- The use of the Bill of Material
-
setCopyFrom
public void setCopyFrom(String CopyFrom)
Set Copy From.- Specified by:
setCopyFromin interfaceI_PP_Product_BOM- Parameters:
CopyFrom- Copy From Record
-
getCopyFrom
public String getCopyFrom()
Get Copy From.- Specified by:
getCopyFromin interfaceI_PP_Product_BOM- Returns:
- Copy From Record
-
getC_UOM
public I_C_UOM getC_UOM() throws RuntimeException
- Specified by:
getC_UOMin interfaceI_PP_Product_BOM- Throws:
RuntimeException
-
setC_UOM_ID
public void setC_UOM_ID(int C_UOM_ID)
Set UOM.- Specified by:
setC_UOM_IDin interfaceI_PP_Product_BOM- Parameters:
C_UOM_ID- Unit of Measure
-
getC_UOM_ID
public int getC_UOM_ID()
Get UOM.- Specified by:
getC_UOM_IDin interfaceI_PP_Product_BOM- Returns:
- Unit of Measure
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescriptionin interfaceI_PP_Product_BOM- Parameters:
Description- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescriptionin interfaceI_PP_Product_BOM- Returns:
- Optional short description of the record
-
setHelp
public void setHelp(String Help)
Set Comment/Help.- Specified by:
setHelpin interfaceI_PP_Product_BOM- Parameters:
Help- Comment or Hint
-
getHelp
public String getHelp()
Get Comment/Help.- Specified by:
getHelpin interfaceI_PP_Product_BOM- Returns:
- Comment or Hint
-
getM_AttributeSetInstance
public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeException
- Specified by:
getM_AttributeSetInstancein interfaceI_PP_Product_BOM- Throws:
RuntimeException
-
setM_AttributeSetInstance_ID
public void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
Set Attribute Set Instance.- Specified by:
setM_AttributeSetInstance_IDin interfaceI_PP_Product_BOM- Parameters:
M_AttributeSetInstance_ID- Product Attribute Set Instance
-
getM_AttributeSetInstance_ID
public int getM_AttributeSetInstance_ID()
Get Attribute Set Instance.- Specified by:
getM_AttributeSetInstance_IDin interfaceI_PP_Product_BOM- Returns:
- Product Attribute Set Instance
-
getM_ChangeNotice
public I_M_ChangeNotice getM_ChangeNotice() throws RuntimeException
- Specified by:
getM_ChangeNoticein interfaceI_PP_Product_BOM- Throws:
RuntimeException
-
setM_ChangeNotice_ID
public void setM_ChangeNotice_ID(int M_ChangeNotice_ID)
Set Change Notice.- Specified by:
setM_ChangeNotice_IDin interfaceI_PP_Product_BOM- 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_IDin interfaceI_PP_Product_BOM- Returns:
- Bill of Materials (Engineering) Change Notice (Version)
-
getM_Product
public I_M_Product getM_Product() throws RuntimeException
- Specified by:
getM_Productin interfaceI_PP_Product_BOM- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_IDin interfaceI_PP_Product_BOM- Parameters:
M_Product_ID- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()
Get Product.- Specified by:
getM_Product_IDin interfaceI_PP_Product_BOM- Returns:
- Product, Service, Item
-
setName
public void setName(String Name)
Set Name.- Specified by:
setNamein interfaceI_PP_Product_BOM- Parameters:
Name- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getNamein interfaceI_PP_Product_BOM- Returns:
- Alphanumeric identifier of the entity
-
setPP_Product_BOM_ID
public void setPP_Product_BOM_ID(int PP_Product_BOM_ID)
Set BOM & Formula.- Specified by:
setPP_Product_BOM_IDin interfaceI_PP_Product_BOM- 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_IDin interfaceI_PP_Product_BOM- Returns:
- BOM & Formula
-
setPP_Product_BOM_UU
public void setPP_Product_BOM_UU(String PP_Product_BOM_UU)
Set PP_Product_BOM_UU.- Specified by:
setPP_Product_BOM_UUin interfaceI_PP_Product_BOM- Parameters:
PP_Product_BOM_UU- PP_Product_BOM_UU
-
getPP_Product_BOM_UU
public String getPP_Product_BOM_UU()
Get PP_Product_BOM_UU.- Specified by:
getPP_Product_BOM_UUin interfaceI_PP_Product_BOM- Returns:
- PP_Product_BOM_UU
-
setProcessing
public void setProcessing(boolean Processing)
Set Process Now.- Specified by:
setProcessingin interfaceI_PP_Product_BOM- Parameters:
Processing- Process Now
-
isProcessing
public boolean isProcessing()
Get Process Now.- Specified by:
isProcessingin interfaceI_PP_Product_BOM- Returns:
- Process Now
-
setRevision
public void setRevision(String Revision)
Set Revision.- Specified by:
setRevisionin interfaceI_PP_Product_BOM- Parameters:
Revision- Revision
-
getRevision
public String getRevision()
Get Revision.- Specified by:
getRevisionin interfaceI_PP_Product_BOM- Returns:
- Revision
-
setValidFrom
public void setValidFrom(Timestamp ValidFrom)
Set Valid from.- Specified by:
setValidFromin interfaceI_PP_Product_BOM- Parameters:
ValidFrom- Valid from including this date (first day)
-
getValidFrom
public Timestamp getValidFrom()
Get Valid from.- Specified by:
getValidFromin interfaceI_PP_Product_BOM- Returns:
- Valid from including this date (first day)
-
setValidTo
public void setValidTo(Timestamp ValidTo)
Set Valid to.- Specified by:
setValidToin interfaceI_PP_Product_BOM- Parameters:
ValidTo- Valid to including this date (last day)
-
getValidTo
public Timestamp getValidTo()
Get Valid to.- Specified by:
getValidToin interfaceI_PP_Product_BOM- Returns:
- Valid to including this date (last day)
-
setValue
public void setValue(String Value)
Set Search Key.- Specified by:
setValuein interfaceI_PP_Product_BOM- Parameters:
Value- Search key for the record in the format required - must be unique
-
getValue
public String getValue()
Get Search Key.- Specified by:
getValuein interfaceI_PP_Product_BOM- Returns:
- Search key for the record in the format required - must be unique
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
-