Package org.eevolution.model
Class X_PP_Product_BOMLine
java.lang.Object
org.compiere.model.PO
org.eevolution.model.X_PP_Product_BOMLine
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,I_Persistent,Evaluatee,I_PP_Product_BOMLine
- Direct Known Subclasses:
MPPProductBOMLine
Generated Model for PP_Product_BOMLine
- Version:
- Release 13 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intComponentType AD_Reference_ID=53225static final StringBy-Product = BYstatic final StringCo-Product = CPstatic final StringComponent = COstatic final StringOption = OPstatic final StringPacking = PKstatic final StringPhantom = PHstatic final StringPlanning = PLstatic final StringTools = TLstatic final StringVariant = VAstatic final intIssueMethod AD_Reference_ID=53226static final StringBackflush = 1static final StringFloor Stock = 2static final StringIssue = 0Fields 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, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_IDFields inherited from interface org.eevolution.model.I_PP_Product_BOMLine
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_Assay, COLUMNNAME_BackflushGroup, COLUMNNAME_C_UOM_ID, COLUMNNAME_ComponentType, COLUMNNAME_CostAllocationPerc, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_Feature, COLUMNNAME_Forecast, COLUMNNAME_Help, COLUMNNAME_IsActive, 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_PP_Product_BOMLine_UU, COLUMNNAME_QtyBatch, COLUMNNAME_QtyBOM, COLUMNNAME_Scrap, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_ValidFrom, COLUMNNAME_ValidTo, Model, Table_ID, Table_Name -
Constructor Summary
ConstructorsConstructorDescriptionX_PP_Product_BOMLine(Properties ctx, int PP_Product_BOMLine_ID, String trxName) Standard ConstructorX_PP_Product_BOMLine(Properties ctx, int PP_Product_BOMLine_ID, String trxName, String... virtualColumns) Standard ConstructorX_PP_Product_BOMLine(Properties ctx, String PP_Product_BOMLine_UU, String trxName) Standard ConstructorX_PP_Product_BOMLine(Properties ctx, String PP_Product_BOMLine_UU, String trxName, String... virtualColumns) Standard ConstructorX_PP_Product_BOMLine(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected intAccessLevelgetAssay()Get Quantity Assay.Get Backflush Group.getC_UOM()Deprecated.intGet UOM.Get Component Type.Get Cost Allocation Percent.Get Description.Get Feature.Get Forecast.getHelp()Get Comment/Help.Get Issue Method.Get Record ID/ColumnNameintGet Lead Time Offset.intgetLine()Get Line No.Deprecated.intGet Attribute Set Instance.Deprecated.intGet Change Notice.Deprecated.intGet Product.Deprecated.intGet BOM & Formula.intGet BOM Line.Get PP_Product_BOMLine_UU.Get Quantity in %.Get Quantity.getScrap()Get Scrap %.Get Valid from.Get Valid to.protected POInfoinitPO(Properties ctx) Load Meta DatabooleanGet Is Critical Component.booleanGet Is Qty Percentage.voidsetAssay(BigDecimal Assay) Set Quantity Assay.voidsetBackflushGroup(String BackflushGroup) Set Backflush Group.voidsetC_UOM_ID(int C_UOM_ID) Set UOM.voidsetComponentType(String ComponentType) Set Component Type.voidsetCostAllocationPerc(BigDecimal CostAllocationPerc) Set Cost Allocation Percent.voidsetDescription(String Description) Set Description.voidsetFeature(String Feature) Set Feature.voidsetForecast(BigDecimal Forecast) Set Forecast.voidSet Comment/Help.voidsetIsCritical(boolean IsCritical) Set Is Critical Component.voidsetIsQtyPercentage(boolean IsQtyPercentage) Set Is Qty Percentage.voidsetIssueMethod(String IssueMethod) Set Issue Method.voidsetLeadTimeOffset(int LeadTimeOffset) Set Lead Time Offset.voidsetLine(int Line) Set Line No.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.voidsetPP_Product_BOM_ID(int PP_Product_BOM_ID) Set BOM & Formula.voidsetPP_Product_BOMLine_ID(int PP_Product_BOMLine_ID) Set BOM Line.voidsetPP_Product_BOMLine_UU(String PP_Product_BOMLine_UU) Set PP_Product_BOMLine_UU.voidsetQtyBatch(BigDecimal QtyBatch) Set Quantity in %.voidsetQtyBOM(BigDecimal QtyBOM) Set Quantity.voidsetScrap(BigDecimal Scrap) Set Scrap %.voidsetValidFrom(Timestamp ValidFrom) Set Valid from.voidsetValidTo(Timestamp ValidTo) Set Valid to.toString()String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_TableAttribute, get_TableAttributeAsBoolean, get_TableAttributeAsInt, get_TableAttributes, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, unlock, update_Tree, validForeignKeys, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.compiere.model.I_Persistent
saveMethods inherited from interface org.eevolution.model.I_PP_Product_BOMLine
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Field Details
-
COMPONENTTYPE_AD_Reference_ID
public static final int COMPONENTTYPE_AD_Reference_IDComponentType AD_Reference_ID=53225- See Also:
-
COMPONENTTYPE_By_Product
By-Product = BY- See Also:
-
COMPONENTTYPE_Component
Component = CO- See Also:
-
COMPONENTTYPE_Co_Product
Co-Product = CP- See Also:
-
COMPONENTTYPE_Option
Option = OP- See Also:
-
COMPONENTTYPE_Phantom
Phantom = PH- See Also:
-
COMPONENTTYPE_Packing
Packing = PK- See Also:
-
COMPONENTTYPE_Planning
Planning = PL- See Also:
-
COMPONENTTYPE_Tools
Tools = TL- See Also:
-
COMPONENTTYPE_Variant
Variant = VA- See Also:
-
ISSUEMETHOD_AD_Reference_ID
public static final int ISSUEMETHOD_AD_Reference_IDIssueMethod AD_Reference_ID=53226- See Also:
-
ISSUEMETHOD_Issue
Issue = 0- See Also:
-
ISSUEMETHOD_Backflush
Backflush = 1- See Also:
-
ISSUEMETHOD_FloorStock
Floor Stock = 2- See Also:
-
-
Constructor Details
-
X_PP_Product_BOMLine
Standard Constructor -
X_PP_Product_BOMLine
public X_PP_Product_BOMLine(Properties ctx, int PP_Product_BOMLine_ID, String trxName, String... virtualColumns) Standard Constructor -
X_PP_Product_BOMLine
Standard Constructor -
X_PP_Product_BOMLine
public X_PP_Product_BOMLine(Properties ctx, String PP_Product_BOMLine_UU, String trxName, String... virtualColumns) Standard Constructor -
X_PP_Product_BOMLine
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
setAssay
Set Quantity Assay.- Specified by:
setAssayin interfaceI_PP_Product_BOMLine- Parameters:
Assay- Indicated the Quantity Assay to use into Quality Order
-
getAssay
Get Quantity Assay.- Specified by:
getAssayin interfaceI_PP_Product_BOMLine- Returns:
- Indicated the Quantity Assay to use into Quality Order
-
setBackflushGroup
Set Backflush Group.- Specified by:
setBackflushGroupin interfaceI_PP_Product_BOMLine- Parameters:
BackflushGroup- The Grouping Components to the Backflush
-
getBackflushGroup
Get Backflush Group.- Specified by:
getBackflushGroupin interfaceI_PP_Product_BOMLine- Returns:
- The Grouping Components to the Backflush
-
getC_UOM
Deprecated.- Specified by:
getC_UOMin interfaceI_PP_Product_BOMLine- Throws:
RuntimeException
-
setC_UOM_ID
public void setC_UOM_ID(int C_UOM_ID) Set UOM.- Specified by:
setC_UOM_IDin interfaceI_PP_Product_BOMLine- 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_BOMLine- Returns:
- Unit of Measure
-
setComponentType
Set Component Type.- Specified by:
setComponentTypein interfaceI_PP_Product_BOMLine- Parameters:
ComponentType- Component Type for a Bill of Material or Formula
-
getComponentType
Get Component Type.- Specified by:
getComponentTypein interfaceI_PP_Product_BOMLine- Returns:
- Component Type for a Bill of Material or Formula
-
setCostAllocationPerc
Set Cost Allocation Percent.- Specified by:
setCostAllocationPercin interfaceI_PP_Product_BOMLine- Parameters:
CostAllocationPerc- Cost allocation percent in case of a co-product.
-
getCostAllocationPerc
Get Cost Allocation Percent.- Specified by:
getCostAllocationPercin interfaceI_PP_Product_BOMLine- Returns:
- Cost allocation percent in case of a co-product.
-
setDescription
Set Description.- Specified by:
setDescriptionin interfaceI_PP_Product_BOMLine- Parameters:
Description- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescriptionin interfaceI_PP_Product_BOMLine- Returns:
- Optional short description of the record
-
setFeature
Set Feature.- Specified by:
setFeaturein interfaceI_PP_Product_BOMLine- Parameters:
Feature- Indicated the Feature for Product Configure
-
getFeature
Get Feature.- Specified by:
getFeaturein interfaceI_PP_Product_BOMLine- Returns:
- Indicated the Feature for Product Configure
-
setForecast
Set Forecast.- Specified by:
setForecastin interfaceI_PP_Product_BOMLine- Parameters:
Forecast- Indicated the % of participation this component into a of the BOM Planning
-
getForecast
Get Forecast.- Specified by:
getForecastin interfaceI_PP_Product_BOMLine- Returns:
- Indicated the % of participation this component into a of the BOM Planning
-
setHelp
Set Comment/Help.- Specified by:
setHelpin interfaceI_PP_Product_BOMLine- Parameters:
Help- Comment or Hint
-
getHelp
Get Comment/Help.- Specified by:
getHelpin interfaceI_PP_Product_BOMLine- Returns:
- Comment or Hint
-
setIsCritical
public void setIsCritical(boolean IsCritical) Set Is Critical Component.- Specified by:
setIsCriticalin interfaceI_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:
isCriticalin interfaceI_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:
setIsQtyPercentagein interfaceI_PP_Product_BOMLine- Parameters:
IsQtyPercentage- Indicate that this component is based in % Quantity
-
isQtyPercentage
public boolean isQtyPercentage()Get Is Qty Percentage.- Specified by:
isQtyPercentagein interfaceI_PP_Product_BOMLine- Returns:
- Indicate that this component is based in % Quantity
-
setIssueMethod
Set Issue Method.- Specified by:
setIssueMethodin interfaceI_PP_Product_BOMLine- Parameters:
IssueMethod- There are two methods for issue the components to Manufacturing Order
-
getIssueMethod
Get Issue Method.- Specified by:
getIssueMethodin interfaceI_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:
setLeadTimeOffsetin interfaceI_PP_Product_BOMLine- Parameters:
LeadTimeOffset- Optional Lead Time offset before starting production
-
getLeadTimeOffset
public int getLeadTimeOffset()Get Lead Time Offset.- Specified by:
getLeadTimeOffsetin interfaceI_PP_Product_BOMLine- Returns:
- Optional Lead Time offset before starting production
-
setLine
public void setLine(int Line) Set Line No.- Specified by:
setLinein interfaceI_PP_Product_BOMLine- Parameters:
Line- Unique line for this document
-
getLine
public int getLine()Get Line No.- Specified by:
getLinein interfaceI_PP_Product_BOMLine- Returns:
- Unique line for this document
-
getM_AttributeSetInstance
@Deprecated(since="13") public I_M_AttributeSetInstance getM_AttributeSetInstance() throws RuntimeExceptionDeprecated.- Specified by:
getM_AttributeSetInstancein interfaceI_PP_Product_BOMLine- 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_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_IDin interfaceI_PP_Product_BOMLine- Returns:
- Product Attribute Set Instance
-
getM_ChangeNotice
Deprecated.- Specified by:
getM_ChangeNoticein interfaceI_PP_Product_BOMLine- 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_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_IDin interfaceI_PP_Product_BOMLine- Returns:
- Bill of Materials (Engineering) Change Notice (Version)
-
getM_Product
Deprecated.- Specified by:
getM_Productin interfaceI_PP_Product_BOMLine- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID) Set Product.- Specified by:
setM_Product_IDin interfaceI_PP_Product_BOMLine- 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_BOMLine- Returns:
- Product, Service, Item
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setPP_Product_BOMLine_ID
public void setPP_Product_BOMLine_ID(int PP_Product_BOMLine_ID) Set BOM Line.- Specified by:
setPP_Product_BOMLine_IDin interfaceI_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_IDin interfaceI_PP_Product_BOMLine- Returns:
- BOM Line
-
setPP_Product_BOMLine_UU
Set PP_Product_BOMLine_UU.- Specified by:
setPP_Product_BOMLine_UUin interfaceI_PP_Product_BOMLine- Parameters:
PP_Product_BOMLine_UU- PP_Product_BOMLine_UU
-
getPP_Product_BOMLine_UU
Get PP_Product_BOMLine_UU.- Specified by:
getPP_Product_BOMLine_UUin interfaceI_PP_Product_BOMLine- Returns:
- PP_Product_BOMLine_UU
-
getPP_Product_BOM
Deprecated.- Specified by:
getPP_Product_BOMin interfaceI_PP_Product_BOMLine- Throws:
RuntimeException
-
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_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_IDin interfaceI_PP_Product_BOMLine- Returns:
- BOM & Formula
-
setQtyBOM
Set Quantity.- Specified by:
setQtyBOMin interfaceI_PP_Product_BOMLine- Parameters:
QtyBOM- Indicate the Quantity use in this BOM
-
getQtyBOM
Get Quantity.- Specified by:
getQtyBOMin interfaceI_PP_Product_BOMLine- Returns:
- Indicate the Quantity use in this BOM
-
setQtyBatch
Set Quantity in %.- Specified by:
setQtyBatchin interfaceI_PP_Product_BOMLine- Parameters:
QtyBatch- Indicate the Quantity % use in this Formula
-
getQtyBatch
Get Quantity in %.- Specified by:
getQtyBatchin interfaceI_PP_Product_BOMLine- Returns:
- Indicate the Quantity % use in this Formula
-
setScrap
Set Scrap %.- Specified by:
setScrapin interfaceI_PP_Product_BOMLine- Parameters:
Scrap- Indicate the Scrap % for calculate the Scrap Quantity
-
getScrap
Get Scrap %.- Specified by:
getScrapin interfaceI_PP_Product_BOMLine- Returns:
- Indicate the Scrap % for calculate the Scrap Quantity
-
setValidFrom
Set Valid from.- Specified by:
setValidFromin interfaceI_PP_Product_BOMLine- Parameters:
ValidFrom- Valid from including this date (first day)
-
getValidFrom
Get Valid from.- Specified by:
getValidFromin interfaceI_PP_Product_BOMLine- Returns:
- Valid from including this date (first day)
-
setValidTo
Set Valid to.- Specified by:
setValidToin interfaceI_PP_Product_BOMLine- Parameters:
ValidTo- Valid to including this date (last day)
-
getValidTo
Get Valid to.- Specified by:
getValidToin interfaceI_PP_Product_BOMLine- Returns:
- Valid to including this date (last day)
-