diff --git a/base/src/org/eevolution/model/I_PP_Product_Planning.java b/base/src/org/eevolution/model/I_PP_Product_Planning.java index afd9306ed0..57db87c880 100644 --- a/base/src/org/eevolution/model/I_PP_Product_Planning.java +++ b/base/src/org/eevolution/model/I_PP_Product_Planning.java @@ -20,6 +20,7 @@ package org.eevolution.model; import java.math.BigDecimal; +import java.sql.Timestamp; import org.compiere.model.*; import org.compiere.util.KeyNamePair; @@ -44,6 +45,14 @@ public interface I_PP_Product_Planning /** 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"; @@ -72,6 +81,22 @@ public interface I_PP_Product_Planning public I_AD_Workflow getAD_Workflow() 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 DD_NetworkDistribution_ID */ public static final String COLUMNNAME_DD_NetworkDistribution_ID = "DD_NetworkDistribution_ID"; @@ -96,13 +121,30 @@ public interface I_PP_Product_Planning */ public BigDecimal getDeliveryTime_Promised(); + /** 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 Is Create Plan */ + /** Set Create Plan. + * Indicates whether planned orders will be generated by MRP + */ public void setIsCreatePlan (boolean IsCreatePlan); - /** Get Is Create Plan */ + /** Get Create Plan. + * Indicates whether planned orders will be generated by MRP + */ public boolean isCreatePlan(); /** Column name IsMPS */ @@ -316,6 +358,22 @@ public interface I_PP_Product_Planning /** 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 WorkingTime */ public static final String COLUMNNAME_WorkingTime = "WorkingTime"; diff --git a/base/src/org/eevolution/model/X_PP_Product_Planning.java b/base/src/org/eevolution/model/X_PP_Product_Planning.java index aad5bf6670..a3e87da2eb 100644 --- a/base/src/org/eevolution/model/X_PP_Product_Planning.java +++ b/base/src/org/eevolution/model/X_PP_Product_Planning.java @@ -34,7 +34,7 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning, /** * */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 20081221L; /** Standard Constructor */ public X_PP_Product_Planning (Properties ctx, int PP_Product_Planning_ID, String trxName) @@ -174,15 +174,18 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning, return bd; } - /** Set Is Create Plan. - @param IsCreatePlan Is Create Plan */ + /** 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 Is Create Plan. - @return Is Create Plan */ + /** Get Create Plan. + @return Indicates whether planned orders will be generated by MRP + */ public boolean isCreatePlan () { Object oo = get_Value(COLUMNNAME_IsCreatePlan); @@ -446,10 +449,7 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning, public void setOrder_Policy (String Order_Policy) { - if (Order_Policy == null || Order_Policy.equals("FOQ") || Order_Policy.equals("LFL") || Order_Policy.equals("POQ")); - else throw new IllegalArgumentException ("Order_Policy Invalid value - " + Order_Policy + " - Reference_ID=53228 - FOQ - LFL - POQ"); - - set_Value (COLUMNNAME_Order_Policy, Order_Policy); + if (Order_Policy == null || Order_Policy.equals("FOQ") || Order_Policy.equals("LFL") || Order_Policy.equals("POQ")); else throw new IllegalArgumentException ("Order_Policy Invalid value - " + Order_Policy + " - Reference_ID=53228 - FOQ - LFL - POQ"); set_Value (COLUMNNAME_Order_Policy, Order_Policy); } /** Get Order Policy.