Adempiere 3.5.2a

org.eevolution.model
Class MPPProductPlanning

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.eevolution.model.X_PP_Product_Planning
          extended by org.eevolution.model.MPPProductPlanning
All Implemented Interfaces:
Serializable, Comparator, I_Persistent, Evaluatee, I_PP_Product_Planning

public class MPPProductPlanning
extends X_PP_Product_Planning

Product Data Planning

Version:
$Id: MPProductPlannning.java,v 1.4 2004/05/13 06:05:22 vpj-cd Exp $
Author:
Victor Perez www.e-evolution.com
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.eevolution.model.X_PP_Product_Planning
ORDER_POLICY_AD_Reference_ID, ORDER_POLICY_LoteForLote, ORDER_POLICY_OrderFixedQuantity, ORDER_POLICY_PeriodOrderQuantity, PLANNER_ID_AD_Reference_ID
 
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, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Fields inherited from interface org.eevolution.model.I_PP_Product_Planning
accessLevel, COLUMNNAME_AD_Workflow_ID, COLUMNNAME_DD_NetworkDistribution_ID, COLUMNNAME_DeliveryTime_Promised, COLUMNNAME_IsCreatePlan, COLUMNNAME_IsIssue, 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_S_Resource_ID, COLUMNNAME_SafetyStock, COLUMNNAME_TimeFence, COLUMNNAME_TransfertTime, COLUMNNAME_WorkingTime, COLUMNNAME_Yield, Model, Table_ID, Table_Name
 
Constructor Summary
MPPProductPlanning(Properties ctx, int pp_product_planning_id, String trxname)
          Default Constructor
MPPProductPlanning(Properties ctx, ResultSet rs, String trxname)
          Load Constructor
 
Method Summary
static MPPProductPlanning get(Properties ctx, int ad_org_id, int m_warehouse_id, int s_resource_id, int m_product_id, String trxname)
          Get Data Product Planning
static MPPProductPlanning get(Properties ctx, int ad_org_id, int m_product_id, String trxname)
          Get Data Product Planning to Organization
static MPPProductPlanning getDemandSupplyResource(Properties ctx, int AD_Org_ID, int M_Product_ID, String trxName)
          find planning data demand & supply to this warehouse
static MPPProductPlanning getMPPProductPlanning(Properties ctx, int AD_Client_ID, int AD_Org_ID, int M_Warehouse_ID, int S_Resource_ID, int M_Product_ID, String trxName)
          find data planning, try find the specific planning data if do not found then try find data planning general
 
Methods inherited from class org.eevolution.model.X_PP_Product_Planning
get_AccessLevel, getAD_Workflow_ID, getAD_Workflow, getDD_NetworkDistribution_ID, getDD_NetworkDistribution, getDeliveryTime_Promised, getM_Product_ID, getM_Product, getM_Warehouse_ID, getM_Warehouse, getOrder_Max, getOrder_Min, getOrder_Pack, getOrder_Period, getOrder_Policy, getOrder_Qty, getPlanner_ID, getPP_Product_BOM_ID, getPP_Product_BOM, getPP_Product_Planning_ID, getS_Resource_ID, getS_Resource, getSafetyStock, getTimeFence, getTransfertTime, getWorkingTime, getYield, initPO, isCreatePlan, isIssue, isMPS, isPhantom, isRequiredDRP, isRequiredMRP, setAD_Workflow_ID, setDD_NetworkDistribution_ID, setDeliveryTime_Promised, setIsCreatePlan, setIsIssue, setIsMPS, setIsPhantom, setIsRequiredDRP, setIsRequiredMRP, setM_Product_ID, setM_Warehouse_ID, setOrder_Max, setOrder_Min, setOrder_Pack, setOrder_Period, setOrder_Policy, setOrder_Qty, setPlanner_ID, setPP_Product_BOM_ID, setPP_Product_Planning_ID, setS_Resource_ID, setSafetyStock, setTimeFence, setTransfertTime, setWorkingTime, setYield, toString
 
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
 

Constructor Detail

MPPProductPlanning

public MPPProductPlanning(Properties ctx,
                          int pp_product_planning_id,
                          String trxname)
Default Constructor

Parameters:
ctx - context
pp_product_planning_id - id
trxName -

MPPProductPlanning

public MPPProductPlanning(Properties ctx,
                          ResultSet rs,
                          String trxname)
Load Constructor

Parameters:
ctx - context
rs - result set
trxName - Transaction Name
Method Detail

get

public static MPPProductPlanning get(Properties ctx,
                                     int ad_org_id,
                                     int m_product_id,
                                     String trxname)
Get Data Product Planning to Organization

Parameters:
ctx - Context
ad_org_id - Organization ID
m_product_id - Product ID
trxName - Transaction Name
Returns:
MPPProductPlanning

get

public static MPPProductPlanning get(Properties ctx,
                                     int ad_org_id,
                                     int m_warehouse_id,
                                     int s_resource_id,
                                     int m_product_id,
                                     String trxname)
Get Data Product Planning

Parameters:
ctx - Context
AD_Org_ID - ID Organization
M_Warehouse_ID - Warehouse
S_Resource_ID - Resource type Plant
M_Product_ID - ID Product
trxname - Trx Name
Returns:
MPPProductPlanning

getMPPProductPlanning

public static MPPProductPlanning getMPPProductPlanning(Properties ctx,
                                                       int AD_Client_ID,
                                                       int AD_Org_ID,
                                                       int M_Warehouse_ID,
                                                       int S_Resource_ID,
                                                       int M_Product_ID,
                                                       String trxName)
find data planning, try find the specific planning data if do not found then try find data planning general

Parameters:
ctx - Context
AD_Org_ID - Organization ID
M_Warehouse_ID - Resource ID
S_Resource_ID - Resource ID
M_Product_ID - Product ID
trxName - Transaction Name
Returns:
MPPProductPlanning Planning Data

getDemandSupplyResource

public static MPPProductPlanning getDemandSupplyResource(Properties ctx,
                                                         int AD_Org_ID,
                                                         int M_Product_ID,
                                                         String trxName)
find planning data demand & supply to this warehouse

Parameters:
ctx - Context
AD_Org_ID - Organization ID
M_Product_ID - Product ID
trxName - Transaction Name
Returns:
MPPProductPlanning Planning Data

Adempiere 3.5.2a

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