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 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
ComponentType AD_Reference_ID=53225static final String
By-Product = BYstatic final String
Co-Product = CPstatic final String
Component = COstatic final String
Option = OPstatic final String
Packing = PKstatic final String
Phantom = PHstatic final String
Planning = PLstatic final String
Tools = TLstatic final String
Variant = VAstatic final int
IssueMethod AD_Reference_ID=53226static final String
Backflush = 1static final String
Floor Stock = 2static final String
Issue = 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_ID
Fields 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
ConstructorDescriptionX_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 int
AccessLevelgetAssay()
Get Quantity Assay.Get Backflush Group.getC_UOM()
int
Get UOM.Get Component Type.Get Cost Allocation Percent.Get Description.Get Feature.Get Forecast.getHelp()
Get Comment/Help.Get Issue Method.Get Record ID/ColumnNameint
Get Lead Time Offset.int
getLine()
Get Line No.int
Get Attribute Set Instance.int
Get Change Notice.int
Get Product.int
Get BOM & Formula.int
Get BOM Line.Get PP_Product_BOMLine_UU.Get Quantity in %.Get Quantity.getScrap()
Get Scrap %.Get Valid from.Get Valid to.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Is Critical Component.boolean
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
setCostAllocationPerc
(BigDecimal CostAllocationPerc) Set Cost Allocation Percent.void
setDescription
(String Description) Set Description.void
setFeature
(String Feature) Set Feature.void
setForecast
(BigDecimal Forecast) Set Forecast.void
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
setPP_Product_BOMLine_UU
(String PP_Product_BOMLine_UU) Set PP_Product_BOMLine_UU.void
setQtyBatch
(BigDecimal QtyBatch) Set Quantity in %.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.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_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
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_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_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setAssay
Set Quantity Assay.- Specified by:
setAssay
in interfaceI_PP_Product_BOMLine
- Parameters:
Assay
- Indicated the Quantity Assay to use into Quality Order
-
getAssay
Get Quantity Assay.- Specified by:
getAssay
in interfaceI_PP_Product_BOMLine
- Returns:
- Indicated the Quantity Assay to use into Quality Order
-
setBackflushGroup
Set Backflush Group.- Specified by:
setBackflushGroup
in interfaceI_PP_Product_BOMLine
- Parameters:
BackflushGroup
- The Grouping Components to the Backflush
-
getBackflushGroup
Get Backflush Group.- Specified by:
getBackflushGroup
in interfaceI_PP_Product_BOMLine
- Returns:
- The Grouping Components to the Backflush
-
setComponentType
Set Component Type.- Specified by:
setComponentType
in interfaceI_PP_Product_BOMLine
- Parameters:
ComponentType
- Component Type for a Bill of Material or Formula
-
getComponentType
Get Component Type.- Specified by:
getComponentType
in interfaceI_PP_Product_BOMLine
- Returns:
- Component Type for a Bill of Material or Formula
-
setCostAllocationPerc
Set Cost Allocation Percent.- Specified by:
setCostAllocationPerc
in interfaceI_PP_Product_BOMLine
- Parameters:
CostAllocationPerc
- Cost allocation percent in case of a co-product.
-
getCostAllocationPerc
Get Cost Allocation Percent.- Specified by:
getCostAllocationPerc
in interfaceI_PP_Product_BOMLine
- Returns:
- Cost allocation percent in case of a co-product.
-
getC_UOM
- Specified by:
getC_UOM
in interfaceI_PP_Product_BOMLine
- Throws:
RuntimeException
-
setC_UOM_ID
public void setC_UOM_ID(int C_UOM_ID) Set UOM.- Specified by:
setC_UOM_ID
in 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_ID
in interfaceI_PP_Product_BOMLine
- Returns:
- Unit of Measure
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_PP_Product_BOMLine
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_PP_Product_BOMLine
- Returns:
- Optional short description of the record
-
setFeature
Set Feature.- Specified by:
setFeature
in interfaceI_PP_Product_BOMLine
- Parameters:
Feature
- Indicated the Feature for Product Configure
-
getFeature
Get Feature.- Specified by:
getFeature
in interfaceI_PP_Product_BOMLine
- Returns:
- Indicated the Feature for Product Configure
-
setForecast
Set Forecast.- Specified by:
setForecast
in interfaceI_PP_Product_BOMLine
- Parameters:
Forecast
- Indicated the % of participation this component into a of the BOM Planning
-
getForecast
Get Forecast.- Specified by:
getForecast
in interfaceI_PP_Product_BOMLine
- Returns:
- Indicated the % of participation this component into a of the BOM Planning
-
setHelp
Set Comment/Help.- Specified by:
setHelp
in interfaceI_PP_Product_BOMLine
- Parameters:
Help
- Comment or Hint
-
getHelp
Get Comment/Help.- Specified by:
getHelp
in interfaceI_PP_Product_BOMLine
- Returns:
- Comment or Hint
-
setIsCritical
public void setIsCritical(boolean IsCritical) Set Is Critical Component.- Specified by:
setIsCritical
in 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:
isCritical
in 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:
setIsQtyPercentage
in interfaceI_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 interfaceI_PP_Product_BOMLine
- Returns:
- Indicate that this component is based in % Quantity
-
setIssueMethod
Set Issue Method.- Specified by:
setIssueMethod
in interfaceI_PP_Product_BOMLine
- Parameters:
IssueMethod
- There are two methods for issue the components to Manufacturing Order
-
getIssueMethod
Get Issue Method.- Specified by:
getIssueMethod
in 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:
setLeadTimeOffset
in interfaceI_PP_Product_BOMLine
- Parameters:
LeadTimeOffset
- Optional Lead Time offset before starting production
-
getLeadTimeOffset
public int getLeadTimeOffset()Get Lead Time Offset.- Specified by:
getLeadTimeOffset
in interfaceI_PP_Product_BOMLine
- Returns:
- Optional Lead Time offset before starting production
-
setLine
public void setLine(int Line) Set Line No.- Specified by:
setLine
in interfaceI_PP_Product_BOMLine
- Parameters:
Line
- Unique line for this document
-
getLine
public int getLine()Get Line No.- Specified by:
getLine
in interfaceI_PP_Product_BOMLine
- Returns:
- Unique line for this document
-
getM_AttributeSetInstance
- Specified by:
getM_AttributeSetInstance
in 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_ID
in 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_ID
in interfaceI_PP_Product_BOMLine
- Returns:
- Product Attribute Set Instance
-
getM_ChangeNotice
- Specified by:
getM_ChangeNotice
in 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_ID
in 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_ID
in interfaceI_PP_Product_BOMLine
- Returns:
- Bill of Materials (Engineering) Change Notice (Version)
-
getM_Product
- Specified by:
getM_Product
in interfaceI_PP_Product_BOMLine
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID) Set Product.- Specified by:
setM_Product_ID
in 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_ID
in interfaceI_PP_Product_BOMLine
- Returns:
- Product, Service, Item
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
getPP_Product_BOM
- Specified by:
getPP_Product_BOM
in 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_ID
in 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_ID
in interfaceI_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 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_ID
in interfaceI_PP_Product_BOMLine
- Returns:
- BOM Line
-
setPP_Product_BOMLine_UU
Set PP_Product_BOMLine_UU.- Specified by:
setPP_Product_BOMLine_UU
in 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_UU
in interfaceI_PP_Product_BOMLine
- Returns:
- PP_Product_BOMLine_UU
-
setQtyBatch
Set Quantity in %.- Specified by:
setQtyBatch
in interfaceI_PP_Product_BOMLine
- Parameters:
QtyBatch
- Indicate the Quantity % use in this Formula
-
getQtyBatch
Get Quantity in %.- Specified by:
getQtyBatch
in interfaceI_PP_Product_BOMLine
- Returns:
- Indicate the Quantity % use in this Formula
-
setQtyBOM
Set Quantity.- Specified by:
setQtyBOM
in interfaceI_PP_Product_BOMLine
- Parameters:
QtyBOM
- Indicate the Quantity use in this BOM
-
getQtyBOM
Get Quantity.- Specified by:
getQtyBOM
in interfaceI_PP_Product_BOMLine
- Returns:
- Indicate the Quantity use in this BOM
-
setScrap
Set Scrap %.- Specified by:
setScrap
in interfaceI_PP_Product_BOMLine
- Parameters:
Scrap
- Indicate the Scrap % for calculate the Scrap Quantity
-
getScrap
Get Scrap %.- Specified by:
getScrap
in interfaceI_PP_Product_BOMLine
- Returns:
- Indicate the Scrap % for calculate the Scrap Quantity
-
setValidFrom
Set Valid from.- Specified by:
setValidFrom
in interfaceI_PP_Product_BOMLine
- Parameters:
ValidFrom
- Valid from including this date (first day)
-
getValidFrom
Get Valid from.- Specified by:
getValidFrom
in interfaceI_PP_Product_BOMLine
- Returns:
- Valid from including this date (first day)
-
setValidTo
Set Valid to.- Specified by:
setValidTo
in interfaceI_PP_Product_BOMLine
- Parameters:
ValidTo
- Valid to including this date (last day)
-
getValidTo
Get Valid to.- Specified by:
getValidTo
in interfaceI_PP_Product_BOMLine
- Returns:
- Valid to including this date (last day)
-