Package org.eevolution.model
Class X_PP_Product_Planning
java.lang.Object
org.compiere.model.PO
org.eevolution.model.X_PP_Product_Planning
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_Persistent
,Evaluatee
,I_PP_Product_Planning
- Direct Known Subclasses:
MPPProductPlanning
Generated Model for PP_Product_Planning
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Order_Policy AD_Reference_ID=53228static final String
Fixed Order Quantity = FOQstatic final String
Lot-for-Lot = LFLstatic final String
Period Order Quantity = POQFields 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_Planning
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_Workflow_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DD_NetworkDistribution_ID, COLUMNNAME_DeliveryTime_Promised, COLUMNNAME_IsActive, COLUMNNAME_IsCreatePlan, COLUMNNAME_IsMPS, COLUMNNAME_IsPhantom, COLUMNNAME_IsRequiredDRP, COLUMNNAME_IsRequiredMRP, COLUMNNAME_M_Product_ID, COLUMNNAME_M_Warehouse_ID, COLUMNNAME_Order_Max, COLUMNNAME_Order_Min, COLUMNNAME_Order_Pack, COLUMNNAME_Order_Period, COLUMNNAME_Order_Policy, COLUMNNAME_Order_Qty, COLUMNNAME_Planner_ID, COLUMNNAME_PP_Product_BOM_ID, COLUMNNAME_PP_Product_Planning_ID, COLUMNNAME_PP_Product_Planning_UU, COLUMNNAME_S_Resource_ID, COLUMNNAME_SafetyStock, COLUMNNAME_TimeFence, COLUMNNAME_TransfertTime, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_WorkingTime, COLUMNNAME_Yield, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_PP_Product_Planning
(Properties ctx, int PP_Product_Planning_ID, String trxName) Standard ConstructorX_PP_Product_Planning
(Properties ctx, int PP_Product_Planning_ID, String trxName, String... virtualColumns) Standard ConstructorX_PP_Product_Planning
(Properties ctx, String PP_Product_Planning_UU, String trxName) Standard ConstructorX_PP_Product_Planning
(Properties ctx, String PP_Product_Planning_UU, String trxName, String... virtualColumns) Standard ConstructorX_PP_Product_Planning
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Workflow.int
Get Network Distribution.Get Promised Delivery Time.Get Record ID/ColumnNameint
Get Product.int
Get Warehouse.Get Maximum Order Qty.Get Minimum Order Qty.Get Order Pack Qty.Get Order Period.Get Order Policy.Get Order Qty.int
Get Planner.int
Get BOM & Formula.int
Get Product Planning.Get PP_Product_Planning_UU.int
Get Resource.Get Safety Stock Qty.Get Time Fence.Get Transfer Time.Get Working Time.int
getYield()
Get Yield %.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Create Plan.boolean
isMPS()
Get Is MPS.boolean
Get Phantom.boolean
Get Required Calculate DRP.boolean
Get Required Calculate MRP.void
setAD_Workflow_ID
(int AD_Workflow_ID) Set Workflow.void
setDD_NetworkDistribution_ID
(int DD_NetworkDistribution_ID) Set Network Distribution.void
setDeliveryTime_Promised
(BigDecimal DeliveryTime_Promised) Set Promised Delivery Time.void
setIsCreatePlan
(boolean IsCreatePlan) Set Create Plan.void
setIsMPS
(boolean IsMPS) Set Is MPS.void
setIsPhantom
(boolean IsPhantom) Set Phantom.void
setIsRequiredDRP
(boolean IsRequiredDRP) Set Required Calculate DRP.void
setIsRequiredMRP
(boolean IsRequiredMRP) Set Required Calculate MRP.void
setM_Product_ID
(int M_Product_ID) Set Product.void
setM_Warehouse_ID
(int M_Warehouse_ID) Set Warehouse.void
setOrder_Max
(BigDecimal Order_Max) Set Maximum Order Qty.void
setOrder_Min
(BigDecimal Order_Min) Set Minimum Order Qty.void
setOrder_Pack
(BigDecimal Order_Pack) Set Order Pack Qty.void
setOrder_Period
(BigDecimal Order_Period) Set Order Period.void
setOrder_Policy
(String Order_Policy) Set Order Policy.void
setOrder_Qty
(BigDecimal Order_Qty) Set Order Qty.void
setPlanner_ID
(int Planner_ID) Set Planner.void
setPP_Product_BOM_ID
(int PP_Product_BOM_ID) Set BOM & Formula.void
setPP_Product_Planning_ID
(int PP_Product_Planning_ID) Set Product Planning.void
setPP_Product_Planning_UU
(String PP_Product_Planning_UU) Set PP_Product_Planning_UU.void
setS_Resource_ID
(int S_Resource_ID) Set Resource.void
setSafetyStock
(BigDecimal SafetyStock) Set Safety Stock Qty.void
setTimeFence
(BigDecimal TimeFence) Set Time Fence.void
setTransfertTime
(BigDecimal TransfertTime) Set Transfer Time.void
setWorkingTime
(BigDecimal WorkingTime) Set Working Time.void
setYield
(int Yield) Set Yield %.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_Planning
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Field Details
-
ORDER_POLICY_AD_Reference_ID
public static final int ORDER_POLICY_AD_Reference_IDOrder_Policy AD_Reference_ID=53228- See Also:
-
ORDER_POLICY_FixedOrderQuantity
Fixed Order Quantity = FOQ- See Also:
-
ORDER_POLICY_Lot_For_Lot
Lot-for-Lot = LFL- See Also:
-
ORDER_POLICY_PeriodOrderQuantity
Period Order Quantity = POQ- See Also:
-
-
Constructor Details
-
X_PP_Product_Planning
Standard Constructor -
X_PP_Product_Planning
public X_PP_Product_Planning(Properties ctx, int PP_Product_Planning_ID, String trxName, String... virtualColumns) Standard Constructor -
X_PP_Product_Planning
Standard Constructor -
X_PP_Product_Planning
public X_PP_Product_Planning(Properties ctx, String PP_Product_Planning_UU, String trxName, String... virtualColumns) Standard Constructor -
X_PP_Product_Planning
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 -
getAD_Workflow
- Specified by:
getAD_Workflow
in interfaceI_PP_Product_Planning
- Throws:
RuntimeException
-
setAD_Workflow_ID
public void setAD_Workflow_ID(int AD_Workflow_ID) Set Workflow.- Specified by:
setAD_Workflow_ID
in interfaceI_PP_Product_Planning
- Parameters:
AD_Workflow_ID
- Workflow or combination of tasks
-
getAD_Workflow_ID
public int getAD_Workflow_ID()Get Workflow.- Specified by:
getAD_Workflow_ID
in interfaceI_PP_Product_Planning
- Returns:
- Workflow or combination of tasks
-
getDD_NetworkDistribution
- Specified by:
getDD_NetworkDistribution
in interfaceI_PP_Product_Planning
- Throws:
RuntimeException
-
setDD_NetworkDistribution_ID
public void setDD_NetworkDistribution_ID(int DD_NetworkDistribution_ID) Set Network Distribution.- Specified by:
setDD_NetworkDistribution_ID
in interfaceI_PP_Product_Planning
- Parameters:
DD_NetworkDistribution_ID
- Network Distribution
-
getDD_NetworkDistribution_ID
public int getDD_NetworkDistribution_ID()Get Network Distribution.- Specified by:
getDD_NetworkDistribution_ID
in interfaceI_PP_Product_Planning
- Returns:
- Network Distribution
-
setDeliveryTime_Promised
Set Promised Delivery Time.- Specified by:
setDeliveryTime_Promised
in interfaceI_PP_Product_Planning
- Parameters:
DeliveryTime_Promised
- Promised days between order and delivery
-
getDeliveryTime_Promised
Get Promised Delivery Time.- Specified by:
getDeliveryTime_Promised
in interfaceI_PP_Product_Planning
- Returns:
- Promised days between order and delivery
-
setIsCreatePlan
public void setIsCreatePlan(boolean IsCreatePlan) Set Create Plan.- Specified by:
setIsCreatePlan
in interfaceI_PP_Product_Planning
- Parameters:
IsCreatePlan
- Indicates whether planned orders will be generated by MRP
-
isCreatePlan
public boolean isCreatePlan()Get Create Plan.- Specified by:
isCreatePlan
in interfaceI_PP_Product_Planning
- Returns:
- Indicates whether planned orders will be generated by MRP
-
setIsMPS
public void setIsMPS(boolean IsMPS) Set Is MPS.- Specified by:
setIsMPS
in interfaceI_PP_Product_Planning
- Parameters:
IsMPS
- Is MPS
-
isMPS
public boolean isMPS()Get Is MPS.- Specified by:
isMPS
in interfaceI_PP_Product_Planning
- Returns:
- Is MPS
-
setIsPhantom
public void setIsPhantom(boolean IsPhantom) Set Phantom.- Specified by:
setIsPhantom
in interfaceI_PP_Product_Planning
- Parameters:
IsPhantom
- Phantom Component
-
isPhantom
public boolean isPhantom()Get Phantom.- Specified by:
isPhantom
in interfaceI_PP_Product_Planning
- Returns:
- Phantom Component
-
setIsRequiredDRP
public void setIsRequiredDRP(boolean IsRequiredDRP) Set Required Calculate DRP.- Specified by:
setIsRequiredDRP
in interfaceI_PP_Product_Planning
- Parameters:
IsRequiredDRP
- Required Calculate DRP
-
isRequiredDRP
public boolean isRequiredDRP()Get Required Calculate DRP.- Specified by:
isRequiredDRP
in interfaceI_PP_Product_Planning
- Returns:
- Required Calculate DRP
-
setIsRequiredMRP
public void setIsRequiredMRP(boolean IsRequiredMRP) Set Required Calculate MRP.- Specified by:
setIsRequiredMRP
in interfaceI_PP_Product_Planning
- Parameters:
IsRequiredMRP
- Required Calculate MRP
-
isRequiredMRP
public boolean isRequiredMRP()Get Required Calculate MRP.- Specified by:
isRequiredMRP
in interfaceI_PP_Product_Planning
- Returns:
- Required Calculate MRP
-
getM_Product
- Specified by:
getM_Product
in interfaceI_PP_Product_Planning
- 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_Planning
- 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_Planning
- Returns:
- Product, Service, Item
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
getM_Warehouse
- Specified by:
getM_Warehouse
in interfaceI_PP_Product_Planning
- Throws:
RuntimeException
-
setM_Warehouse_ID
public void setM_Warehouse_ID(int M_Warehouse_ID) Set Warehouse.- Specified by:
setM_Warehouse_ID
in interfaceI_PP_Product_Planning
- Parameters:
M_Warehouse_ID
- Storage Warehouse and Service Point
-
getM_Warehouse_ID
public int getM_Warehouse_ID()Get Warehouse.- Specified by:
getM_Warehouse_ID
in interfaceI_PP_Product_Planning
- Returns:
- Storage Warehouse and Service Point
-
setOrder_Max
Set Maximum Order Qty.- Specified by:
setOrder_Max
in interfaceI_PP_Product_Planning
- Parameters:
Order_Max
- Maximum order quantity in UOM
-
getOrder_Max
Get Maximum Order Qty.- Specified by:
getOrder_Max
in interfaceI_PP_Product_Planning
- Returns:
- Maximum order quantity in UOM
-
setOrder_Min
Set Minimum Order Qty.- Specified by:
setOrder_Min
in interfaceI_PP_Product_Planning
- Parameters:
Order_Min
- Minimum order quantity in UOM
-
getOrder_Min
Get Minimum Order Qty.- Specified by:
getOrder_Min
in interfaceI_PP_Product_Planning
- Returns:
- Minimum order quantity in UOM
-
setOrder_Pack
Set Order Pack Qty.- Specified by:
setOrder_Pack
in interfaceI_PP_Product_Planning
- Parameters:
Order_Pack
- Package order size in UOM (e.g. order set of 5 units)
-
getOrder_Pack
Get Order Pack Qty.- Specified by:
getOrder_Pack
in interfaceI_PP_Product_Planning
- Returns:
- Package order size in UOM (e.g. order set of 5 units)
-
setOrder_Period
Set Order Period.- Specified by:
setOrder_Period
in interfaceI_PP_Product_Planning
- Parameters:
Order_Period
- Order Period
-
getOrder_Period
Get Order Period.- Specified by:
getOrder_Period
in interfaceI_PP_Product_Planning
- Returns:
- Order Period
-
setOrder_Policy
Set Order Policy.- Specified by:
setOrder_Policy
in interfaceI_PP_Product_Planning
- Parameters:
Order_Policy
- Order Policy
-
getOrder_Policy
Get Order Policy.- Specified by:
getOrder_Policy
in interfaceI_PP_Product_Planning
- Returns:
- Order Policy
-
setOrder_Qty
Set Order Qty.- Specified by:
setOrder_Qty
in interfaceI_PP_Product_Planning
- Parameters:
Order_Qty
- Order Qty
-
getOrder_Qty
Get Order Qty.- Specified by:
getOrder_Qty
in interfaceI_PP_Product_Planning
- Returns:
- Order Qty
-
getPlanner
- Specified by:
getPlanner
in interfaceI_PP_Product_Planning
- Throws:
RuntimeException
-
setPlanner_ID
public void setPlanner_ID(int Planner_ID) Set Planner.- Specified by:
setPlanner_ID
in interfaceI_PP_Product_Planning
- Parameters:
Planner_ID
- Planner
-
getPlanner_ID
public int getPlanner_ID()Get Planner.- Specified by:
getPlanner_ID
in interfaceI_PP_Product_Planning
- Returns:
- Planner
-
getPP_Product_BOM
- Specified by:
getPP_Product_BOM
in interfaceI_PP_Product_Planning
- 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_Planning
- 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_Planning
- Returns:
- BOM & Formula
-
setPP_Product_Planning_ID
public void setPP_Product_Planning_ID(int PP_Product_Planning_ID) Set Product Planning.- Specified by:
setPP_Product_Planning_ID
in interfaceI_PP_Product_Planning
- Parameters:
PP_Product_Planning_ID
- Product Planning
-
getPP_Product_Planning_ID
public int getPP_Product_Planning_ID()Get Product Planning.- Specified by:
getPP_Product_Planning_ID
in interfaceI_PP_Product_Planning
- Returns:
- Product Planning
-
setPP_Product_Planning_UU
Set PP_Product_Planning_UU.- Specified by:
setPP_Product_Planning_UU
in interfaceI_PP_Product_Planning
- Parameters:
PP_Product_Planning_UU
- PP_Product_Planning_UU
-
getPP_Product_Planning_UU
Get PP_Product_Planning_UU.- Specified by:
getPP_Product_Planning_UU
in interfaceI_PP_Product_Planning
- Returns:
- PP_Product_Planning_UU
-
setSafetyStock
Set Safety Stock Qty.- Specified by:
setSafetyStock
in interfaceI_PP_Product_Planning
- Parameters:
SafetyStock
- Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs
-
getSafetyStock
Get Safety Stock Qty.- Specified by:
getSafetyStock
in interfaceI_PP_Product_Planning
- Returns:
- Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs
-
getS_Resource
- Specified by:
getS_Resource
in interfaceI_PP_Product_Planning
- Throws:
RuntimeException
-
setS_Resource_ID
public void setS_Resource_ID(int S_Resource_ID) Set Resource.- Specified by:
setS_Resource_ID
in interfaceI_PP_Product_Planning
- Parameters:
S_Resource_ID
- Resource
-
getS_Resource_ID
public int getS_Resource_ID()Get Resource.- Specified by:
getS_Resource_ID
in interfaceI_PP_Product_Planning
- Returns:
- Resource
-
setTimeFence
Set Time Fence.- Specified by:
setTimeFence
in interfaceI_PP_Product_Planning
- Parameters:
TimeFence
- Time Fence
-
getTimeFence
Get Time Fence.- Specified by:
getTimeFence
in interfaceI_PP_Product_Planning
- Returns:
- Time Fence
-
setTransfertTime
Set Transfer Time.- Specified by:
setTransfertTime
in interfaceI_PP_Product_Planning
- Parameters:
TransfertTime
- Transfer Time
-
getTransfertTime
Get Transfer Time.- Specified by:
getTransfertTime
in interfaceI_PP_Product_Planning
- Returns:
- Transfer Time
-
setWorkingTime
Set Working Time.- Specified by:
setWorkingTime
in interfaceI_PP_Product_Planning
- Parameters:
WorkingTime
- Workflow Simulation Execution Time
-
getWorkingTime
Get Working Time.- Specified by:
getWorkingTime
in interfaceI_PP_Product_Planning
- Returns:
- Workflow Simulation Execution Time
-
setYield
public void setYield(int Yield) Set Yield %.- Specified by:
setYield
in interfaceI_PP_Product_Planning
- Parameters:
Yield
- The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
-
getYield
public int getYield()Get Yield %.- Specified by:
getYield
in interfaceI_PP_Product_Planning
- Returns:
- The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
-