Create new importer for Planning Data and Forecast
kind regards Victor Perez www.e-evolution.com Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2952245
This commit is contained in:
parent
53a9929eab
commit
679ccdf7a4
|
@ -0,0 +1,652 @@
|
|||
/******************************************************************************
|
||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
||||
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
|
||||
* This program is free software, you can redistribute it and/or modify it *
|
||||
* under the terms version 2 of the GNU General Public License as published *
|
||||
* by the Free Software Foundation. This program is distributed in the hope *
|
||||
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||
* See the GNU General Public License for more details. *
|
||||
* You should have received a copy of the GNU General Public License along *
|
||||
* with this program, if not, write to the Free Software Foundation, Inc., *
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
||||
* For the text or an alternative of this public license, you may reach us *
|
||||
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
|
||||
* or via info@compiere.org or http://www.compiere.org/license.html *
|
||||
*****************************************************************************/
|
||||
package org.eevolution.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import org.compiere.model.*;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Interface for I_ProductPlanning
|
||||
* @author Adempiere (generated)
|
||||
* @version Release 3.5.4a
|
||||
*/
|
||||
public interface I_I_ProductPlanning
|
||||
{
|
||||
|
||||
/** TableName=I_ProductPlanning */
|
||||
public static final String Table_Name = "I_ProductPlanning";
|
||||
|
||||
/** AD_Table_ID=1000017 */
|
||||
public static final int Table_ID = MTable.getTable_ID(Table_Name);
|
||||
|
||||
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
|
||||
|
||||
/** AccessLevel = 2 - Client
|
||||
*/
|
||||
BigDecimal accessLevel = BigDecimal.valueOf(2);
|
||||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name AD_Client_ID */
|
||||
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
|
||||
|
||||
/** Get Client.
|
||||
* Client/Tenant for this installation.
|
||||
*/
|
||||
public int getAD_Client_ID();
|
||||
|
||||
/** Column name AD_Org_ID */
|
||||
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
|
||||
|
||||
/** Set Organization.
|
||||
* Organizational entity within client
|
||||
*/
|
||||
public void setAD_Org_ID (int AD_Org_ID);
|
||||
|
||||
/** Get Organization.
|
||||
* Organizational entity within client
|
||||
*/
|
||||
public int getAD_Org_ID();
|
||||
|
||||
/** Column name AD_Workflow_ID */
|
||||
public static final String COLUMNNAME_AD_Workflow_ID = "AD_Workflow_ID";
|
||||
|
||||
/** Set Workflow.
|
||||
* Workflow or combination of tasks
|
||||
*/
|
||||
public void setAD_Workflow_ID (int AD_Workflow_ID);
|
||||
|
||||
/** Get Workflow.
|
||||
* Workflow or combination of tasks
|
||||
*/
|
||||
public int getAD_Workflow_ID();
|
||||
|
||||
/** Column name BPartner_Value */
|
||||
public static final String COLUMNNAME_BPartner_Value = "BPartner_Value";
|
||||
|
||||
/** Set Business Partner Key.
|
||||
* The Key of the Business Partner
|
||||
*/
|
||||
public void setBPartner_Value (String BPartner_Value);
|
||||
|
||||
/** Get Business Partner Key.
|
||||
* The Key of the Business Partner
|
||||
*/
|
||||
public String getBPartner_Value();
|
||||
|
||||
/** Column name C_BPartner_ID */
|
||||
public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID";
|
||||
|
||||
/** Set Business Partner .
|
||||
* Identifies a Business Partner
|
||||
*/
|
||||
public void setC_BPartner_ID (int C_BPartner_ID);
|
||||
|
||||
/** Get Business Partner .
|
||||
* Identifies a Business Partner
|
||||
*/
|
||||
public int getC_BPartner_ID();
|
||||
|
||||
public I_C_BPartner getC_BPartner() throws RuntimeException;
|
||||
|
||||
/** Column name Created */
|
||||
public static final String COLUMNNAME_Created = "Created";
|
||||
|
||||
/** Get Created.
|
||||
* Date this record was created
|
||||
*/
|
||||
public Timestamp getCreated();
|
||||
|
||||
/** Column name CreatedBy */
|
||||
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
|
||||
|
||||
/** Get Created By.
|
||||
* User who created this records
|
||||
*/
|
||||
public int getCreatedBy();
|
||||
|
||||
/** Column name DatePromised */
|
||||
public static final String COLUMNNAME_DatePromised = "DatePromised";
|
||||
|
||||
/** Set Date Promised.
|
||||
* Date Order was promised
|
||||
*/
|
||||
public void setDatePromised (Timestamp DatePromised);
|
||||
|
||||
/** Get Date Promised.
|
||||
* Date Order was promised
|
||||
*/
|
||||
public Timestamp getDatePromised();
|
||||
|
||||
/** Column name DD_NetworkDistribution_ID */
|
||||
public static final String COLUMNNAME_DD_NetworkDistribution_ID = "DD_NetworkDistribution_ID";
|
||||
|
||||
/** Set Network Distribution */
|
||||
public void setDD_NetworkDistribution_ID (int DD_NetworkDistribution_ID);
|
||||
|
||||
/** Get Network Distribution */
|
||||
public int getDD_NetworkDistribution_ID();
|
||||
|
||||
/** Column name DeliveryTime_Promised */
|
||||
public static final String COLUMNNAME_DeliveryTime_Promised = "DeliveryTime_Promised";
|
||||
|
||||
/** Set Promised Delivery Time.
|
||||
* Promised days between order and delivery
|
||||
*/
|
||||
public void setDeliveryTime_Promised (BigDecimal DeliveryTime_Promised);
|
||||
|
||||
/** Get Promised Delivery Time.
|
||||
* Promised days between order and delivery
|
||||
*/
|
||||
public BigDecimal getDeliveryTime_Promised();
|
||||
|
||||
/** Column name ForecastValue */
|
||||
public static final String COLUMNNAME_ForecastValue = "ForecastValue";
|
||||
|
||||
/** Set Forecast Key.
|
||||
* Key of the Forecast
|
||||
*/
|
||||
public void setForecastValue (String ForecastValue);
|
||||
|
||||
/** Get Forecast Key.
|
||||
* Key of the Forecast
|
||||
*/
|
||||
public String getForecastValue();
|
||||
|
||||
/** Column name I_ErrorMsg */
|
||||
public static final String COLUMNNAME_I_ErrorMsg = "I_ErrorMsg";
|
||||
|
||||
/** Set Import Error Message.
|
||||
* Messages generated from import process
|
||||
*/
|
||||
public void setI_ErrorMsg (String I_ErrorMsg);
|
||||
|
||||
/** Get Import Error Message.
|
||||
* Messages generated from import process
|
||||
*/
|
||||
public String getI_ErrorMsg();
|
||||
|
||||
/** Column name I_IsImported */
|
||||
public static final String COLUMNNAME_I_IsImported = "I_IsImported";
|
||||
|
||||
/** Set Imported.
|
||||
* Has this import been processed
|
||||
*/
|
||||
public void setI_IsImported (boolean I_IsImported);
|
||||
|
||||
/** Get Imported.
|
||||
* Has this import been processed
|
||||
*/
|
||||
public boolean isI_IsImported();
|
||||
|
||||
/** Column name I_ProductPlanning_ID */
|
||||
public static final String COLUMNNAME_I_ProductPlanning_ID = "I_ProductPlanning_ID";
|
||||
|
||||
/** Set Import Product Planning */
|
||||
public void setI_ProductPlanning_ID (int I_ProductPlanning_ID);
|
||||
|
||||
/** Get Import Product Planning */
|
||||
public int getI_ProductPlanning_ID();
|
||||
|
||||
/** Column name IsActive */
|
||||
public static final String COLUMNNAME_IsActive = "IsActive";
|
||||
|
||||
/** Set Active.
|
||||
* The record is active in the system
|
||||
*/
|
||||
public void setIsActive (boolean IsActive);
|
||||
|
||||
/** Get Active.
|
||||
* The record is active in the system
|
||||
*/
|
||||
public boolean isActive();
|
||||
|
||||
/** Column name IsCreatePlan */
|
||||
public static final String COLUMNNAME_IsCreatePlan = "IsCreatePlan";
|
||||
|
||||
/** Set Create Plan.
|
||||
* Indicates whether planned orders will be generated by MRP
|
||||
*/
|
||||
public void setIsCreatePlan (boolean IsCreatePlan);
|
||||
|
||||
/** Get Create Plan.
|
||||
* Indicates whether planned orders will be generated by MRP
|
||||
*/
|
||||
public boolean isCreatePlan();
|
||||
|
||||
/** Column name IsMPS */
|
||||
public static final String COLUMNNAME_IsMPS = "IsMPS";
|
||||
|
||||
/** Set Is MPS */
|
||||
public void setIsMPS (boolean IsMPS);
|
||||
|
||||
/** Get Is MPS */
|
||||
public boolean isMPS();
|
||||
|
||||
/** Column name IsPhantom */
|
||||
public static final String COLUMNNAME_IsPhantom = "IsPhantom";
|
||||
|
||||
/** Set Phantom.
|
||||
* Phantom Component
|
||||
*/
|
||||
public void setIsPhantom (boolean IsPhantom);
|
||||
|
||||
/** Get Phantom.
|
||||
* Phantom Component
|
||||
*/
|
||||
public boolean isPhantom();
|
||||
|
||||
/** Column name M_Forecast_ID */
|
||||
public static final String COLUMNNAME_M_Forecast_ID = "M_Forecast_ID";
|
||||
|
||||
/** Set Forecast.
|
||||
* Material Forecast
|
||||
*/
|
||||
public void setM_Forecast_ID (int M_Forecast_ID);
|
||||
|
||||
/** Get Forecast.
|
||||
* Material Forecast
|
||||
*/
|
||||
public int getM_Forecast_ID();
|
||||
|
||||
public I_M_Forecast getM_Forecast() throws RuntimeException;
|
||||
|
||||
/** Column name M_ForecastLine_ID */
|
||||
public static final String COLUMNNAME_M_ForecastLine_ID = "M_ForecastLine_ID";
|
||||
|
||||
/** Set Forecast Line.
|
||||
* Forecast Line
|
||||
*/
|
||||
public void setM_ForecastLine_ID (int M_ForecastLine_ID);
|
||||
|
||||
/** Get Forecast Line.
|
||||
* Forecast Line
|
||||
*/
|
||||
public int getM_ForecastLine_ID();
|
||||
|
||||
/** Column name M_Product_ID */
|
||||
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
|
||||
|
||||
/** Set Product.
|
||||
* Product, Service, Item
|
||||
*/
|
||||
public void setM_Product_ID (int M_Product_ID);
|
||||
|
||||
/** Get Product.
|
||||
* Product, Service, Item
|
||||
*/
|
||||
public int getM_Product_ID();
|
||||
|
||||
public I_M_Product getM_Product() throws RuntimeException;
|
||||
|
||||
/** Column name M_Warehouse_ID */
|
||||
public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID";
|
||||
|
||||
/** Set Warehouse.
|
||||
* Storage Warehouse and Service Point
|
||||
*/
|
||||
public void setM_Warehouse_ID (int M_Warehouse_ID);
|
||||
|
||||
/** Get Warehouse.
|
||||
* Storage Warehouse and Service Point
|
||||
*/
|
||||
public int getM_Warehouse_ID();
|
||||
|
||||
public I_M_Warehouse getM_Warehouse() throws RuntimeException;
|
||||
|
||||
/** Column name NetworkDistributionValue */
|
||||
public static final String COLUMNNAME_NetworkDistributionValue = "NetworkDistributionValue";
|
||||
|
||||
/** Set Network Distribution Key.
|
||||
* Key of the Network Distribution
|
||||
*/
|
||||
public void setNetworkDistributionValue (String NetworkDistributionValue);
|
||||
|
||||
/** Get Network Distribution Key.
|
||||
* Key of the Network Distribution
|
||||
*/
|
||||
public String getNetworkDistributionValue();
|
||||
|
||||
/** Column name Order_Max */
|
||||
public static final String COLUMNNAME_Order_Max = "Order_Max";
|
||||
|
||||
/** Set Maximum Order Qty.
|
||||
* Maximum order quantity in UOM
|
||||
*/
|
||||
public void setOrder_Max (BigDecimal Order_Max);
|
||||
|
||||
/** Get Maximum Order Qty.
|
||||
* Maximum order quantity in UOM
|
||||
*/
|
||||
public BigDecimal getOrder_Max();
|
||||
|
||||
/** Column name Order_Min */
|
||||
public static final String COLUMNNAME_Order_Min = "Order_Min";
|
||||
|
||||
/** Set Minimum Order Qty.
|
||||
* Minimum order quantity in UOM
|
||||
*/
|
||||
public void setOrder_Min (BigDecimal Order_Min);
|
||||
|
||||
/** Get Minimum Order Qty.
|
||||
* Minimum order quantity in UOM
|
||||
*/
|
||||
public BigDecimal getOrder_Min();
|
||||
|
||||
/** Column name Order_Pack */
|
||||
public static final String COLUMNNAME_Order_Pack = "Order_Pack";
|
||||
|
||||
/** Set Order Pack Qty.
|
||||
* Package order size in UOM (e.g. order set of 5 units)
|
||||
*/
|
||||
public void setOrder_Pack (BigDecimal Order_Pack);
|
||||
|
||||
/** Get Order Pack Qty.
|
||||
* Package order size in UOM (e.g. order set of 5 units)
|
||||
*/
|
||||
public BigDecimal getOrder_Pack();
|
||||
|
||||
/** Column name Order_Period */
|
||||
public static final String COLUMNNAME_Order_Period = "Order_Period";
|
||||
|
||||
/** Set Order Period */
|
||||
public void setOrder_Period (BigDecimal Order_Period);
|
||||
|
||||
/** Get Order Period */
|
||||
public BigDecimal getOrder_Period();
|
||||
|
||||
/** Column name Order_Policy */
|
||||
public static final String COLUMNNAME_Order_Policy = "Order_Policy";
|
||||
|
||||
/** Set Order Policy */
|
||||
public void setOrder_Policy (String Order_Policy);
|
||||
|
||||
/** Get Order Policy */
|
||||
public String getOrder_Policy();
|
||||
|
||||
/** Column name Order_Qty */
|
||||
public static final String COLUMNNAME_Order_Qty = "Order_Qty";
|
||||
|
||||
/** Set Order Qty */
|
||||
public void setOrder_Qty (BigDecimal Order_Qty);
|
||||
|
||||
/** Get Order Qty */
|
||||
public BigDecimal getOrder_Qty();
|
||||
|
||||
/** Column name OrgValue */
|
||||
public static final String COLUMNNAME_OrgValue = "OrgValue";
|
||||
|
||||
/** Set Org Key.
|
||||
* Key of the Organization
|
||||
*/
|
||||
public void setOrgValue (String OrgValue);
|
||||
|
||||
/** Get Org Key.
|
||||
* Key of the Organization
|
||||
*/
|
||||
public String getOrgValue();
|
||||
|
||||
/** Column name Planner_ID */
|
||||
public static final String COLUMNNAME_Planner_ID = "Planner_ID";
|
||||
|
||||
/** Set Planner */
|
||||
public void setPlanner_ID (int Planner_ID);
|
||||
|
||||
/** Get Planner */
|
||||
public int getPlanner_ID();
|
||||
|
||||
public I_AD_User getPlanner() throws RuntimeException;
|
||||
|
||||
/** Column name PlannerValue */
|
||||
public static final String COLUMNNAME_PlannerValue = "PlannerValue";
|
||||
|
||||
/** Set Planner Key.
|
||||
* Search Key of the Planning
|
||||
*/
|
||||
public void setPlannerValue (String PlannerValue);
|
||||
|
||||
/** Get Planner Key.
|
||||
* Search Key of the Planning
|
||||
*/
|
||||
public String getPlannerValue();
|
||||
|
||||
/** Column name PP_Product_BOM_ID */
|
||||
public static final String COLUMNNAME_PP_Product_BOM_ID = "PP_Product_BOM_ID";
|
||||
|
||||
/** Set BOM & Formula.
|
||||
* BOM & Formula
|
||||
*/
|
||||
public void setPP_Product_BOM_ID (int PP_Product_BOM_ID);
|
||||
|
||||
/** Get BOM & Formula.
|
||||
* BOM & Formula
|
||||
*/
|
||||
public int getPP_Product_BOM_ID();
|
||||
|
||||
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException;
|
||||
|
||||
/** Column name PP_Product_Planning_ID */
|
||||
public static final String COLUMNNAME_PP_Product_Planning_ID = "PP_Product_Planning_ID";
|
||||
|
||||
/** Set Product Planning */
|
||||
public void setPP_Product_Planning_ID (int PP_Product_Planning_ID);
|
||||
|
||||
/** Get Product Planning */
|
||||
public int getPP_Product_Planning_ID();
|
||||
|
||||
/** Column name Processed */
|
||||
public static final String COLUMNNAME_Processed = "Processed";
|
||||
|
||||
/** Set Processed.
|
||||
* The document has been processed
|
||||
*/
|
||||
public void setProcessed (boolean Processed);
|
||||
|
||||
/** Get Processed.
|
||||
* The document has been processed
|
||||
*/
|
||||
public boolean isProcessed();
|
||||
|
||||
/** Column name Processing */
|
||||
public static final String COLUMNNAME_Processing = "Processing";
|
||||
|
||||
/** Set Process Now */
|
||||
public void setProcessing (boolean Processing);
|
||||
|
||||
/** Get Process Now */
|
||||
public boolean isProcessing();
|
||||
|
||||
/** Column name Product_BOM_Value */
|
||||
public static final String COLUMNNAME_Product_BOM_Value = "Product_BOM_Value";
|
||||
|
||||
/** Set Product BOM Key.
|
||||
* Key of Product BOM
|
||||
*/
|
||||
public void setProduct_BOM_Value (String Product_BOM_Value);
|
||||
|
||||
/** Get Product BOM Key.
|
||||
* Key of Product BOM
|
||||
*/
|
||||
public String getProduct_BOM_Value();
|
||||
|
||||
/** Column name ProductValue */
|
||||
public static final String COLUMNNAME_ProductValue = "ProductValue";
|
||||
|
||||
/** Set Product Key.
|
||||
* Key of the Product
|
||||
*/
|
||||
public void setProductValue (String ProductValue);
|
||||
|
||||
/** Get Product Key.
|
||||
* Key of the Product
|
||||
*/
|
||||
public String getProductValue();
|
||||
|
||||
/** Column name Qty */
|
||||
public static final String COLUMNNAME_Qty = "Qty";
|
||||
|
||||
/** Set Quantity.
|
||||
* Quantity
|
||||
*/
|
||||
public void setQty (BigDecimal Qty);
|
||||
|
||||
/** Get Quantity.
|
||||
* Quantity
|
||||
*/
|
||||
public BigDecimal getQty();
|
||||
|
||||
/** Column name ResourceValue */
|
||||
public static final String COLUMNNAME_ResourceValue = "ResourceValue";
|
||||
|
||||
/** Set Resource Key.
|
||||
* Key of the Resource
|
||||
*/
|
||||
public void setResourceValue (String ResourceValue);
|
||||
|
||||
/** Get Resource Key.
|
||||
* Key of the Resource
|
||||
*/
|
||||
public String getResourceValue();
|
||||
|
||||
/** Column name SafetyStock */
|
||||
public static final String COLUMNNAME_SafetyStock = "SafetyStock";
|
||||
|
||||
/** Set Safety Stock Qty.
|
||||
* Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs
|
||||
*/
|
||||
public void setSafetyStock (BigDecimal SafetyStock);
|
||||
|
||||
/** Get Safety Stock Qty.
|
||||
* Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs
|
||||
*/
|
||||
public BigDecimal getSafetyStock();
|
||||
|
||||
/** Column name SalesRep_ID */
|
||||
public static final String COLUMNNAME_SalesRep_ID = "SalesRep_ID";
|
||||
|
||||
/** Set Sales Representative.
|
||||
* Sales Representative or Company Agent
|
||||
*/
|
||||
public void setSalesRep_ID (int SalesRep_ID);
|
||||
|
||||
/** Get Sales Representative.
|
||||
* Sales Representative or Company Agent
|
||||
*/
|
||||
public int getSalesRep_ID();
|
||||
|
||||
/** Column name S_Resource_ID */
|
||||
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
|
||||
|
||||
/** Set Resource.
|
||||
* Resource
|
||||
*/
|
||||
public void setS_Resource_ID (int S_Resource_ID);
|
||||
|
||||
/** Get Resource.
|
||||
* Resource
|
||||
*/
|
||||
public int getS_Resource_ID();
|
||||
|
||||
public I_S_Resource getS_Resource() throws RuntimeException;
|
||||
|
||||
/** Column name TimeFence */
|
||||
public static final String COLUMNNAME_TimeFence = "TimeFence";
|
||||
|
||||
/** Set Time Fence */
|
||||
public void setTimeFence (BigDecimal TimeFence);
|
||||
|
||||
/** Get Time Fence */
|
||||
public BigDecimal getTimeFence();
|
||||
|
||||
/** Column name TransfertTime */
|
||||
public static final String COLUMNNAME_TransfertTime = "TransfertTime";
|
||||
|
||||
/** Set Transfert Time */
|
||||
public void setTransfertTime (BigDecimal TransfertTime);
|
||||
|
||||
/** Get Transfert Time */
|
||||
public BigDecimal getTransfertTime();
|
||||
|
||||
/** Column name Updated */
|
||||
public static final String COLUMNNAME_Updated = "Updated";
|
||||
|
||||
/** Get Updated.
|
||||
* Date this record was updated
|
||||
*/
|
||||
public Timestamp getUpdated();
|
||||
|
||||
/** Column name UpdatedBy */
|
||||
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
|
||||
|
||||
/** Get Updated By.
|
||||
* User who updated this records
|
||||
*/
|
||||
public int getUpdatedBy();
|
||||
|
||||
/** Column name VendorProductNo */
|
||||
public static final String COLUMNNAME_VendorProductNo = "VendorProductNo";
|
||||
|
||||
/** Set Partner Product Key.
|
||||
* Product Key of the Business Partner
|
||||
*/
|
||||
public void setVendorProductNo (String VendorProductNo);
|
||||
|
||||
/** Get Partner Product Key.
|
||||
* Product Key of the Business Partner
|
||||
*/
|
||||
public String getVendorProductNo();
|
||||
|
||||
/** Column name WarehouseValue */
|
||||
public static final String COLUMNNAME_WarehouseValue = "WarehouseValue";
|
||||
|
||||
/** Set Warehouse Key.
|
||||
* Key of the Warehouse
|
||||
*/
|
||||
public void setWarehouseValue (String WarehouseValue);
|
||||
|
||||
/** Get Warehouse Key.
|
||||
* Key of the Warehouse
|
||||
*/
|
||||
public String getWarehouseValue();
|
||||
|
||||
/** Column name WorkingTime */
|
||||
public static final String COLUMNNAME_WorkingTime = "WorkingTime";
|
||||
|
||||
/** Set Working Time.
|
||||
* Workflow Simulation Execution Time
|
||||
*/
|
||||
public void setWorkingTime (BigDecimal WorkingTime);
|
||||
|
||||
/** Get Working Time.
|
||||
* Workflow Simulation Execution Time
|
||||
*/
|
||||
public BigDecimal getWorkingTime();
|
||||
|
||||
/** Column name Yield */
|
||||
public static final String COLUMNNAME_Yield = "Yield";
|
||||
|
||||
/** Set Yield %.
|
||||
* The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
|
||||
*/
|
||||
public void setYield (int Yield);
|
||||
|
||||
/** Get Yield %.
|
||||
* The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
|
||||
*/
|
||||
public int getYield();
|
||||
}
|
|
@ -0,0 +1,994 @@
|
|||
/******************************************************************************
|
||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
||||
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
|
||||
* This program is free software, you can redistribute it and/or modify it *
|
||||
* under the terms version 2 of the GNU General Public License as published *
|
||||
* by the Free Software Foundation. This program is distributed in the hope *
|
||||
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||
* See the GNU General Public License for more details. *
|
||||
* You should have received a copy of the GNU General Public License along *
|
||||
* with this program, if not, write to the Free Software Foundation, Inc., *
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
||||
* For the text or an alternative of this public license, you may reach us *
|
||||
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
|
||||
* or via info@compiere.org or http://www.compiere.org/license.html *
|
||||
*****************************************************************************/
|
||||
/** Generated Model - DO NOT CHANGE */
|
||||
package org.eevolution.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Properties;
|
||||
import org.compiere.model.*;
|
||||
import org.compiere.util.Env;
|
||||
|
||||
/** Generated Model for I_ProductPlanning
|
||||
* @author Adempiere (generated)
|
||||
* @version Release 3.5.4a - $Id$ */
|
||||
public class X_I_ProductPlanning extends PO implements I_I_ProductPlanning, I_Persistent
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20100213L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_I_ProductPlanning (Properties ctx, int I_ProductPlanning_ID, String trxName)
|
||||
{
|
||||
super (ctx, I_ProductPlanning_ID, trxName);
|
||||
/** if (I_ProductPlanning_ID == 0)
|
||||
{
|
||||
setI_IsImported (false);
|
||||
setI_ProductPlanning_ID (0);
|
||||
setIsCreatePlan (false);
|
||||
setIsPhantom (false);
|
||||
setQty (Env.ZERO);
|
||||
} */
|
||||
}
|
||||
|
||||
/** Load Constructor */
|
||||
public X_I_ProductPlanning (Properties ctx, ResultSet rs, String trxName)
|
||||
{
|
||||
super (ctx, rs, trxName);
|
||||
}
|
||||
|
||||
/** AccessLevel
|
||||
* @return 2 - Client
|
||||
*/
|
||||
protected int get_AccessLevel()
|
||||
{
|
||||
return accessLevel.intValue();
|
||||
}
|
||||
|
||||
/** Load Meta Data */
|
||||
protected POInfo initPO (Properties ctx)
|
||||
{
|
||||
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
|
||||
return poi;
|
||||
}
|
||||
|
||||
public String toString()
|
||||
{
|
||||
StringBuffer sb = new StringBuffer ("X_I_ProductPlanning[")
|
||||
.append(get_ID()).append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/** Set Workflow.
|
||||
@param AD_Workflow_ID
|
||||
Workflow or combination of tasks
|
||||
*/
|
||||
public void setAD_Workflow_ID (int AD_Workflow_ID)
|
||||
{
|
||||
if (AD_Workflow_ID < 1)
|
||||
set_Value (COLUMNNAME_AD_Workflow_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_AD_Workflow_ID, Integer.valueOf(AD_Workflow_ID));
|
||||
}
|
||||
|
||||
/** Get Workflow.
|
||||
@return Workflow or combination of tasks
|
||||
*/
|
||||
public int getAD_Workflow_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Workflow_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Business Partner Key.
|
||||
@param BPartner_Value
|
||||
The Key of the Business Partner
|
||||
*/
|
||||
public void setBPartner_Value (String BPartner_Value)
|
||||
{
|
||||
set_Value (COLUMNNAME_BPartner_Value, BPartner_Value);
|
||||
}
|
||||
|
||||
/** Get Business Partner Key.
|
||||
@return The Key of the Business Partner
|
||||
*/
|
||||
public String getBPartner_Value ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_BPartner_Value);
|
||||
}
|
||||
|
||||
public I_C_BPartner getC_BPartner() throws RuntimeException
|
||||
{
|
||||
return (I_C_BPartner)MTable.get(getCtx(), I_C_BPartner.Table_Name)
|
||||
.getPO(getC_BPartner_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Business Partner .
|
||||
@param C_BPartner_ID
|
||||
Identifies a Business Partner
|
||||
*/
|
||||
public void setC_BPartner_ID (int C_BPartner_ID)
|
||||
{
|
||||
if (C_BPartner_ID < 1)
|
||||
set_Value (COLUMNNAME_C_BPartner_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID));
|
||||
}
|
||||
|
||||
/** Get Business Partner .
|
||||
@return Identifies a Business Partner
|
||||
*/
|
||||
public int getC_BPartner_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartner_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Date Promised.
|
||||
@param DatePromised
|
||||
Date Order was promised
|
||||
*/
|
||||
public void setDatePromised (Timestamp DatePromised)
|
||||
{
|
||||
set_Value (COLUMNNAME_DatePromised, DatePromised);
|
||||
}
|
||||
|
||||
/** Get Date Promised.
|
||||
@return Date Order was promised
|
||||
*/
|
||||
public Timestamp getDatePromised ()
|
||||
{
|
||||
return (Timestamp)get_Value(COLUMNNAME_DatePromised);
|
||||
}
|
||||
|
||||
/** Set Network Distribution.
|
||||
@param DD_NetworkDistribution_ID Network Distribution */
|
||||
public void setDD_NetworkDistribution_ID (int DD_NetworkDistribution_ID)
|
||||
{
|
||||
if (DD_NetworkDistribution_ID < 1)
|
||||
set_Value (COLUMNNAME_DD_NetworkDistribution_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_DD_NetworkDistribution_ID, Integer.valueOf(DD_NetworkDistribution_ID));
|
||||
}
|
||||
|
||||
/** Get Network Distribution.
|
||||
@return Network Distribution */
|
||||
public int getDD_NetworkDistribution_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_DD_NetworkDistribution_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Promised Delivery Time.
|
||||
@param DeliveryTime_Promised
|
||||
Promised days between order and delivery
|
||||
*/
|
||||
public void setDeliveryTime_Promised (BigDecimal DeliveryTime_Promised)
|
||||
{
|
||||
set_Value (COLUMNNAME_DeliveryTime_Promised, DeliveryTime_Promised);
|
||||
}
|
||||
|
||||
/** Get Promised Delivery Time.
|
||||
@return Promised days between order and delivery
|
||||
*/
|
||||
public BigDecimal getDeliveryTime_Promised ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_DeliveryTime_Promised);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Forecast Key.
|
||||
@param ForecastValue
|
||||
Key of the Forecast
|
||||
*/
|
||||
public void setForecastValue (String ForecastValue)
|
||||
{
|
||||
set_Value (COLUMNNAME_ForecastValue, ForecastValue);
|
||||
}
|
||||
|
||||
/** Get Forecast Key.
|
||||
@return Key of the Forecast
|
||||
*/
|
||||
public String getForecastValue ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_ForecastValue);
|
||||
}
|
||||
|
||||
/** Set Import Error Message.
|
||||
@param I_ErrorMsg
|
||||
Messages generated from import process
|
||||
*/
|
||||
public void setI_ErrorMsg (String I_ErrorMsg)
|
||||
{
|
||||
set_Value (COLUMNNAME_I_ErrorMsg, I_ErrorMsg);
|
||||
}
|
||||
|
||||
/** Get Import Error Message.
|
||||
@return Messages generated from import process
|
||||
*/
|
||||
public String getI_ErrorMsg ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_I_ErrorMsg);
|
||||
}
|
||||
|
||||
/** Set Imported.
|
||||
@param I_IsImported
|
||||
Has this import been processed
|
||||
*/
|
||||
public void setI_IsImported (boolean I_IsImported)
|
||||
{
|
||||
set_Value (COLUMNNAME_I_IsImported, Boolean.valueOf(I_IsImported));
|
||||
}
|
||||
|
||||
/** Get Imported.
|
||||
@return Has this import been processed
|
||||
*/
|
||||
public boolean isI_IsImported ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_I_IsImported);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Import Product Planning.
|
||||
@param I_ProductPlanning_ID Import Product Planning */
|
||||
public void setI_ProductPlanning_ID (int I_ProductPlanning_ID)
|
||||
{
|
||||
if (I_ProductPlanning_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_I_ProductPlanning_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_I_ProductPlanning_ID, Integer.valueOf(I_ProductPlanning_ID));
|
||||
}
|
||||
|
||||
/** Get Import Product Planning.
|
||||
@return Import Product Planning */
|
||||
public int getI_ProductPlanning_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_I_ProductPlanning_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Create Plan.
|
||||
@param IsCreatePlan
|
||||
Indicates whether planned orders will be generated by MRP
|
||||
*/
|
||||
public void setIsCreatePlan (boolean IsCreatePlan)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsCreatePlan, Boolean.valueOf(IsCreatePlan));
|
||||
}
|
||||
|
||||
/** Get Create Plan.
|
||||
@return Indicates whether planned orders will be generated by MRP
|
||||
*/
|
||||
public boolean isCreatePlan ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsCreatePlan);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Is MPS.
|
||||
@param IsMPS Is MPS */
|
||||
public void setIsMPS (boolean IsMPS)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsMPS, Boolean.valueOf(IsMPS));
|
||||
}
|
||||
|
||||
/** Get Is MPS.
|
||||
@return Is MPS */
|
||||
public boolean isMPS ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsMPS);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Phantom.
|
||||
@param IsPhantom
|
||||
Phantom Component
|
||||
*/
|
||||
public void setIsPhantom (boolean IsPhantom)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsPhantom, Boolean.valueOf(IsPhantom));
|
||||
}
|
||||
|
||||
/** Get Phantom.
|
||||
@return Phantom Component
|
||||
*/
|
||||
public boolean isPhantom ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsPhantom);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public I_M_Forecast getM_Forecast() throws RuntimeException
|
||||
{
|
||||
return (I_M_Forecast)MTable.get(getCtx(), I_M_Forecast.Table_Name)
|
||||
.getPO(getM_Forecast_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Forecast.
|
||||
@param M_Forecast_ID
|
||||
Material Forecast
|
||||
*/
|
||||
public void setM_Forecast_ID (int M_Forecast_ID)
|
||||
{
|
||||
if (M_Forecast_ID < 1)
|
||||
set_Value (COLUMNNAME_M_Forecast_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_M_Forecast_ID, Integer.valueOf(M_Forecast_ID));
|
||||
}
|
||||
|
||||
/** Get Forecast.
|
||||
@return Material Forecast
|
||||
*/
|
||||
public int getM_Forecast_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_Forecast_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Forecast Line.
|
||||
@param M_ForecastLine_ID
|
||||
Forecast Line
|
||||
*/
|
||||
public void setM_ForecastLine_ID (int M_ForecastLine_ID)
|
||||
{
|
||||
if (M_ForecastLine_ID < 1)
|
||||
set_Value (COLUMNNAME_M_ForecastLine_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_M_ForecastLine_ID, Integer.valueOf(M_ForecastLine_ID));
|
||||
}
|
||||
|
||||
/** Get Forecast Line.
|
||||
@return Forecast Line
|
||||
*/
|
||||
public int getM_ForecastLine_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_ForecastLine_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_M_Product getM_Product() throws RuntimeException
|
||||
{
|
||||
return (I_M_Product)MTable.get(getCtx(), I_M_Product.Table_Name)
|
||||
.getPO(getM_Product_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Product.
|
||||
@param M_Product_ID
|
||||
Product, Service, Item
|
||||
*/
|
||||
public void setM_Product_ID (int M_Product_ID)
|
||||
{
|
||||
if (M_Product_ID < 1)
|
||||
set_Value (COLUMNNAME_M_Product_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
|
||||
}
|
||||
|
||||
/** Get Product.
|
||||
@return Product, Service, Item
|
||||
*/
|
||||
public int getM_Product_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_M_Warehouse getM_Warehouse() throws RuntimeException
|
||||
{
|
||||
return (I_M_Warehouse)MTable.get(getCtx(), I_M_Warehouse.Table_Name)
|
||||
.getPO(getM_Warehouse_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Warehouse.
|
||||
@param M_Warehouse_ID
|
||||
Storage Warehouse and Service Point
|
||||
*/
|
||||
public void setM_Warehouse_ID (int M_Warehouse_ID)
|
||||
{
|
||||
if (M_Warehouse_ID < 1)
|
||||
set_Value (COLUMNNAME_M_Warehouse_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_M_Warehouse_ID, Integer.valueOf(M_Warehouse_ID));
|
||||
}
|
||||
|
||||
/** Get Warehouse.
|
||||
@return Storage Warehouse and Service Point
|
||||
*/
|
||||
public int getM_Warehouse_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_M_Warehouse_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Network Distribution Key.
|
||||
@param NetworkDistributionValue
|
||||
Key of the Network Distribution
|
||||
*/
|
||||
public void setNetworkDistributionValue (String NetworkDistributionValue)
|
||||
{
|
||||
set_Value (COLUMNNAME_NetworkDistributionValue, NetworkDistributionValue);
|
||||
}
|
||||
|
||||
/** Get Network Distribution Key.
|
||||
@return Key of the Network Distribution
|
||||
*/
|
||||
public String getNetworkDistributionValue ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_NetworkDistributionValue);
|
||||
}
|
||||
|
||||
/** Set Maximum Order Qty.
|
||||
@param Order_Max
|
||||
Maximum order quantity in UOM
|
||||
*/
|
||||
public void setOrder_Max (BigDecimal Order_Max)
|
||||
{
|
||||
set_Value (COLUMNNAME_Order_Max, Order_Max);
|
||||
}
|
||||
|
||||
/** Get Maximum Order Qty.
|
||||
@return Maximum order quantity in UOM
|
||||
*/
|
||||
public BigDecimal getOrder_Max ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Order_Max);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Minimum Order Qty.
|
||||
@param Order_Min
|
||||
Minimum order quantity in UOM
|
||||
*/
|
||||
public void setOrder_Min (BigDecimal Order_Min)
|
||||
{
|
||||
set_Value (COLUMNNAME_Order_Min, Order_Min);
|
||||
}
|
||||
|
||||
/** Get Minimum Order Qty.
|
||||
@return Minimum order quantity in UOM
|
||||
*/
|
||||
public BigDecimal getOrder_Min ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Order_Min);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Order Pack Qty.
|
||||
@param Order_Pack
|
||||
Package order size in UOM (e.g. order set of 5 units)
|
||||
*/
|
||||
public void setOrder_Pack (BigDecimal Order_Pack)
|
||||
{
|
||||
set_Value (COLUMNNAME_Order_Pack, Order_Pack);
|
||||
}
|
||||
|
||||
/** Get Order Pack Qty.
|
||||
@return Package order size in UOM (e.g. order set of 5 units)
|
||||
*/
|
||||
public BigDecimal getOrder_Pack ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Order_Pack);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Order Period.
|
||||
@param Order_Period Order Period */
|
||||
public void setOrder_Period (BigDecimal Order_Period)
|
||||
{
|
||||
set_Value (COLUMNNAME_Order_Period, Order_Period);
|
||||
}
|
||||
|
||||
/** Get Order Period.
|
||||
@return Order Period */
|
||||
public BigDecimal getOrder_Period ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Order_Period);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Order_Policy AD_Reference_ID=53228 */
|
||||
public static final int ORDER_POLICY_AD_Reference_ID=53228;
|
||||
/** Fixed Order Quantity = FOQ */
|
||||
public static final String ORDER_POLICY_FixedOrderQuantity = "FOQ";
|
||||
/** Lot-for-Lot = LFL */
|
||||
public static final String ORDER_POLICY_Lot_For_Lot = "LFL";
|
||||
/** Period Order Quantity = POQ */
|
||||
public static final String ORDER_POLICY_PeriodOrderQuantity = "POQ";
|
||||
/** Set Order Policy.
|
||||
@param Order_Policy Order Policy */
|
||||
public void setOrder_Policy (String Order_Policy)
|
||||
{
|
||||
|
||||
set_Value (COLUMNNAME_Order_Policy, Order_Policy);
|
||||
}
|
||||
|
||||
/** Get Order Policy.
|
||||
@return Order Policy */
|
||||
public String getOrder_Policy ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Order_Policy);
|
||||
}
|
||||
|
||||
/** Set Order Qty.
|
||||
@param Order_Qty Order Qty */
|
||||
public void setOrder_Qty (BigDecimal Order_Qty)
|
||||
{
|
||||
set_Value (COLUMNNAME_Order_Qty, Order_Qty);
|
||||
}
|
||||
|
||||
/** Get Order Qty.
|
||||
@return Order Qty */
|
||||
public BigDecimal getOrder_Qty ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Order_Qty);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Org Key.
|
||||
@param OrgValue
|
||||
Key of the Organization
|
||||
*/
|
||||
public void setOrgValue (String OrgValue)
|
||||
{
|
||||
set_Value (COLUMNNAME_OrgValue, OrgValue);
|
||||
}
|
||||
|
||||
/** Get Org Key.
|
||||
@return Key of the Organization
|
||||
*/
|
||||
public String getOrgValue ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_OrgValue);
|
||||
}
|
||||
|
||||
public I_AD_User getPlanner() throws RuntimeException
|
||||
{
|
||||
return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name)
|
||||
.getPO(getPlanner_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Planner.
|
||||
@param Planner_ID Planner */
|
||||
public void setPlanner_ID (int Planner_ID)
|
||||
{
|
||||
if (Planner_ID < 1)
|
||||
set_Value (COLUMNNAME_Planner_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_Planner_ID, Integer.valueOf(Planner_ID));
|
||||
}
|
||||
|
||||
/** Get Planner.
|
||||
@return Planner */
|
||||
public int getPlanner_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_Planner_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Planner Key.
|
||||
@param PlannerValue
|
||||
Search Key of the Planning
|
||||
*/
|
||||
public void setPlannerValue (String PlannerValue)
|
||||
{
|
||||
set_Value (COLUMNNAME_PlannerValue, PlannerValue);
|
||||
}
|
||||
|
||||
/** Get Planner Key.
|
||||
@return Search Key of the Planning
|
||||
*/
|
||||
public String getPlannerValue ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_PlannerValue);
|
||||
}
|
||||
|
||||
public org.eevolution.model.I_PP_Product_BOM getPP_Product_BOM() throws RuntimeException
|
||||
{
|
||||
return (org.eevolution.model.I_PP_Product_BOM)MTable.get(getCtx(), org.eevolution.model.I_PP_Product_BOM.Table_Name)
|
||||
.getPO(getPP_Product_BOM_ID(), get_TrxName()); }
|
||||
|
||||
/** Set BOM & Formula.
|
||||
@param PP_Product_BOM_ID
|
||||
BOM & Formula
|
||||
*/
|
||||
public void setPP_Product_BOM_ID (int PP_Product_BOM_ID)
|
||||
{
|
||||
if (PP_Product_BOM_ID < 1)
|
||||
set_Value (COLUMNNAME_PP_Product_BOM_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_PP_Product_BOM_ID, Integer.valueOf(PP_Product_BOM_ID));
|
||||
}
|
||||
|
||||
/** Get BOM & Formula.
|
||||
@return BOM & Formula
|
||||
*/
|
||||
public int getPP_Product_BOM_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Product_BOM_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Product Planning.
|
||||
@param PP_Product_Planning_ID Product Planning */
|
||||
public void setPP_Product_Planning_ID (int PP_Product_Planning_ID)
|
||||
{
|
||||
if (PP_Product_Planning_ID < 1)
|
||||
set_Value (COLUMNNAME_PP_Product_Planning_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_PP_Product_Planning_ID, Integer.valueOf(PP_Product_Planning_ID));
|
||||
}
|
||||
|
||||
/** Get Product Planning.
|
||||
@return Product Planning */
|
||||
public int getPP_Product_Planning_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Product_Planning_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Processed.
|
||||
@param Processed
|
||||
The document has been processed
|
||||
*/
|
||||
public void setProcessed (boolean Processed)
|
||||
{
|
||||
set_ValueNoCheck (COLUMNNAME_Processed, Boolean.valueOf(Processed));
|
||||
}
|
||||
|
||||
/** Get Processed.
|
||||
@return The document has been processed
|
||||
*/
|
||||
public boolean isProcessed ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_Processed);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Process Now.
|
||||
@param Processing Process Now */
|
||||
public void setProcessing (boolean Processing)
|
||||
{
|
||||
set_Value (COLUMNNAME_Processing, Boolean.valueOf(Processing));
|
||||
}
|
||||
|
||||
/** Get Process Now.
|
||||
@return Process Now */
|
||||
public boolean isProcessing ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_Processing);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Product BOM Key.
|
||||
@param Product_BOM_Value
|
||||
Key of Product BOM
|
||||
*/
|
||||
public void setProduct_BOM_Value (String Product_BOM_Value)
|
||||
{
|
||||
set_Value (COLUMNNAME_Product_BOM_Value, Product_BOM_Value);
|
||||
}
|
||||
|
||||
/** Get Product BOM Key.
|
||||
@return Key of Product BOM
|
||||
*/
|
||||
public String getProduct_BOM_Value ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Product_BOM_Value);
|
||||
}
|
||||
|
||||
/** Set Product Key.
|
||||
@param ProductValue
|
||||
Key of the Product
|
||||
*/
|
||||
public void setProductValue (String ProductValue)
|
||||
{
|
||||
set_Value (COLUMNNAME_ProductValue, ProductValue);
|
||||
}
|
||||
|
||||
/** Get Product Key.
|
||||
@return Key of the Product
|
||||
*/
|
||||
public String getProductValue ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_ProductValue);
|
||||
}
|
||||
|
||||
/** Set Quantity.
|
||||
@param Qty
|
||||
Quantity
|
||||
*/
|
||||
public void setQty (BigDecimal Qty)
|
||||
{
|
||||
set_Value (COLUMNNAME_Qty, Qty);
|
||||
}
|
||||
|
||||
/** Get Quantity.
|
||||
@return Quantity
|
||||
*/
|
||||
public BigDecimal getQty ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_Qty);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Resource Key.
|
||||
@param ResourceValue
|
||||
Key of the Resource
|
||||
*/
|
||||
public void setResourceValue (String ResourceValue)
|
||||
{
|
||||
set_Value (COLUMNNAME_ResourceValue, ResourceValue);
|
||||
}
|
||||
|
||||
/** Get Resource Key.
|
||||
@return Key of the Resource
|
||||
*/
|
||||
public String getResourceValue ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_ResourceValue);
|
||||
}
|
||||
|
||||
/** Set Safety Stock Qty.
|
||||
@param 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
|
||||
*/
|
||||
public void setSafetyStock (BigDecimal SafetyStock)
|
||||
{
|
||||
set_Value (COLUMNNAME_SafetyStock, SafetyStock);
|
||||
}
|
||||
|
||||
/** Get Safety Stock Qty.
|
||||
@return Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs
|
||||
*/
|
||||
public BigDecimal getSafetyStock ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_SafetyStock);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Sales Representative.
|
||||
@param SalesRep_ID
|
||||
Sales Representative or Company Agent
|
||||
*/
|
||||
public void setSalesRep_ID (int SalesRep_ID)
|
||||
{
|
||||
if (SalesRep_ID < 1)
|
||||
set_Value (COLUMNNAME_SalesRep_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_SalesRep_ID, Integer.valueOf(SalesRep_ID));
|
||||
}
|
||||
|
||||
/** Get Sales Representative.
|
||||
@return Sales Representative or Company Agent
|
||||
*/
|
||||
public int getSalesRep_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_SalesRep_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_S_Resource getS_Resource() throws RuntimeException
|
||||
{
|
||||
return (I_S_Resource)MTable.get(getCtx(), I_S_Resource.Table_Name)
|
||||
.getPO(getS_Resource_ID(), get_TrxName()); }
|
||||
|
||||
/** Set Resource.
|
||||
@param S_Resource_ID
|
||||
Resource
|
||||
*/
|
||||
public void setS_Resource_ID (int S_Resource_ID)
|
||||
{
|
||||
if (S_Resource_ID < 1)
|
||||
set_Value (COLUMNNAME_S_Resource_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_S_Resource_ID, Integer.valueOf(S_Resource_ID));
|
||||
}
|
||||
|
||||
/** Get Resource.
|
||||
@return Resource
|
||||
*/
|
||||
public int getS_Resource_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_S_Resource_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Time Fence.
|
||||
@param TimeFence Time Fence */
|
||||
public void setTimeFence (BigDecimal TimeFence)
|
||||
{
|
||||
set_Value (COLUMNNAME_TimeFence, TimeFence);
|
||||
}
|
||||
|
||||
/** Get Time Fence.
|
||||
@return Time Fence */
|
||||
public BigDecimal getTimeFence ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_TimeFence);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Transfert Time.
|
||||
@param TransfertTime Transfert Time */
|
||||
public void setTransfertTime (BigDecimal TransfertTime)
|
||||
{
|
||||
set_Value (COLUMNNAME_TransfertTime, TransfertTime);
|
||||
}
|
||||
|
||||
/** Get Transfert Time.
|
||||
@return Transfert Time */
|
||||
public BigDecimal getTransfertTime ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_TransfertTime);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Partner Product Key.
|
||||
@param VendorProductNo
|
||||
Product Key of the Business Partner
|
||||
*/
|
||||
public void setVendorProductNo (String VendorProductNo)
|
||||
{
|
||||
set_Value (COLUMNNAME_VendorProductNo, VendorProductNo);
|
||||
}
|
||||
|
||||
/** Get Partner Product Key.
|
||||
@return Product Key of the Business Partner
|
||||
*/
|
||||
public String getVendorProductNo ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_VendorProductNo);
|
||||
}
|
||||
|
||||
/** Set Warehouse Key.
|
||||
@param WarehouseValue
|
||||
Key of the Warehouse
|
||||
*/
|
||||
public void setWarehouseValue (String WarehouseValue)
|
||||
{
|
||||
set_Value (COLUMNNAME_WarehouseValue, WarehouseValue);
|
||||
}
|
||||
|
||||
/** Get Warehouse Key.
|
||||
@return Key of the Warehouse
|
||||
*/
|
||||
public String getWarehouseValue ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_WarehouseValue);
|
||||
}
|
||||
|
||||
/** Set Working Time.
|
||||
@param WorkingTime
|
||||
Workflow Simulation Execution Time
|
||||
*/
|
||||
public void setWorkingTime (BigDecimal WorkingTime)
|
||||
{
|
||||
set_Value (COLUMNNAME_WorkingTime, WorkingTime);
|
||||
}
|
||||
|
||||
/** Get Working Time.
|
||||
@return Workflow Simulation Execution Time
|
||||
*/
|
||||
public BigDecimal getWorkingTime ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_WorkingTime);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Yield %.
|
||||
@param Yield
|
||||
The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
|
||||
*/
|
||||
public void setYield (int Yield)
|
||||
{
|
||||
set_Value (COLUMNNAME_Yield, Integer.valueOf(Yield));
|
||||
}
|
||||
|
||||
/** Get Yield %.
|
||||
@return The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent
|
||||
*/
|
||||
public int getYield ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_Yield);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
"Organization","Org Key","Product Key","Product","Sales Representative","Resource Key","Resource","Warehouse Key","Warehouse","Planner","Product BOM Key","BOM & Formula","Workflow","Network distribution Key","Network Distribution","Is MPS","Create Plan","Promised Delivery Time","Time Fence","Transfert Time","Order Policy","Order Period","Order Qty","Order Pack Qty","Minimum Order Qty","Maximum Order Qty","Safety Stock Qty","Yield %","Business Partner Key","Business Partner","Forecast Key","Forecast","Period Key","Period","Date Promised","Quantity"
|
||||
,"*","Back Support",,"Garden Admin","Planta 1",,"Furniture",,,,,"Business Partner Approval","PatioSet",,,,,,,,,,,,,,,"Chemical Product, inc",,,,ene 09,,,
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue