diff --git a/migration/iD11/oracle/202304091354_IDEMPIERE-5567.sql b/migration/iD11/oracle/202304091354_IDEMPIERE-5567.sql new file mode 100644 index 0000000000..f8d13da2a6 --- /dev/null +++ b/migration/iD11/oracle/202304091354_IDEMPIERE-5567.sql @@ -0,0 +1,10 @@ +-- IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) +SELECT register_migration_script('202304091354_IDEMPIERE-5567.sql') FROM dual; + +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Apr 9, 2023, 1:54:18 PM CEST +INSERT INTO Test (Test_ID,Name,T_Integer,T_Number,T_Amount,Created,Updated,IsActive,AD_Client_ID,AD_Org_ID,CreatedBy,UpdatedBy,C_Currency_ID,C_UOM_ID,T_Qty,Processing,Processed,Test_UU) VALUES (200003,'Test Record in GardenWorld',0,0,0,TO_TIMESTAMP('2023-04-09 13:54:18','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2023-04-09 13:54:18','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,100,100,100,100,0,'N','N','6846b9eb-aff1-47c8-8b50-e9632b39c0c7') +; + diff --git a/migration/iD11/postgresql/202304091354_IDEMPIERE-5567.sql b/migration/iD11/postgresql/202304091354_IDEMPIERE-5567.sql new file mode 100644 index 0000000000..efef83327d --- /dev/null +++ b/migration/iD11/postgresql/202304091354_IDEMPIERE-5567.sql @@ -0,0 +1,7 @@ +-- IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) +SELECT register_migration_script('202304091354_IDEMPIERE-5567.sql') FROM dual; + +-- Apr 9, 2023, 1:54:18 PM CEST +INSERT INTO Test (Test_ID,Name,T_Integer,T_Number,T_Amount,Created,Updated,IsActive,AD_Client_ID,AD_Org_ID,CreatedBy,UpdatedBy,C_Currency_ID,C_UOM_ID,T_Qty,Processing,Processed,Test_UU) VALUES (200003,'Test Record in GardenWorld',0,0,0,TO_TIMESTAMP('2023-04-09 13:54:18','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2023-04-09 13:54:18','YYYY-MM-DD HH24:MI:SS'),'Y',11,0,100,100,100,100,0,'N','N','6846b9eb-aff1-47c8-8b50-e9632b39c0c7') +; + diff --git a/org.adempiere.base/src/org/adempiere/base/AbstractModelFactory.java b/org.adempiere.base/src/org/adempiere/base/AbstractModelFactory.java index 8a19033908..047089faeb 100644 --- a/org.adempiere.base/src/org/adempiere/base/AbstractModelFactory.java +++ b/org.adempiere.base/src/org/adempiere/base/AbstractModelFactory.java @@ -120,6 +120,84 @@ public abstract class AbstractModelFactory implements IModelFactory { return null; } + /** + * {@inheritDoc} + */ + @Override + public PO getPO(String tableName, String Record_UU, String trxName) { + return getPO(getClass(tableName), tableName, Record_UU, trxName); + } + + public static PO getPO(Class clazz, String tableName, String Record_UU, String trxName) { + if (clazz == null) + { + return null; + } + + boolean errorLogged = false; + try + { + Exception ce = null; + Object[] arguments = null; + Constructor constructor = null; + try + { + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, String.class, String.class}); + arguments = new Object[] {Env.getCtx(), Record_UU, trxName}; + } + catch (Exception e) + { + ce = e; + } + if(constructor==null) + { + try + { + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, String.class, String.class, String[].class}); + arguments = new Object[] {Env.getCtx(), Record_UU, trxName, null}; + } + catch(Exception e) + { + ce = e; + } + } + + if(constructor==null && ce!=null) + { + String msg = ce.getMessage(); + if (msg == null) + msg = ce.toString(); + s_log.warning("No transaction Constructor for " + clazz + " (" + msg + ")"); + } + + PO po = constructor!=null ? (PO)constructor.newInstance(arguments) : null; + return po; + } + catch (Exception e) + { + if (e.getCause() != null) + { + Throwable t = e.getCause(); + s_log.log(Level.SEVERE, "(uuid) - Table=" + tableName + ",Class=" + clazz, t); + errorLogged = true; + if (t instanceof Exception) + s_log.saveError("Error", (Exception)e.getCause()); + else + s_log.saveError("Error", "Table=" + tableName + ",Class=" + clazz); + } + else + { + s_log.log(Level.SEVERE, "(uuid) - Table=" + tableName + ",Class=" + clazz, e); + errorLogged = true; + s_log.saveError("Error", "Table=" + tableName + ",Class=" + clazz); + } + } + if (!errorLogged) + s_log.log(Level.SEVERE, "(uuid) - Not found - Table=" + tableName + + ", Record_UU=" + Record_UU); + return null; + } + /** * {@inheritDoc} */ diff --git a/org.adempiere.base/src/org/adempiere/base/AnnotationBasedModelFactory.java b/org.adempiere.base/src/org/adempiere/base/AnnotationBasedModelFactory.java index 9cab9f38ea..498614c35f 100644 --- a/org.adempiere.base/src/org/adempiere/base/AnnotationBasedModelFactory.java +++ b/org.adempiere.base/src/org/adempiere/base/AnnotationBasedModelFactory.java @@ -204,6 +204,14 @@ public class AnnotationBasedModelFactory extends AnnotationBasedFactory implemen return AbstractModelFactory.getPO(getClass(tableName), tableName, Record_ID, trxName); } + /** + * {@inheritDoc} + */ + @Override + public PO getPO(String tableName, String Record_UU, String trxName) { + return AbstractModelFactory.getPO(getClass(tableName), tableName, Record_UU, trxName); + } + /** * {@inheritDoc} */ diff --git a/org.adempiere.base/src/org/adempiere/base/IModelFactory.java b/org.adempiere.base/src/org/adempiere/base/IModelFactory.java index 20e46c6386..d0bae2101d 100644 --- a/org.adempiere.base/src/org/adempiere/base/IModelFactory.java +++ b/org.adempiere.base/src/org/adempiere/base/IModelFactory.java @@ -15,6 +15,7 @@ package org.adempiere.base; import java.sql.ResultSet; +import org.adempiere.exceptions.AdempiereException; import org.compiere.model.PO; /** @@ -38,6 +39,17 @@ public interface IModelFactory { */ public PO getPO (String tableName, int Record_ID, String trxName); + /************************************************************************** + * Get PO Class Instance + * @param tableName + * @param Record_UU record UUID + * @param trxName + * @return PO for Record or null + */ + default public PO getPO (String tableName, String Record_UU, String trxName) { + throw new AdempiereException("getPO for UUID constructor not implemented in this model factory class"); + } + /** * Get PO Class Instance * @param tableName diff --git a/org.adempiere.base/src/org/adempiere/model/MBroadcastMessage.java b/org.adempiere.base/src/org/adempiere/model/MBroadcastMessage.java index 62d01cd954..2779d12f4f 100644 --- a/org.adempiere.base/src/org/adempiere/model/MBroadcastMessage.java +++ b/org.adempiere.base/src/org/adempiere/model/MBroadcastMessage.java @@ -32,21 +32,29 @@ import org.idempiere.cache.ImmutablePOSupport; */ public class MBroadcastMessage extends X_AD_BroadcastMessage implements ImmutablePOSupport { -/** + /** * */ private static final long serialVersionUID = 3733943472482553977L; public final static String CLIENTINFO_BROADCAST_COMPONENT_ID = "#clientInfo_BroadcastComponentId"; static private ImmutableIntPOCache s_cache = new ImmutableIntPOCache("AD_BroadcastMessage", 30, 60); - public MBroadcastMessage(Properties ctx, int AD_BroadcastMessage_ID, - String trxName) + /** + * UUID based Constructor + * @param ctx Context + * @param AD_BroadcastMessage_UU UUID key + * @param trxName Transaction + */ + public MBroadcastMessage(Properties ctx, String AD_BroadcastMessage_UU, String trxName) { + super(ctx, AD_BroadcastMessage_UU, trxName); + } + + public MBroadcastMessage(Properties ctx, int AD_BroadcastMessage_ID, String trxName) { super(ctx, AD_BroadcastMessage_ID, trxName); } - public MBroadcastMessage(Properties ctx, ResultSet rs, - String trxName) + public MBroadcastMessage(Properties ctx, ResultSet rs, String trxName) { super(ctx, rs, trxName); } diff --git a/org.adempiere.base/src/org/adempiere/model/MInfoProcess.java b/org.adempiere.base/src/org/adempiere/model/MInfoProcess.java index dfa55ff94a..2f0a088d05 100644 --- a/org.adempiere.base/src/org/adempiere/model/MInfoProcess.java +++ b/org.adempiere.base/src/org/adempiere/model/MInfoProcess.java @@ -38,6 +38,16 @@ public class MInfoProcess extends X_AD_InfoProcess implements IInfoColumn, Immut */ private static final long serialVersionUID = 7833442401205258074L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_InfoProcess_UU UUID key + * @param trxName Transaction + */ + public MInfoProcess(Properties ctx, String AD_InfoProcess_UU, String trxName) { + super(ctx, AD_InfoProcess_UU, trxName); + } + /** * @param ctx * @param AD_InfoProcess_ID diff --git a/org.adempiere.base/src/org/adempiere/model/MInfoRelated.java b/org.adempiere.base/src/org/adempiere/model/MInfoRelated.java index 73663160d4..af16d83fef 100644 --- a/org.adempiere.base/src/org/adempiere/model/MInfoRelated.java +++ b/org.adempiere.base/src/org/adempiere/model/MInfoRelated.java @@ -29,6 +29,16 @@ public class MInfoRelated extends X_AD_InfoRelated implements IInfoColumn, Immut */ private static final long serialVersionUID = 4000783886138460291L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_InfoRelated_UU UUID key + * @param trxName Transaction + */ + public MInfoRelated(Properties ctx, String AD_InfoRelated_UU, String trxName) { + super(ctx, AD_InfoRelated_UU, trxName); + } + public MInfoRelated(Properties ctx, int AD_InfoRelated_ID, String trxName) { super(ctx, AD_InfoRelated_ID, trxName); } diff --git a/org.adempiere.base/src/org/adempiere/model/MPromotion.java b/org.adempiere.base/src/org/adempiere/model/MPromotion.java index c8f8c5ad02..32506a8458 100644 --- a/org.adempiere.base/src/org/adempiere/model/MPromotion.java +++ b/org.adempiere.base/src/org/adempiere/model/MPromotion.java @@ -27,6 +27,16 @@ public class MPromotion extends X_M_Promotion { private static final long serialVersionUID = 5437777366112957770L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_Promotion_UU UUID key + * @param trxName Transaction + */ + public MPromotion(Properties ctx, String M_Promotion_UU, String trxName) { + super(ctx, M_Promotion_UU, trxName); + } + public MPromotion(Properties ctx, int M_Promotion_ID, String trxName) { super(ctx, M_Promotion_ID, trxName); } diff --git a/org.adempiere.base/src/org/adempiere/model/MPromotionDistribution.java b/org.adempiere.base/src/org/adempiere/model/MPromotionDistribution.java index 5a052f36c3..5f78659d03 100644 --- a/org.adempiere.base/src/org/adempiere/model/MPromotionDistribution.java +++ b/org.adempiere.base/src/org/adempiere/model/MPromotionDistribution.java @@ -27,8 +27,17 @@ public class MPromotionDistribution extends X_M_PromotionDistribution { private static final long serialVersionUID = 1532619121257280486L; - public MPromotionDistribution(Properties ctx, - int M_PromotionDistribution_ID, String trxName) { + /** + * UUID based Constructor + * @param ctx Context + * @param M_PromotionDistribution_UU UUID key + * @param trxName Transaction + */ + public MPromotionDistribution(Properties ctx, String M_PromotionDistribution_UU, String trxName) { + super(ctx, M_PromotionDistribution_UU, trxName); + } + + public MPromotionDistribution(Properties ctx, int M_PromotionDistribution_ID, String trxName) { super(ctx, M_PromotionDistribution_ID, trxName); } diff --git a/org.adempiere.base/src/org/adempiere/model/MPromotionGroup.java b/org.adempiere.base/src/org/adempiere/model/MPromotionGroup.java index 66e978cd7c..c5e5c961bd 100644 --- a/org.adempiere.base/src/org/adempiere/model/MPromotionGroup.java +++ b/org.adempiere.base/src/org/adempiere/model/MPromotionGroup.java @@ -27,8 +27,17 @@ public class MPromotionGroup extends X_M_PromotionGroup { private static final long serialVersionUID = 4203915332775348579L; - public MPromotionGroup(Properties ctx, int M_PromotionGroup_ID, - String trxName) { + /** + * UUID based Constructor + * @param ctx Context + * @param M_PromotionGroup_UU UUID key + * @param trxName Transaction + */ + public MPromotionGroup(Properties ctx, String M_PromotionGroup_UU, String trxName) { + super(ctx, M_PromotionGroup_UU, trxName); + } + + public MPromotionGroup(Properties ctx, int M_PromotionGroup_ID, String trxName) { super(ctx, M_PromotionGroup_ID, trxName); } diff --git a/org.adempiere.base/src/org/adempiere/model/MPromotionGroupLine.java b/org.adempiere.base/src/org/adempiere/model/MPromotionGroupLine.java index 748e9dc3ee..84766ad868 100644 --- a/org.adempiere.base/src/org/adempiere/model/MPromotionGroupLine.java +++ b/org.adempiere.base/src/org/adempiere/model/MPromotionGroupLine.java @@ -27,8 +27,17 @@ public class MPromotionGroupLine extends X_M_PromotionGroupLine { private static final long serialVersionUID = -3945719908086926013L; - public MPromotionGroupLine(Properties ctx, int M_PromotionGroupLine_ID, - String trxName) { + /** + * UUID based Constructor + * @param ctx Context + * @param M_PromotionGroupLine_UU UUID key + * @param trxName Transaction + */ + public MPromotionGroupLine(Properties ctx, String M_PromotionGroupLine_UU, String trxName) { + super(ctx, M_PromotionGroupLine_UU, trxName); + } + + public MPromotionGroupLine(Properties ctx, int M_PromotionGroupLine_ID, String trxName) { super(ctx, M_PromotionGroupLine_ID, trxName); } diff --git a/org.adempiere.base/src/org/adempiere/model/MPromotionLine.java b/org.adempiere.base/src/org/adempiere/model/MPromotionLine.java index 999e11b7a5..358f07c8af 100644 --- a/org.adempiere.base/src/org/adempiere/model/MPromotionLine.java +++ b/org.adempiere.base/src/org/adempiere/model/MPromotionLine.java @@ -22,6 +22,16 @@ public class MPromotionLine extends X_M_PromotionLine { private static final long serialVersionUID = -8284722914757724765L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_PromotionLine_UU UUID key + * @param trxName Transaction + */ + public MPromotionLine(Properties ctx, String M_PromotionLine_UU, String trxName) { + super(ctx, M_PromotionLine_UU, trxName); + } + public MPromotionLine(Properties ctx, int M_PromotionLine_ID, String trxName) { super(ctx, M_PromotionLine_ID, trxName); } diff --git a/org.adempiere.base/src/org/adempiere/model/MPromotionPreCondition.java b/org.adempiere.base/src/org/adempiere/model/MPromotionPreCondition.java index d560ffaa65..a5d6f27452 100644 --- a/org.adempiere.base/src/org/adempiere/model/MPromotionPreCondition.java +++ b/org.adempiere.base/src/org/adempiere/model/MPromotionPreCondition.java @@ -27,6 +27,16 @@ public class MPromotionPreCondition extends X_M_PromotionPreCondition { private static final long serialVersionUID = 7344556244799964804L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_PromotionPreCondition_UU UUID key + * @param trxName Transaction + */ + public MPromotionPreCondition(Properties ctx, String M_PromotionPreCondition_UU, String trxName) { + super(ctx, M_PromotionPreCondition_UU, trxName); + } + public MPromotionPreCondition(Properties ctx, int M_PromotionPreCondition_ID, String trxName) { super(ctx, M_PromotionPreCondition_ID, trxName); diff --git a/org.adempiere.base/src/org/adempiere/model/MPromotionReward.java b/org.adempiere.base/src/org/adempiere/model/MPromotionReward.java index 3bd2c72c09..e02893ca58 100644 --- a/org.adempiere.base/src/org/adempiere/model/MPromotionReward.java +++ b/org.adempiere.base/src/org/adempiere/model/MPromotionReward.java @@ -27,6 +27,16 @@ public class MPromotionReward extends X_M_PromotionReward { private static final long serialVersionUID = -1466367082383341103L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_PromotionReward_UU UUID key + * @param trxName Transaction + */ + public MPromotionReward(Properties ctx, String M_PromotionReward_UU, String trxName) { + super(ctx, M_PromotionReward_UU, trxName); + } + public MPromotionReward(Properties ctx, int M_PromotionReward_ID, String trxName) { super(ctx, M_PromotionReward_ID, trxName); diff --git a/org.adempiere.base/src/org/adempiere/model/MRelationType.java b/org.adempiere.base/src/org/adempiere/model/MRelationType.java index 30171f0677..8f4c9b1b1a 100644 --- a/org.adempiere.base/src/org/adempiere/model/MRelationType.java +++ b/org.adempiere.base/src/org/adempiere/model/MRelationType.java @@ -100,6 +100,16 @@ public class MRelationType extends X_AD_RelationType implements IZoomProvider { public int destinationRefId; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_RelationType_UU UUID key + * @param trxName Transaction + */ + public MRelationType(Properties ctx, String AD_RelationType_UU, String trxName) { + super(ctx, AD_RelationType_UU, trxName); + } + public MRelationType(Properties ctx, int AD_RelationType_ID, String trxName) { super(ctx, AD_RelationType_ID, trxName); } diff --git a/org.adempiere.base/src/org/adempiere/model/MTabCustomization.java b/org.adempiere.base/src/org/adempiere/model/MTabCustomization.java index ef39e8ba79..159ffd9f0f 100644 --- a/org.adempiere.base/src/org/adempiere/model/MTabCustomization.java +++ b/org.adempiere.base/src/org/adempiere/model/MTabCustomization.java @@ -14,13 +14,18 @@ public class MTabCustomization extends X_AD_Tab_Customization { */ private static final long serialVersionUID = -4986336833193761507L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Tab_Customization_UU UUID key + * @param trxName Transaction + */ + public MTabCustomization(Properties ctx, String AD_Tab_Customization_UU, String trxName) { + super(ctx, AD_Tab_Customization_UU, trxName); + } + public MTabCustomization(Properties ctx, int AD_Tab_Customization_ID, String trxName) { super(ctx, AD_Tab_Customization_ID, trxName); - if (AD_Tab_Customization_ID == 0) - { - setIsActive(true); - - } } public MTabCustomization(Properties ctx, ResultSet rs, String trxName) { diff --git a/org.adempiere.base/src/org/adempiere/model/MWizardProcess.java b/org.adempiere.base/src/org/adempiere/model/MWizardProcess.java index 614a1177ac..5829c881cb 100644 --- a/org.adempiere.base/src/org/adempiere/model/MWizardProcess.java +++ b/org.adempiere.base/src/org/adempiere/model/MWizardProcess.java @@ -27,13 +27,18 @@ public class MWizardProcess extends X_AD_WizardProcess { */ private static final long serialVersionUID = -7713151820360928310L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_WizardProcess_UU UUID key + * @param trxName Transaction + */ + public MWizardProcess(Properties ctx, String AD_WizardProcess_UU, String trxName) { + super(ctx, AD_WizardProcess_UU, trxName); + } + public MWizardProcess(Properties ctx, int AD_WizardProcess_ID, String trxName) { super(ctx, AD_WizardProcess_ID, trxName); - if (AD_WizardProcess_ID == 0) - { - setIsActive(true); - - } } public MWizardProcess(Properties ctx, ResultSet rs, String trxName) { diff --git a/org.adempiere.base/src/org/adempiere/model/MWlistboxCustomization.java b/org.adempiere.base/src/org/adempiere/model/MWlistboxCustomization.java index 8a324db5e7..7f82f1d24a 100644 --- a/org.adempiere.base/src/org/adempiere/model/MWlistboxCustomization.java +++ b/org.adempiere.base/src/org/adempiere/model/MWlistboxCustomization.java @@ -34,6 +34,16 @@ public class MWlistboxCustomization extends X_AD_Wlistbox_Customization { */ private static final long serialVersionUID = -493650011622455985L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Wlistbox_Customization_UU UUID key + * @param trxName Transaction + */ + public MWlistboxCustomization(Properties ctx, String AD_Wlistbox_Customization_UU, String trxName) { + super(ctx, AD_Wlistbox_Customization_UU, trxName); + } + /** * @param ctx * @param AD_Wlistbox_Customization_ID diff --git a/org.adempiere.base/src/org/compiere/impexp/MImpFormat.java b/org.adempiere.base/src/org/compiere/impexp/MImpFormat.java index 7360e08bd3..f7a29f23bd 100644 --- a/org.adempiere.base/src/org/compiere/impexp/MImpFormat.java +++ b/org.adempiere.base/src/org/compiere/impexp/MImpFormat.java @@ -40,6 +40,16 @@ public class MImpFormat extends X_AD_ImpFormat */ private static final long serialVersionUID = -3768339618622673968L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_ImpFormat_UU UUID key + * @param trxName Transaction + */ + public MImpFormat(Properties ctx, String AD_ImpFormat_UU, String trxName) { + super(ctx, AD_ImpFormat_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/impexp/MImpFormatRow.java b/org.adempiere.base/src/org/compiere/impexp/MImpFormatRow.java index 594282c322..6ba82bff8c 100644 --- a/org.adempiere.base/src/org/compiere/impexp/MImpFormatRow.java +++ b/org.adempiere.base/src/org/compiere/impexp/MImpFormatRow.java @@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.util.Properties; import org.compiere.model.X_AD_ImpFormat_Row; +import org.compiere.util.Util; /** @@ -36,6 +37,18 @@ public class MImpFormatRow extends X_AD_ImpFormat_Row */ private static final long serialVersionUID = 6251836513717968622L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_ImpFormat_Row_UU UUID key + * @param trxName Transaction + */ + public MImpFormatRow(Properties ctx, String AD_ImpFormat_Row_UU, String trxName) { + super(ctx, AD_ImpFormat_Row_UU, trxName); + if (Util.isEmpty(AD_ImpFormat_Row_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -46,16 +59,21 @@ public class MImpFormatRow extends X_AD_ImpFormat_Row { super (ctx, AD_ImpFormat_Row_ID, trxName); if (AD_ImpFormat_Row_ID == 0) - { + setInitialDefaults(); + } // MImpFormatRow + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { // setAD_ImpFormat_ID (0); Parent // setAD_Column_ID (0); // setDataType (null); // setName (null); // setSeqNo (10); - setDecimalPoint ("."); - setDivideBy100 (false); - } - } // MImpFormatRow + setDecimalPoint ("."); + setDivideBy100 (false); + } /** * Load Constructor diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_AccessLog.java b/org.adempiere.base/src/org/compiere/model/I_AD_AccessLog.java index 58946b34f0..53be57b141 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_AccessLog.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_AccessLog.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AccessLog * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_AccessLog { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Alert.java b/org.adempiere.base/src/org/compiere/model/I_AD_Alert.java index 34f5e33ce5..50af6e3969 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Alert.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Alert.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Alert * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Alert { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_AlertProcessor.java b/org.adempiere.base/src/org/compiere/model/I_AD_AlertProcessor.java index 93085fadc8..4f656ef07c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_AlertProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_AlertProcessor.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AlertProcessor * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_AlertProcessor { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_AlertProcessorLog.java b/org.adempiere.base/src/org/compiere/model/I_AD_AlertProcessorLog.java index cb08266ac8..d9c15f8d93 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_AlertProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_AlertProcessorLog.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AlertProcessorLog * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_AlertProcessorLog { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_AlertRecipient.java b/org.adempiere.base/src/org/compiere/model/I_AD_AlertRecipient.java index 5caa05f3cc..12400eb4ed 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_AlertRecipient.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_AlertRecipient.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AlertRecipient * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_AlertRecipient { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_AlertRule.java b/org.adempiere.base/src/org/compiere/model/I_AD_AlertRule.java index a6db18ebfa..46e3b91298 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_AlertRule.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_AlertRule.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AlertRule * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_AlertRule { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_AllClients_V.java b/org.adempiere.base/src/org/compiere/model/I_AD_AllClients_V.java index fb6909012c..40ab4caa53 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_AllClients_V.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_AllClients_V.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AllClients_V * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_AllClients_V { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_AllUsers_V.java b/org.adempiere.base/src/org/compiere/model/I_AD_AllUsers_V.java index 0c8d7eb23d..5bfc6b6e17 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_AllUsers_V.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_AllUsers_V.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AllUsers_V * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_AllUsers_V { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Archive.java b/org.adempiere.base/src/org/compiere/model/I_AD_Archive.java index 7764b95de8..daed2cbc0d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Archive.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Archive.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Archive * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Archive { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Attachment.java b/org.adempiere.base/src/org/compiere/model/I_AD_Attachment.java index dba2e178ec..2decd6a337 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Attachment.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Attachment.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Attachment * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Attachment { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_AttachmentNote.java b/org.adempiere.base/src/org/compiere/model/I_AD_AttachmentNote.java index b8e56aee98..638f61dbda 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_AttachmentNote.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_AttachmentNote.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AttachmentNote * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_AttachmentNote { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Attribute.java b/org.adempiere.base/src/org/compiere/model/I_AD_Attribute.java index 8e6f815eaf..0f09007927 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Attribute.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Attribute.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Attribute * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Attribute { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Attribute_Value.java b/org.adempiere.base/src/org/compiere/model/I_AD_Attribute_Value.java index 573f56ceb5..75e5fee2c9 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Attribute_Value.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Attribute_Value.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Attribute_Value * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Attribute_Value { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_AuthorizationAccount.java b/org.adempiere.base/src/org/compiere/model/I_AD_AuthorizationAccount.java index fedd73441f..913d2689c3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_AuthorizationAccount.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_AuthorizationAccount.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AuthorizationAccount * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_AuthorizationAccount { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_AuthorizationCredential.java b/org.adempiere.base/src/org/compiere/model/I_AD_AuthorizationCredential.java index 2036636292..76c41c4f28 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_AuthorizationCredential.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_AuthorizationCredential.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AuthorizationCredential * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_AuthorizationCredential { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_AuthorizationProvider.java b/org.adempiere.base/src/org/compiere/model/I_AD_AuthorizationProvider.java index 6e656b3ce9..9c9a03bd9e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_AuthorizationProvider.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_AuthorizationProvider.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AuthorizationProvider * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_AuthorizationProvider { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_AuthorizationScopeProv.java b/org.adempiere.base/src/org/compiere/model/I_AD_AuthorizationScopeProv.java index 07353862ef..584e1d6839 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_AuthorizationScopeProv.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_AuthorizationScopeProv.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_AuthorizationScopeProv * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_AuthorizationScopeProv { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_BroadcastMessage.java b/org.adempiere.base/src/org/compiere/model/I_AD_BroadcastMessage.java index 46df20195c..e2fead4392 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_BroadcastMessage.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_BroadcastMessage.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_BroadcastMessage * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_BroadcastMessage { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ChangeLog.java b/org.adempiere.base/src/org/compiere/model/I_AD_ChangeLog.java index fb385a64b8..4f13a6da3d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ChangeLog.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ChangeLog.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ChangeLog * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ChangeLog { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Chart.java b/org.adempiere.base/src/org/compiere/model/I_AD_Chart.java index 634d089b72..bd161268c0 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Chart.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Chart.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Chart * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Chart { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ChartDatasource.java b/org.adempiere.base/src/org/compiere/model/I_AD_ChartDatasource.java index 99974a00c8..5e3e82eb9d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ChartDatasource.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ChartDatasource.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ChartDatasource * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ChartDatasource { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Client.java b/org.adempiere.base/src/org/compiere/model/I_AD_Client.java index 07346734ff..3b77eaf021 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Client.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Client.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Client * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Client { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ClientInfo.java b/org.adempiere.base/src/org/compiere/model/I_AD_ClientInfo.java index c2315cc400..03636a8c0f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ClientInfo.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ClientInfo.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ClientInfo * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ClientInfo { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ClientShare.java b/org.adempiere.base/src/org/compiere/model/I_AD_ClientShare.java index 5e9adcd486..bd23c95542 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ClientShare.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ClientShare.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ClientShare * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ClientShare { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Color.java b/org.adempiere.base/src/org/compiere/model/I_AD_Color.java index bfbb46feb2..53eafa306c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Color.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Color.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Color * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Color { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Column.java b/org.adempiere.base/src/org/compiere/model/I_AD_Column.java index ba3f177f68..d7575ec46c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Column.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Column.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Column * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Column { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Column_Access.java b/org.adempiere.base/src/org/compiere/model/I_AD_Column_Access.java index d65bac4db7..21afbe612e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Column_Access.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Column_Access.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Column_Access * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Column_Access { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_CtxHelp.java b/org.adempiere.base/src/org/compiere/model/I_AD_CtxHelp.java index 318cfce15a..e601b58c78 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_CtxHelp.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_CtxHelp.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_CtxHelp * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_CtxHelp { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_CtxHelpMsg.java b/org.adempiere.base/src/org/compiere/model/I_AD_CtxHelpMsg.java index 8e03097d2d..1b6bcb8390 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_CtxHelpMsg.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_CtxHelpMsg.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_CtxHelpMsg * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_CtxHelpMsg { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_CtxHelpSuggestion.java b/org.adempiere.base/src/org/compiere/model/I_AD_CtxHelpSuggestion.java index b36248cab8..e844ed103c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_CtxHelpSuggestion.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_CtxHelpSuggestion.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_CtxHelpSuggestion * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_CtxHelpSuggestion { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Document_Action_Access.java b/org.adempiere.base/src/org/compiere/model/I_AD_Document_Action_Access.java index 9983ffe67c..8234544366 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Document_Action_Access.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Document_Action_Access.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Document_Action_Access * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Document_Action_Access { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Element.java b/org.adempiere.base/src/org/compiere/model/I_AD_Element.java index e46ca70932..f1078dd744 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Element.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Element.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Element * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Element { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_EntityType.java b/org.adempiere.base/src/org/compiere/model/I_AD_EntityType.java index a8987da63b..5d87faba9c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_EntityType.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_EntityType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_EntityType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_EntityType { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Error.java b/org.adempiere.base/src/org/compiere/model/I_AD_Error.java index cc69633a2f..a4fb03b398 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Error.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Error.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Error * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Error { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Field.java b/org.adempiere.base/src/org/compiere/model/I_AD_Field.java index f13593d5a8..9af1c788d8 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Field.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Field.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Field * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Field { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_FieldGroup.java b/org.adempiere.base/src/org/compiere/model/I_AD_FieldGroup.java index 1a1a538c7f..c20e606a8e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_FieldGroup.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_FieldGroup.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_FieldGroup * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_FieldGroup { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_FieldSuggestion.java b/org.adempiere.base/src/org/compiere/model/I_AD_FieldSuggestion.java index b4f893067f..f6bd8a261a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_FieldSuggestion.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_FieldSuggestion.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_FieldSuggestion * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_FieldSuggestion { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Find.java b/org.adempiere.base/src/org/compiere/model/I_AD_Find.java index 559b44c7ef..a6caaad080 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Find.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Find.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Find * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Find { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Form_Access.java b/org.adempiere.base/src/org/compiere/model/I_AD_Form_Access.java index 8ff5b49b6b..aea898501a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Form_Access.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Form_Access.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Form_Access * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Form_Access { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_HouseKeeping.java b/org.adempiere.base/src/org/compiere/model/I_AD_HouseKeeping.java index 4dc1c4ad5b..121fa7a341 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_HouseKeeping.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_HouseKeeping.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_HouseKeeping * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_HouseKeeping { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Image.java b/org.adempiere.base/src/org/compiere/model/I_AD_Image.java index 336eae8f4d..381c98b621 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Image.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Image.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Image * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Image { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ImpFormat.java b/org.adempiere.base/src/org/compiere/model/I_AD_ImpFormat.java index e6d973f8b3..c272ce23fe 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ImpFormat.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ImpFormat.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ImpFormat * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ImpFormat { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ImpFormat_Row.java b/org.adempiere.base/src/org/compiere/model/I_AD_ImpFormat_Row.java index 90b94d206f..b8b0d28afe 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ImpFormat_Row.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ImpFormat_Row.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ImpFormat_Row * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ImpFormat_Row { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ImportTemplate.java b/org.adempiere.base/src/org/compiere/model/I_AD_ImportTemplate.java index d77d26a797..b5926b7244 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ImportTemplate.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ImportTemplate.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ImportTemplate * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ImportTemplate { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ImportTemplateAccess.java b/org.adempiere.base/src/org/compiere/model/I_AD_ImportTemplateAccess.java index e169881d86..65eec4f61b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ImportTemplateAccess.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ImportTemplateAccess.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ImportTemplateAccess * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ImportTemplateAccess { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_IndexColumn.java b/org.adempiere.base/src/org/compiere/model/I_AD_IndexColumn.java index 32050e416a..02dde1a6d3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_IndexColumn.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_IndexColumn.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_IndexColumn * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_IndexColumn { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_InfoColumn.java b/org.adempiere.base/src/org/compiere/model/I_AD_InfoColumn.java index 18eb85ed45..1a13877886 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_InfoColumn.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_InfoColumn.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_InfoColumn * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_InfoColumn { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_InfoProcess.java b/org.adempiere.base/src/org/compiere/model/I_AD_InfoProcess.java index 294dc0f3cb..b74e270c90 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_InfoProcess.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_InfoProcess.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_InfoProcess * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_InfoProcess { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_InfoRelated.java b/org.adempiere.base/src/org/compiere/model/I_AD_InfoRelated.java index bf54f57fbc..964ec1952a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_InfoRelated.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_InfoRelated.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_InfoRelated * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_InfoRelated { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_InfoWindow.java b/org.adempiere.base/src/org/compiere/model/I_AD_InfoWindow.java index e7174792c8..bbc0109274 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_InfoWindow.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_InfoWindow.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_InfoWindow * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_InfoWindow { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_InfoWindow_Access.java b/org.adempiere.base/src/org/compiere/model/I_AD_InfoWindow_Access.java index b884076a48..38652580ed 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_InfoWindow_Access.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_InfoWindow_Access.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_InfoWindow_Access * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_InfoWindow_Access { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Issue.java b/org.adempiere.base/src/org/compiere/model/I_AD_Issue.java index 03d2cbdf9d..1a4c568a7d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Issue.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Issue.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Issue * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Issue { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Label.java b/org.adempiere.base/src/org/compiere/model/I_AD_Label.java index 5b51dbb48b..e18edbb0a6 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Label.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Label.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Label * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Label { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_LabelAssignment.java b/org.adempiere.base/src/org/compiere/model/I_AD_LabelAssignment.java index 6e98e8ccb2..663e251015 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_LabelAssignment.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_LabelAssignment.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_LabelAssignment * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_LabelAssignment { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_LabelCategory.java b/org.adempiere.base/src/org/compiere/model/I_AD_LabelCategory.java index 13455f949b..1dfb24fe25 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_LabelCategory.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_LabelCategory.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_LabelCategory * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_LabelCategory { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_LabelCategoryTable.java b/org.adempiere.base/src/org/compiere/model/I_AD_LabelCategoryTable.java index 4b0baa0d06..6eaf8c136a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_LabelCategoryTable.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_LabelCategoryTable.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_LabelCategoryTable * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_LabelCategoryTable { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_LabelPrinter.java b/org.adempiere.base/src/org/compiere/model/I_AD_LabelPrinter.java index 1c3361b142..7fc24269bd 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_LabelPrinter.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_LabelPrinter.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_LabelPrinter * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_LabelPrinter { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_LabelPrinterFunction.java b/org.adempiere.base/src/org/compiere/model/I_AD_LabelPrinterFunction.java index 5045d56465..36fa8c58e1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_LabelPrinterFunction.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_LabelPrinterFunction.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_LabelPrinterFunction * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_LabelPrinterFunction { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Language.java b/org.adempiere.base/src/org/compiere/model/I_AD_Language.java index f7d8196d30..6716ce6b31 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Language.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Language.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Language * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Language { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_LdapAccess.java b/org.adempiere.base/src/org/compiere/model/I_AD_LdapAccess.java index 708d5cb3d2..806f1c8f9c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_LdapAccess.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_LdapAccess.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_LdapAccess * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_LdapAccess { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_LdapProcessor.java b/org.adempiere.base/src/org/compiere/model/I_AD_LdapProcessor.java index 7030d2773f..1f5dd5395f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_LdapProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_LdapProcessor.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_LdapProcessor * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_LdapProcessor { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_LdapProcessorLog.java b/org.adempiere.base/src/org/compiere/model/I_AD_LdapProcessorLog.java index e2849d4dd1..8c52425c7e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_LdapProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_LdapProcessorLog.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_LdapProcessorLog * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_LdapProcessorLog { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Menu.java b/org.adempiere.base/src/org/compiere/model/I_AD_Menu.java index f05d767402..3473510966 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Menu.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Menu.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Menu * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Menu { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Message.java b/org.adempiere.base/src/org/compiere/model/I_AD_Message.java index 149ac28ea5..ad76876152 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Message.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Message.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Message * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Message { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_MigrationScript.java b/org.adempiere.base/src/org/compiere/model/I_AD_MigrationScript.java index 058937794d..691d4f1a8e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_MigrationScript.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_MigrationScript.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_MigrationScript * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_MigrationScript { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ModelValidator.java b/org.adempiere.base/src/org/compiere/model/I_AD_ModelValidator.java index b75d1c52b3..81f02e7831 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ModelValidator.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ModelValidator.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ModelValidator * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ModelValidator { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Modification.java b/org.adempiere.base/src/org/compiere/model/I_AD_Modification.java index 230bccdbaa..1473ec3f55 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Modification.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Modification.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Modification * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Modification { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Note.java b/org.adempiere.base/src/org/compiere/model/I_AD_Note.java index f8c6d55c6b..c05f6b47b7 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Note.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Note.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Note * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Note { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Org.java b/org.adempiere.base/src/org/compiere/model/I_AD_Org.java index af8add219c..f5fe02246e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Org.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Org.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Org * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Org { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_OrgInfo.java b/org.adempiere.base/src/org/compiere/model/I_AD_OrgInfo.java index daef603727..f0e33ac004 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_OrgInfo.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_OrgInfo.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_OrgInfo * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_OrgInfo { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_OrgType.java b/org.adempiere.base/src/org/compiere/model/I_AD_OrgType.java index 498183ed90..e179f3184a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_OrgType.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_OrgType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_OrgType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_OrgType { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_PInstance.java b/org.adempiere.base/src/org/compiere/model/I_AD_PInstance.java index 3b208d8eeb..898ee0a3ac 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_PInstance.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_PInstance.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PInstance * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_PInstance { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_PInstance_Log.java b/org.adempiere.base/src/org/compiere/model/I_AD_PInstance_Log.java index 17774016d8..1761c595d1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_PInstance_Log.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_PInstance_Log.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PInstance_Log * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_PInstance_Log { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_PInstance_Para.java b/org.adempiere.base/src/org/compiere/model/I_AD_PInstance_Para.java index 84c4a9c8cc..42e6097531 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_PInstance_Para.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_PInstance_Para.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PInstance_Para * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_PInstance_Para { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Package_Exp.java b/org.adempiere.base/src/org/compiere/model/I_AD_Package_Exp.java index fc0bf923e1..0636bff5ea 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Package_Exp.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Package_Exp.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Package_Exp * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Package_Exp { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Package_Exp_Detail.java b/org.adempiere.base/src/org/compiere/model/I_AD_Package_Exp_Detail.java index 8c7940a7ce..26bfbdceee 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Package_Exp_Detail.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Package_Exp_Detail.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Package_Exp_Detail * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Package_Exp_Detail { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp.java b/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp.java index 52762105f2..985e26dbae 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Package_Imp * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Package_Imp { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp_Backup.java b/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp_Backup.java index 30d1da044d..75ed58e908 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp_Backup.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp_Backup.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Package_Imp_Backup * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Package_Imp_Backup { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp_Detail.java b/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp_Detail.java index d557c5a813..6a22d8c60c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp_Detail.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp_Detail.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Package_Imp_Detail * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Package_Imp_Detail { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp_Inst.java b/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp_Inst.java index ce8ad52955..dc6a90b253 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp_Inst.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp_Inst.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Package_Imp_Inst * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Package_Imp_Inst { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp_Proc.java b/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp_Proc.java index 4e5570ed24..b1f5adae7f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp_Proc.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Package_Imp_Proc.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Package_Imp_Proc * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Package_Imp_Proc { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Package_UUID_Map.java b/org.adempiere.base/src/org/compiere/model/I_AD_Package_UUID_Map.java index bc7a08f540..087233f633 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Package_UUID_Map.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Package_UUID_Map.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Package_UUID_Map * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Package_UUID_Map { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_PasswordRule.java b/org.adempiere.base/src/org/compiere/model/I_AD_PasswordRule.java index 1b9b91118c..b85c1dbd4a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_PasswordRule.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_PasswordRule.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PasswordRule * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_PasswordRule { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Password_History.java b/org.adempiere.base/src/org/compiere/model/I_AD_Password_History.java index ac78e079ed..c4eea32c60 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Password_History.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Password_History.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Password_History * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Password_History { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_PostIt.java b/org.adempiere.base/src/org/compiere/model/I_AD_PostIt.java index afccf72f69..b8b205667e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_PostIt.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_PostIt.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PostIt * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_PostIt { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Preference.java b/org.adempiere.base/src/org/compiere/model/I_AD_Preference.java index 30bb4b5ae1..2f22d03ba8 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Preference.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Preference.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Preference * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Preference { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_PrintColor.java b/org.adempiere.base/src/org/compiere/model/I_AD_PrintColor.java index 0e5eebfc42..1cbd0b1431 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_PrintColor.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_PrintColor.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintColor * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_PrintColor { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_PrintFont.java b/org.adempiere.base/src/org/compiere/model/I_AD_PrintFont.java index c7b6675d1c..90472fad66 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_PrintFont.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_PrintFont.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintFont * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_PrintFont { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_PrintForm.java b/org.adempiere.base/src/org/compiere/model/I_AD_PrintForm.java index 36d8d04ff3..f25a52c1eb 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_PrintForm.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_PrintForm.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintForm * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_PrintForm { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_PrintFormat.java b/org.adempiere.base/src/org/compiere/model/I_AD_PrintFormat.java index 38e06e419f..a654802c47 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_PrintFormat.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_PrintFormat.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintFormat * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_PrintFormat { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_PrintFormatItem.java b/org.adempiere.base/src/org/compiere/model/I_AD_PrintFormatItem.java index c0caf3d745..b0764f21d9 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_PrintFormatItem.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_PrintFormatItem.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintFormatItem * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_PrintFormatItem { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_PrintGraph.java b/org.adempiere.base/src/org/compiere/model/I_AD_PrintGraph.java index 43be715dba..781250672a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_PrintGraph.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_PrintGraph.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintGraph * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_PrintGraph { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_PrintHeaderFooter.java b/org.adempiere.base/src/org/compiere/model/I_AD_PrintHeaderFooter.java index 6d1df093e9..e8e1bd518e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_PrintHeaderFooter.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_PrintHeaderFooter.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintHeaderFooter * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_PrintHeaderFooter { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_PrintLabel.java b/org.adempiere.base/src/org/compiere/model/I_AD_PrintLabel.java index 839d9b1e1f..54b466cbf4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_PrintLabel.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_PrintLabel.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintLabel * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_PrintLabel { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_PrintLabelLine.java b/org.adempiere.base/src/org/compiere/model/I_AD_PrintLabelLine.java index 8c71ec4dc1..5d245629f0 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_PrintLabelLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_PrintLabelLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintLabelLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_PrintLabelLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_PrintPaper.java b/org.adempiere.base/src/org/compiere/model/I_AD_PrintPaper.java index 6eacb109b5..ac55df9f17 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_PrintPaper.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_PrintPaper.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintPaper * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_PrintPaper { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_PrintTableFormat.java b/org.adempiere.base/src/org/compiere/model/I_AD_PrintTableFormat.java index 297b4c6f80..2231eed4fa 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_PrintTableFormat.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_PrintTableFormat.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_PrintTableFormat * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_PrintTableFormat { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Private_Access.java b/org.adempiere.base/src/org/compiere/model/I_AD_Private_Access.java index c3034494cd..0f817928b6 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Private_Access.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Private_Access.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Private_Access * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Private_Access { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Process.java b/org.adempiere.base/src/org/compiere/model/I_AD_Process.java index 41000481ad..59c8a90259 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Process.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Process.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Process * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Process { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Process_Access.java b/org.adempiere.base/src/org/compiere/model/I_AD_Process_Access.java index f7572d4e82..0d98f91e11 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Process_Access.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Process_Access.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Process_Access * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Process_Access { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Process_DrillRule_Para.java b/org.adempiere.base/src/org/compiere/model/I_AD_Process_DrillRule_Para.java index 98a8ab7e7c..aa43c06ed4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Process_DrillRule_Para.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Process_DrillRule_Para.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Process_DrillRule_Para * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Process_DrillRule_Para { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Process_Para.java b/org.adempiere.base/src/org/compiere/model/I_AD_Process_Para.java index f85086c39e..ab7313df28 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Process_Para.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Process_Para.java @@ -497,25 +497,6 @@ public interface I_AD_Process_Para */ public int getUpdatedBy(); - /** Column name VFormat */ - public static final String COLUMNNAME_VFormat = "VFormat"; - - /** Set Value Format. - * Format of the value; - Can contain fixed format elements, Variables: " -_lLoOaAcCa09" - - */ - public void setVFormat (String VFormat); - - /** Get Value Format. - * Format of the value; - Can contain fixed format elements, Variables: " -_lLoOaAcCa09" - - */ - public String getVFormat(); - /** Column name ValueMax */ public static final String COLUMNNAME_ValueMax = "ValueMax"; @@ -541,4 +522,23 @@ _lLoOaAcCa09" * Minimum Value for a field */ public String getValueMin(); + + /** Column name VFormat */ + public static final String COLUMNNAME_VFormat = "VFormat"; + + /** Set Value Format. + * Format of the value; + Can contain fixed format elements, Variables: " +_lLoOaAcCa09" + + */ + public void setVFormat (String VFormat); + + /** Get Value Format. + * Format of the value; + Can contain fixed format elements, Variables: " +_lLoOaAcCa09" + + */ + public String getVFormat(); } diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_RecentItem.java b/org.adempiere.base/src/org/compiere/model/I_AD_RecentItem.java index 9705f875be..f0ab018068 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_RecentItem.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_RecentItem.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_RecentItem * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_RecentItem { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Record_Access.java b/org.adempiere.base/src/org/compiere/model/I_AD_Record_Access.java index c367aa9454..c3736a8391 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Record_Access.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Record_Access.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Record_Access * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Record_Access { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Ref_List.java b/org.adempiere.base/src/org/compiere/model/I_AD_Ref_List.java index d6530a83db..49d5f497f2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Ref_List.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Ref_List.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Ref_List * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Ref_List { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Ref_Table.java b/org.adempiere.base/src/org/compiere/model/I_AD_Ref_Table.java index e502aeb9aa..e22d396187 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Ref_Table.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Ref_Table.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Ref_Table * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Ref_Table { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Reference.java b/org.adempiere.base/src/org/compiere/model/I_AD_Reference.java index f0f1a0477c..bc4b4199d7 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Reference.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Reference.java @@ -224,6 +224,19 @@ public interface I_AD_Reference */ public int getUpdatedBy(); + /** Column name ValidationType */ + public static final String COLUMNNAME_ValidationType = "ValidationType"; + + /** Set Validation type. + * Different method of validating data + */ + public void setValidationType (String ValidationType); + + /** Get Validation type. + * Different method of validating data + */ + public String getValidationType(); + /** Column name VFormat */ public static final String COLUMNNAME_VFormat = "VFormat"; @@ -242,17 +255,4 @@ _lLoOaAcCa09" */ public String getVFormat(); - - /** Column name ValidationType */ - public static final String COLUMNNAME_ValidationType = "ValidationType"; - - /** Set Validation type. - * Different method of validating data - */ - public void setValidationType (String ValidationType); - - /** Get Validation type. - * Different method of validating data - */ - public String getValidationType(); } diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Registration.java b/org.adempiere.base/src/org/compiere/model/I_AD_Registration.java index 67598f1afe..1bc04b4e73 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Registration.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Registration.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Registration * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Registration { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_RelationType.java b/org.adempiere.base/src/org/compiere/model/I_AD_RelationType.java index a781bd7551..01708365ff 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_RelationType.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_RelationType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_RelationType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_RelationType { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Replication.java b/org.adempiere.base/src/org/compiere/model/I_AD_Replication.java index b2a29f1913..7c6fd39c82 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Replication.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Replication.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Replication * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Replication { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ReplicationDocument.java b/org.adempiere.base/src/org/compiere/model/I_AD_ReplicationDocument.java index 23d73e5078..15a5a5a4c2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ReplicationDocument.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ReplicationDocument.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ReplicationDocument * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ReplicationDocument { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ReplicationStrategy.java b/org.adempiere.base/src/org/compiere/model/I_AD_ReplicationStrategy.java index 43badb9f13..b2135278da 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ReplicationStrategy.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ReplicationStrategy.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ReplicationStrategy * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ReplicationStrategy { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ReplicationTable.java b/org.adempiere.base/src/org/compiere/model/I_AD_ReplicationTable.java index 2fd7440d6b..a6ca2d69fe 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ReplicationTable.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ReplicationTable.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ReplicationTable * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ReplicationTable { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Replication_Log.java b/org.adempiere.base/src/org/compiere/model/I_AD_Replication_Log.java index cbc7cc6e85..21e50f3ee1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Replication_Log.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Replication_Log.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Replication_Log * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Replication_Log { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Replication_Run.java b/org.adempiere.base/src/org/compiere/model/I_AD_Replication_Run.java index d73717a26d..9a2792d74b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Replication_Run.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Replication_Run.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Replication_Run * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Replication_Run { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ReportView.java b/org.adempiere.base/src/org/compiere/model/I_AD_ReportView.java index 572e65820c..2047ef4a85 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ReportView.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ReportView.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ReportView * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ReportView { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ReportView_Col.java b/org.adempiere.base/src/org/compiere/model/I_AD_ReportView_Col.java index 728880628e..9017ba4ee1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ReportView_Col.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ReportView_Col.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ReportView_Col * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ReportView_Col { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ReportView_Column.java b/org.adempiere.base/src/org/compiere/model/I_AD_ReportView_Column.java index 2c6c9f6404..00c8ae495d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ReportView_Column.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ReportView_Column.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ReportView_Column * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ReportView_Column { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Role.java b/org.adempiere.base/src/org/compiere/model/I_AD_Role.java index bd46657e8f..d0d8ba47cb 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Role.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Role.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Role * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Role { @@ -548,6 +548,19 @@ public interface I_AD_Role */ public boolean isOverwritePriceLimit(); + /** Column name PredefinedContextVariables */ + public static final String COLUMNNAME_PredefinedContextVariables = "PredefinedContextVariables"; + + /** Set Predefined Context Variables. + * Predefined context variables to inject when opening a menu entry or a window + */ + public void setPredefinedContextVariables (String PredefinedContextVariables); + + /** Get Predefined Context Variables. + * Predefined context variables to inject when opening a menu entry or a window + */ + public String getPredefinedContextVariables(); + /** Column name PreferenceType */ public static final String COLUMNNAME_PreferenceType = "PreferenceType"; @@ -622,17 +635,4 @@ public interface I_AD_Role * System Tenant Organization */ public String getUserLevel(); - - /** Column name PredefinedContextVariables */ - public static final String COLUMNNAME_PredefinedContextVariables = "PredefinedContextVariables"; - - /** Set Predefined Context Variables. - * Predefined context variables to inject when opening a menu entry or a window - */ - public void setPredefinedContextVariables (String PredefinedContextVariables); - - /** Get Predefined Context Variables. - * Predefined context variables to inject when opening a menu entry or a window - */ - public String getPredefinedContextVariables(); } diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Role_Included.java b/org.adempiere.base/src/org/compiere/model/I_AD_Role_Included.java index bb42d11505..49645dfaa3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Role_Included.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Role_Included.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Role_Included * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Role_Included { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Role_OrgAccess.java b/org.adempiere.base/src/org/compiere/model/I_AD_Role_OrgAccess.java index c909464a5f..db368f2cf2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Role_OrgAccess.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Role_OrgAccess.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Role_OrgAccess * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Role_OrgAccess { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Rule.java b/org.adempiere.base/src/org/compiere/model/I_AD_Rule.java index 64a626d291..064bce350b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Rule.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Rule.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Rule * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Rule { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_SMTP.java b/org.adempiere.base/src/org/compiere/model/I_AD_SMTP.java index 822f1af9b8..5031e34492 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_SMTP.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_SMTP.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_SMTP * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_SMTP { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Schedule.java b/org.adempiere.base/src/org/compiere/model/I_AD_Schedule.java index 72130589ab..189a3bf698 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Schedule.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Schedule.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Schedule * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Schedule { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Scheduler.java b/org.adempiere.base/src/org/compiere/model/I_AD_Scheduler.java index cf1c37f1af..ba4b70a3bf 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Scheduler.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Scheduler.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Scheduler * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Scheduler { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_SchedulerLog.java b/org.adempiere.base/src/org/compiere/model/I_AD_SchedulerLog.java index 3ef899c824..595c622a05 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_SchedulerLog.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_SchedulerLog.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_SchedulerLog * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_SchedulerLog { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_SchedulerRecipient.java b/org.adempiere.base/src/org/compiere/model/I_AD_SchedulerRecipient.java index 13b052aca1..12e46cd813 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_SchedulerRecipient.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_SchedulerRecipient.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_SchedulerRecipient * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_SchedulerRecipient { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Scheduler_Para.java b/org.adempiere.base/src/org/compiere/model/I_AD_Scheduler_Para.java index 6abae2ae04..0757f400f4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Scheduler_Para.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Scheduler_Para.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Scheduler_Para * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Scheduler_Para { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_SearchDefinition.java b/org.adempiere.base/src/org/compiere/model/I_AD_SearchDefinition.java index 5076ce8679..528a982304 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_SearchDefinition.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_SearchDefinition.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_SearchDefinition * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_SearchDefinition { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Sequence.java b/org.adempiere.base/src/org/compiere/model/I_AD_Sequence.java index 25fbb76f1c..189375ddf2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Sequence.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Sequence.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Sequence * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Sequence { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Sequence_Audit.java b/org.adempiere.base/src/org/compiere/model/I_AD_Sequence_Audit.java index 39b27b1f6b..01067c03a5 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Sequence_Audit.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Sequence_Audit.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Sequence_Audit * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Sequence_Audit { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Sequence_No.java b/org.adempiere.base/src/org/compiere/model/I_AD_Sequence_No.java index b6fb44ae11..f334cf21b7 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Sequence_No.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Sequence_No.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Sequence_No * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Sequence_No { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Session.java b/org.adempiere.base/src/org/compiere/model/I_AD_Session.java index 7c4c09a669..c51c45bca8 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Session.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Session.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Session * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Session { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_StatusLine.java b/org.adempiere.base/src/org/compiere/model/I_AD_StatusLine.java index 97d578051f..9fa6cd718f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_StatusLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_StatusLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_StatusLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_StatusLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_StatusLineUsedIn.java b/org.adempiere.base/src/org/compiere/model/I_AD_StatusLineUsedIn.java index 7938946a04..05177a2dd6 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_StatusLineUsedIn.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_StatusLineUsedIn.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_StatusLineUsedIn * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_StatusLineUsedIn { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_StorageProvider.java b/org.adempiere.base/src/org/compiere/model/I_AD_StorageProvider.java index 14c8c529fd..9f2d3b61ac 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_StorageProvider.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_StorageProvider.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_StorageProvider * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_StorageProvider { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_StyleLine.java b/org.adempiere.base/src/org/compiere/model/I_AD_StyleLine.java index eceb03ea8a..4105f03f42 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_StyleLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_StyleLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_StyleLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_StyleLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_SysConfig.java b/org.adempiere.base/src/org/compiere/model/I_AD_SysConfig.java index 2ead184638..b6b8698dba 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_SysConfig.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_SysConfig.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_SysConfig * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_SysConfig { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_System.java b/org.adempiere.base/src/org/compiere/model/I_AD_System.java index 85910f795e..cb7459488c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_System.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_System.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_System * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_System { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Tab.java b/org.adempiere.base/src/org/compiere/model/I_AD_Tab.java index 02551ffd78..f671184bf5 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Tab.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Tab.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Tab * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Tab { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Tab_Customization.java b/org.adempiere.base/src/org/compiere/model/I_AD_Tab_Customization.java index 543163d6c7..1cc0df4758 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Tab_Customization.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Tab_Customization.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Tab_Customization * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Tab_Customization { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Table.java b/org.adempiere.base/src/org/compiere/model/I_AD_Table.java index 207ae246c6..09f665ca6c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Table.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Table.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Table * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Table { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_TableIndex.java b/org.adempiere.base/src/org/compiere/model/I_AD_TableIndex.java index 5250b0c62c..02b9eb562e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_TableIndex.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_TableIndex.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TableIndex * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_TableIndex { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Table_Access.java b/org.adempiere.base/src/org/compiere/model/I_AD_Table_Access.java index 4d468d9e70..5e66bbc0f9 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Table_Access.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Table_Access.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Table_Access * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Table_Access { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Table_ScriptValidator.java b/org.adempiere.base/src/org/compiere/model/I_AD_Table_ScriptValidator.java index 99f9dcfa18..0629d9270b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Table_ScriptValidator.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Table_ScriptValidator.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Table_ScriptValidator * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Table_ScriptValidator { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Task.java b/org.adempiere.base/src/org/compiere/model/I_AD_Task.java index 1c44dbb659..cb28a6fa71 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Task.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Task.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Task * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Task { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_TaskInstance.java b/org.adempiere.base/src/org/compiere/model/I_AD_TaskInstance.java index 705e7b2297..0e00371ad3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_TaskInstance.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_TaskInstance.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TaskInstance * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_TaskInstance { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Task_Access.java b/org.adempiere.base/src/org/compiere/model/I_AD_Task_Access.java index 209d89bbcf..62b4edfd0e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Task_Access.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Task_Access.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Task_Access * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Task_Access { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ToolBarButton.java b/org.adempiere.base/src/org/compiere/model/I_AD_ToolBarButton.java index 81d4a984b8..6659547972 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ToolBarButton.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ToolBarButton.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ToolBarButton * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ToolBarButton { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ToolBarButtonRestrict.java b/org.adempiere.base/src/org/compiere/model/I_AD_ToolBarButtonRestrict.java index 1698277626..244ad11aac 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ToolBarButtonRestrict.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ToolBarButtonRestrict.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ToolBarButtonRestrict * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ToolBarButtonRestrict { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Tree.java b/org.adempiere.base/src/org/compiere/model/I_AD_Tree.java index 87f88c8abc..3a94098868 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Tree.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Tree.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Tree * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Tree { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNode.java b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNode.java index d5b2229cd5..e9857c3ddd 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNode.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNode.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNode * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_TreeNode { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeBP.java b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeBP.java index ecfe9cba2a..85de10f317 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeBP.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeBP.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeBP * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_TreeNodeBP { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeCMC.java b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeCMC.java index edc9bf7e48..961d8a8c1f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeCMC.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeCMC.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeCMC * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_TreeNodeCMC { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeCMM.java b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeCMM.java index c877448dc6..88e7ecc71a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeCMM.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeCMM.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeCMM * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_TreeNodeCMM { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeCMS.java b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeCMS.java index a3eccdbed9..ec828c1426 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeCMS.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeCMS.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeCMS * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_TreeNodeCMS { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeCMT.java b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeCMT.java index 4186c5c8de..61093a7475 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeCMT.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeCMT.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeCMT * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_TreeNodeCMT { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeMM.java b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeMM.java index 35bf6b2c33..370d13550f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeMM.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeMM.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeMM * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_TreeNodeMM { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodePR.java b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodePR.java index 7006d4eab7..88df54ef25 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodePR.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodePR.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodePR * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_TreeNodePR { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeU1.java b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeU1.java index f6ca96cf74..ba8bab144e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeU1.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeU1.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeU1 * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_TreeNodeU1 { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeU2.java b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeU2.java index f345f78cda..d50ba2ac98 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeU2.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeU2.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeU2 * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_TreeNodeU2 { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeU3.java b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeU3.java index 988e19f493..95fdb85319 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeU3.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeU3.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeU3 * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_TreeNodeU3 { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeU4.java b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeU4.java index a8073293b6..fc8a2babb7 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeU4.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_TreeNodeU4.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_TreeNodeU4 * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_TreeNodeU4 { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Tree_Favorite.java b/org.adempiere.base/src/org/compiere/model/I_AD_Tree_Favorite.java index 3eb4ec59b0..dfff4be448 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Tree_Favorite.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Tree_Favorite.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Tree_Favorite * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Tree_Favorite { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Tree_Favorite_Node.java b/org.adempiere.base/src/org/compiere/model/I_AD_Tree_Favorite_Node.java index 35df2611ca..93f6b3d8f2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Tree_Favorite_Node.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Tree_Favorite_Node.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Tree_Favorite_Node * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Tree_Favorite_Node { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_User.java b/org.adempiere.base/src/org/compiere/model/I_AD_User.java index e1112bad1d..35fac781d5 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_User.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_User.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_User * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_User { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_UserBPAccess.java b/org.adempiere.base/src/org/compiere/model/I_AD_UserBPAccess.java index 735c39e75e..e6985e2a56 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_UserBPAccess.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_UserBPAccess.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserBPAccess * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_UserBPAccess { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Field.java b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Field.java index 78d11a3f1e..a4df26ad02 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Field.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Field.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserDef_Field * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_UserDef_Field { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info.java b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info.java index 07293e9e28..f8e2711a54 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserDef_Info * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_UserDef_Info { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info_Column.java b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info_Column.java index 69b64294e4..5606c70352 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info_Column.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info_Column.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserDef_Info_Column * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_UserDef_Info_Column { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info_Related.java b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info_Related.java index 4149ec57ef..0e22914ff7 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info_Related.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info_Related.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserDef_Info_Related * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_UserDef_Info_Related { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Proc.java b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Proc.java index 80e203260d..f5b2864dfa 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Proc.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Proc.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserDef_Proc * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_UserDef_Proc { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Proc_Parameter.java b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Proc_Parameter.java index 22bf53fc40..2ad76d078e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Proc_Parameter.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Proc_Parameter.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserDef_Proc_Parameter * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_UserDef_Proc_Parameter { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Tab.java b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Tab.java index 3c4bebf0b8..02d7153978 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Tab.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Tab.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserDef_Tab * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_UserDef_Tab { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Win.java b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Win.java index 2d72ef0a9d..e9cd2c376b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Win.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Win.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserDef_Win * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_UserDef_Win { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_UserMail.java b/org.adempiere.base/src/org/compiere/model/I_AD_UserMail.java index d97b6b8f2b..ce5fb6ab7d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_UserMail.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_UserMail.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserMail * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_UserMail { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_UserPreference.java b/org.adempiere.base/src/org/compiere/model/I_AD_UserPreference.java index 52508e05fa..135b9ca181 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_UserPreference.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_UserPreference.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserPreference * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_UserPreference { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_UserQuery.java b/org.adempiere.base/src/org/compiere/model/I_AD_UserQuery.java index 2cf191fc09..b24305b994 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_UserQuery.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_UserQuery.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_UserQuery * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_UserQuery { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_User_OrgAccess.java b/org.adempiere.base/src/org/compiere/model/I_AD_User_OrgAccess.java index 67195d0a7d..1cb008595f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_User_OrgAccess.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_User_OrgAccess.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_User_OrgAccess * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_User_OrgAccess { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_User_Roles.java b/org.adempiere.base/src/org/compiere/model/I_AD_User_Roles.java index 56581ff187..be7c289a41 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_User_Roles.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_User_Roles.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_User_Roles * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_User_Roles { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_User_Substitute.java b/org.adempiere.base/src/org/compiere/model/I_AD_User_Substitute.java index d60b9babf6..9b4bfc50f9 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_User_Substitute.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_User_Substitute.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_User_Substitute * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_User_Substitute { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Val_Rule.java b/org.adempiere.base/src/org/compiere/model/I_AD_Val_Rule.java index 57bd12b947..3442f04131 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Val_Rule.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Val_Rule.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Val_Rule * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Val_Rule { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ViewColumn.java b/org.adempiere.base/src/org/compiere/model/I_AD_ViewColumn.java index 6a1aa10280..edbdaca096 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ViewColumn.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ViewColumn.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ViewColumn * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ViewColumn { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ViewComponent.java b/org.adempiere.base/src/org/compiere/model/I_AD_ViewComponent.java index 95f9a969fc..f0cdde0b99 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ViewComponent.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ViewComponent.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ViewComponent * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ViewComponent { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_WF_Activity.java b/org.adempiere.base/src/org/compiere/model/I_AD_WF_Activity.java index 563999ab79..ec4cfc28a2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_WF_Activity.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_WF_Activity.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_Activity * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_WF_Activity { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_WF_ActivityApprover.java b/org.adempiere.base/src/org/compiere/model/I_AD_WF_ActivityApprover.java index 7b39acb37f..558cc5cee7 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_WF_ActivityApprover.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_WF_ActivityApprover.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_ActivityApprover * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_WF_ActivityApprover { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_WF_ActivityResult.java b/org.adempiere.base/src/org/compiere/model/I_AD_WF_ActivityResult.java index bc1207cf84..5306167676 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_WF_ActivityResult.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_WF_ActivityResult.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_ActivityResult * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_WF_ActivityResult { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_WF_Block.java b/org.adempiere.base/src/org/compiere/model/I_AD_WF_Block.java index d970b53b83..2fbe41c9e2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_WF_Block.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_WF_Block.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_Block * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_WF_Block { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_WF_EventAudit.java b/org.adempiere.base/src/org/compiere/model/I_AD_WF_EventAudit.java index 55d69e7593..de6349d446 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_WF_EventAudit.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_WF_EventAudit.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_EventAudit * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_WF_EventAudit { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_WF_NextCondition.java b/org.adempiere.base/src/org/compiere/model/I_AD_WF_NextCondition.java index da3b318d9e..500283a760 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_WF_NextCondition.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_WF_NextCondition.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_NextCondition * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_WF_NextCondition { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_WF_Node.java b/org.adempiere.base/src/org/compiere/model/I_AD_WF_Node.java index c0ccc50adc..ca5b142c12 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_WF_Node.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_WF_Node.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_Node * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_WF_Node { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_WF_NodeNext.java b/org.adempiere.base/src/org/compiere/model/I_AD_WF_NodeNext.java index cc750e6990..e942c4948d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_WF_NodeNext.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_WF_NodeNext.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_NodeNext * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_WF_NodeNext { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_WF_Node_Para.java b/org.adempiere.base/src/org/compiere/model/I_AD_WF_Node_Para.java index c2fa91845d..bfe81644db 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_WF_Node_Para.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_WF_Node_Para.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_Node_Para * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_WF_Node_Para { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_WF_Process.java b/org.adempiere.base/src/org/compiere/model/I_AD_WF_Process.java index 2bd191cc49..d5b1617b1f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_WF_Process.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_WF_Process.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_Process * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_WF_Process { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_WF_ProcessData.java b/org.adempiere.base/src/org/compiere/model/I_AD_WF_ProcessData.java index 71b6f78fec..5a12bd65b6 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_WF_ProcessData.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_WF_ProcessData.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_ProcessData * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_WF_ProcessData { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_WF_Responsible.java b/org.adempiere.base/src/org/compiere/model/I_AD_WF_Responsible.java index 1896ca2bd3..b4e42b4963 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_WF_Responsible.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_WF_Responsible.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WF_Responsible * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_WF_Responsible { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Window.java b/org.adempiere.base/src/org/compiere/model/I_AD_Window.java index 29866598b5..d8994c8f36 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Window.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Window.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Window * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Window { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Window_Access.java b/org.adempiere.base/src/org/compiere/model/I_AD_Window_Access.java index d0fa2a53c2..0fa43e1eb9 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Window_Access.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Window_Access.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Window_Access * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Window_Access { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_WizardProcess.java b/org.adempiere.base/src/org/compiere/model/I_AD_WizardProcess.java index cef6ce7fc7..7808987af7 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_WizardProcess.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_WizardProcess.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WizardProcess * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_WizardProcess { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Wlistbox_Customization.java b/org.adempiere.base/src/org/compiere/model/I_AD_Wlistbox_Customization.java index 35d77b2ac8..6f9d449dc3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Wlistbox_Customization.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Wlistbox_Customization.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Wlistbox_Customization * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Wlistbox_Customization { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Workflow.java b/org.adempiere.base/src/org/compiere/model/I_AD_Workflow.java index fd07cca07b..491b0bd440 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Workflow.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Workflow.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Workflow * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Workflow { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_WorkflowProcessor.java b/org.adempiere.base/src/org/compiere/model/I_AD_WorkflowProcessor.java index a5e7b98618..ba950ef88c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_WorkflowProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_WorkflowProcessor.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WorkflowProcessor * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_WorkflowProcessor { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_WorkflowProcessorLog.java b/org.adempiere.base/src/org/compiere/model/I_AD_WorkflowProcessorLog.java index e7ecdafa28..22d3151e00 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_WorkflowProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_WorkflowProcessorLog.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_WorkflowProcessorLog * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_WorkflowProcessorLog { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Workflow_Access.java b/org.adempiere.base/src/org/compiere/model/I_AD_Workflow_Access.java index 5b036845eb..450e038276 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Workflow_Access.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Workflow_Access.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_Workflow_Access * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_Workflow_Access { diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_ZoomCondition.java b/org.adempiere.base/src/org/compiere/model/I_AD_ZoomCondition.java index e3939e9022..8468b8ddb5 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_ZoomCondition.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_ZoomCondition.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for AD_ZoomCondition * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_AD_ZoomCondition { diff --git a/org.adempiere.base/src/org/compiere/model/I_ASP_ClientException.java b/org.adempiere.base/src/org/compiere/model/I_ASP_ClientException.java index 74ef0776b5..b470a6104a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_ASP_ClientException.java +++ b/org.adempiere.base/src/org/compiere/model/I_ASP_ClientException.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_ClientException * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_ASP_ClientException { diff --git a/org.adempiere.base/src/org/compiere/model/I_ASP_ClientLevel.java b/org.adempiere.base/src/org/compiere/model/I_ASP_ClientLevel.java index 730c1acf05..4aa6e5b942 100644 --- a/org.adempiere.base/src/org/compiere/model/I_ASP_ClientLevel.java +++ b/org.adempiere.base/src/org/compiere/model/I_ASP_ClientLevel.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_ClientLevel * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_ASP_ClientLevel { diff --git a/org.adempiere.base/src/org/compiere/model/I_ASP_Field.java b/org.adempiere.base/src/org/compiere/model/I_ASP_Field.java index 54d1bfd9c6..935c53ab65 100644 --- a/org.adempiere.base/src/org/compiere/model/I_ASP_Field.java +++ b/org.adempiere.base/src/org/compiere/model/I_ASP_Field.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Field * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_ASP_Field { diff --git a/org.adempiere.base/src/org/compiere/model/I_ASP_Form.java b/org.adempiere.base/src/org/compiere/model/I_ASP_Form.java index 914d501f90..a6c86fee18 100644 --- a/org.adempiere.base/src/org/compiere/model/I_ASP_Form.java +++ b/org.adempiere.base/src/org/compiere/model/I_ASP_Form.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Form * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_ASP_Form { diff --git a/org.adempiere.base/src/org/compiere/model/I_ASP_Level.java b/org.adempiere.base/src/org/compiere/model/I_ASP_Level.java index 6fc1eb27d0..64326650a4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_ASP_Level.java +++ b/org.adempiere.base/src/org/compiere/model/I_ASP_Level.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Level * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_ASP_Level { diff --git a/org.adempiere.base/src/org/compiere/model/I_ASP_Module.java b/org.adempiere.base/src/org/compiere/model/I_ASP_Module.java index 230dd8eeab..c768a3c409 100644 --- a/org.adempiere.base/src/org/compiere/model/I_ASP_Module.java +++ b/org.adempiere.base/src/org/compiere/model/I_ASP_Module.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Module * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_ASP_Module { diff --git a/org.adempiere.base/src/org/compiere/model/I_ASP_Process.java b/org.adempiere.base/src/org/compiere/model/I_ASP_Process.java index 5c1a4af4ed..fc1486da68 100644 --- a/org.adempiere.base/src/org/compiere/model/I_ASP_Process.java +++ b/org.adempiere.base/src/org/compiere/model/I_ASP_Process.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Process * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_ASP_Process { diff --git a/org.adempiere.base/src/org/compiere/model/I_ASP_Process_Para.java b/org.adempiere.base/src/org/compiere/model/I_ASP_Process_Para.java index 0c83791bee..a3295df446 100644 --- a/org.adempiere.base/src/org/compiere/model/I_ASP_Process_Para.java +++ b/org.adempiere.base/src/org/compiere/model/I_ASP_Process_Para.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Process_Para * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_ASP_Process_Para { diff --git a/org.adempiere.base/src/org/compiere/model/I_ASP_Ref_List.java b/org.adempiere.base/src/org/compiere/model/I_ASP_Ref_List.java index 72a2659072..3d9fa33a1e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_ASP_Ref_List.java +++ b/org.adempiere.base/src/org/compiere/model/I_ASP_Ref_List.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Ref_List * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_ASP_Ref_List { diff --git a/org.adempiere.base/src/org/compiere/model/I_ASP_Tab.java b/org.adempiere.base/src/org/compiere/model/I_ASP_Tab.java index 56d48671fd..5a5683d0fb 100644 --- a/org.adempiere.base/src/org/compiere/model/I_ASP_Tab.java +++ b/org.adempiere.base/src/org/compiere/model/I_ASP_Tab.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Tab * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_ASP_Tab { diff --git a/org.adempiere.base/src/org/compiere/model/I_ASP_Task.java b/org.adempiere.base/src/org/compiere/model/I_ASP_Task.java index eee188d6e5..11ac2620aa 100644 --- a/org.adempiere.base/src/org/compiere/model/I_ASP_Task.java +++ b/org.adempiere.base/src/org/compiere/model/I_ASP_Task.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Task * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_ASP_Task { diff --git a/org.adempiere.base/src/org/compiere/model/I_ASP_Window.java b/org.adempiere.base/src/org/compiere/model/I_ASP_Window.java index e0c4edcd2b..620d833f54 100644 --- a/org.adempiere.base/src/org/compiere/model/I_ASP_Window.java +++ b/org.adempiere.base/src/org/compiere/model/I_ASP_Window.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Window * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_ASP_Window { diff --git a/org.adempiere.base/src/org/compiere/model/I_ASP_Workflow.java b/org.adempiere.base/src/org/compiere/model/I_ASP_Workflow.java index 52db3093cd..0d3a69242a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_ASP_Workflow.java +++ b/org.adempiere.base/src/org/compiere/model/I_ASP_Workflow.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for ASP_Workflow * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_ASP_Workflow { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset.java index 7726651e9d..bb5a5737c5 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Acct.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Acct.java index 182792bacf..2eedee1f40 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Addition.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Addition.java index 3e9c2944ec..947719f614 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Addition.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Addition.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Addition * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Addition { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Change.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Change.java index e7f68dc7fc..95bfbdd547 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Change.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Change.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Change * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Change { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Class.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Class.java index e3667146de..516f12e1eb 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Class.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Class.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Class * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Class { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Delivery.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Delivery.java index 0005fffec8..4edc5d6dcd 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Delivery.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Delivery.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Delivery * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Delivery { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Disposed.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Disposed.java index ace6a52022..f8728615de 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Disposed.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Disposed.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Disposed * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Disposed { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Group.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Group.java index 79a1609601..f99ac4e34a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Group.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Group.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Group * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Group { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Group_Acct.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Group_Acct.java index 3005223172..0ad41af250 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Group_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Group_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Group_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Group_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Fin.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Fin.java index 4b8a9e65e7..bdf8297257 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Fin.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Fin.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Info_Fin * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Info_Fin { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Ins.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Ins.java index 1456e5cec1..2c86ac76ea 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Ins.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Ins.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Info_Ins * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Info_Ins { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Lic.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Lic.java index f444fe1f55..8154869d78 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Lic.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Lic.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Info_Lic * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Info_Lic { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Oth.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Oth.java index 8275e54abe..0d856e1320 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Oth.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Oth.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Info_Oth * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Info_Oth { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Tax.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Tax.java index a9f55d6049..32c17ef015 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Tax.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Info_Tax.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Info_Tax * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Info_Tax { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Product.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Product.java index 7067f9cb8b..8c61a3fcde 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Product.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Product.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Product * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Product { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Retirement.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Retirement.java index b66a6a821c..f477d6222a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Retirement.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Retirement.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Retirement * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Retirement { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval.java index 50acc57ce5..efdeaadf28 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Reval * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Reval { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval_Entry.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval_Entry.java index a096c6bbb6..851eb208ea 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval_Entry.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval_Entry.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Reval_Entry * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Reval_Entry { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval_Index.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval_Index.java index 1c68b1487d..d7a3b13059 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval_Index.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Reval_Index.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Reval_Index * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Reval_Index { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Split.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Split.java index 50269a75c9..54774f04ae 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Split.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Split.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Split * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Split { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Transfer.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Transfer.java index 133f5d1de1..aa50a70733 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Transfer.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Transfer.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Transfer * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Transfer { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Type.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Type.java index 8dbf842e25..432ca8cbad 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Type.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Type.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Type * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Type { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Use.java b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Use.java index f3fceb7dd7..827b4602fe 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Asset_Use.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Asset_Use.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Asset_Use * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Asset_Use { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation.java index e34b44a9a6..e1e22cca13 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Depreciation { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Build.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Build.java index 19e69837fe..917b6ca0b5 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Build.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Build.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Build * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Depreciation_Build { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Convention.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Convention.java index 86b05c4129..ec9df2ca2e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Convention.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Convention.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Convention * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Depreciation_Convention { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Entry.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Entry.java index 1aaa3bfc22..4b91bf5095 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Entry.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Entry.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Entry * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Depreciation_Entry { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Exp.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Exp.java index 0634c337e1..88fa9eba70 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Exp.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Exp.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Exp * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Depreciation_Exp { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Forecast.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Forecast.java index afce52062f..8c31cafdb8 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Forecast.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Forecast.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Forecast * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Depreciation_Forecast { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Method.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Method.java index de95f2b50c..50b28b4288 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Method.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Method.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Method * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Depreciation_Method { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Table_Detail.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Table_Detail.java index 3ff435a402..38340d090d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Table_Detail.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Table_Detail.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Table_Detail * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Depreciation_Table_Detail { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Table_Header.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Table_Header.java index f291359131..4db5fc0d4c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Table_Header.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Table_Header.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Table_Header * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Depreciation_Table_Header { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Workfile.java b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Workfile.java index 9c21ef06ef..cf658d0eab 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Workfile.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Depreciation_Workfile.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Depreciation_Workfile * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Depreciation_Workfile { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_FundingMode.java b/org.adempiere.base/src/org/compiere/model/I_A_FundingMode.java index 935e73491c..f3529ac579 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_FundingMode.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_FundingMode.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_FundingMode * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_FundingMode { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_FundingMode_Acct.java b/org.adempiere.base/src/org/compiere/model/I_A_FundingMode_Acct.java index 41471a5fcf..d6081c3a83 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_FundingMode_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_FundingMode_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_FundingMode_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_FundingMode_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_Registration.java b/org.adempiere.base/src/org/compiere/model/I_A_Registration.java index 5e41ad5cd7..9dc4f391cb 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_Registration.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_Registration.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_Registration * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_Registration { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_RegistrationAttribute.java b/org.adempiere.base/src/org/compiere/model/I_A_RegistrationAttribute.java index 84f8953f0f..28ff6a6ed8 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_RegistrationAttribute.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_RegistrationAttribute.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_RegistrationAttribute * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_RegistrationAttribute { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_RegistrationProduct.java b/org.adempiere.base/src/org/compiere/model/I_A_RegistrationProduct.java index fdb4990e53..8c9ee0dc3b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_RegistrationProduct.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_RegistrationProduct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_RegistrationProduct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_RegistrationProduct { diff --git a/org.adempiere.base/src/org/compiere/model/I_A_RegistrationValue.java b/org.adempiere.base/src/org/compiere/model/I_A_RegistrationValue.java index ca03ab87fe..f483a66f9c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_A_RegistrationValue.java +++ b/org.adempiere.base/src/org/compiere/model/I_A_RegistrationValue.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for A_RegistrationValue * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_A_RegistrationValue { diff --git a/org.adempiere.base/src/org/compiere/model/I_B_Bid.java b/org.adempiere.base/src/org/compiere/model/I_B_Bid.java index e3f376207a..bc18db3002 100644 --- a/org.adempiere.base/src/org/compiere/model/I_B_Bid.java +++ b/org.adempiere.base/src/org/compiere/model/I_B_Bid.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for B_Bid * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_B_Bid { diff --git a/org.adempiere.base/src/org/compiere/model/I_B_BidComment.java b/org.adempiere.base/src/org/compiere/model/I_B_BidComment.java index 83abb27f4b..7b8198edb7 100644 --- a/org.adempiere.base/src/org/compiere/model/I_B_BidComment.java +++ b/org.adempiere.base/src/org/compiere/model/I_B_BidComment.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for B_BidComment * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_B_BidComment { diff --git a/org.adempiere.base/src/org/compiere/model/I_B_Buyer.java b/org.adempiere.base/src/org/compiere/model/I_B_Buyer.java index 2a603a451c..0bd699d5c6 100644 --- a/org.adempiere.base/src/org/compiere/model/I_B_Buyer.java +++ b/org.adempiere.base/src/org/compiere/model/I_B_Buyer.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for B_Buyer * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_B_Buyer { diff --git a/org.adempiere.base/src/org/compiere/model/I_B_BuyerFunds.java b/org.adempiere.base/src/org/compiere/model/I_B_BuyerFunds.java index 3ea7bfefa7..9d1f9b7b96 100644 --- a/org.adempiere.base/src/org/compiere/model/I_B_BuyerFunds.java +++ b/org.adempiere.base/src/org/compiere/model/I_B_BuyerFunds.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for B_BuyerFunds * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_B_BuyerFunds { diff --git a/org.adempiere.base/src/org/compiere/model/I_B_Offer.java b/org.adempiere.base/src/org/compiere/model/I_B_Offer.java index fd8b1837fe..e76eafbf88 100644 --- a/org.adempiere.base/src/org/compiere/model/I_B_Offer.java +++ b/org.adempiere.base/src/org/compiere/model/I_B_Offer.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for B_Offer * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_B_Offer { diff --git a/org.adempiere.base/src/org/compiere/model/I_B_Seller.java b/org.adempiere.base/src/org/compiere/model/I_B_Seller.java index 2e7427e416..0b9b1809ef 100644 --- a/org.adempiere.base/src/org/compiere/model/I_B_Seller.java +++ b/org.adempiere.base/src/org/compiere/model/I_B_Seller.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for B_Seller * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_B_Seller { diff --git a/org.adempiere.base/src/org/compiere/model/I_B_SellerFunds.java b/org.adempiere.base/src/org/compiere/model/I_B_SellerFunds.java index 755fb036f6..4e8874676f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_B_SellerFunds.java +++ b/org.adempiere.base/src/org/compiere/model/I_B_SellerFunds.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for B_SellerFunds * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_B_SellerFunds { diff --git a/org.adempiere.base/src/org/compiere/model/I_B_Topic.java b/org.adempiere.base/src/org/compiere/model/I_B_Topic.java index 55367c7ff0..0e4c77d1ad 100644 --- a/org.adempiere.base/src/org/compiere/model/I_B_Topic.java +++ b/org.adempiere.base/src/org/compiere/model/I_B_Topic.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for B_Topic * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_B_Topic { diff --git a/org.adempiere.base/src/org/compiere/model/I_B_TopicCategory.java b/org.adempiere.base/src/org/compiere/model/I_B_TopicCategory.java index e2d18750d0..004be3615d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_B_TopicCategory.java +++ b/org.adempiere.base/src/org/compiere/model/I_B_TopicCategory.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for B_TopicCategory * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_B_TopicCategory { diff --git a/org.adempiere.base/src/org/compiere/model/I_B_TopicType.java b/org.adempiere.base/src/org/compiere/model/I_B_TopicType.java index 1c999cd2c2..2b2973c217 100644 --- a/org.adempiere.base/src/org/compiere/model/I_B_TopicType.java +++ b/org.adempiere.base/src/org/compiere/model/I_B_TopicType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for B_TopicType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_B_TopicType { diff --git a/org.adempiere.base/src/org/compiere/model/I_CM_Chat.java b/org.adempiere.base/src/org/compiere/model/I_CM_Chat.java index 67fa87b9a6..6cd73e802c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_CM_Chat.java +++ b/org.adempiere.base/src/org/compiere/model/I_CM_Chat.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for CM_Chat * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_CM_Chat { diff --git a/org.adempiere.base/src/org/compiere/model/I_CM_ChatEntry.java b/org.adempiere.base/src/org/compiere/model/I_CM_ChatEntry.java index 59ce3b6aab..5f17b2bcab 100644 --- a/org.adempiere.base/src/org/compiere/model/I_CM_ChatEntry.java +++ b/org.adempiere.base/src/org/compiere/model/I_CM_ChatEntry.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for CM_ChatEntry * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_CM_ChatEntry { diff --git a/org.adempiere.base/src/org/compiere/model/I_CM_ChatType.java b/org.adempiere.base/src/org/compiere/model/I_CM_ChatType.java index 5ec2398f22..9cff9be688 100644 --- a/org.adempiere.base/src/org/compiere/model/I_CM_ChatType.java +++ b/org.adempiere.base/src/org/compiere/model/I_CM_ChatType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for CM_ChatType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_CM_ChatType { diff --git a/org.adempiere.base/src/org/compiere/model/I_CM_ChatTypeUpdate.java b/org.adempiere.base/src/org/compiere/model/I_CM_ChatTypeUpdate.java index f996db5195..873873374f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_CM_ChatTypeUpdate.java +++ b/org.adempiere.base/src/org/compiere/model/I_CM_ChatTypeUpdate.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for CM_ChatTypeUpdate * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_CM_ChatTypeUpdate { diff --git a/org.adempiere.base/src/org/compiere/model/I_CM_ChatUpdate.java b/org.adempiere.base/src/org/compiere/model/I_CM_ChatUpdate.java index 55a6aca46a..84388f866d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_CM_ChatUpdate.java +++ b/org.adempiere.base/src/org/compiere/model/I_CM_ChatUpdate.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for CM_ChatUpdate * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_CM_ChatUpdate { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_1099Box.java b/org.adempiere.base/src/org/compiere/model/I_C_1099Box.java index bf0dd69512..341975f1c4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_1099Box.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_1099Box.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_1099Box * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_1099Box { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_AcctProcessor.java b/org.adempiere.base/src/org/compiere/model/I_C_AcctProcessor.java index 909bec8dbe..1f5b802de4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_AcctProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_AcctProcessor.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_AcctProcessor * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_AcctProcessor { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_AcctProcessorLog.java b/org.adempiere.base/src/org/compiere/model/I_C_AcctProcessorLog.java index 24b1ca6189..8343bc7350 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_AcctProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_AcctProcessorLog.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_AcctProcessorLog * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_AcctProcessorLog { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_AcctSchema.java b/org.adempiere.base/src/org/compiere/model/I_C_AcctSchema.java index 17324a26b0..3d8817bee1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_AcctSchema.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_AcctSchema.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_AcctSchema * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_AcctSchema { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_AcctSchema_Default.java b/org.adempiere.base/src/org/compiere/model/I_C_AcctSchema_Default.java index 7fc6c7c936..3b5a54faef 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_AcctSchema_Default.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_AcctSchema_Default.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_AcctSchema_Default * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_AcctSchema_Default { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_AcctSchema_Element.java b/org.adempiere.base/src/org/compiere/model/I_C_AcctSchema_Element.java index 2f0f8cb0e1..f9d8229cf6 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_AcctSchema_Element.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_AcctSchema_Element.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_AcctSchema_Element * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_AcctSchema_Element { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_AcctSchema_GL.java b/org.adempiere.base/src/org/compiere/model/I_C_AcctSchema_GL.java index 85247ec41d..4d7f59c45c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_AcctSchema_GL.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_AcctSchema_GL.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_AcctSchema_GL * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_AcctSchema_GL { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Activity.java b/org.adempiere.base/src/org/compiere/model/I_C_Activity.java index afda04a068..1ca8785dda 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Activity.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Activity.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Activity * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Activity { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_AddressTransaction.java b/org.adempiere.base/src/org/compiere/model/I_C_AddressTransaction.java index fb90102b52..ea8a3fba1b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_AddressTransaction.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_AddressTransaction.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_AddressTransaction * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_AddressTransaction { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_AddressValidation.java b/org.adempiere.base/src/org/compiere/model/I_C_AddressValidation.java index e4e2ca393e..88f695e8c1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_AddressValidation.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_AddressValidation.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_AddressValidation * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_AddressValidation { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_AddressValidationCfg.java b/org.adempiere.base/src/org/compiere/model/I_C_AddressValidationCfg.java index 7d3c759f04..3641c52a92 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_AddressValidationCfg.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_AddressValidationCfg.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_AddressValidationCfg * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_AddressValidationCfg { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_AllocationHdr.java b/org.adempiere.base/src/org/compiere/model/I_C_AllocationHdr.java index 184f7366ff..98886bc5d9 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_AllocationHdr.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_AllocationHdr.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_AllocationHdr * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_AllocationHdr { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_AllocationLine.java b/org.adempiere.base/src/org/compiere/model/I_C_AllocationLine.java index b1c2174475..9009646634 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_AllocationLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_AllocationLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_AllocationLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_AllocationLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BP_BankAccount.java b/org.adempiere.base/src/org/compiere/model/I_C_BP_BankAccount.java index e9ce6b3ffa..09dcccfae5 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BP_BankAccount.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BP_BankAccount.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_BankAccount * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BP_BankAccount { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BP_Customer_Acct.java b/org.adempiere.base/src/org/compiere/model/I_C_BP_Customer_Acct.java index e4a1d58c92..00c635a914 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BP_Customer_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BP_Customer_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_Customer_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BP_Customer_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BP_EDI.java b/org.adempiere.base/src/org/compiere/model/I_C_BP_EDI.java index 2ca49bb1d9..f288548e10 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BP_EDI.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BP_EDI.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_EDI * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BP_EDI { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BP_Employee_Acct.java b/org.adempiere.base/src/org/compiere/model/I_C_BP_Employee_Acct.java index 4266c5bd36..b72c470fd5 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BP_Employee_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BP_Employee_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_Employee_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BP_Employee_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BP_Group.java b/org.adempiere.base/src/org/compiere/model/I_C_BP_Group.java index ebc1f24a90..b478b0a7ea 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BP_Group.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BP_Group.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_Group * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BP_Group { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BP_Group_Acct.java b/org.adempiere.base/src/org/compiere/model/I_C_BP_Group_Acct.java index c1ba644c04..a6a997f416 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BP_Group_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BP_Group_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_Group_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BP_Group_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BP_Relation.java b/org.adempiere.base/src/org/compiere/model/I_C_BP_Relation.java index a1f7031a3a..5525d7da9e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BP_Relation.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BP_Relation.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_Relation * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BP_Relation { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BP_ShippingAcct.java b/org.adempiere.base/src/org/compiere/model/I_C_BP_ShippingAcct.java index 80c0d45d07..2d8f2f4b08 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BP_ShippingAcct.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BP_ShippingAcct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_ShippingAcct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BP_ShippingAcct { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BP_Vendor_Acct.java b/org.adempiere.base/src/org/compiere/model/I_C_BP_Vendor_Acct.java index dd9b19f107..6e00e0723b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BP_Vendor_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BP_Vendor_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_Vendor_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BP_Vendor_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BP_Withholding.java b/org.adempiere.base/src/org/compiere/model/I_C_BP_Withholding.java index 975ef18b1e..d6b13f3ae6 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BP_Withholding.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BP_Withholding.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BP_Withholding * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BP_Withholding { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BPartner.java b/org.adempiere.base/src/org/compiere/model/I_C_BPartner.java index 91938d258e..cd12d3f448 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BPartner.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BPartner.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BPartner * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BPartner { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BPartner_Location.java b/org.adempiere.base/src/org/compiere/model/I_C_BPartner_Location.java index 3d015faa87..c97d033b6b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BPartner_Location.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BPartner_Location.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BPartner_Location * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BPartner_Location { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BPartner_Product.java b/org.adempiere.base/src/org/compiere/model/I_C_BPartner_Product.java index 026435b12c..6c5595dea2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BPartner_Product.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BPartner_Product.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BPartner_Product * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BPartner_Product { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Bank.java b/org.adempiere.base/src/org/compiere/model/I_C_Bank.java index 95935e9c96..d225d24daf 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Bank.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Bank.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Bank * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Bank { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BankAccount.java b/org.adempiere.base/src/org/compiere/model/I_C_BankAccount.java index 799ae0e0be..c3a8706043 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BankAccount.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BankAccount.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BankAccount * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BankAccount { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BankAccountDoc.java b/org.adempiere.base/src/org/compiere/model/I_C_BankAccountDoc.java index de717853f2..74f637b6a4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BankAccountDoc.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BankAccountDoc.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BankAccountDoc * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BankAccountDoc { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BankAccount_Acct.java b/org.adempiere.base/src/org/compiere/model/I_C_BankAccount_Acct.java index 727b821e99..b8544bd244 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BankAccount_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BankAccount_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BankAccount_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BankAccount_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BankAccount_Processor.java b/org.adempiere.base/src/org/compiere/model/I_C_BankAccount_Processor.java index f01efea75d..e800f6c478 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BankAccount_Processor.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BankAccount_Processor.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BankAccount_Processor * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BankAccount_Processor { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BankStatement.java b/org.adempiere.base/src/org/compiere/model/I_C_BankStatement.java index cd6276ccf0..ad6394bb4c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BankStatement.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BankStatement.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BankStatement * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BankStatement { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BankStatementLine.java b/org.adempiere.base/src/org/compiere/model/I_C_BankStatementLine.java index 2adc583f27..41e9ad4008 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BankStatementLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BankStatementLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BankStatementLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BankStatementLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BankStatementLoader.java b/org.adempiere.base/src/org/compiere/model/I_C_BankStatementLoader.java index 8b7f56d824..61606bddfe 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BankStatementLoader.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BankStatementLoader.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BankStatementLoader * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BankStatementLoader { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BankStatementMatcher.java b/org.adempiere.base/src/org/compiere/model/I_C_BankStatementMatcher.java index ee459aadd2..26c261c69d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BankStatementMatcher.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BankStatementMatcher.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BankStatementMatcher * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BankStatementMatcher { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_BankTransfer.java b/org.adempiere.base/src/org/compiere/model/I_C_BankTransfer.java index f0ee4bca26..e897711f0b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_BankTransfer.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_BankTransfer.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_BankTransfer * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_BankTransfer { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Calendar.java b/org.adempiere.base/src/org/compiere/model/I_C_Calendar.java index 93db7c55a7..399f38b60a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Calendar.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Calendar.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Calendar * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Calendar { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Campaign.java b/org.adempiere.base/src/org/compiere/model/I_C_Campaign.java index 3f85c7fc7e..835abeabbd 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Campaign.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Campaign.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Campaign * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Campaign { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Cash.java b/org.adempiere.base/src/org/compiere/model/I_C_Cash.java index 267c2c6393..708868b711 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Cash.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Cash.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Cash * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Cash { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_CashBook.java b/org.adempiere.base/src/org/compiere/model/I_C_CashBook.java index 669a0e7e52..f6a8bd8901 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_CashBook.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_CashBook.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_CashBook * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_CashBook { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_CashBook_Acct.java b/org.adempiere.base/src/org/compiere/model/I_C_CashBook_Acct.java index b3dd0c1c9c..05e5ca69ff 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_CashBook_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_CashBook_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_CashBook_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_CashBook_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_CashLine.java b/org.adempiere.base/src/org/compiere/model/I_C_CashLine.java index 2c89c7665a..aa61271906 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_CashLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_CashLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_CashLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_CashLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_CashPlan.java b/org.adempiere.base/src/org/compiere/model/I_C_CashPlan.java index a77fcdbcc8..03660afe5d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_CashPlan.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_CashPlan.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_CashPlan * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_CashPlan { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_CashPlanLine.java b/org.adempiere.base/src/org/compiere/model/I_C_CashPlanLine.java index 605d28cfc0..49af035dd0 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_CashPlanLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_CashPlanLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_CashPlanLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_CashPlanLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Channel.java b/org.adempiere.base/src/org/compiere/model/I_C_Channel.java index ae1f646ee4..60921e61ad 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Channel.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Channel.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Channel * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Channel { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Charge.java b/org.adempiere.base/src/org/compiere/model/I_C_Charge.java index 6510ee0f58..2f92920e5f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Charge.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Charge.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Charge * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Charge { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_ChargeType.java b/org.adempiere.base/src/org/compiere/model/I_C_ChargeType.java index 980cc639ce..f615ce304e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_ChargeType.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_ChargeType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_ChargeType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_ChargeType { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_ChargeType_DocType.java b/org.adempiere.base/src/org/compiere/model/I_C_ChargeType_DocType.java index c090b38904..61754275d8 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_ChargeType_DocType.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_ChargeType_DocType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_ChargeType_DocType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_ChargeType_DocType { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Charge_Acct.java b/org.adempiere.base/src/org/compiere/model/I_C_Charge_Acct.java index 9dfef18423..4cfc07f989 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Charge_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Charge_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Charge_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Charge_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_City.java b/org.adempiere.base/src/org/compiere/model/I_C_City.java index 1656a2321d..bd3cfc2f84 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_City.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_City.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_City * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_City { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Commission.java b/org.adempiere.base/src/org/compiere/model/I_C_Commission.java index d9386194ce..43ebd8d86f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Commission.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Commission.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Commission * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Commission { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_CommissionAmt.java b/org.adempiere.base/src/org/compiere/model/I_C_CommissionAmt.java index 920f933f4a..a661fa616e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_CommissionAmt.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_CommissionAmt.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_CommissionAmt * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_CommissionAmt { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_CommissionDetail.java b/org.adempiere.base/src/org/compiere/model/I_C_CommissionDetail.java index 53f137c603..3917eb73f8 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_CommissionDetail.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_CommissionDetail.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_CommissionDetail * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_CommissionDetail { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_CommissionLine.java b/org.adempiere.base/src/org/compiere/model/I_C_CommissionLine.java index 5226e68658..a0de38b6a1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_CommissionLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_CommissionLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_CommissionLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_CommissionLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_CommissionRun.java b/org.adempiere.base/src/org/compiere/model/I_C_CommissionRun.java index 7514b20ffa..551a05a623 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_CommissionRun.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_CommissionRun.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_CommissionRun * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_CommissionRun { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_ContactActivity.java b/org.adempiere.base/src/org/compiere/model/I_C_ContactActivity.java index da572dc380..3496c23f8f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_ContactActivity.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_ContactActivity.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_ContactActivity * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_ContactActivity { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_ConversionType.java b/org.adempiere.base/src/org/compiere/model/I_C_ConversionType.java index 19877d038f..c7949d6738 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_ConversionType.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_ConversionType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_ConversionType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_ConversionType { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Conversion_Rate.java b/org.adempiere.base/src/org/compiere/model/I_C_Conversion_Rate.java index 115bf36194..2826c4eb9d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Conversion_Rate.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Conversion_Rate.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Conversion_Rate * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Conversion_Rate { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Country.java b/org.adempiere.base/src/org/compiere/model/I_C_Country.java index 5a2fcb343f..a3123273f2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Country.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Country.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Country * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Country { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_CountryGroup.java b/org.adempiere.base/src/org/compiere/model/I_C_CountryGroup.java index 778ba3ba65..867fa976fb 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_CountryGroup.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_CountryGroup.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_CountryGroup * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_CountryGroup { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_CountryGroupCountry.java b/org.adempiere.base/src/org/compiere/model/I_C_CountryGroupCountry.java index fd6db75ed5..bd1a552fc0 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_CountryGroupCountry.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_CountryGroupCountry.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_CountryGroupCountry * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_CountryGroupCountry { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Currency.java b/org.adempiere.base/src/org/compiere/model/I_C_Currency.java index 7e1cddc66b..3d6cf26edf 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Currency.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Currency.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Currency * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Currency { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Currency_Acct.java b/org.adempiere.base/src/org/compiere/model/I_C_Currency_Acct.java index b550574ffe..5e8a183bbb 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Currency_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Currency_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Currency_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Currency_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Cycle.java b/org.adempiere.base/src/org/compiere/model/I_C_Cycle.java index e70ffcc28a..b9dd33c996 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Cycle.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Cycle.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Cycle * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Cycle { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_CyclePhase.java b/org.adempiere.base/src/org/compiere/model/I_C_CyclePhase.java index ea06b772b6..1df94b6ba7 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_CyclePhase.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_CyclePhase.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_CyclePhase * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_CyclePhase { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_CycleStep.java b/org.adempiere.base/src/org/compiere/model/I_C_CycleStep.java index bc19078e4a..b9827dc7bc 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_CycleStep.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_CycleStep.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_CycleStep * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_CycleStep { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_DepositBatch.java b/org.adempiere.base/src/org/compiere/model/I_C_DepositBatch.java index 990f98d1fa..a1206324e8 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_DepositBatch.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_DepositBatch.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_DepositBatch * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_DepositBatch { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_DepositBatchLine.java b/org.adempiere.base/src/org/compiere/model/I_C_DepositBatchLine.java index b1f93ee352..3ee0839fcf 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_DepositBatchLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_DepositBatchLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_DepositBatchLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_DepositBatchLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_DocBaseGroupLine.java b/org.adempiere.base/src/org/compiere/model/I_C_DocBaseGroupLine.java index a842b2cc22..a2e6f809df 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_DocBaseGroupLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_DocBaseGroupLine.java @@ -62,6 +62,21 @@ public interface I_C_DocBaseGroupLine */ public int getAD_Org_ID(); + /** Column name C_DocBaseGroup_ID */ + public static final String COLUMNNAME_C_DocBaseGroup_ID = "C_DocBaseGroup_ID"; + + /** Set Document Base Type Group. + * Group of Document Base Type for Period Control + */ + public void setC_DocBaseGroup_ID (int C_DocBaseGroup_ID); + + /** Get Document Base Type Group. + * Group of Document Base Type for Period Control + */ + public int getC_DocBaseGroup_ID(); + + public org.compiere.model.I_C_DocBaseGroup getC_DocBaseGroup() throws RuntimeException; + /** Column name C_DocBaseGroupLine_ID */ public static final String COLUMNNAME_C_DocBaseGroupLine_ID = "C_DocBaseGroupLine_ID"; @@ -84,21 +99,6 @@ public interface I_C_DocBaseGroupLine /** Get C_DocBaseGroupLine_UU */ public String getC_DocBaseGroupLine_UU(); - /** Column name C_DocBaseGroup_ID */ - public static final String COLUMNNAME_C_DocBaseGroup_ID = "C_DocBaseGroup_ID"; - - /** Set Document Base Type Group. - * Group of Document Base Type for Period Control - */ - public void setC_DocBaseGroup_ID (int C_DocBaseGroup_ID); - - /** Get Document Base Type Group. - * Group of Document Base Type for Period Control - */ - public int getC_DocBaseGroup_ID(); - - public org.compiere.model.I_C_DocBaseGroup getC_DocBaseGroup() throws RuntimeException; - /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; diff --git a/org.adempiere.base/src/org/compiere/model/I_C_DocType.java b/org.adempiere.base/src/org/compiere/model/I_C_DocType.java index 5ecbb13beb..adc84e60a1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_DocType.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_DocType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_DocType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_DocType { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_DocTypeCounter.java b/org.adempiere.base/src/org/compiere/model/I_C_DocTypeCounter.java index 0948f46814..4bdf3f0005 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_DocTypeCounter.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_DocTypeCounter.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_DocTypeCounter * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_DocTypeCounter { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Dunning.java b/org.adempiere.base/src/org/compiere/model/I_C_Dunning.java index 6918d44675..9b0c24950d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Dunning.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Dunning.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Dunning * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Dunning { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_DunningLevel.java b/org.adempiere.base/src/org/compiere/model/I_C_DunningLevel.java index 2950a28f07..75519ef884 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_DunningLevel.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_DunningLevel.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_DunningLevel * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_DunningLevel { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_DunningRun.java b/org.adempiere.base/src/org/compiere/model/I_C_DunningRun.java index e26c2560d5..af84614426 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_DunningRun.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_DunningRun.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_DunningRun * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_DunningRun { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_DunningRunEntry.java b/org.adempiere.base/src/org/compiere/model/I_C_DunningRunEntry.java index 85a539c475..d6334b0976 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_DunningRunEntry.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_DunningRunEntry.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_DunningRunEntry * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_DunningRunEntry { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_DunningRunLine.java b/org.adempiere.base/src/org/compiere/model/I_C_DunningRunLine.java index 3dc9cae164..292c5b096b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_DunningRunLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_DunningRunLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_DunningRunLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_DunningRunLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Element.java b/org.adempiere.base/src/org/compiere/model/I_C_Element.java index 5593d875ce..b5bb337f61 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Element.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Element.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Element * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Element { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_ElementValue.java b/org.adempiere.base/src/org/compiere/model/I_C_ElementValue.java index c54d71f24a..606614b4d3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_ElementValue.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_ElementValue.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_ElementValue * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_ElementValue { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Greeting.java b/org.adempiere.base/src/org/compiere/model/I_C_Greeting.java index 94c462aac9..3a4ddacd48 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Greeting.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Greeting.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Greeting * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Greeting { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_InterOrg_Acct.java b/org.adempiere.base/src/org/compiere/model/I_C_InterOrg_Acct.java index f3b3402972..bb44c12335 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_InterOrg_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_InterOrg_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_InterOrg_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_InterOrg_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Invoice.java b/org.adempiere.base/src/org/compiere/model/I_C_Invoice.java index 6cd00f9732..abc25ca5b3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Invoice.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Invoice.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Invoice * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Invoice { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_InvoiceBatch.java b/org.adempiere.base/src/org/compiere/model/I_C_InvoiceBatch.java index 2a046b5870..af160baf5e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_InvoiceBatch.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_InvoiceBatch.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_InvoiceBatch * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_InvoiceBatch { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_InvoiceBatchLine.java b/org.adempiere.base/src/org/compiere/model/I_C_InvoiceBatchLine.java index 66e2a184c0..9ef0c6a402 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_InvoiceBatchLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_InvoiceBatchLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_InvoiceBatchLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_InvoiceBatchLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_InvoiceLine.java b/org.adempiere.base/src/org/compiere/model/I_C_InvoiceLine.java index 221a5cb88d..55ff9cf2ae 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_InvoiceLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_InvoiceLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_InvoiceLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_InvoiceLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_InvoicePaySchedule.java b/org.adempiere.base/src/org/compiere/model/I_C_InvoicePaySchedule.java index e980220019..c75d73cba8 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_InvoicePaySchedule.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_InvoicePaySchedule.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_InvoicePaySchedule * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_InvoicePaySchedule { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_InvoiceSchedule.java b/org.adempiere.base/src/org/compiere/model/I_C_InvoiceSchedule.java index a72b475d94..e1f39a9870 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_InvoiceSchedule.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_InvoiceSchedule.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_InvoiceSchedule * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_InvoiceSchedule { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_InvoiceTax.java b/org.adempiere.base/src/org/compiere/model/I_C_InvoiceTax.java index 38c2b4e437..0d10e72127 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_InvoiceTax.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_InvoiceTax.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_InvoiceTax * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_InvoiceTax { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Job.java b/org.adempiere.base/src/org/compiere/model/I_C_Job.java index acb8be4a1e..0a250e6cce 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Job.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Job.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Job * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Job { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_JobAssignment.java b/org.adempiere.base/src/org/compiere/model/I_C_JobAssignment.java index 3c7a41aab4..20c88acd7c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_JobAssignment.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_JobAssignment.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_JobAssignment * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_JobAssignment { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_JobCategory.java b/org.adempiere.base/src/org/compiere/model/I_C_JobCategory.java index 5346a18fad..27c11f4e6b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_JobCategory.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_JobCategory.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_JobCategory * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_JobCategory { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_JobRemuneration.java b/org.adempiere.base/src/org/compiere/model/I_C_JobRemuneration.java index 3f5190c405..7d295e09a7 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_JobRemuneration.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_JobRemuneration.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_JobRemuneration * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_JobRemuneration { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_LandedCost.java b/org.adempiere.base/src/org/compiere/model/I_C_LandedCost.java index 5ab990e3b2..c785fc32f4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_LandedCost.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_LandedCost.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_LandedCost * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_LandedCost { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_LandedCostAllocation.java b/org.adempiere.base/src/org/compiere/model/I_C_LandedCostAllocation.java index cea38eeca1..a95b8f3d11 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_LandedCostAllocation.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_LandedCostAllocation.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_LandedCostAllocation * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_LandedCostAllocation { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Location.java b/org.adempiere.base/src/org/compiere/model/I_C_Location.java index 969662c275..3ee6dcd578 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Location.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Location.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Location * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Location { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_NonBusinessDay.java b/org.adempiere.base/src/org/compiere/model/I_C_NonBusinessDay.java index 0b7aab1b35..3711be2dd3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_NonBusinessDay.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_NonBusinessDay.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_NonBusinessDay * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_NonBusinessDay { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_OnlineTrxHistory.java b/org.adempiere.base/src/org/compiere/model/I_C_OnlineTrxHistory.java index 4f65910bca..3f7989e4a6 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_OnlineTrxHistory.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_OnlineTrxHistory.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_OnlineTrxHistory * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_OnlineTrxHistory { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Opportunity.java b/org.adempiere.base/src/org/compiere/model/I_C_Opportunity.java index f2c26f0a29..615922b60d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Opportunity.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Opportunity.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Opportunity * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Opportunity { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Order.java b/org.adempiere.base/src/org/compiere/model/I_C_Order.java index 361716112e..336761bd9c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Order.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Order.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Order * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Order { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_OrderLandedCost.java b/org.adempiere.base/src/org/compiere/model/I_C_OrderLandedCost.java index d37b792676..e70762a9d3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_OrderLandedCost.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_OrderLandedCost.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_OrderLandedCost * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_OrderLandedCost { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_OrderLandedCostAllocation.java b/org.adempiere.base/src/org/compiere/model/I_C_OrderLandedCostAllocation.java index bb85a91801..ba89072c80 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_OrderLandedCostAllocation.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_OrderLandedCostAllocation.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_OrderLandedCostAllocation * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_OrderLandedCostAllocation { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_OrderLine.java b/org.adempiere.base/src/org/compiere/model/I_C_OrderLine.java index 46f0d3d8ba..ba1cab826b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_OrderLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_OrderLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_OrderLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_OrderLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_OrderPaySchedule.java b/org.adempiere.base/src/org/compiere/model/I_C_OrderPaySchedule.java index e6ba2535ab..bfac5038b4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_OrderPaySchedule.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_OrderPaySchedule.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_OrderPaySchedule * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_OrderPaySchedule { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_OrderSource.java b/org.adempiere.base/src/org/compiere/model/I_C_OrderSource.java index abc47fadb9..903c2683b4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_OrderSource.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_OrderSource.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_OrderSource * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_OrderSource { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_OrderTax.java b/org.adempiere.base/src/org/compiere/model/I_C_OrderTax.java index 0709ff0f0d..43a8c106f6 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_OrderTax.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_OrderTax.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_OrderTax * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_OrderTax { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_OrgAssignment.java b/org.adempiere.base/src/org/compiere/model/I_C_OrgAssignment.java index a726e8b2f4..83574f6ddd 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_OrgAssignment.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_OrgAssignment.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_OrgAssignment * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_OrgAssignment { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_POS.java b/org.adempiere.base/src/org/compiere/model/I_C_POS.java index e11e344a4d..e35c5128bf 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_POS.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_POS.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_POS * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_POS { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_POSKey.java b/org.adempiere.base/src/org/compiere/model/I_C_POSKey.java index 77d24aca03..f9d0172852 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_POSKey.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_POSKey.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_POSKey * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_POSKey { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_POSKeyLayout.java b/org.adempiere.base/src/org/compiere/model/I_C_POSKeyLayout.java index c3f0cec7e2..1e575f2b4a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_POSKeyLayout.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_POSKeyLayout.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_POSKeyLayout * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_POSKeyLayout { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_POSPayment.java b/org.adempiere.base/src/org/compiere/model/I_C_POSPayment.java index 0a5fef0908..cf017b9fec 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_POSPayment.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_POSPayment.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_POSPayment * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_POSPayment { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_POSTenderType.java b/org.adempiere.base/src/org/compiere/model/I_C_POSTenderType.java index 49c264550f..507fb77001 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_POSTenderType.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_POSTenderType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_POSTenderType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_POSTenderType { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_PaySchedule.java b/org.adempiere.base/src/org/compiere/model/I_C_PaySchedule.java index f9a76a3080..86d1d31629 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_PaySchedule.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_PaySchedule.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaySchedule * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_PaySchedule { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_PaySelection.java b/org.adempiere.base/src/org/compiere/model/I_C_PaySelection.java index 65d89c0f95..b55c66a417 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_PaySelection.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_PaySelection.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaySelection * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_PaySelection { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_PaySelectionCheck.java b/org.adempiere.base/src/org/compiere/model/I_C_PaySelectionCheck.java index 33a5a5005a..d259c28355 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_PaySelectionCheck.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_PaySelectionCheck.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaySelectionCheck * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_PaySelectionCheck { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_PaySelectionLine.java b/org.adempiere.base/src/org/compiere/model/I_C_PaySelectionLine.java index 1c9b6b3b1f..5d06f6707f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_PaySelectionLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_PaySelectionLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaySelectionLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_PaySelectionLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Payment.java b/org.adempiere.base/src/org/compiere/model/I_C_Payment.java index 0e4885a871..d788040316 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Payment.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Payment.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Payment * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Payment { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_PaymentAllocate.java b/org.adempiere.base/src/org/compiere/model/I_C_PaymentAllocate.java index 5cb0b57900..a734272361 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_PaymentAllocate.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_PaymentAllocate.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaymentAllocate * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_PaymentAllocate { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_PaymentBatch.java b/org.adempiere.base/src/org/compiere/model/I_C_PaymentBatch.java index f4a2be5994..ce96016131 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_PaymentBatch.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_PaymentBatch.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaymentBatch * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_PaymentBatch { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_PaymentProcessor.java b/org.adempiere.base/src/org/compiere/model/I_C_PaymentProcessor.java index 6dc2aed1a2..25e955a0f9 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_PaymentProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_PaymentProcessor.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaymentProcessor * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_PaymentProcessor { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_PaymentTerm.java b/org.adempiere.base/src/org/compiere/model/I_C_PaymentTerm.java index b8b2dbcb13..074928f807 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_PaymentTerm.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_PaymentTerm.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaymentTerm * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_PaymentTerm { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_PaymentTransaction.java b/org.adempiere.base/src/org/compiere/model/I_C_PaymentTransaction.java index afe0b993fc..b21fccd429 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_PaymentTransaction.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_PaymentTransaction.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_PaymentTransaction * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_PaymentTransaction { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Period.java b/org.adempiere.base/src/org/compiere/model/I_C_Period.java index 6bd96a928d..d036eeffb5 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Period.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Period.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Period * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Period { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Phase.java b/org.adempiere.base/src/org/compiere/model/I_C_Phase.java index 5bad205083..79a03e4f95 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Phase.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Phase.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Phase * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Phase { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Project.java b/org.adempiere.base/src/org/compiere/model/I_C_Project.java index 8f9546d87b..6aadb99002 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Project.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Project.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Project * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Project { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_ProjectIssue.java b/org.adempiere.base/src/org/compiere/model/I_C_ProjectIssue.java index a7ee8d19a0..607c99a9fc 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_ProjectIssue.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_ProjectIssue.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_ProjectIssue * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_ProjectIssue { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_ProjectIssueMA.java b/org.adempiere.base/src/org/compiere/model/I_C_ProjectIssueMA.java index 1418b0c392..e127bcebd3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_ProjectIssueMA.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_ProjectIssueMA.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_ProjectIssueMA * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_ProjectIssueMA { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_ProjectLine.java b/org.adempiere.base/src/org/compiere/model/I_C_ProjectLine.java index bac0a1c017..e67971e98a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_ProjectLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_ProjectLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_ProjectLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_ProjectLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_ProjectPhase.java b/org.adempiere.base/src/org/compiere/model/I_C_ProjectPhase.java index bb6ffb2ba4..c3c108cfa4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_ProjectPhase.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_ProjectPhase.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_ProjectPhase * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_ProjectPhase { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_ProjectTask.java b/org.adempiere.base/src/org/compiere/model/I_C_ProjectTask.java index 343fcfd5a2..3722ab7eed 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_ProjectTask.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_ProjectTask.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_ProjectTask * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_ProjectTask { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_ProjectType.java b/org.adempiere.base/src/org/compiere/model/I_C_ProjectType.java index 0c48a192c2..f0030ecd7f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_ProjectType.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_ProjectType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_ProjectType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_ProjectType { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Project_Acct.java b/org.adempiere.base/src/org/compiere/model/I_C_Project_Acct.java index 88a7e60b49..5ba69012e9 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Project_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Project_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Project_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Project_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Recurring.java b/org.adempiere.base/src/org/compiere/model/I_C_Recurring.java index 0bfb9277fc..245a735752 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Recurring.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Recurring.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Recurring * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Recurring { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_RecurringGroup.java b/org.adempiere.base/src/org/compiere/model/I_C_RecurringGroup.java index e5edc685ac..cf0a45ef7e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_RecurringGroup.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_RecurringGroup.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_RecurringGroup * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_RecurringGroup { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Recurring_Run.java b/org.adempiere.base/src/org/compiere/model/I_C_Recurring_Run.java index 546a7277ec..75a7a30793 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Recurring_Run.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Recurring_Run.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Recurring_Run * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Recurring_Run { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Region.java b/org.adempiere.base/src/org/compiere/model/I_C_Region.java index dfd522df5c..d16db213f9 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Region.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Region.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Region * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Region { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Remuneration.java b/org.adempiere.base/src/org/compiere/model/I_C_Remuneration.java index d047e1b290..6aecdb25c9 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Remuneration.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Remuneration.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Remuneration * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Remuneration { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_RevenueRecog_Service.java b/org.adempiere.base/src/org/compiere/model/I_C_RevenueRecog_Service.java index a3615695c1..17e9e8c661 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_RevenueRecog_Service.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_RevenueRecog_Service.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_RevenueRecog_Service * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_RevenueRecog_Service { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_RevenueRecognition.java b/org.adempiere.base/src/org/compiere/model/I_C_RevenueRecognition.java index 438ab729b9..2c6aec3626 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_RevenueRecognition.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_RevenueRecognition.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_RevenueRecognition * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_RevenueRecognition { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_RevenueRecognition_Plan.java b/org.adempiere.base/src/org/compiere/model/I_C_RevenueRecognition_Plan.java index afb0556d07..56d1c5f99f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_RevenueRecognition_Plan.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_RevenueRecognition_Plan.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_RevenueRecognition_Plan * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_RevenueRecognition_Plan { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_RevenueRecognition_Run.java b/org.adempiere.base/src/org/compiere/model/I_C_RevenueRecognition_Run.java index 811992e713..518d387373 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_RevenueRecognition_Run.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_RevenueRecognition_Run.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_RevenueRecognition_Run * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_RevenueRecognition_Run { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_RfQ.java b/org.adempiere.base/src/org/compiere/model/I_C_RfQ.java index 2ac261bc9a..a2c1cd3771 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_RfQ.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_RfQ.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQ * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_RfQ { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_RfQLine.java b/org.adempiere.base/src/org/compiere/model/I_C_RfQLine.java index 73a10133ae..8bfb6ad3d9 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_RfQLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_RfQLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_RfQLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_RfQLineQty.java b/org.adempiere.base/src/org/compiere/model/I_C_RfQLineQty.java index 29ae8acc5d..ea73db1090 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_RfQLineQty.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_RfQLineQty.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQLineQty * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_RfQLineQty { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_RfQResponse.java b/org.adempiere.base/src/org/compiere/model/I_C_RfQResponse.java index af506d766b..cd222e2fea 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_RfQResponse.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_RfQResponse.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQResponse * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_RfQResponse { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_RfQResponseLine.java b/org.adempiere.base/src/org/compiere/model/I_C_RfQResponseLine.java index 4286c35b3b..309eee7086 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_RfQResponseLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_RfQResponseLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQResponseLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_RfQResponseLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_RfQResponseLineQty.java b/org.adempiere.base/src/org/compiere/model/I_C_RfQResponseLineQty.java index 7d9fc12bb3..0cb44f423c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_RfQResponseLineQty.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_RfQResponseLineQty.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQResponseLineQty * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_RfQResponseLineQty { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_RfQ_Topic.java b/org.adempiere.base/src/org/compiere/model/I_C_RfQ_Topic.java index 05b744b51c..6145ac8220 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_RfQ_Topic.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_RfQ_Topic.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQ_Topic * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_RfQ_Topic { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_RfQ_TopicSubscriber.java b/org.adempiere.base/src/org/compiere/model/I_C_RfQ_TopicSubscriber.java index 4f95951555..663c646c88 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_RfQ_TopicSubscriber.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_RfQ_TopicSubscriber.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQ_TopicSubscriber * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_RfQ_TopicSubscriber { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_RfQ_TopicSubscriberOnly.java b/org.adempiere.base/src/org/compiere/model/I_C_RfQ_TopicSubscriberOnly.java index dd5417858f..87814ac866 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_RfQ_TopicSubscriberOnly.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_RfQ_TopicSubscriberOnly.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_RfQ_TopicSubscriberOnly * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_RfQ_TopicSubscriberOnly { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_SalesRegion.java b/org.adempiere.base/src/org/compiere/model/I_C_SalesRegion.java index a61ddffdc0..c1a8f18354 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_SalesRegion.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_SalesRegion.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_SalesRegion * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_SalesRegion { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_SalesStage.java b/org.adempiere.base/src/org/compiere/model/I_C_SalesStage.java index 9e7e790837..3af3e07772 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_SalesStage.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_SalesStage.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_SalesStage * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_SalesStage { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_ServiceLevel.java b/org.adempiere.base/src/org/compiere/model/I_C_ServiceLevel.java index 20748dd202..809462ecda 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_ServiceLevel.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_ServiceLevel.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_ServiceLevel * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_ServiceLevel { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_ServiceLevelLine.java b/org.adempiere.base/src/org/compiere/model/I_C_ServiceLevelLine.java index cc68b6bf53..1b2a088b20 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_ServiceLevelLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_ServiceLevelLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_ServiceLevelLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_ServiceLevelLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_SubAcct.java b/org.adempiere.base/src/org/compiere/model/I_C_SubAcct.java index dd3752f716..2d5da15e72 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_SubAcct.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_SubAcct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_SubAcct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_SubAcct { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Subscription.java b/org.adempiere.base/src/org/compiere/model/I_C_Subscription.java index 00273e9d42..8d2e060185 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Subscription.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Subscription.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Subscription * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Subscription { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_SubscriptionType.java b/org.adempiere.base/src/org/compiere/model/I_C_SubscriptionType.java index 12b912f5f1..13df12c279 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_SubscriptionType.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_SubscriptionType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_SubscriptionType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_SubscriptionType { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Subscription_Delivery.java b/org.adempiere.base/src/org/compiere/model/I_C_Subscription_Delivery.java index f8820034c8..569b1a51c1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Subscription_Delivery.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Subscription_Delivery.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Subscription_Delivery * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Subscription_Delivery { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Task.java b/org.adempiere.base/src/org/compiere/model/I_C_Task.java index 69ba64efcd..824c781ddc 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Task.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Task.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Task * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Task { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Tax.java b/org.adempiere.base/src/org/compiere/model/I_C_Tax.java index bea2087c1b..d106c96ab8 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Tax.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Tax.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Tax * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Tax { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_TaxCategory.java b/org.adempiere.base/src/org/compiere/model/I_C_TaxCategory.java index bc56841e90..11389d2ba0 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_TaxCategory.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_TaxCategory.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_TaxCategory * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_TaxCategory { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_TaxDeclaration.java b/org.adempiere.base/src/org/compiere/model/I_C_TaxDeclaration.java index 463e7badc0..8a212265be 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_TaxDeclaration.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_TaxDeclaration.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_TaxDeclaration * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_TaxDeclaration { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_TaxDeclarationAcct.java b/org.adempiere.base/src/org/compiere/model/I_C_TaxDeclarationAcct.java index f0f0b25ff2..91c711dfa4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_TaxDeclarationAcct.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_TaxDeclarationAcct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_TaxDeclarationAcct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_TaxDeclarationAcct { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_TaxDeclarationLine.java b/org.adempiere.base/src/org/compiere/model/I_C_TaxDeclarationLine.java index 501cbeb1b0..98752eb221 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_TaxDeclarationLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_TaxDeclarationLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_TaxDeclarationLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_TaxDeclarationLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_TaxPostal.java b/org.adempiere.base/src/org/compiere/model/I_C_TaxPostal.java index 8a04e5b568..26686b0bfa 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_TaxPostal.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_TaxPostal.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_TaxPostal * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_TaxPostal { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_TaxProvider.java b/org.adempiere.base/src/org/compiere/model/I_C_TaxProvider.java index 1a2b8ef7fb..81a429ec8d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_TaxProvider.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_TaxProvider.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_TaxProvider * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_TaxProvider { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_TaxProviderCfg.java b/org.adempiere.base/src/org/compiere/model/I_C_TaxProviderCfg.java index b25e217e89..3ec3303106 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_TaxProviderCfg.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_TaxProviderCfg.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_TaxProviderCfg * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_TaxProviderCfg { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Tax_Acct.java b/org.adempiere.base/src/org/compiere/model/I_C_Tax_Acct.java index 2672071346..86a4af885a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Tax_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Tax_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Tax_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Tax_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_UOM.java b/org.adempiere.base/src/org/compiere/model/I_C_UOM.java index 8662e71422..df8b3562e4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_UOM.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_UOM.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_UOM * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_UOM { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_UOM_Conversion.java b/org.adempiere.base/src/org/compiere/model/I_C_UOM_Conversion.java index bf02af143d..b0155d527e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_UOM_Conversion.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_UOM_Conversion.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_UOM_Conversion * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_UOM_Conversion { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_UserRemuneration.java b/org.adempiere.base/src/org/compiere/model/I_C_UserRemuneration.java index 902da99259..353988106f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_UserRemuneration.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_UserRemuneration.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_UserRemuneration * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_UserRemuneration { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_ValidCombination.java b/org.adempiere.base/src/org/compiere/model/I_C_ValidCombination.java index 799304263e..9f5bec7f5c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_ValidCombination.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_ValidCombination.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_ValidCombination * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_ValidCombination { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Withholding.java b/org.adempiere.base/src/org/compiere/model/I_C_Withholding.java index 872ad4b778..41a7319c27 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Withholding.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Withholding.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Withholding * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Withholding { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Withholding_Acct.java b/org.adempiere.base/src/org/compiere/model/I_C_Withholding_Acct.java index c73f920ba4..555a1d299d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Withholding_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Withholding_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Withholding_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Withholding_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_C_Year.java b/org.adempiere.base/src/org/compiere/model/I_C_Year.java index 33503d5bed..77d1748563 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_Year.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_Year.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_Year * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_C_Year { diff --git a/org.adempiere.base/src/org/compiere/model/I_EXP_Format.java b/org.adempiere.base/src/org/compiere/model/I_EXP_Format.java index e2ad6b8675..ab93f651b4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_EXP_Format.java +++ b/org.adempiere.base/src/org/compiere/model/I_EXP_Format.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for EXP_Format * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_EXP_Format { diff --git a/org.adempiere.base/src/org/compiere/model/I_EXP_FormatLine.java b/org.adempiere.base/src/org/compiere/model/I_EXP_FormatLine.java index f0cdcd8702..df866e83d7 100644 --- a/org.adempiere.base/src/org/compiere/model/I_EXP_FormatLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_EXP_FormatLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for EXP_FormatLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_EXP_FormatLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_EXP_Processor.java b/org.adempiere.base/src/org/compiere/model/I_EXP_Processor.java index 0d9ca28cd5..78cd462baa 100644 --- a/org.adempiere.base/src/org/compiere/model/I_EXP_Processor.java +++ b/org.adempiere.base/src/org/compiere/model/I_EXP_Processor.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for EXP_Processor * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_EXP_Processor { diff --git a/org.adempiere.base/src/org/compiere/model/I_EXP_ProcessorParameter.java b/org.adempiere.base/src/org/compiere/model/I_EXP_ProcessorParameter.java index 65b85d5b15..8ac8da729c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_EXP_ProcessorParameter.java +++ b/org.adempiere.base/src/org/compiere/model/I_EXP_ProcessorParameter.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for EXP_ProcessorParameter * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_EXP_ProcessorParameter { diff --git a/org.adempiere.base/src/org/compiere/model/I_EXP_Processor_Type.java b/org.adempiere.base/src/org/compiere/model/I_EXP_Processor_Type.java index 608008693c..ae9bafcd04 100644 --- a/org.adempiere.base/src/org/compiere/model/I_EXP_Processor_Type.java +++ b/org.adempiere.base/src/org/compiere/model/I_EXP_Processor_Type.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for EXP_Processor_Type * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_EXP_Processor_Type { diff --git a/org.adempiere.base/src/org/compiere/model/I_Fact_Acct.java b/org.adempiere.base/src/org/compiere/model/I_Fact_Acct.java index dd106daa59..3058de1539 100644 --- a/org.adempiere.base/src/org/compiere/model/I_Fact_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_Fact_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for Fact_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_Fact_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_Fact_Acct_Summary.java b/org.adempiere.base/src/org/compiere/model/I_Fact_Acct_Summary.java index 34cce4e348..d72bc7d784 100644 --- a/org.adempiere.base/src/org/compiere/model/I_Fact_Acct_Summary.java +++ b/org.adempiere.base/src/org/compiere/model/I_Fact_Acct_Summary.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for Fact_Acct_Summary * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_Fact_Acct_Summary { diff --git a/org.adempiere.base/src/org/compiere/model/I_Fact_Reconciliation.java b/org.adempiere.base/src/org/compiere/model/I_Fact_Reconciliation.java index 93ad71e811..38dd2526aa 100644 --- a/org.adempiere.base/src/org/compiere/model/I_Fact_Reconciliation.java +++ b/org.adempiere.base/src/org/compiere/model/I_Fact_Reconciliation.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for Fact_Reconciliation * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_Fact_Reconciliation { diff --git a/org.adempiere.base/src/org/compiere/model/I_GL_Budget.java b/org.adempiere.base/src/org/compiere/model/I_GL_Budget.java index 6b90973795..520ee9e7f4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_GL_Budget.java +++ b/org.adempiere.base/src/org/compiere/model/I_GL_Budget.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for GL_Budget * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_GL_Budget { diff --git a/org.adempiere.base/src/org/compiere/model/I_GL_BudgetControl.java b/org.adempiere.base/src/org/compiere/model/I_GL_BudgetControl.java index 2675ea7bdc..3a81ae09aa 100644 --- a/org.adempiere.base/src/org/compiere/model/I_GL_BudgetControl.java +++ b/org.adempiere.base/src/org/compiere/model/I_GL_BudgetControl.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for GL_BudgetControl * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_GL_BudgetControl { diff --git a/org.adempiere.base/src/org/compiere/model/I_GL_Category.java b/org.adempiere.base/src/org/compiere/model/I_GL_Category.java index 06334e6cd9..88497be0ac 100644 --- a/org.adempiere.base/src/org/compiere/model/I_GL_Category.java +++ b/org.adempiere.base/src/org/compiere/model/I_GL_Category.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for GL_Category * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_GL_Category { diff --git a/org.adempiere.base/src/org/compiere/model/I_GL_Distribution.java b/org.adempiere.base/src/org/compiere/model/I_GL_Distribution.java index 7f47049d8b..256d28bfb6 100644 --- a/org.adempiere.base/src/org/compiere/model/I_GL_Distribution.java +++ b/org.adempiere.base/src/org/compiere/model/I_GL_Distribution.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for GL_Distribution * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_GL_Distribution { diff --git a/org.adempiere.base/src/org/compiere/model/I_GL_DistributionLine.java b/org.adempiere.base/src/org/compiere/model/I_GL_DistributionLine.java index ad5f709dfc..7c32eea92b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_GL_DistributionLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_GL_DistributionLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for GL_DistributionLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_GL_DistributionLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_GL_Fund.java b/org.adempiere.base/src/org/compiere/model/I_GL_Fund.java index e8cba68c95..600c30deb8 100644 --- a/org.adempiere.base/src/org/compiere/model/I_GL_Fund.java +++ b/org.adempiere.base/src/org/compiere/model/I_GL_Fund.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for GL_Fund * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_GL_Fund { diff --git a/org.adempiere.base/src/org/compiere/model/I_GL_FundRestriction.java b/org.adempiere.base/src/org/compiere/model/I_GL_FundRestriction.java index 09b114bca3..5f42dbc18e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_GL_FundRestriction.java +++ b/org.adempiere.base/src/org/compiere/model/I_GL_FundRestriction.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for GL_FundRestriction * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_GL_FundRestriction { diff --git a/org.adempiere.base/src/org/compiere/model/I_GL_Journal.java b/org.adempiere.base/src/org/compiere/model/I_GL_Journal.java index 06c99b21f6..3cf183a163 100644 --- a/org.adempiere.base/src/org/compiere/model/I_GL_Journal.java +++ b/org.adempiere.base/src/org/compiere/model/I_GL_Journal.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for GL_Journal * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_GL_Journal { diff --git a/org.adempiere.base/src/org/compiere/model/I_GL_JournalBatch.java b/org.adempiere.base/src/org/compiere/model/I_GL_JournalBatch.java index 9a406b232d..eccef16c39 100644 --- a/org.adempiere.base/src/org/compiere/model/I_GL_JournalBatch.java +++ b/org.adempiere.base/src/org/compiere/model/I_GL_JournalBatch.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for GL_JournalBatch * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_GL_JournalBatch { diff --git a/org.adempiere.base/src/org/compiere/model/I_GL_JournalGenerator.java b/org.adempiere.base/src/org/compiere/model/I_GL_JournalGenerator.java index 40e0b00fa2..4d17930405 100644 --- a/org.adempiere.base/src/org/compiere/model/I_GL_JournalGenerator.java +++ b/org.adempiere.base/src/org/compiere/model/I_GL_JournalGenerator.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for GL_JournalGenerator * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_GL_JournalGenerator { diff --git a/org.adempiere.base/src/org/compiere/model/I_GL_JournalGeneratorLine.java b/org.adempiere.base/src/org/compiere/model/I_GL_JournalGeneratorLine.java index 3ee36f78cb..6b61fb3e3e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_GL_JournalGeneratorLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_GL_JournalGeneratorLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for GL_JournalGeneratorLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_GL_JournalGeneratorLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_GL_JournalGeneratorSource.java b/org.adempiere.base/src/org/compiere/model/I_GL_JournalGeneratorSource.java index 1a5868810f..ae756db8e0 100644 --- a/org.adempiere.base/src/org/compiere/model/I_GL_JournalGeneratorSource.java +++ b/org.adempiere.base/src/org/compiere/model/I_GL_JournalGeneratorSource.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for GL_JournalGeneratorSource * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_GL_JournalGeneratorSource { diff --git a/org.adempiere.base/src/org/compiere/model/I_GL_JournalLine.java b/org.adempiere.base/src/org/compiere/model/I_GL_JournalLine.java index ae5b4b0aa5..faec8b17ab 100644 --- a/org.adempiere.base/src/org/compiere/model/I_GL_JournalLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_GL_JournalLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for GL_JournalLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_GL_JournalLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_IMP_Processor.java b/org.adempiere.base/src/org/compiere/model/I_IMP_Processor.java index 2915cb4957..5380045b79 100644 --- a/org.adempiere.base/src/org/compiere/model/I_IMP_Processor.java +++ b/org.adempiere.base/src/org/compiere/model/I_IMP_Processor.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for IMP_Processor * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_IMP_Processor { diff --git a/org.adempiere.base/src/org/compiere/model/I_IMP_ProcessorLog.java b/org.adempiere.base/src/org/compiere/model/I_IMP_ProcessorLog.java index c134e86383..fa66e49a72 100644 --- a/org.adempiere.base/src/org/compiere/model/I_IMP_ProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/I_IMP_ProcessorLog.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for IMP_ProcessorLog * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_IMP_ProcessorLog { diff --git a/org.adempiere.base/src/org/compiere/model/I_IMP_ProcessorParameter.java b/org.adempiere.base/src/org/compiere/model/I_IMP_ProcessorParameter.java index 20a5b8f5c9..bcdcf1bfe1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_IMP_ProcessorParameter.java +++ b/org.adempiere.base/src/org/compiere/model/I_IMP_ProcessorParameter.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for IMP_ProcessorParameter * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_IMP_ProcessorParameter { diff --git a/org.adempiere.base/src/org/compiere/model/I_IMP_Processor_Type.java b/org.adempiere.base/src/org/compiere/model/I_IMP_Processor_Type.java index 53d9a3dbac..53263f9840 100644 --- a/org.adempiere.base/src/org/compiere/model/I_IMP_Processor_Type.java +++ b/org.adempiere.base/src/org/compiere/model/I_IMP_Processor_Type.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for IMP_Processor_Type * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_IMP_Processor_Type { diff --git a/org.adempiere.base/src/org/compiere/model/I_I_Asset.java b/org.adempiere.base/src/org/compiere/model/I_I_Asset.java index c3f0a5920d..21cb6d172e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_Asset.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_Asset.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_Asset * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_I_Asset { diff --git a/org.adempiere.base/src/org/compiere/model/I_I_BPartner.java b/org.adempiere.base/src/org/compiere/model/I_I_BPartner.java index 49b756f297..1d921350fa 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_BPartner.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_BPartner.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_BPartner * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_I_BPartner { diff --git a/org.adempiere.base/src/org/compiere/model/I_I_BankStatement.java b/org.adempiere.base/src/org/compiere/model/I_I_BankStatement.java index a40df6f87f..61205b3757 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_BankStatement.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_BankStatement.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_BankStatement * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_I_BankStatement { diff --git a/org.adempiere.base/src/org/compiere/model/I_I_Conversion_Rate.java b/org.adempiere.base/src/org/compiere/model/I_I_Conversion_Rate.java index 0f63de4af3..a5e2422378 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_Conversion_Rate.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_Conversion_Rate.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_Conversion_Rate * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_I_Conversion_Rate { diff --git a/org.adempiere.base/src/org/compiere/model/I_I_ElementValue.java b/org.adempiere.base/src/org/compiere/model/I_I_ElementValue.java index ba657bb71b..c81f7f7eff 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_ElementValue.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_ElementValue.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_ElementValue * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_I_ElementValue { diff --git a/org.adempiere.base/src/org/compiere/model/I_I_FAJournal.java b/org.adempiere.base/src/org/compiere/model/I_I_FAJournal.java index 4b159d8238..ef94262dd8 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_FAJournal.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_FAJournal.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_FAJournal * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_I_FAJournal { diff --git a/org.adempiere.base/src/org/compiere/model/I_I_FixedAsset.java b/org.adempiere.base/src/org/compiere/model/I_I_FixedAsset.java index 1207fb9940..d17282c1a3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_FixedAsset.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_FixedAsset.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_FixedAsset * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_I_FixedAsset { diff --git a/org.adempiere.base/src/org/compiere/model/I_I_GLJournal.java b/org.adempiere.base/src/org/compiere/model/I_I_GLJournal.java index 0f0a3c255a..080361cfff 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_GLJournal.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_GLJournal.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_GLJournal * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_I_GLJournal { diff --git a/org.adempiere.base/src/org/compiere/model/I_I_InOutLineConfirm.java b/org.adempiere.base/src/org/compiere/model/I_I_InOutLineConfirm.java index 1fa2f68411..6981ad6e92 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_InOutLineConfirm.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_InOutLineConfirm.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_InOutLineConfirm * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_I_InOutLineConfirm { diff --git a/org.adempiere.base/src/org/compiere/model/I_I_Inventory.java b/org.adempiere.base/src/org/compiere/model/I_I_Inventory.java index 4bcf0bcaf9..40f5ff09ec 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_Inventory.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_Inventory.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_Inventory * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_I_Inventory { diff --git a/org.adempiere.base/src/org/compiere/model/I_I_Invoice.java b/org.adempiere.base/src/org/compiere/model/I_I_Invoice.java index f564ecd745..a86b69ff9d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_Invoice.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_Invoice.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_Invoice * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_I_Invoice { diff --git a/org.adempiere.base/src/org/compiere/model/I_I_Order.java b/org.adempiere.base/src/org/compiere/model/I_I_Order.java index 541e74c34f..e8e786e7ef 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_Order.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_Order.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_Order * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_I_Order { diff --git a/org.adempiere.base/src/org/compiere/model/I_I_Payment.java b/org.adempiere.base/src/org/compiere/model/I_I_Payment.java index dec42194d8..dad68f556e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_Payment.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_Payment.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_Payment * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_I_Payment { diff --git a/org.adempiere.base/src/org/compiere/model/I_I_PriceList.java b/org.adempiere.base/src/org/compiere/model/I_I_PriceList.java index 7fba65f0e7..478eafe977 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_PriceList.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_PriceList.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_PriceList * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_I_PriceList { diff --git a/org.adempiere.base/src/org/compiere/model/I_I_Product.java b/org.adempiere.base/src/org/compiere/model/I_I_Product.java index 55c2cccad7..0180cb640a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_Product.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_Product.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_Product * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_I_Product { diff --git a/org.adempiere.base/src/org/compiere/model/I_I_ReportLine.java b/org.adempiere.base/src/org/compiere/model/I_I_ReportLine.java index e5b5e44945..5740ba762a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_I_ReportLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_I_ReportLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_ReportLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_I_ReportLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_MFA_Method.java b/org.adempiere.base/src/org/compiere/model/I_MFA_Method.java index 3ad1f6fcf2..c1f11b6d31 100644 --- a/org.adempiere.base/src/org/compiere/model/I_MFA_Method.java +++ b/org.adempiere.base/src/org/compiere/model/I_MFA_Method.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for MFA_Method * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_MFA_Method { diff --git a/org.adempiere.base/src/org/compiere/model/I_MFA_RegisteredDevice.java b/org.adempiere.base/src/org/compiere/model/I_MFA_RegisteredDevice.java index 2cf76336b0..bff31dfd1f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_MFA_RegisteredDevice.java +++ b/org.adempiere.base/src/org/compiere/model/I_MFA_RegisteredDevice.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for MFA_RegisteredDevice * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_MFA_RegisteredDevice { diff --git a/org.adempiere.base/src/org/compiere/model/I_MFA_Registration.java b/org.adempiere.base/src/org/compiere/model/I_MFA_Registration.java index a2ba781e9f..8ddbd99859 100644 --- a/org.adempiere.base/src/org/compiere/model/I_MFA_Registration.java +++ b/org.adempiere.base/src/org/compiere/model/I_MFA_Registration.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for MFA_Registration * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_MFA_Registration { diff --git a/org.adempiere.base/src/org/compiere/model/I_MFA_Rule.java b/org.adempiere.base/src/org/compiere/model/I_MFA_Rule.java index 9e7b4b8cc9..480e7a644b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_MFA_Rule.java +++ b/org.adempiere.base/src/org/compiere/model/I_MFA_Rule.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for MFA_Rule * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_MFA_Rule { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Attribute.java b/org.adempiere.base/src/org/compiere/model/I_M_Attribute.java index d9ce5c1aed..53ada55b69 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Attribute.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Attribute.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Attribute * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Attribute { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_AttributeInstance.java b/org.adempiere.base/src/org/compiere/model/I_M_AttributeInstance.java index 3a72dc1f4a..67721f55c7 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_AttributeInstance.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_AttributeInstance.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_AttributeInstance * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_AttributeInstance { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_AttributeSearch.java b/org.adempiere.base/src/org/compiere/model/I_M_AttributeSearch.java index b44bb67ba1..2e77679745 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_AttributeSearch.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_AttributeSearch.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_AttributeSearch * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_AttributeSearch { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_AttributeSet.java b/org.adempiere.base/src/org/compiere/model/I_M_AttributeSet.java index e2bd37ab36..120a88018d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_AttributeSet.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_AttributeSet.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_AttributeSet * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_AttributeSet { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_AttributeSetExclude.java b/org.adempiere.base/src/org/compiere/model/I_M_AttributeSetExclude.java index d229f8697d..d5c44a6640 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_AttributeSetExclude.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_AttributeSetExclude.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_AttributeSetExclude * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_AttributeSetExclude { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_AttributeSetInstance.java b/org.adempiere.base/src/org/compiere/model/I_M_AttributeSetInstance.java index b06a9864a2..500882ca44 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_AttributeSetInstance.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_AttributeSetInstance.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_AttributeSetInstance * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_AttributeSetInstance { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_AttributeUse.java b/org.adempiere.base/src/org/compiere/model/I_M_AttributeUse.java index 62ca6a5ba8..13fd973c7f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_AttributeUse.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_AttributeUse.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_AttributeUse * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_AttributeUse { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_AttributeValue.java b/org.adempiere.base/src/org/compiere/model/I_M_AttributeValue.java index 079cc684ec..9f5ed4d565 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_AttributeValue.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_AttributeValue.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_AttributeValue * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_AttributeValue { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_BOM.java b/org.adempiere.base/src/org/compiere/model/I_M_BOM.java index f809137776..0c2a91d8f4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_BOM.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_BOM.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_BOM * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_BOM { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_BOMAlternative.java b/org.adempiere.base/src/org/compiere/model/I_M_BOMAlternative.java index ea63f0dbe5..2e9888a8fd 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_BOMAlternative.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_BOMAlternative.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_BOMAlternative * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_BOMAlternative { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_BOMProduct.java b/org.adempiere.base/src/org/compiere/model/I_M_BOMProduct.java index 99011611d2..5c35a9272e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_BOMProduct.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_BOMProduct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_BOMProduct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_BOMProduct { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_BP_Price.java b/org.adempiere.base/src/org/compiere/model/I_M_BP_Price.java index 79b7d791d4..53a9192d3d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_BP_Price.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_BP_Price.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_BP_Price * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_BP_Price { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ChangeNotice.java b/org.adempiere.base/src/org/compiere/model/I_M_ChangeNotice.java index fc277ca571..25da9b8098 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ChangeNotice.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ChangeNotice.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ChangeNotice * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ChangeNotice { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ChangeRequest.java b/org.adempiere.base/src/org/compiere/model/I_M_ChangeRequest.java index d26b4cb2b8..29892d59d2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ChangeRequest.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ChangeRequest.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ChangeRequest * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ChangeRequest { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_CommodityShipment.java b/org.adempiere.base/src/org/compiere/model/I_M_CommodityShipment.java index b726a457e5..ecfe9b724f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_CommodityShipment.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_CommodityShipment.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_CommodityShipment * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_CommodityShipment { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Cost.java b/org.adempiere.base/src/org/compiere/model/I_M_Cost.java index 09951e6ef8..bdb6c8ae04 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Cost.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Cost.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Cost * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Cost { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_CostDetail.java b/org.adempiere.base/src/org/compiere/model/I_M_CostDetail.java index 2fc0dc140c..e3c15a50e5 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_CostDetail.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_CostDetail.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_CostDetail * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_CostDetail { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_CostElement.java b/org.adempiere.base/src/org/compiere/model/I_M_CostElement.java index 6c5bc8057e..88573157c4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_CostElement.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_CostElement.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_CostElement * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_CostElement { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_CostHistory.java b/org.adempiere.base/src/org/compiere/model/I_M_CostHistory.java index 09920c13fa..8cf3afc928 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_CostHistory.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_CostHistory.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_CostHistory * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_CostHistory { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_CostQueue.java b/org.adempiere.base/src/org/compiere/model/I_M_CostQueue.java index 5e34454507..92b42e7bad 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_CostQueue.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_CostQueue.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_CostQueue * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_CostQueue { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_CostType.java b/org.adempiere.base/src/org/compiere/model/I_M_CostType.java index d414cbccef..fd82a02749 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_CostType.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_CostType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_CostType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_CostType { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Demand.java b/org.adempiere.base/src/org/compiere/model/I_M_Demand.java index dbdecbf1c9..26c4cb9c0d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Demand.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Demand.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Demand * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Demand { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_DemandDetail.java b/org.adempiere.base/src/org/compiere/model/I_M_DemandDetail.java index 9e5e8322f3..7473217c48 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_DemandDetail.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_DemandDetail.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_DemandDetail * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_DemandDetail { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_DemandLine.java b/org.adempiere.base/src/org/compiere/model/I_M_DemandLine.java index 67411dcccf..651f4131be 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_DemandLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_DemandLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_DemandLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_DemandLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_DiscountSchema.java b/org.adempiere.base/src/org/compiere/model/I_M_DiscountSchema.java index 648852f502..9bbb2566bb 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_DiscountSchema.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_DiscountSchema.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_DiscountSchema * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_DiscountSchema { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_DiscountSchemaBreak.java b/org.adempiere.base/src/org/compiere/model/I_M_DiscountSchemaBreak.java index 518f6604a2..81d610def5 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_DiscountSchemaBreak.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_DiscountSchemaBreak.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_DiscountSchemaBreak * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_DiscountSchemaBreak { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_DiscountSchemaLine.java b/org.adempiere.base/src/org/compiere/model/I_M_DiscountSchemaLine.java index 5b2ac01a77..1695b7cb19 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_DiscountSchemaLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_DiscountSchemaLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_DiscountSchemaLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_DiscountSchemaLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_DistributionList.java b/org.adempiere.base/src/org/compiere/model/I_M_DistributionList.java index b48286fc4e..28263bf9ba 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_DistributionList.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_DistributionList.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_DistributionList * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_DistributionList { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_DistributionListLine.java b/org.adempiere.base/src/org/compiere/model/I_M_DistributionListLine.java index 89dffe4bdc..085e30731f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_DistributionListLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_DistributionListLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_DistributionListLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_DistributionListLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_DistributionRun.java b/org.adempiere.base/src/org/compiere/model/I_M_DistributionRun.java index 047493b39c..1c058dc59f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_DistributionRun.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_DistributionRun.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_DistributionRun * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_DistributionRun { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_DistributionRunLine.java b/org.adempiere.base/src/org/compiere/model/I_M_DistributionRunLine.java index 4530764a30..24e4f751af 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_DistributionRunLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_DistributionRunLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_DistributionRunLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_DistributionRunLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Forecast.java b/org.adempiere.base/src/org/compiere/model/I_M_Forecast.java index dd5b4e5495..6862d1607e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Forecast.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Forecast.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Forecast * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Forecast { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ForecastLine.java b/org.adempiere.base/src/org/compiere/model/I_M_ForecastLine.java index 1f356382a2..45c0e9d46d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ForecastLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ForecastLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ForecastLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ForecastLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Freight.java b/org.adempiere.base/src/org/compiere/model/I_M_Freight.java index 4fff211a39..00c8b5fb29 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Freight.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Freight.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Freight * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Freight { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_FreightCategory.java b/org.adempiere.base/src/org/compiere/model/I_M_FreightCategory.java index de90e19896..a047594fad 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_FreightCategory.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_FreightCategory.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_FreightCategory * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_FreightCategory { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_InOut.java b/org.adempiere.base/src/org/compiere/model/I_M_InOut.java index 219248a949..be727a898f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_InOut.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_InOut.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_InOut * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_InOut { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_InOutConfirm.java b/org.adempiere.base/src/org/compiere/model/I_M_InOutConfirm.java index f85a532ea0..882dc000db 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_InOutConfirm.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_InOutConfirm.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_InOutConfirm * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_InOutConfirm { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_InOutLine.java b/org.adempiere.base/src/org/compiere/model/I_M_InOutLine.java index 6173bb7721..0f4cdda9e5 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_InOutLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_InOutLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_InOutLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_InOutLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_InOutLineConfirm.java b/org.adempiere.base/src/org/compiere/model/I_M_InOutLineConfirm.java index 84c3cc1c14..91fba14595 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_InOutLineConfirm.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_InOutLineConfirm.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_InOutLineConfirm * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_InOutLineConfirm { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_InOutLineMA.java b/org.adempiere.base/src/org/compiere/model/I_M_InOutLineMA.java index 88fcf47574..a768155f31 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_InOutLineMA.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_InOutLineMA.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_InOutLineMA * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_InOutLineMA { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Inventory.java b/org.adempiere.base/src/org/compiere/model/I_M_Inventory.java index d2a4f05b60..a2d59655f4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Inventory.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Inventory.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Inventory * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Inventory { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_InventoryLine.java b/org.adempiere.base/src/org/compiere/model/I_M_InventoryLine.java index 8c10526018..879567dbd2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_InventoryLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_InventoryLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_InventoryLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_InventoryLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_InventoryLineMA.java b/org.adempiere.base/src/org/compiere/model/I_M_InventoryLineMA.java index 78278fc143..b7a1ef3657 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_InventoryLineMA.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_InventoryLineMA.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_InventoryLineMA * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_InventoryLineMA { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Locator.java b/org.adempiere.base/src/org/compiere/model/I_M_Locator.java index baaf54d49b..f75ad01457 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Locator.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Locator.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Locator * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Locator { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_LocatorType.java b/org.adempiere.base/src/org/compiere/model/I_M_LocatorType.java index 8d0de9a9d9..46104a1660 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_LocatorType.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_LocatorType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_LocatorType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_LocatorType { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Lot.java b/org.adempiere.base/src/org/compiere/model/I_M_Lot.java index 903d3df3c6..c24d8ede2d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Lot.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Lot.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Lot * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Lot { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_LotCtl.java b/org.adempiere.base/src/org/compiere/model/I_M_LotCtl.java index b3d6dd86c6..ec99ee1e8f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_LotCtl.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_LotCtl.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_LotCtl * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_LotCtl { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_LotCtlExclude.java b/org.adempiere.base/src/org/compiere/model/I_M_LotCtlExclude.java index a51d1ad1f6..49fcd98003 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_LotCtlExclude.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_LotCtlExclude.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_LotCtlExclude * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_LotCtlExclude { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_MatchInv.java b/org.adempiere.base/src/org/compiere/model/I_M_MatchInv.java index 640e319cc5..0107f34802 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_MatchInv.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_MatchInv.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_MatchInv * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_MatchInv { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_MatchPO.java b/org.adempiere.base/src/org/compiere/model/I_M_MatchPO.java index e96a487609..7432a91a2c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_MatchPO.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_MatchPO.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_MatchPO * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_MatchPO { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Movement.java b/org.adempiere.base/src/org/compiere/model/I_M_Movement.java index 852b9e6df5..f7d3f459e3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Movement.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Movement.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Movement * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Movement { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_MovementConfirm.java b/org.adempiere.base/src/org/compiere/model/I_M_MovementConfirm.java index f98e483683..13532db589 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_MovementConfirm.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_MovementConfirm.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_MovementConfirm * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_MovementConfirm { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_MovementLine.java b/org.adempiere.base/src/org/compiere/model/I_M_MovementLine.java index 76ec655cf7..911e18dc67 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_MovementLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_MovementLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_MovementLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_MovementLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_MovementLineConfirm.java b/org.adempiere.base/src/org/compiere/model/I_M_MovementLineConfirm.java index cd7cdec30b..f7197573a5 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_MovementLineConfirm.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_MovementLineConfirm.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_MovementLineConfirm * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_MovementLineConfirm { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_MovementLineMA.java b/org.adempiere.base/src/org/compiere/model/I_M_MovementLineMA.java index d8d8de7d27..4b92f2e138 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_MovementLineMA.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_MovementLineMA.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_MovementLineMA * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_MovementLineMA { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_OperationResource.java b/org.adempiere.base/src/org/compiere/model/I_M_OperationResource.java index ec88656ad3..bd6f5c1e73 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_OperationResource.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_OperationResource.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_OperationResource * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_OperationResource { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Package.java b/org.adempiere.base/src/org/compiere/model/I_M_Package.java index 52ffa3e05e..c134bcd298 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Package.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Package.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Package * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Package { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_PackageLine.java b/org.adempiere.base/src/org/compiere/model/I_M_PackageLine.java index 52ec3e7a99..0f2ef7b3fd 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_PackageLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_PackageLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_PackageLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_PackageLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_PackageMPS.java b/org.adempiere.base/src/org/compiere/model/I_M_PackageMPS.java index 2995cb4356..30b1eaf602 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_PackageMPS.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_PackageMPS.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_PackageMPS * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_PackageMPS { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_PartType.java b/org.adempiere.base/src/org/compiere/model/I_M_PartType.java index c844cab194..cb7a82bf0d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_PartType.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_PartType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_PartType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_PartType { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_PerpetualInv.java b/org.adempiere.base/src/org/compiere/model/I_M_PerpetualInv.java index da6d7321ca..74abe40d2a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_PerpetualInv.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_PerpetualInv.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_PerpetualInv * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_PerpetualInv { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_PriceList.java b/org.adempiere.base/src/org/compiere/model/I_M_PriceList.java index b959aa68ea..90e5d5d69c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_PriceList.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_PriceList.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_PriceList * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_PriceList { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_PriceList_Version.java b/org.adempiere.base/src/org/compiere/model/I_M_PriceList_Version.java index 446c2cff78..bf009c68c3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_PriceList_Version.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_PriceList_Version.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_PriceList_Version * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_PriceList_Version { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Product.java b/org.adempiere.base/src/org/compiere/model/I_M_Product.java index b7ce956bc9..a992376277 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Product.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Product.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Product * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Product { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ProductDownload.java b/org.adempiere.base/src/org/compiere/model/I_M_ProductDownload.java index a0775a176c..52ecb649e0 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ProductDownload.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ProductDownload.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ProductDownload * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ProductDownload { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ProductOperation.java b/org.adempiere.base/src/org/compiere/model/I_M_ProductOperation.java index 108dfc5260..db2ba8b9eb 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ProductOperation.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ProductOperation.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ProductOperation * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ProductOperation { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ProductPrice.java b/org.adempiere.base/src/org/compiere/model/I_M_ProductPrice.java index 0f6379605c..fdbdca49fa 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ProductPrice.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ProductPrice.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ProductPrice * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ProductPrice { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ProductPriceVendorBreak.java b/org.adempiere.base/src/org/compiere/model/I_M_ProductPriceVendorBreak.java index 3ff40dee82..11dab2fdba 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ProductPriceVendorBreak.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ProductPriceVendorBreak.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ProductPriceVendorBreak * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ProductPriceVendorBreak { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Product_Acct.java b/org.adempiere.base/src/org/compiere/model/I_M_Product_Acct.java index 8f456c9bb7..a1dabbfd3c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Product_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Product_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Product_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Product_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Product_Category.java b/org.adempiere.base/src/org/compiere/model/I_M_Product_Category.java index 14e6dfeac4..07785a1f56 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Product_Category.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Product_Category.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Product_Category * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Product_Category { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Product_Category_Acct.java b/org.adempiere.base/src/org/compiere/model/I_M_Product_Category_Acct.java index 65fa8ed315..df0190c304 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Product_Category_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Product_Category_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Product_Category_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Product_Category_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Product_PO.java b/org.adempiere.base/src/org/compiere/model/I_M_Product_PO.java index 466df9b475..d5bf9326b1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Product_PO.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Product_PO.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Product_PO * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Product_PO { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Product_QualityTest.java b/org.adempiere.base/src/org/compiere/model/I_M_Product_QualityTest.java index 9d513a710d..702df005d2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Product_QualityTest.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Product_QualityTest.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Product_QualityTest * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Product_QualityTest { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Production.java b/org.adempiere.base/src/org/compiere/model/I_M_Production.java index cd8d045abb..ebd830a88d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Production.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Production.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Production * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Production { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ProductionLine.java b/org.adempiere.base/src/org/compiere/model/I_M_ProductionLine.java index 5f882bbd8a..78abe4b63d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ProductionLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ProductionLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ProductionLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ProductionLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ProductionLineMA.java b/org.adempiere.base/src/org/compiere/model/I_M_ProductionLineMA.java index 2d4e3397f8..bd62fde842 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ProductionLineMA.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ProductionLineMA.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ProductionLineMA * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ProductionLineMA { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ProductionPlan.java b/org.adempiere.base/src/org/compiere/model/I_M_ProductionPlan.java index 6f1a2a099d..c11e4aaf8a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ProductionPlan.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ProductionPlan.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ProductionPlan * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ProductionPlan { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Promotion.java b/org.adempiere.base/src/org/compiere/model/I_M_Promotion.java index ba2576a8f3..7366708bf7 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Promotion.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Promotion.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Promotion * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Promotion { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_PromotionDistribution.java b/org.adempiere.base/src/org/compiere/model/I_M_PromotionDistribution.java index a179f0a78e..23aa8e3254 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_PromotionDistribution.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_PromotionDistribution.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_PromotionDistribution * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_PromotionDistribution { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_PromotionGroup.java b/org.adempiere.base/src/org/compiere/model/I_M_PromotionGroup.java index 1aea018ea1..2c97bed6e5 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_PromotionGroup.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_PromotionGroup.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_PromotionGroup * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_PromotionGroup { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_PromotionGroupLine.java b/org.adempiere.base/src/org/compiere/model/I_M_PromotionGroupLine.java index 808b0452d3..31a386ff7d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_PromotionGroupLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_PromotionGroupLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_PromotionGroupLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_PromotionGroupLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_PromotionLine.java b/org.adempiere.base/src/org/compiere/model/I_M_PromotionLine.java index 31f01f4cb0..770e1f9b3b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_PromotionLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_PromotionLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_PromotionLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_PromotionLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_PromotionPreCondition.java b/org.adempiere.base/src/org/compiere/model/I_M_PromotionPreCondition.java index ce2bd7f563..9e551223ee 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_PromotionPreCondition.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_PromotionPreCondition.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_PromotionPreCondition * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_PromotionPreCondition { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_PromotionReward.java b/org.adempiere.base/src/org/compiere/model/I_M_PromotionReward.java index 57813b9800..1410a0cf06 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_PromotionReward.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_PromotionReward.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_PromotionReward * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_PromotionReward { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_QualityTest.java b/org.adempiere.base/src/org/compiere/model/I_M_QualityTest.java index c6b649178c..33898e8a40 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_QualityTest.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_QualityTest.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_QualityTest * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_QualityTest { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_QualityTestResult.java b/org.adempiere.base/src/org/compiere/model/I_M_QualityTestResult.java index f79d214fb0..d2972ebb24 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_QualityTestResult.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_QualityTestResult.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_QualityTestResult * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_QualityTestResult { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_RMA.java b/org.adempiere.base/src/org/compiere/model/I_M_RMA.java index a8f098d8d9..ff604abfb2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_RMA.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_RMA.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_RMA * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_RMA { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_RMALine.java b/org.adempiere.base/src/org/compiere/model/I_M_RMALine.java index e3a8640487..470b54474e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_RMALine.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_RMALine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_RMALine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_RMALine { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_RMATax.java b/org.adempiere.base/src/org/compiere/model/I_M_RMATax.java index fba58f32c1..004e7308cb 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_RMATax.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_RMATax.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_RMATax * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_RMATax { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_RMAType.java b/org.adempiere.base/src/org/compiere/model/I_M_RMAType.java index 03aa324a45..b9ad08e37a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_RMAType.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_RMAType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_RMAType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_RMAType { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_RelatedProduct.java b/org.adempiere.base/src/org/compiere/model/I_M_RelatedProduct.java index 2ff3073a70..e3974307c0 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_RelatedProduct.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_RelatedProduct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_RelatedProduct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_RelatedProduct { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Replenish.java b/org.adempiere.base/src/org/compiere/model/I_M_Replenish.java index 9d8d5a5d92..74d132ebe1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Replenish.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Replenish.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Replenish * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Replenish { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Requisition.java b/org.adempiere.base/src/org/compiere/model/I_M_Requisition.java index 40ca4a8691..b8d8e545b1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Requisition.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Requisition.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Requisition * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Requisition { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_RequisitionLine.java b/org.adempiere.base/src/org/compiere/model/I_M_RequisitionLine.java index 351f6751e3..d1a1a8cc67 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_RequisitionLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_RequisitionLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_RequisitionLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_RequisitionLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_SerNoCtl.java b/org.adempiere.base/src/org/compiere/model/I_M_SerNoCtl.java index 83eaf009fa..96b6fa3680 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_SerNoCtl.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_SerNoCtl.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_SerNoCtl * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_SerNoCtl { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_SerNoCtlExclude.java b/org.adempiere.base/src/org/compiere/model/I_M_SerNoCtlExclude.java index 30d6caea00..6fbcf2994e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_SerNoCtlExclude.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_SerNoCtlExclude.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_SerNoCtlExclude * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_SerNoCtlExclude { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Shipper.java b/org.adempiere.base/src/org/compiere/model/I_M_Shipper.java index 4b670789ec..f288edebf3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Shipper.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Shipper.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Shipper * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Shipper { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ShipperCfg.java b/org.adempiere.base/src/org/compiere/model/I_M_ShipperCfg.java index 088ac3876a..af083b6750 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ShipperCfg.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ShipperCfg.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ShipperCfg * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ShipperCfg { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ShipperLabels.java b/org.adempiere.base/src/org/compiere/model/I_M_ShipperLabels.java index 812ffe96ed..7e7f2cb5fd 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ShipperLabels.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ShipperLabels.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ShipperLabels * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ShipperLabels { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ShipperLabelsCfg.java b/org.adempiere.base/src/org/compiere/model/I_M_ShipperLabelsCfg.java index c1c555372e..060dd39d08 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ShipperLabelsCfg.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ShipperLabelsCfg.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ShipperLabelsCfg * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ShipperLabelsCfg { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ShipperPackaging.java b/org.adempiere.base/src/org/compiere/model/I_M_ShipperPackaging.java index dfcb5966cc..3a87249851 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ShipperPackaging.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ShipperPackaging.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ShipperPackaging * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ShipperPackaging { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ShipperPackagingCfg.java b/org.adempiere.base/src/org/compiere/model/I_M_ShipperPackagingCfg.java index 6898570a89..9e49e6bf12 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ShipperPackagingCfg.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ShipperPackagingCfg.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ShipperPackagingCfg * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ShipperPackagingCfg { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ShipperPickupTypes.java b/org.adempiere.base/src/org/compiere/model/I_M_ShipperPickupTypes.java index 913406001b..68f15c8816 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ShipperPickupTypes.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ShipperPickupTypes.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ShipperPickupTypes * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ShipperPickupTypes { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ShipperPickupTypesCfg.java b/org.adempiere.base/src/org/compiere/model/I_M_ShipperPickupTypesCfg.java index e549361749..c2b37cdeb3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ShipperPickupTypesCfg.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ShipperPickupTypesCfg.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ShipperPickupTypesCfg * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ShipperPickupTypesCfg { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ShippingProcessor.java b/org.adempiere.base/src/org/compiere/model/I_M_ShippingProcessor.java index 63e0a155b2..a8861387b6 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ShippingProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ShippingProcessor.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ShippingProcessor * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ShippingProcessor { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ShippingProcessorCfg.java b/org.adempiere.base/src/org/compiere/model/I_M_ShippingProcessorCfg.java index d22fcf738a..38f78d7ecd 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ShippingProcessorCfg.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ShippingProcessorCfg.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ShippingProcessorCfg * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ShippingProcessorCfg { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ShippingTransaction.java b/org.adempiere.base/src/org/compiere/model/I_M_ShippingTransaction.java index 00a36a6c14..61d22779ee 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ShippingTransaction.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ShippingTransaction.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ShippingTransaction * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ShippingTransaction { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_ShippingTransactionLine.java b/org.adempiere.base/src/org/compiere/model/I_M_ShippingTransactionLine.java index 34cef38eb3..2c7de2b890 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_ShippingTransactionLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_ShippingTransactionLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_ShippingTransactionLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_ShippingTransactionLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_StorageOnHand.java b/org.adempiere.base/src/org/compiere/model/I_M_StorageOnHand.java index 3e4afeab85..2597cc7ff9 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_StorageOnHand.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_StorageOnHand.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_StorageOnHand * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_StorageOnHand { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_StorageReservation.java b/org.adempiere.base/src/org/compiere/model/I_M_StorageReservation.java index 0494f5678f..f2f9386d12 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_StorageReservation.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_StorageReservation.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_StorageReservation * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_StorageReservation { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_StorageReservationLog.java b/org.adempiere.base/src/org/compiere/model/I_M_StorageReservationLog.java index 2db482f189..6f8b24f9fe 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_StorageReservationLog.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_StorageReservationLog.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_StorageReservationLog * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_StorageReservationLog { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Substitute.java b/org.adempiere.base/src/org/compiere/model/I_M_Substitute.java index 1d04558587..af9c78d92d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Substitute.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Substitute.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Substitute * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Substitute { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Transaction.java b/org.adempiere.base/src/org/compiere/model/I_M_Transaction.java index 3fcaee52db..08017f97f3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Transaction.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Transaction.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Transaction * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Transaction { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_TransactionAllocation.java b/org.adempiere.base/src/org/compiere/model/I_M_TransactionAllocation.java index c344e6bf36..1c40e1bcc2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_TransactionAllocation.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_TransactionAllocation.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_TransactionAllocation * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_TransactionAllocation { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Warehouse.java b/org.adempiere.base/src/org/compiere/model/I_M_Warehouse.java index ac1a90bf57..a37c317a33 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Warehouse.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Warehouse.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Warehouse * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Warehouse { diff --git a/org.adempiere.base/src/org/compiere/model/I_M_Warehouse_Acct.java b/org.adempiere.base/src/org/compiere/model/I_M_Warehouse_Acct.java index cc7a0b5092..402f954755 100644 --- a/org.adempiere.base/src/org/compiere/model/I_M_Warehouse_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/I_M_Warehouse_Acct.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for M_Warehouse_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_M_Warehouse_Acct { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_Achievement.java b/org.adempiere.base/src/org/compiere/model/I_PA_Achievement.java index 034ea7043d..4e9e95321f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_Achievement.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_Achievement.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_Achievement * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_Achievement { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_Benchmark.java b/org.adempiere.base/src/org/compiere/model/I_PA_Benchmark.java index 2b953f143c..318538ed65 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_Benchmark.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_Benchmark.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_Benchmark * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_Benchmark { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_BenchmarkData.java b/org.adempiere.base/src/org/compiere/model/I_PA_BenchmarkData.java index ce669630d1..1c4d09caad 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_BenchmarkData.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_BenchmarkData.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_BenchmarkData * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_BenchmarkData { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_ColorSchema.java b/org.adempiere.base/src/org/compiere/model/I_PA_ColorSchema.java index 69793d3920..74016254b9 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_ColorSchema.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_ColorSchema.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_ColorSchema * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_ColorSchema { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_DashboardContent.java b/org.adempiere.base/src/org/compiere/model/I_PA_DashboardContent.java index 335198618d..d684b213e1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_DashboardContent.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_DashboardContent.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_DashboardContent * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_DashboardContent { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_DashboardContent_Access.java b/org.adempiere.base/src/org/compiere/model/I_PA_DashboardContent_Access.java index 60c921e652..c95f47978d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_DashboardContent_Access.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_DashboardContent_Access.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_DashboardContent_Access * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_DashboardContent_Access { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_DashboardPreference.java b/org.adempiere.base/src/org/compiere/model/I_PA_DashboardPreference.java index eb51fe700c..ff79082df9 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_DashboardPreference.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_DashboardPreference.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_DashboardPreference * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_DashboardPreference { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_DocumentStatus.java b/org.adempiere.base/src/org/compiere/model/I_PA_DocumentStatus.java index 3e8a2b7bdf..6c293a3e62 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_DocumentStatus.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_DocumentStatus.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_DocumentStatus * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_DocumentStatus { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_DocumentStatusAccess.java b/org.adempiere.base/src/org/compiere/model/I_PA_DocumentStatusAccess.java index c7e38a402a..3945dbca5c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_DocumentStatusAccess.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_DocumentStatusAccess.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_DocumentStatusAccess * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_DocumentStatusAccess { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_Goal.java b/org.adempiere.base/src/org/compiere/model/I_PA_Goal.java index c3247c43ac..ac6e4bd5da 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_Goal.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_Goal.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_Goal * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_Goal { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_GoalRestriction.java b/org.adempiere.base/src/org/compiere/model/I_PA_GoalRestriction.java index bb7182f9bd..249d660c18 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_GoalRestriction.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_GoalRestriction.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_GoalRestriction * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_GoalRestriction { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_Hierarchy.java b/org.adempiere.base/src/org/compiere/model/I_PA_Hierarchy.java index abb21d86a8..4921f56532 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_Hierarchy.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_Hierarchy.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_Hierarchy * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_Hierarchy { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_Measure.java b/org.adempiere.base/src/org/compiere/model/I_PA_Measure.java index c3defcd84e..bda74ff903 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_Measure.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_Measure.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_Measure * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_Measure { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_MeasureCalc.java b/org.adempiere.base/src/org/compiere/model/I_PA_MeasureCalc.java index 96aa0d335a..a3f0d0ba6c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_MeasureCalc.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_MeasureCalc.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_MeasureCalc * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_MeasureCalc { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_Ratio.java b/org.adempiere.base/src/org/compiere/model/I_PA_Ratio.java index 88a4731348..9a0e5f5526 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_Ratio.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_Ratio.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_Ratio * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_Ratio { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_RatioElement.java b/org.adempiere.base/src/org/compiere/model/I_PA_RatioElement.java index 715392745a..43a4c3f352 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_RatioElement.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_RatioElement.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_RatioElement * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_RatioElement { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_Report.java b/org.adempiere.base/src/org/compiere/model/I_PA_Report.java index b8aca9d9ce..9202c74ed1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_Report.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_Report.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_Report * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_Report { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_ReportColumn.java b/org.adempiere.base/src/org/compiere/model/I_PA_ReportColumn.java index 46e7296cd2..822926d08a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_ReportColumn.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_ReportColumn.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_ReportColumn * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_ReportColumn { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_ReportColumnSet.java b/org.adempiere.base/src/org/compiere/model/I_PA_ReportColumnSet.java index 56c19352bc..15d23ce8c1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_ReportColumnSet.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_ReportColumnSet.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_ReportColumnSet * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_ReportColumnSet { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_ReportCube.java b/org.adempiere.base/src/org/compiere/model/I_PA_ReportCube.java index 3fdd05086c..b674e3c2c4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_ReportCube.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_ReportCube.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_ReportCube * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_ReportCube { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_ReportLine.java b/org.adempiere.base/src/org/compiere/model/I_PA_ReportLine.java index 8df3371831..9911de8885 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_ReportLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_ReportLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_ReportLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_ReportLine { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_ReportLineSet.java b/org.adempiere.base/src/org/compiere/model/I_PA_ReportLineSet.java index 09b7816013..0c0e54cf99 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_ReportLineSet.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_ReportLineSet.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_ReportLineSet * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_ReportLineSet { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_ReportSource.java b/org.adempiere.base/src/org/compiere/model/I_PA_ReportSource.java index 51ee5412cb..9e8f50145f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_ReportSource.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_ReportSource.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_ReportSource * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_ReportSource { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_SLA_Criteria.java b/org.adempiere.base/src/org/compiere/model/I_PA_SLA_Criteria.java index 083b4b6002..32ad4aadb6 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_SLA_Criteria.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_SLA_Criteria.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_SLA_Criteria * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_SLA_Criteria { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_SLA_Goal.java b/org.adempiere.base/src/org/compiere/model/I_PA_SLA_Goal.java index 502dbd285e..102e41bfa2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_SLA_Goal.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_SLA_Goal.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_SLA_Goal * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_SLA_Goal { diff --git a/org.adempiere.base/src/org/compiere/model/I_PA_SLA_Measure.java b/org.adempiere.base/src/org/compiere/model/I_PA_SLA_Measure.java index e2767551af..770e09202a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_PA_SLA_Measure.java +++ b/org.adempiere.base/src/org/compiere/model/I_PA_SLA_Measure.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PA_SLA_Measure * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_PA_SLA_Measure { diff --git a/org.adempiere.base/src/org/compiere/model/I_RV_BPartner.java b/org.adempiere.base/src/org/compiere/model/I_RV_BPartner.java index 0601f7db01..1b362124f3 100644 --- a/org.adempiere.base/src/org/compiere/model/I_RV_BPartner.java +++ b/org.adempiere.base/src/org/compiere/model/I_RV_BPartner.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for RV_BPartner * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_RV_BPartner { diff --git a/org.adempiere.base/src/org/compiere/model/I_RV_WarehousePrice.java b/org.adempiere.base/src/org/compiere/model/I_RV_WarehousePrice.java index 3e6a15a599..48360bdc2d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_RV_WarehousePrice.java +++ b/org.adempiere.base/src/org/compiere/model/I_RV_WarehousePrice.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for RV_WarehousePrice * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_RV_WarehousePrice { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_Category.java b/org.adempiere.base/src/org/compiere/model/I_R_Category.java index 2776173dfe..b55ee04fd1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_Category.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_Category.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_Category * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_Category { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_CategoryUpdates.java b/org.adempiere.base/src/org/compiere/model/I_R_CategoryUpdates.java index b4ebd310e3..a1b0b8241c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_CategoryUpdates.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_CategoryUpdates.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_CategoryUpdates * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_CategoryUpdates { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_ContactInterest.java b/org.adempiere.base/src/org/compiere/model/I_R_ContactInterest.java index b44dc4e82c..380d7cd992 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_ContactInterest.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_ContactInterest.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_ContactInterest * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_ContactInterest { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_Group.java b/org.adempiere.base/src/org/compiere/model/I_R_Group.java index 597cace51c..384ced7b70 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_Group.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_Group.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_Group * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_Group { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_GroupUpdates.java b/org.adempiere.base/src/org/compiere/model/I_R_GroupUpdates.java index 29894ed6dd..705213be42 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_GroupUpdates.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_GroupUpdates.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_GroupUpdates * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_GroupUpdates { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_InterestArea.java b/org.adempiere.base/src/org/compiere/model/I_R_InterestArea.java index c4a62dfe83..b8abee1eb8 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_InterestArea.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_InterestArea.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_InterestArea * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_InterestArea { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_IssueKnown.java b/org.adempiere.base/src/org/compiere/model/I_R_IssueKnown.java index b39f90bc83..215e01038c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_IssueKnown.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_IssueKnown.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_IssueKnown * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_IssueKnown { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_IssueProject.java b/org.adempiere.base/src/org/compiere/model/I_R_IssueProject.java index 4bc87f414e..45d3160629 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_IssueProject.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_IssueProject.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_IssueProject * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_IssueProject { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_IssueRecommendation.java b/org.adempiere.base/src/org/compiere/model/I_R_IssueRecommendation.java index 84acabee62..15c85564cf 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_IssueRecommendation.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_IssueRecommendation.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_IssueRecommendation * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_IssueRecommendation { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_IssueStatus.java b/org.adempiere.base/src/org/compiere/model/I_R_IssueStatus.java index e4678cc9e4..00f322547c 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_IssueStatus.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_IssueStatus.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_IssueStatus * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_IssueStatus { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_IssueSystem.java b/org.adempiere.base/src/org/compiere/model/I_R_IssueSystem.java index 575f822cfa..040b90ba4a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_IssueSystem.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_IssueSystem.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_IssueSystem * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_IssueSystem { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_IssueUser.java b/org.adempiere.base/src/org/compiere/model/I_R_IssueUser.java index 11651f9d40..95379675fd 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_IssueUser.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_IssueUser.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_IssueUser * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_IssueUser { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_MailText.java b/org.adempiere.base/src/org/compiere/model/I_R_MailText.java index d634e93602..26b8ccc084 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_MailText.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_MailText.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_MailText * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_MailText { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_Request.java b/org.adempiere.base/src/org/compiere/model/I_R_Request.java index 3e1e4c14b5..8c77b8232d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_Request.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_Request.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_Request * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_Request { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_RequestAction.java b/org.adempiere.base/src/org/compiere/model/I_R_RequestAction.java index c5cba4d0ba..7301259d34 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_RequestAction.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_RequestAction.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_RequestAction * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_RequestAction { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessor.java b/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessor.java index 9190ae8e96..ae64a935aa 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessor.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_RequestProcessor * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_RequestProcessor { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessorLog.java b/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessorLog.java index 59f5913ae7..07fd820564 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessorLog.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_RequestProcessorLog * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_RequestProcessorLog { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessor_Route.java b/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessor_Route.java index 7c84f57cd8..325669ef64 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessor_Route.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessor_Route.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_RequestProcessor_Route * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_RequestProcessor_Route { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_RequestType.java b/org.adempiere.base/src/org/compiere/model/I_R_RequestType.java index 0f07f7aee9..7b02bc4f67 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_RequestType.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_RequestType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_RequestType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_RequestType { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_RequestTypeUpdates.java b/org.adempiere.base/src/org/compiere/model/I_R_RequestTypeUpdates.java index 7bb90667c0..52ee9ff718 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_RequestTypeUpdates.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_RequestTypeUpdates.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_RequestTypeUpdates * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_RequestTypeUpdates { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_RequestUpdate.java b/org.adempiere.base/src/org/compiere/model/I_R_RequestUpdate.java index f09caed713..fce4a6ae4a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_RequestUpdate.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_RequestUpdate.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_RequestUpdate * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_RequestUpdate { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_RequestUpdates.java b/org.adempiere.base/src/org/compiere/model/I_R_RequestUpdates.java index 48bcd2830e..cc534d7ae5 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_RequestUpdates.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_RequestUpdates.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_RequestUpdates * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_RequestUpdates { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_Resolution.java b/org.adempiere.base/src/org/compiere/model/I_R_Resolution.java index 6186bd2761..6b5b62e611 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_Resolution.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_Resolution.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_Resolution * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_Resolution { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_StandardResponse.java b/org.adempiere.base/src/org/compiere/model/I_R_StandardResponse.java index c2f53b5e63..cc2c920390 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_StandardResponse.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_StandardResponse.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_StandardResponse * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_StandardResponse { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_Status.java b/org.adempiere.base/src/org/compiere/model/I_R_Status.java index 633c6d206d..3593352823 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_Status.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_Status.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_Status * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_Status { diff --git a/org.adempiere.base/src/org/compiere/model/I_R_StatusCategory.java b/org.adempiere.base/src/org/compiere/model/I_R_StatusCategory.java index f7ac3b4865..ec74cf46c7 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_StatusCategory.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_StatusCategory.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for R_StatusCategory * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_R_StatusCategory { diff --git a/org.adempiere.base/src/org/compiere/model/I_S_ExpenseType.java b/org.adempiere.base/src/org/compiere/model/I_S_ExpenseType.java index 323263ee58..a3d1a7523e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_S_ExpenseType.java +++ b/org.adempiere.base/src/org/compiere/model/I_S_ExpenseType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for S_ExpenseType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_S_ExpenseType { diff --git a/org.adempiere.base/src/org/compiere/model/I_S_Resource.java b/org.adempiere.base/src/org/compiere/model/I_S_Resource.java index c7c56a0a9f..be5b3d2cb9 100644 --- a/org.adempiere.base/src/org/compiere/model/I_S_Resource.java +++ b/org.adempiere.base/src/org/compiere/model/I_S_Resource.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for S_Resource * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_S_Resource { diff --git a/org.adempiere.base/src/org/compiere/model/I_S_ResourceAssignment.java b/org.adempiere.base/src/org/compiere/model/I_S_ResourceAssignment.java index 1ac825b1e1..c8bf48f035 100644 --- a/org.adempiere.base/src/org/compiere/model/I_S_ResourceAssignment.java +++ b/org.adempiere.base/src/org/compiere/model/I_S_ResourceAssignment.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for S_ResourceAssignment * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_S_ResourceAssignment { diff --git a/org.adempiere.base/src/org/compiere/model/I_S_ResourceType.java b/org.adempiere.base/src/org/compiere/model/I_S_ResourceType.java index 5d268107f8..126946e3c4 100644 --- a/org.adempiere.base/src/org/compiere/model/I_S_ResourceType.java +++ b/org.adempiere.base/src/org/compiere/model/I_S_ResourceType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for S_ResourceType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_S_ResourceType { diff --git a/org.adempiere.base/src/org/compiere/model/I_S_ResourceUnAvailable.java b/org.adempiere.base/src/org/compiere/model/I_S_ResourceUnAvailable.java index de98bf7fae..1137c8c1e0 100644 --- a/org.adempiere.base/src/org/compiere/model/I_S_ResourceUnAvailable.java +++ b/org.adempiere.base/src/org/compiere/model/I_S_ResourceUnAvailable.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for S_ResourceUnAvailable * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_S_ResourceUnAvailable { diff --git a/org.adempiere.base/src/org/compiere/model/I_S_TimeExpense.java b/org.adempiere.base/src/org/compiere/model/I_S_TimeExpense.java index 8b17b3d158..6142849af7 100644 --- a/org.adempiere.base/src/org/compiere/model/I_S_TimeExpense.java +++ b/org.adempiere.base/src/org/compiere/model/I_S_TimeExpense.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for S_TimeExpense * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_S_TimeExpense { diff --git a/org.adempiere.base/src/org/compiere/model/I_S_TimeExpenseLine.java b/org.adempiere.base/src/org/compiere/model/I_S_TimeExpenseLine.java index f82ae26926..a7c170f5ab 100644 --- a/org.adempiere.base/src/org/compiere/model/I_S_TimeExpenseLine.java +++ b/org.adempiere.base/src/org/compiere/model/I_S_TimeExpenseLine.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for S_TimeExpenseLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_S_TimeExpenseLine { @@ -372,17 +372,17 @@ public interface I_S_TimeExpenseLine * Optional additional user defined information */ public String getNote(); - - /** Column name PriceEntered */ + + /** Column name PriceEntered */ public static final String COLUMNNAME_PriceEntered = "PriceEntered"; /** Set Price. - * Price Entered - the price based on the selected price list on header + * Price Entered - the price based on the selected/base UoM */ public void setPriceEntered (BigDecimal PriceEntered); /** Get Price. - * Price Entered - the price based on the selected price list on header + * Price Entered - the price based on the selected/base UoM */ public BigDecimal getPriceEntered(); diff --git a/org.adempiere.base/src/org/compiere/model/I_S_TimeType.java b/org.adempiere.base/src/org/compiere/model/I_S_TimeType.java index 33ffb08f3b..8c81c2d710 100644 --- a/org.adempiere.base/src/org/compiere/model/I_S_TimeType.java +++ b/org.adempiere.base/src/org/compiere/model/I_S_TimeType.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for S_TimeType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_S_TimeType { diff --git a/org.adempiere.base/src/org/compiere/model/I_S_Training.java b/org.adempiere.base/src/org/compiere/model/I_S_Training.java index 18643f4795..1b802b8cd2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_S_Training.java +++ b/org.adempiere.base/src/org/compiere/model/I_S_Training.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for S_Training * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_S_Training { diff --git a/org.adempiere.base/src/org/compiere/model/I_S_Training_Class.java b/org.adempiere.base/src/org/compiere/model/I_S_Training_Class.java index 2b3c59fe58..51970498a1 100644 --- a/org.adempiere.base/src/org/compiere/model/I_S_Training_Class.java +++ b/org.adempiere.base/src/org/compiere/model/I_S_Training_Class.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for S_Training_Class * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_S_Training_Class { diff --git a/org.adempiere.base/src/org/compiere/model/I_T_1099Extract.java b/org.adempiere.base/src/org/compiere/model/I_T_1099Extract.java index e6d3d0d0c9..ef7dd2d997 100644 --- a/org.adempiere.base/src/org/compiere/model/I_T_1099Extract.java +++ b/org.adempiere.base/src/org/compiere/model/I_T_1099Extract.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for T_1099Extract * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_T_1099Extract { diff --git a/org.adempiere.base/src/org/compiere/model/I_T_Aging.java b/org.adempiere.base/src/org/compiere/model/I_T_Aging.java index f71d8edc15..6e9036c602 100644 --- a/org.adempiere.base/src/org/compiere/model/I_T_Aging.java +++ b/org.adempiere.base/src/org/compiere/model/I_T_Aging.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for T_Aging * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_T_Aging { diff --git a/org.adempiere.base/src/org/compiere/model/I_T_BOM_Indented.java b/org.adempiere.base/src/org/compiere/model/I_T_BOM_Indented.java index 46fce7463d..9d77255d99 100644 --- a/org.adempiere.base/src/org/compiere/model/I_T_BOM_Indented.java +++ b/org.adempiere.base/src/org/compiere/model/I_T_BOM_Indented.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for T_BOM_Indented * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_T_BOM_Indented { diff --git a/org.adempiere.base/src/org/compiere/model/I_T_BankRegister.java b/org.adempiere.base/src/org/compiere/model/I_T_BankRegister.java index 5393c7a7c3..756d27a0fa 100644 --- a/org.adempiere.base/src/org/compiere/model/I_T_BankRegister.java +++ b/org.adempiere.base/src/org/compiere/model/I_T_BankRegister.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for T_BankRegister * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_T_BankRegister { diff --git a/org.adempiere.base/src/org/compiere/model/I_T_CashFlow.java b/org.adempiere.base/src/org/compiere/model/I_T_CashFlow.java index 26dc90d8ff..598dbe614f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_T_CashFlow.java +++ b/org.adempiere.base/src/org/compiere/model/I_T_CashFlow.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for T_CashFlow * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_T_CashFlow { diff --git a/org.adempiere.base/src/org/compiere/model/I_T_DistributionRunDetail.java b/org.adempiere.base/src/org/compiere/model/I_T_DistributionRunDetail.java index 1b76d1800c..d3b3afe26f 100644 --- a/org.adempiere.base/src/org/compiere/model/I_T_DistributionRunDetail.java +++ b/org.adempiere.base/src/org/compiere/model/I_T_DistributionRunDetail.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for T_DistributionRunDetail * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_T_DistributionRunDetail { diff --git a/org.adempiere.base/src/org/compiere/model/I_T_InventoryValue.java b/org.adempiere.base/src/org/compiere/model/I_T_InventoryValue.java index 94eeb608cc..7afa03ca86 100644 --- a/org.adempiere.base/src/org/compiere/model/I_T_InventoryValue.java +++ b/org.adempiere.base/src/org/compiere/model/I_T_InventoryValue.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for T_InventoryValue * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_T_InventoryValue { diff --git a/org.adempiere.base/src/org/compiere/model/I_T_InvoiceGL.java b/org.adempiere.base/src/org/compiere/model/I_T_InvoiceGL.java index 7b50bf0cb0..bef868597a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_T_InvoiceGL.java +++ b/org.adempiere.base/src/org/compiere/model/I_T_InvoiceGL.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for T_InvoiceGL * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_T_InvoiceGL { diff --git a/org.adempiere.base/src/org/compiere/model/I_T_Reconciliation.java b/org.adempiere.base/src/org/compiere/model/I_T_Reconciliation.java index 5c775cd29f..38d09a6019 100644 --- a/org.adempiere.base/src/org/compiere/model/I_T_Reconciliation.java +++ b/org.adempiere.base/src/org/compiere/model/I_T_Reconciliation.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for T_Reconciliation * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_T_Reconciliation { diff --git a/org.adempiere.base/src/org/compiere/model/I_T_Replenish.java b/org.adempiere.base/src/org/compiere/model/I_T_Replenish.java index 2fb6f15638..09f806083d 100644 --- a/org.adempiere.base/src/org/compiere/model/I_T_Replenish.java +++ b/org.adempiere.base/src/org/compiere/model/I_T_Replenish.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for T_Replenish * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_T_Replenish { diff --git a/org.adempiere.base/src/org/compiere/model/I_T_Report.java b/org.adempiere.base/src/org/compiere/model/I_T_Report.java index 1df5525c7c..5c8179065b 100644 --- a/org.adempiere.base/src/org/compiere/model/I_T_Report.java +++ b/org.adempiere.base/src/org/compiere/model/I_T_Report.java @@ -21,7 +21,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for T_Report * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_T_Report { diff --git a/org.adempiere.base/src/org/compiere/model/I_T_ReportStatement.java b/org.adempiere.base/src/org/compiere/model/I_T_ReportStatement.java index 6222390b2d..212b356b45 100644 --- a/org.adempiere.base/src/org/compiere/model/I_T_ReportStatement.java +++ b/org.adempiere.base/src/org/compiere/model/I_T_ReportStatement.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for T_ReportStatement * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_T_ReportStatement { diff --git a/org.adempiere.base/src/org/compiere/model/I_T_Transaction.java b/org.adempiere.base/src/org/compiere/model/I_T_Transaction.java index 8421ed97d6..55f5d4c575 100644 --- a/org.adempiere.base/src/org/compiere/model/I_T_Transaction.java +++ b/org.adempiere.base/src/org/compiere/model/I_T_Transaction.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for T_Transaction * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_T_Transaction { diff --git a/org.adempiere.base/src/org/compiere/model/I_T_TrialBalance.java b/org.adempiere.base/src/org/compiere/model/I_T_TrialBalance.java index 9ee952d8f8..dbe370f22e 100644 --- a/org.adempiere.base/src/org/compiere/model/I_T_TrialBalance.java +++ b/org.adempiere.base/src/org/compiere/model/I_T_TrialBalance.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for T_TrialBalance * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_T_TrialBalance { diff --git a/org.adempiere.base/src/org/compiere/model/I_Test.java b/org.adempiere.base/src/org/compiere/model/I_Test.java index b352076832..5c508de115 100644 --- a/org.adempiere.base/src/org/compiere/model/I_Test.java +++ b/org.adempiere.base/src/org/compiere/model/I_Test.java @@ -331,6 +331,15 @@ public interface I_Test */ public int getRecord_ID(); + /** Column name Record_UU */ + public static final String COLUMNNAME_Record_UU = "Record_UU"; + + /** Set Record UUID */ + public void setRecord_UU (String Record_UU); + + /** Get Record UUID */ + public String getRecord_UU(); + /** Column name T_Amount */ public static final String COLUMNNAME_T_Amount = "T_Amount"; diff --git a/org.adempiere.base/src/org/compiere/model/I_TestUU.java b/org.adempiere.base/src/org/compiere/model/I_TestUU.java index 3070314aba..0c746a4531 100644 --- a/org.adempiere.base/src/org/compiere/model/I_TestUU.java +++ b/org.adempiere.base/src/org/compiere/model/I_TestUU.java @@ -133,10 +133,10 @@ public interface I_TestUU /** Column name TestUU_UU */ public static final String COLUMNNAME_TestUU_UU = "TestUU_UU"; - /** Set TestUU_UU */ + /** Set Test UU */ public void setTestUU_UU (String TestUU_UU); - /** Get TestUU_UU */ + /** Get Test UU */ public String getTestUU_UU(); /** Column name Updated */ diff --git a/org.adempiere.base/src/org/compiere/model/I_TestUUDet.java b/org.adempiere.base/src/org/compiere/model/I_TestUUDet.java index 8fea32b1ac..15de2a9ebc 100644 --- a/org.adempiere.base/src/org/compiere/model/I_TestUUDet.java +++ b/org.adempiere.base/src/org/compiere/model/I_TestUUDet.java @@ -131,6 +131,15 @@ public interface I_TestUUDet /** Get Test UU */ public String getTestUU_UU(); + /** Column name TestUU_UUs */ + public static final String COLUMNNAME_TestUU_UUs = "TestUU_UUs"; + + /** Set Multi Test UU */ + public void setTestUU_UUs (String TestUU_UUs); + + /** Get Multi Test UU */ + public String getTestUU_UUs(); + /** Column name Updated */ public static final String COLUMNNAME_Updated = "Updated"; diff --git a/org.adempiere.base/src/org/compiere/model/I_U_BlackListCheque.java b/org.adempiere.base/src/org/compiere/model/I_U_BlackListCheque.java index f435ea5a2a..9506eaed59 100644 --- a/org.adempiere.base/src/org/compiere/model/I_U_BlackListCheque.java +++ b/org.adempiere.base/src/org/compiere/model/I_U_BlackListCheque.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for U_BlackListCheque * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_U_BlackListCheque { diff --git a/org.adempiere.base/src/org/compiere/model/I_U_POSTerminal.java b/org.adempiere.base/src/org/compiere/model/I_U_POSTerminal.java index 12e3738309..3f8fbd7cee 100644 --- a/org.adempiere.base/src/org/compiere/model/I_U_POSTerminal.java +++ b/org.adempiere.base/src/org/compiere/model/I_U_POSTerminal.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for U_POSTerminal * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_U_POSTerminal { diff --git a/org.adempiere.base/src/org/compiere/model/I_U_RoleMenu.java b/org.adempiere.base/src/org/compiere/model/I_U_RoleMenu.java index baa3e1cee2..91ad847f13 100644 --- a/org.adempiere.base/src/org/compiere/model/I_U_RoleMenu.java +++ b/org.adempiere.base/src/org/compiere/model/I_U_RoleMenu.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for U_RoleMenu * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_U_RoleMenu { diff --git a/org.adempiere.base/src/org/compiere/model/I_U_WebMenu.java b/org.adempiere.base/src/org/compiere/model/I_U_WebMenu.java index 90bbcd7357..b2bce99987 100644 --- a/org.adempiere.base/src/org/compiere/model/I_U_WebMenu.java +++ b/org.adempiere.base/src/org/compiere/model/I_U_WebMenu.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for U_WebMenu * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_U_WebMenu { diff --git a/org.adempiere.base/src/org/compiere/model/I_U_Web_Properties.java b/org.adempiere.base/src/org/compiere/model/I_U_Web_Properties.java index cdd62f86d8..1284c19395 100644 --- a/org.adempiere.base/src/org/compiere/model/I_U_Web_Properties.java +++ b/org.adempiere.base/src/org/compiere/model/I_U_Web_Properties.java @@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for U_Web_Properties * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ public interface I_U_Web_Properties { diff --git a/org.adempiere.base/src/org/compiere/model/MAccessLog.java b/org.adempiere.base/src/org/compiere/model/MAccessLog.java index 1d35ffd0b0..57f7076c6e 100644 --- a/org.adempiere.base/src/org/compiere/model/MAccessLog.java +++ b/org.adempiere.base/src/org/compiere/model/MAccessLog.java @@ -34,6 +34,16 @@ public class MAccessLog extends X_AD_AccessLog */ private static final long serialVersionUID = -7169782622717772940L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_AccessLog_UU UUID key + * @param trxName Transaction + */ + public MAccessLog(Properties ctx, String AD_AccessLog_UU, String trxName) { + super(ctx, AD_AccessLog_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAccount.java b/org.adempiere.base/src/org/compiere/model/MAccount.java index 94a52e0f60..39210878e8 100644 --- a/org.adempiere.base/src/org/compiere/model/MAccount.java +++ b/org.adempiere.base/src/org/compiere/model/MAccount.java @@ -24,6 +24,7 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -414,6 +415,18 @@ public class MAccount extends X_C_ValidCombination implements ImmutablePOSupport + /** + * UUID based Constructor + * @param ctx Context + * @param C_ValidCombination_UU UUID key + * @param trxName Transaction + */ + public MAccount(Properties ctx, String C_ValidCombination_UU, String trxName) { + super(ctx, C_ValidCombination_UU, trxName); + if (Util.isEmpty(C_ValidCombination_UU)) + setInitialDefaults(); + } + /************************************************************************** * Default constructor * @param ctx context @@ -424,11 +437,16 @@ public class MAccount extends X_C_ValidCombination implements ImmutablePOSupport { super (ctx, C_ValidCombination_ID, trxName); if (C_ValidCombination_ID == 0) - { - setIsFullyQualified (false); - } + setInitialDefaults(); } // MAccount + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsFullyQualified (false); + } + /** * Load constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAcctProcessor.java b/org.adempiere.base/src/org/compiere/model/MAcctProcessor.java index f2d1223c82..7b015986c5 100644 --- a/org.adempiere.base/src/org/compiere/model/MAcctProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/MAcctProcessor.java @@ -56,6 +56,18 @@ public class MAcctProcessor extends X_C_AcctProcessor return list.toArray(new MAcctProcessor[list.size()]); } // getActive + /** + * UUID based Constructor + * @param ctx Context + * @param C_AcctProcessor_UU UUID key + * @param trxName Transaction + */ + public MAcctProcessor(Properties ctx, String C_AcctProcessor_UU, String trxName) { + super(ctx, C_AcctProcessor_UU, trxName); + if (Util.isEmpty(C_AcctProcessor_UU)) + setInitialDefaults(); + } + /** * Standard Construvtor * @param ctx context @@ -66,11 +78,16 @@ public class MAcctProcessor extends X_C_AcctProcessor { super (ctx, C_AcctProcessor_ID, trxName); if (C_AcctProcessor_ID == 0) - { - setKeepLogDays (7); // 7 - } + setInitialDefaults(); } // MAcctProcessor + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setKeepLogDays (7); // 7 + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAcctProcessorLog.java b/org.adempiere.base/src/org/compiere/model/MAcctProcessorLog.java index f7fc2dba76..d2f092dab0 100644 --- a/org.adempiere.base/src/org/compiere/model/MAcctProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/MAcctProcessorLog.java @@ -35,6 +35,16 @@ public class MAcctProcessorLog extends X_C_AcctProcessorLog */ private static final long serialVersionUID = 3668544104375224987L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_AcctProcessorLog_UU UUID key + * @param trxName Transaction + */ + public MAcctProcessorLog(Properties ctx, String C_AcctProcessorLog_UU, String trxName) { + super(ctx, C_AcctProcessorLog_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAcctSchema.java b/org.adempiere.base/src/org/compiere/model/MAcctSchema.java index d3b7035e51..9f9b244c78 100644 --- a/org.adempiere.base/src/org/compiere/model/MAcctSchema.java +++ b/org.adempiere.base/src/org/compiere/model/MAcctSchema.java @@ -189,6 +189,18 @@ public class MAcctSchema extends X_C_AcctSchema implements ImmutablePOSupport private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 3, 120); // 3 accounting schemas + /** + * UUID based Constructor + * @param ctx Context + * @param C_AcctSchema_UU UUID key + * @param trxName Transaction + */ + public MAcctSchema(Properties ctx, String C_AcctSchema_UU, String trxName) { + super(ctx, C_AcctSchema_UU, trxName); + if (Util.isEmpty(C_AcctSchema_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -199,27 +211,32 @@ public class MAcctSchema extends X_C_AcctSchema implements ImmutablePOSupport { super (ctx, C_AcctSchema_ID, trxName); if (C_AcctSchema_ID == 0) - { - setAutoPeriodControl (true); - setPeriod_OpenFuture(2); - setPeriod_OpenHistory(2); - setCostingMethod (COSTINGMETHOD_StandardCosting); - setCostingLevel(COSTINGLEVEL_Client); - setIsAdjustCOGS(false); - setGAAP (GAAP_InternationalGAAP); - setHasAlias (true); - setHasCombination (false); - setIsAccrual (true); // Y - setCommitmentType(COMMITMENTTYPE_None); - setIsDiscountCorrectsTax (false); - setTaxCorrectionType(TAXCORRECTIONTYPE_None); - setIsTradeDiscountPosted (false); - setIsPostServices(false); - setIsExplicitCostAdjustment(false); - setSeparator ("-"); // - - } + setInitialDefaults(); } // MAcctSchema - + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setAutoPeriodControl (true); + setPeriod_OpenFuture(2); + setPeriod_OpenHistory(2); + setCostingMethod (COSTINGMETHOD_StandardCosting); + setCostingLevel(COSTINGLEVEL_Client); + setIsAdjustCOGS(false); + setGAAP (GAAP_InternationalGAAP); + setHasAlias (true); + setHasCombination (false); + setIsAccrual (true); // Y + setCommitmentType(COMMITMENTTYPE_None); + setIsDiscountCorrectsTax (false); + setTaxCorrectionType(TAXCORRECTIONTYPE_None); + setIsTradeDiscountPosted (false); + setIsPostServices(false); + setIsExplicitCostAdjustment(false); + setSeparator ("-"); // - + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAcctSchemaDefault.java b/org.adempiere.base/src/org/compiere/model/MAcctSchemaDefault.java index bfa07a89f5..dc505f6907 100644 --- a/org.adempiere.base/src/org/compiere/model/MAcctSchemaDefault.java +++ b/org.adempiere.base/src/org/compiere/model/MAcctSchemaDefault.java @@ -58,6 +58,16 @@ public class MAcctSchemaDefault extends X_C_AcctSchema_Default implements Immuta /** Logger */ protected static CLogger s_log = CLogger.getCLogger(MAcctSchemaDefault.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_AcctSchema_Default_UU UUID key + * @param trxName Transaction + */ + public MAcctSchemaDefault(Properties ctx, String C_AcctSchema_Default_UU, String trxName) { + super(ctx, C_AcctSchema_Default_UU, trxName); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAcctSchemaElement.java b/org.adempiere.base/src/org/compiere/model/MAcctSchemaElement.java index 77571feff1..dc156444d2 100644 --- a/org.adempiere.base/src/org/compiere/model/MAcctSchemaElement.java +++ b/org.adempiere.base/src/org/compiere/model/MAcctSchemaElement.java @@ -28,6 +28,7 @@ import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Language; import org.compiere.util.Msg; +import org.compiere.util.Util; import org.idempiere.cache.ImmutablePOSupport; /** @@ -189,6 +190,18 @@ public class MAcctSchemaElement extends X_C_AcctSchema_Element implements Immuta private static CCache s_cache = new CCache(Table_Name, 10); + /** + * UUID based Constructor + * @param ctx Context + * @param C_AcctSchema_Element_UU UUID key + * @param trxName Transaction + */ + public MAcctSchemaElement(Properties ctx, String C_AcctSchema_Element_UU, String trxName) { + super(ctx, C_AcctSchema_Element_UU, trxName); + if (Util.isEmpty(C_AcctSchema_Element_UU)) + setInitialDefaults(); + } + /************************************************************************* * Standard Constructor * @param ctx context @@ -199,12 +212,17 @@ public class MAcctSchemaElement extends X_C_AcctSchema_Element implements Immuta { super (ctx, C_AcctSchema_Element_ID, trxName); if (C_AcctSchema_Element_ID == 0) - { - setIsBalanced (false); - setIsMandatory (false); - } + setInitialDefaults(); } // MAcctSchemaElement + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsBalanced (false); + setIsMandatory (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAcctSchemaGL.java b/org.adempiere.base/src/org/compiere/model/MAcctSchemaGL.java index 196967e165..e81a394bbf 100644 --- a/org.adempiere.base/src/org/compiere/model/MAcctSchemaGL.java +++ b/org.adempiere.base/src/org/compiere/model/MAcctSchemaGL.java @@ -23,6 +23,7 @@ import java.util.Properties; import org.compiere.util.CLogger; import org.compiere.util.Env; import org.compiere.util.KeyNamePair; +import org.compiere.util.Util; import org.idempiere.cache.ImmutablePOSupport; @@ -61,6 +62,18 @@ public class MAcctSchemaGL extends X_C_AcctSchema_GL implements ImmutablePOSuppo protected static CLogger s_log = CLogger.getCLogger(MAcctSchemaGL.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_AcctSchema_GL_UU UUID key + * @param trxName Transaction + */ + public MAcctSchemaGL(Properties ctx, String C_AcctSchema_GL_UU, String trxName) { + super(ctx, C_AcctSchema_GL_UU, trxName); + if (Util.isEmpty(C_AcctSchema_GL_UU)) + setInitialDefaults(); + } + /** * Load Constructor * @param ctx context @@ -71,13 +84,18 @@ public class MAcctSchemaGL extends X_C_AcctSchema_GL implements ImmutablePOSuppo { super(ctx, C_AcctSchema_ID, trxName); if (C_AcctSchema_ID == 0) - { - setUseCurrencyBalancing (false); - setUseSuspenseBalancing (false); - setUseSuspenseError (false); - } + setInitialDefaults(); } // MAcctSchemaGL + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setUseCurrencyBalancing (false); + setUseSuspenseBalancing (false); + setUseSuspenseError (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAchievement.java b/org.adempiere.base/src/org/compiere/model/MAchievement.java index 4714b67a98..76e004bf75 100644 --- a/org.adempiere.base/src/org/compiere/model/MAchievement.java +++ b/org.adempiere.base/src/org/compiere/model/MAchievement.java @@ -71,6 +71,16 @@ public class MAchievement extends X_PA_Achievement @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger (MAchievement.class); + /** + * UUID based Constructor + * @param ctx Context + * @param PA_Achievement_UU UUID key + * @param trxName Transaction + */ + public MAchievement(Properties ctx, String PA_Achievement_UU, String trxName) { + super(ctx, PA_Achievement_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MActivity.java b/org.adempiere.base/src/org/compiere/model/MActivity.java index 3a56457cdf..f14b010712 100644 --- a/org.adempiere.base/src/org/compiere/model/MActivity.java +++ b/org.adempiere.base/src/org/compiere/model/MActivity.java @@ -81,6 +81,16 @@ public class MActivity extends X_C_Activity implements ImmutablePOSupport return null; } + /** + * UUID based Constructor + * @param ctx Context + * @param C_Activity_UU UUID key + * @param trxName Transaction + */ + public MActivity(Properties ctx, String C_Activity_UU, String trxName) { + super(ctx, C_Activity_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAddressTransaction.java b/org.adempiere.base/src/org/compiere/model/MAddressTransaction.java index 6bcb8f2aa5..ca409fbcd6 100644 --- a/org.adempiere.base/src/org/compiere/model/MAddressTransaction.java +++ b/org.adempiere.base/src/org/compiere/model/MAddressTransaction.java @@ -34,6 +34,16 @@ public class MAddressTransaction extends X_C_AddressTransaction */ private static final long serialVersionUID = 8572809249265680649L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_AddressTransaction_UU UUID key + * @param trxName Transaction + */ + public MAddressTransaction(Properties ctx, String C_AddressTransaction_UU, String trxName) { + super(ctx, C_AddressTransaction_UU, trxName); + } + public MAddressTransaction(Properties ctx, int C_AddressTransaction_ID, String trxName) { super(ctx, C_AddressTransaction_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MAddressValidation.java b/org.adempiere.base/src/org/compiere/model/MAddressValidation.java index ba942c61ca..0f3e62f164 100644 --- a/org.adempiere.base/src/org/compiere/model/MAddressValidation.java +++ b/org.adempiere.base/src/org/compiere/model/MAddressValidation.java @@ -104,6 +104,16 @@ public class MAddressValidation extends X_C_AddressValidation { return retValue; } + /** + * UUID based Constructor + * @param ctx Context + * @param C_AddressValidation_UU UUID key + * @param trxName Transaction + */ + public MAddressValidation(Properties ctx, String C_AddressValidation_UU, String trxName) { + super(ctx, C_AddressValidation_UU, trxName); + } + public MAddressValidation(Properties ctx, int C_AddressValidation_ID, String trxName) { super(ctx, C_AddressValidation_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MAging.java b/org.adempiere.base/src/org/compiere/model/MAging.java index 6bc271f4e0..537641dd45 100644 --- a/org.adempiere.base/src/org/compiere/model/MAging.java +++ b/org.adempiere.base/src/org/compiere/model/MAging.java @@ -22,6 +22,7 @@ import java.sql.Timestamp; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Aging Model @@ -36,6 +37,18 @@ public class MAging extends X_T_Aging */ private static final long serialVersionUID = 3067400117623770188L; + /** + * UUID based Constructor + * @param ctx Context + * @param T_Aging_UU UUID key + * @param trxName Transaction + */ + public MAging(Properties ctx, String T_Aging_UU, String trxName) { + super(ctx, T_Aging_UU, trxName); + if (Util.isEmpty(T_Aging_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -46,37 +59,42 @@ public class MAging extends X_T_Aging { super (ctx, T_Aging_ID, trxName); if (T_Aging_ID == 0) - { - setDueAmt (Env.ZERO); - setDue0 (Env.ZERO); - setDue0_7 (Env.ZERO); - setDue0_30 (Env.ZERO); - setDue1_7 (Env.ZERO); - setDue31_60 (Env.ZERO); - setDue31_Plus (Env.ZERO); - setDue61_90 (Env.ZERO); - setDue61_Plus (Env.ZERO); - setDue8_30 (Env.ZERO); - setDue91_Plus (Env.ZERO); - // - setPastDueAmt (Env.ZERO); - setPastDue1_7 (Env.ZERO); - setPastDue1_30 (Env.ZERO); - setPastDue31_60 (Env.ZERO); - setPastDue31_Plus (Env.ZERO); - setPastDue61_90 (Env.ZERO); - setPastDue61_Plus (Env.ZERO); - setPastDue8_30 (Env.ZERO); - setPastDue91_Plus (Env.ZERO); - // - setOpenAmt(Env.ZERO); - setInvoicedAmt(Env.ZERO); - // - setIsListInvoices (false); - setIsSOTrx (false); - } + setInitialDefaults(); } // T_Aging + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDueAmt (Env.ZERO); + setDue0 (Env.ZERO); + setDue0_7 (Env.ZERO); + setDue0_30 (Env.ZERO); + setDue1_7 (Env.ZERO); + setDue31_60 (Env.ZERO); + setDue31_Plus (Env.ZERO); + setDue61_90 (Env.ZERO); + setDue61_Plus (Env.ZERO); + setDue8_30 (Env.ZERO); + setDue91_Plus (Env.ZERO); + // + setPastDueAmt (Env.ZERO); + setPastDue1_7 (Env.ZERO); + setPastDue1_30 (Env.ZERO); + setPastDue31_60 (Env.ZERO); + setPastDue31_Plus (Env.ZERO); + setPastDue61_90 (Env.ZERO); + setPastDue61_Plus (Env.ZERO); + setPastDue8_30 (Env.ZERO); + setPastDue91_Plus (Env.ZERO); + // + setOpenAmt(Env.ZERO); + setInvoicedAmt(Env.ZERO); + // + setIsListInvoices (false); + setIsSOTrx (false); + } + /** * Full Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAlert.java b/org.adempiere.base/src/org/compiere/model/MAlert.java index b8dbc8c575..cc711ee07a 100644 --- a/org.adempiere.base/src/org/compiere/model/MAlert.java +++ b/org.adempiere.base/src/org/compiere/model/MAlert.java @@ -22,6 +22,8 @@ import java.util.List; import java.util.Properties; import java.util.TreeSet; +import org.compiere.util.Util; + /** * Alert Model * @@ -40,6 +42,18 @@ public class MAlert extends X_AD_Alert */ private static final long serialVersionUID = -5684705878618526801L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Alert_UU UUID key + * @param trxName Transaction + */ + public MAlert(Properties ctx, String AD_Alert_UU, String trxName) { + super(ctx, AD_Alert_UU, trxName); + if (Util.isEmpty(AD_Alert_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -50,13 +64,18 @@ public class MAlert extends X_AD_Alert { super (ctx, AD_Alert_ID, trxName); if (AD_Alert_ID == 0) - { - setEnforceClientSecurity (true); // Y - setEnforceRoleSecurity (true); // Y - setIsValid (true); // Y - } + setInitialDefaults(); } // MAlert + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setEnforceClientSecurity (true); // Y + setEnforceRoleSecurity (true); // Y + setIsValid (true); // Y + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAlertProcessor.java b/org.adempiere.base/src/org/compiere/model/MAlertProcessor.java index 8650669226..9dfb04514c 100644 --- a/org.adempiere.base/src/org/compiere/model/MAlertProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/MAlertProcessor.java @@ -60,6 +60,16 @@ public class MAlertProcessor extends X_AD_AlertProcessor private static CLogger s_log = CLogger.getCLogger (MAlertProcessor.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_AlertProcessor_UU UUID key + * @param trxName Transaction + */ + public MAlertProcessor(Properties ctx, String AD_AlertProcessor_UU, String trxName) { + super(ctx, AD_AlertProcessor_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAlertProcessorLog.java b/org.adempiere.base/src/org/compiere/model/MAlertProcessorLog.java index 40780f7d76..b1c4f64799 100644 --- a/org.adempiere.base/src/org/compiere/model/MAlertProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/MAlertProcessorLog.java @@ -34,6 +34,16 @@ public class MAlertProcessorLog extends X_AD_AlertProcessorLog */ private static final long serialVersionUID = -6720267177398838915L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_AlertProcessorLog_UU UUID key + * @param trxName Transaction + */ + public MAlertProcessorLog(Properties ctx, String AD_AlertProcessorLog_UU, String trxName) { + super(ctx, AD_AlertProcessorLog_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAlertRecipient.java b/org.adempiere.base/src/org/compiere/model/MAlertRecipient.java index 95caa3a389..a318f881a8 100644 --- a/org.adempiere.base/src/org/compiere/model/MAlertRecipient.java +++ b/org.adempiere.base/src/org/compiere/model/MAlertRecipient.java @@ -33,6 +33,16 @@ public class MAlertRecipient extends X_AD_AlertRecipient */ private static final long serialVersionUID = -7388195934030609324L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_AlertRecipient_UU UUID key + * @param trxName Transaction + */ + public MAlertRecipient(Properties ctx, String AD_AlertRecipient_UU, String trxName) { + super(ctx, AD_AlertRecipient_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAlertRule.java b/org.adempiere.base/src/org/compiere/model/MAlertRule.java index 0648ad6ec0..4c58b10c96 100644 --- a/org.adempiere.base/src/org/compiere/model/MAlertRule.java +++ b/org.adempiere.base/src/org/compiere/model/MAlertRule.java @@ -38,6 +38,16 @@ public class MAlertRule extends X_AD_AlertRule { private static final long serialVersionUID = -1267260460210893262L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_AlertRule_UU UUID key + * @param trxName Transaction + */ + public MAlertRule(Properties ctx, String AD_AlertRule_UU, String trxName) { + super(ctx, AD_AlertRule_UU, trxName); + } + /** * Standatd Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAllocationHdr.java b/org.adempiere.base/src/org/compiere/model/MAllocationHdr.java index bd87bcd7ef..270a20dfdb 100644 --- a/org.adempiere.base/src/org/compiere/model/MAllocationHdr.java +++ b/org.adempiere.base/src/org/compiere/model/MAllocationHdr.java @@ -34,6 +34,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Payment Allocation Model. @@ -159,6 +160,18 @@ public class MAllocationHdr extends X_C_AllocationHdr implements DocAction private static CLogger s_log = CLogger.getCLogger(MAllocationHdr.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_AllocationHdr_UU UUID key + * @param trxName Transaction + */ + public MAllocationHdr(Properties ctx, String C_AllocationHdr_UU, String trxName) { + super(ctx, C_AllocationHdr_UU, trxName); + if (Util.isEmpty(C_AllocationHdr_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -169,22 +182,27 @@ public class MAllocationHdr extends X_C_AllocationHdr implements DocAction { super (ctx, C_AllocationHdr_ID, trxName); if (C_AllocationHdr_ID == 0) - { - setDateTrx (new Timestamp(System.currentTimeMillis())); - setDateAcct (getDateTrx()); - setDocAction (DOCACTION_Complete); - setDocStatus (DOCSTATUS_Drafted); - setApprovalAmt (Env.ZERO); - setIsApproved (false); - setIsManual (false); - // - setPosted (false); - setProcessed (false); - setProcessing(false); - setC_DocType_ID(MDocType.getDocType("CMA")); - } + setInitialDefaults(); } // MAllocation + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDateTrx (new Timestamp(System.currentTimeMillis())); + setDateAcct (getDateTrx()); + setDocAction (DOCACTION_Complete); + setDocStatus (DOCSTATUS_Drafted); + setApprovalAmt (Env.ZERO); + setIsApproved (false); + setIsManual (false); + // + setPosted (false); + setProcessed (false); + setProcessing(false); + setC_DocType_ID(MDocType.getDocType("CMA")); + } + /** * Mandatory New Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAllocationLine.java b/org.adempiere.base/src/org/compiere/model/MAllocationLine.java index bd668a62ba..5a72b3fd93 100644 --- a/org.adempiere.base/src/org/compiere/model/MAllocationLine.java +++ b/org.adempiere.base/src/org/compiere/model/MAllocationLine.java @@ -26,6 +26,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** @@ -41,6 +42,18 @@ public class MAllocationLine extends X_C_AllocationLine */ private static final long serialVersionUID = 5532305715886380749L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_AllocationLine_UU UUID key + * @param trxName Transaction + */ + public MAllocationLine(Properties ctx, String C_AllocationLine_UU, String trxName) { + super(ctx, C_AllocationLine_UU, trxName); + if (Util.isEmpty(C_AllocationLine_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -51,14 +64,19 @@ public class MAllocationLine extends X_C_AllocationLine { super (ctx, C_AllocationLine_ID, trxName); if (C_AllocationLine_ID == 0) - { - setAmount (Env.ZERO); - setDiscountAmt (Env.ZERO); - setWriteOffAmt (Env.ZERO); - setOverUnderAmt(Env.ZERO); - } + setInitialDefaults(); } // MAllocationLine + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setAmount (Env.ZERO); + setDiscountAmt (Env.ZERO); + setWriteOffAmt (Env.ZERO); + setOverUnderAmt(Env.ZERO); + } + /** * Load Constructor * @param ctx ctx diff --git a/org.adempiere.base/src/org/compiere/model/MArchive.java b/org.adempiere.base/src/org/compiere/model/MArchive.java index 30eafa656c..c7a4c69524 100644 --- a/org.adempiere.base/src/org/compiere/model/MArchive.java +++ b/org.adempiere.base/src/org/compiere/model/MArchive.java @@ -96,6 +96,17 @@ public class MArchive extends X_AD_Archive { /** Logger */ private static CLogger s_log = CLogger.getCLogger(MArchive.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Archive_UU UUID key + * @param trxName Transaction + */ + public MArchive(Properties ctx, String AD_Archive_UU, String trxName) { + super(ctx, AD_Archive_UU, trxName); + initArchiveStoreDetails(ctx, trxName); + } + /*************************************************************************** * Standard Constructor * diff --git a/org.adempiere.base/src/org/compiere/model/MAsset.java b/org.adempiere.base/src/org/compiere/model/MAsset.java index a31bed2ed0..b173ef8180 100644 --- a/org.adempiere.base/src/org/compiere/model/MAsset.java +++ b/org.adempiere.base/src/org/compiere/model/MAsset.java @@ -14,6 +14,7 @@ import org.compiere.util.DB; import org.compiere.util.EMail; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Asset Model @@ -58,16 +59,33 @@ public class MAsset extends X_A_Asset { .list(); } + /** + * UUID based Constructor + * @param ctx Context + * @param A_Asset_UU UUID key + * @param trxName Transaction + */ + public MAsset(Properties ctx, String A_Asset_UU, String trxName) { + super(ctx, A_Asset_UU, trxName); + if (Util.isEmpty(A_Asset_UU)) + setInitialDefaults(); + } + /** Create constructor */ public MAsset (Properties ctx, int A_Asset_ID, String trxName) { super (ctx, A_Asset_ID,trxName); if (A_Asset_ID == 0) - { - setA_Asset_Status(A_ASSET_STATUS_New); - } + setInitialDefaults(); } // MAsset + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setA_Asset_Status(A_ASSET_STATUS_New); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAssetAcct.java b/org.adempiere.base/src/org/compiere/model/MAssetAcct.java index de06cfaab0..a70f27bae2 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetAcct.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetAcct.java @@ -9,6 +9,7 @@ import java.util.Properties; import org.adempiere.exceptions.AdempiereException; import org.compiere.util.Env; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -24,6 +25,18 @@ public class MAssetAcct extends X_A_Asset_Acct implements ImmutablePOSupport */ private static final long serialVersionUID = -8898773839204909595L; + /** + * UUID based Constructor + * @param ctx Context + * @param A_Asset_Acct_UU UUID key + * @param trxName Transaction + */ + public MAssetAcct(Properties ctx, String A_Asset_Acct_UU, String trxName) { + super(ctx, A_Asset_Acct_UU, trxName); + if (Util.isEmpty(A_Asset_Acct_UU)) + setInitialDefaults(); + } + /** * DO NOT USE DIRECTLY */ @@ -31,11 +44,16 @@ public class MAssetAcct extends X_A_Asset_Acct implements ImmutablePOSupport { super (ctx,X_A_Asset_Acct_ID, trxName); if (X_A_Asset_Acct_ID == 0) - { - setA_Salvage_Value(Env.ZERO); - } + setInitialDefaults(); } + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setA_Salvage_Value(Env.ZERO); + } + public MAssetAcct (Properties ctx, ResultSet rs, String trxName) { super (ctx, rs, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MAssetAddition.java b/org.adempiere.base/src/org/compiere/model/MAssetAddition.java index 386832b239..5f2af89ef6 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetAddition.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetAddition.java @@ -19,6 +19,7 @@ import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; import org.compiere.util.Trx; +import org.compiere.util.Util; import org.idempiere.fa.exceptions.AssetAlreadyDepreciatedException; import org.idempiere.fa.exceptions.AssetException; import org.idempiere.fa.exceptions.AssetNotImplementedException; @@ -44,16 +45,34 @@ public class MAssetAddition extends X_A_Asset_Addition /** Static Logger */ private static CLogger s_log = CLogger.getCLogger(MAssetAddition.class); + /** + * UUID based Constructor + * @param ctx Context + * @param A_Asset_Addition_UU UUID key + * @param trxName Transaction + */ + public MAssetAddition(Properties ctx, String A_Asset_Addition_UU, String trxName) { + super(ctx, A_Asset_Addition_UU, trxName); + if (Util.isEmpty(A_Asset_Addition_UU)) + setInitialDefaults(); + } + public MAssetAddition (Properties ctx, int A_Asset_Addition_ID, String trxName) { super (ctx, A_Asset_Addition_ID, trxName); if (A_Asset_Addition_ID == 0) - { - setDocStatus(DOCSTATUS_Drafted); - setDocAction(DOCACTION_Complete); - setProcessed(false); - } + setInitialDefaults(); } // MAssetAddition + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDocStatus(DOCSTATUS_Drafted); + setDocAction(DOCACTION_Complete); + setProcessed(false); + } + public MAssetAddition (Properties ctx, ResultSet rs, String trxName) { super (ctx, rs, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MAssetChange.java b/org.adempiere.base/src/org/compiere/model/MAssetChange.java index 27a6c46d68..43471b865f 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetChange.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetChange.java @@ -34,6 +34,16 @@ public class MAssetChange extends X_A_Asset_Change /** Static Logger */ private static CLogger s_log = CLogger.getCLogger(MAssetChange.class); + /** + * UUID based Constructor + * @param ctx Context + * @param A_Asset_Change_UU UUID key + * @param trxName Transaction + */ + public MAssetChange(Properties ctx, String A_Asset_Change_UU, String trxName) { + super(ctx, A_Asset_Change_UU, trxName); + } + /** * Default Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAssetClass.java b/org.adempiere.base/src/org/compiere/model/MAssetClass.java index c069e6696f..fc588d33b7 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetClass.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetClass.java @@ -24,6 +24,16 @@ public class MAssetClass extends X_A_Asset_Class implements ImmutablePOSupport */ private static final long serialVersionUID = -7805056592418891872L; + /** + * UUID based Constructor + * @param ctx Context + * @param A_Asset_Class_UU UUID key + * @param trxName Transaction + */ + public MAssetClass(Properties ctx, String A_Asset_Class_UU, String trxName) { + super(ctx, A_Asset_Class_UU, trxName); + } + /** * */ diff --git a/org.adempiere.base/src/org/compiere/model/MAssetDelivery.java b/org.adempiere.base/src/org/compiere/model/MAssetDelivery.java index 9a6d6c1b21..c05282e1d6 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetDelivery.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetDelivery.java @@ -23,6 +23,7 @@ import java.util.Properties; import javax.servlet.http.HttpServletRequest; import org.compiere.util.EMail; +import org.compiere.util.Util; /** * Asset Delivery Model @@ -37,6 +38,18 @@ public class MAssetDelivery extends X_A_Asset_Delivery */ private static final long serialVersionUID = -1731010685101745675L; + /** + * UUID based Constructor + * @param ctx Context + * @param A_Asset_Delivery_UU UUID key + * @param trxName Transaction + */ + public MAssetDelivery(Properties ctx, String A_Asset_Delivery_UU, String trxName) { + super(ctx, A_Asset_Delivery_UU, trxName); + if (Util.isEmpty(A_Asset_Delivery_UU)) + setInitialDefaults(); + } + /** * Constructor * @param ctx context @@ -47,11 +60,16 @@ public class MAssetDelivery extends X_A_Asset_Delivery { super (ctx, A_Asset_Delivery_ID, trxName); if (A_Asset_Delivery_ID == 0) - { - setMovementDate (new Timestamp (System.currentTimeMillis ())); - } + setInitialDefaults(); } // MAssetDelivery + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setMovementDate (new Timestamp (System.currentTimeMillis ())); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAssetDisposed.java b/org.adempiere.base/src/org/compiere/model/MAssetDisposed.java index ce21397453..ce746f449d 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetDisposed.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetDisposed.java @@ -11,6 +11,7 @@ import java.util.logging.Level; import org.compiere.process.DocAction; import org.compiere.process.DocumentEngine; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.fa.exceptions.AssetAlreadyDepreciatedException; import org.idempiere.fa.exceptions.AssetNotImplementedException; import org.idempiere.fa.exceptions.AssetNotSupportedException; @@ -31,17 +32,33 @@ implements DocAction */ private static final long serialVersionUID = 1763997880662445638L; + /** + * UUID based Constructor + * @param ctx Context + * @param A_Asset_Disposed_UU UUID key + * @param trxName Transaction + */ + public MAssetDisposed(Properties ctx, String A_Asset_Disposed_UU, String trxName) { + super(ctx, A_Asset_Disposed_UU, trxName); + if (Util.isEmpty(A_Asset_Disposed_UU)) + setInitialDefaults(); + } + public MAssetDisposed (Properties ctx, int A_Asset_Disposed_ID, String trxName) { super (ctx, A_Asset_Disposed_ID, trxName); if (A_Asset_Disposed_ID == 0) - { - setProcessed (false); - setProcessing (false); - } - + setInitialDefaults(); } + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setProcessed (false); + setProcessing (false); + } + //@win: autocreate asset disposal from ar invoice public static MAssetDisposed createAssetDisposed (MInvoiceLine invLine) { MAssetDisposed assetDisposed = new MAssetDisposed(invLine); diff --git a/org.adempiere.base/src/org/compiere/model/MAssetGroup.java b/org.adempiere.base/src/org/compiere/model/MAssetGroup.java index 9807dfe663..167b798831 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetGroup.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetGroup.java @@ -23,6 +23,16 @@ public class MAssetGroup extends X_A_Asset_Group implements ImmutablePOSupport /** Cache: ID -> MAssetGroup */ private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 10, 0); + /** + * UUID based Constructor + * @param ctx Context + * @param A_Asset_Group_UU UUID key + * @param trxName Transaction + */ + public MAssetGroup(Properties ctx, String A_Asset_Group_UU, String trxName) { + super(ctx, A_Asset_Group_UU, trxName); + } + /** * Default Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAssetGroupAcct.java b/org.adempiere.base/src/org/compiere/model/MAssetGroupAcct.java index 56a2da5292..d8865f31fa 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetGroupAcct.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetGroupAcct.java @@ -64,6 +64,16 @@ public class MAssetGroupAcct extends X_A_Asset_Group_Acct .list(); } + /** + * UUID based Constructor + * @param ctx Context + * @param A_Asset_Group_Acct_UU UUID key + * @param trxName Transaction + */ + public MAssetGroupAcct(Properties ctx, String A_Asset_Group_Acct_UU, String trxName) { + super(ctx, A_Asset_Group_Acct_UU, trxName); + } + /** * Default ConstructorX_A_Asset_Group_Acct * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAssetProduct.java b/org.adempiere.base/src/org/compiere/model/MAssetProduct.java index f37899de24..73b4569931 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetProduct.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetProduct.java @@ -16,6 +16,16 @@ public class MAssetProduct extends X_A_Asset_Product */ private static final long serialVersionUID = 2459915999284269350L; + /** + * UUID based Constructor + * @param ctx Context + * @param A_Asset_Product_UU UUID key + * @param trxName Transaction + */ + public MAssetProduct(Properties ctx, String A_Asset_Product_UU, String trxName) { + super(ctx, A_Asset_Product_UU, trxName); + } + /** Standard Constructor */ public MAssetProduct (Properties ctx, int A_Asset_Product_ID, String trxName) { diff --git a/org.adempiere.base/src/org/compiere/model/MAssetReval.java b/org.adempiere.base/src/org/compiere/model/MAssetReval.java index 8d71cbfd55..f4a3d68328 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetReval.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetReval.java @@ -14,6 +14,7 @@ import org.compiere.process.DocAction; import org.compiere.process.DocumentEngine; import org.compiere.util.Env; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; /** @@ -30,16 +31,34 @@ implements DocAction private static final long serialVersionUID = -3937514008250840440L; private boolean m_justPrepared = false; + /** + * UUID based Constructor + * @param ctx Context + * @param A_Asset_Reval_UU UUID key + * @param trxName Transaction + */ + public MAssetReval(Properties ctx, String A_Asset_Reval_UU, String trxName) { + super(ctx, A_Asset_Reval_UU, trxName); + if (Util.isEmpty(A_Asset_Reval_UU)) + setInitialDefaults(); + } + public MAssetReval(Properties ctx, int X_A_Asset_Reval_ID, String trxName) { super(ctx, X_A_Asset_Reval_ID, trxName); if (X_A_Asset_Reval_ID == 0) - { - setDocStatus(DOCSTATUS_Drafted); - setDocAction(DOCACTION_Complete); - setProcessed(false); - } + setInitialDefaults(); } + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDocStatus(DOCSTATUS_Drafted); + setDocAction(DOCACTION_Complete); + setProcessed(false); + } + public MAssetReval(Properties ctx, ResultSet rs, String trxName) { super (ctx, rs, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MAssetTransfer.java b/org.adempiere.base/src/org/compiere/model/MAssetTransfer.java index 63768bb382..58865a4a48 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetTransfer.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetTransfer.java @@ -22,6 +22,7 @@ import org.adempiere.exceptions.AdempiereException; import org.compiere.process.DocAction; import org.compiere.process.DocumentEngine; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.fa.exceptions.AssetAlreadyDepreciatedException; @@ -40,18 +41,34 @@ implements DocAction /** Just Prepared Flag */ private boolean m_justPrepared = false; + /** + * UUID based Constructor + * @param ctx Context + * @param A_Asset_Transfer_UU UUID key + * @param trxName Transaction + */ + public MAssetTransfer(Properties ctx, String A_Asset_Transfer_UU, String trxName) { + super(ctx, A_Asset_Transfer_UU, trxName); + if (Util.isEmpty(A_Asset_Transfer_UU)) + setInitialDefaults(); + } + public MAssetTransfer (Properties ctx, int X_A_Asset_Transfer_ID, String trxName) { super (ctx,X_A_Asset_Transfer_ID, trxName); if (X_A_Asset_Transfer_ID == 0) - { - setDocStatus(DOCSTATUS_Drafted); - setDocAction(DOCACTION_Complete); - setProcessed(false); - } - + setInitialDefaults(); } - + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDocStatus(DOCSTATUS_Drafted); + setDocAction(DOCACTION_Complete); + setProcessed(false); + } + public MAssetTransfer (Properties ctx, ResultSet rs, String trxName) { super (ctx, rs, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MAssetType.java b/org.adempiere.base/src/org/compiere/model/MAssetType.java index bcbe58cf11..554648ebda 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetType.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetType.java @@ -70,6 +70,16 @@ public class MAssetType extends X_A_Asset_Type implements ImmutablePOSupport return null; } + /** + * UUID based Constructor + * @param ctx Context + * @param A_Asset_Type_UU UUID key + * @param trxName Transaction + */ + public MAssetType(Properties ctx, String A_Asset_Type_UU, String trxName) { + super(ctx, A_Asset_Type_UU, trxName); + } + /** Standard Constructor */ public MAssetType (Properties ctx, int A_Asset_Type_ID, String trxName) { diff --git a/org.adempiere.base/src/org/compiere/model/MAssetUse.java b/org.adempiere.base/src/org/compiere/model/MAssetUse.java index d87a127f48..7dc3db64b4 100644 --- a/org.adempiere.base/src/org/compiere/model/MAssetUse.java +++ b/org.adempiere.base/src/org/compiere/model/MAssetUse.java @@ -13,6 +13,16 @@ public class MAssetUse extends X_A_Asset_Use */ private static final long serialVersionUID = -1247516669047870893L; + /** + * UUID based Constructor + * @param ctx Context + * @param A_Asset_Use_UU UUID key + * @param trxName Transaction + */ + public MAssetUse(Properties ctx, String A_Asset_Use_UU, String trxName) { + super(ctx, A_Asset_Use_UU, trxName); + } + public MAssetUse (Properties ctx, int A_Asset_Use_ID, String trxName) { super (ctx, A_Asset_Use_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MAttachment.java b/org.adempiere.base/src/org/compiere/model/MAttachment.java index 412ce35659..3fba4cbf1d 100644 --- a/org.adempiere.base/src/org/compiere/model/MAttachment.java +++ b/org.adempiere.base/src/org/compiere/model/MAttachment.java @@ -96,6 +96,17 @@ public class MAttachment extends X_AD_Attachment private MStorageProvider provider; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Attachment_UU UUID key + * @param trxName Transaction + */ + public MAttachment(Properties ctx, String AD_Attachment_UU, String trxName) { + super(ctx, AD_Attachment_UU, trxName); + initAttachmentStoreDetails(ctx, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAttachmentNote.java b/org.adempiere.base/src/org/compiere/model/MAttachmentNote.java index 559b4960e1..75840815ff 100644 --- a/org.adempiere.base/src/org/compiere/model/MAttachmentNote.java +++ b/org.adempiere.base/src/org/compiere/model/MAttachmentNote.java @@ -34,6 +34,16 @@ public class MAttachmentNote extends X_AD_AttachmentNote */ private static final long serialVersionUID = 5902789937430504039L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_AttachmentNote_UU UUID key + * @param trxName Transaction + */ + public MAttachmentNote(Properties ctx, String AD_AttachmentNote_UU, String trxName) { + super(ctx, AD_AttachmentNote_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAttribute.java b/org.adempiere.base/src/org/compiere/model/MAttribute.java index f86128bc5a..a0c9b558e5 100644 --- a/org.adempiere.base/src/org/compiere/model/MAttribute.java +++ b/org.adempiere.base/src/org/compiere/model/MAttribute.java @@ -31,6 +31,7 @@ import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.KeyNamePair; import org.compiere.util.Msg; +import org.compiere.util.Util; import org.idempiere.cache.ImmutablePOSupport; /** @@ -92,6 +93,18 @@ public class MAttribute extends X_M_Attribute implements ImmutablePOSupport return retValue; } // getOfClient + /** + * UUID based Constructor + * @param ctx Context + * @param M_Attribute_UU UUID key + * @param trxName Transaction + */ + public MAttribute(Properties ctx, String M_Attribute_UU, String trxName) { + super(ctx, M_Attribute_UU, trxName); + if (Util.isEmpty(M_Attribute_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -102,13 +115,18 @@ public class MAttribute extends X_M_Attribute implements ImmutablePOSupport { super (ctx, M_Attribute_ID, trxName); if (M_Attribute_ID == 0) - { - setAttributeValueType(ATTRIBUTEVALUETYPE_StringMax40); - setIsInstanceAttribute (false); - setIsMandatory (false); - } + setInitialDefaults(); } // MAttribute + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setAttributeValueType(ATTRIBUTEVALUETYPE_StringMax40); + setIsInstanceAttribute (false); + setIsMandatory (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAttributeInstance.java b/org.adempiere.base/src/org/compiere/model/MAttributeInstance.java index 16b6ea4699..70b8de5958 100644 --- a/org.adempiere.base/src/org/compiere/model/MAttributeInstance.java +++ b/org.adempiere.base/src/org/compiere/model/MAttributeInstance.java @@ -39,6 +39,16 @@ public class MAttributeInstance extends X_M_AttributeInstance private static final long serialVersionUID = 5697542928282761922L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_AttributeInstance_UU UUID key + * @param trxName Transaction + */ + public MAttributeInstance(Properties ctx, String M_AttributeInstance_UU, String trxName) { + super(ctx, M_AttributeInstance_UU, trxName); + } + /** * Persistency Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAttributeSet.java b/org.adempiere.base/src/org/compiere/model/MAttributeSet.java index 923d599220..9ad60b16f3 100644 --- a/org.adempiere.base/src/org/compiere/model/MAttributeSet.java +++ b/org.adempiere.base/src/org/compiere/model/MAttributeSet.java @@ -27,6 +27,7 @@ import java.util.Properties; import org.adempiere.exceptions.DBException; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -96,6 +97,18 @@ public class MAttributeSet extends X_M_AttributeSet implements ImmutablePOSuppor = new ImmutableIntPOCache (Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param M_AttributeSet_UU UUID key + * @param trxName Transaction + */ + public MAttributeSet(Properties ctx, String M_AttributeSet_UU, String trxName) { + super(ctx, M_AttributeSet_UU, trxName); + if (Util.isEmpty(M_AttributeSet_UU)) + setInitialDefaults(); + } + /** * Standard constructor * @param ctx context @@ -106,19 +119,24 @@ public class MAttributeSet extends X_M_AttributeSet implements ImmutablePOSuppor { super (ctx, M_AttributeSet_ID, trxName); if (M_AttributeSet_ID == 0) - { - // setName (null); - setIsGuaranteeDate (false); - setIsGuaranteeDateMandatory (false); - setIsLot (false); - setIsLotMandatory (false); - setIsSerNo (false); - setIsSerNoMandatory (false); - setIsInstanceAttribute(false); - setMandatoryType (MANDATORYTYPE_NotMandatory); - } + setInitialDefaults(); } // MAttributeSet + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + // setName (null); + setIsGuaranteeDate (false); + setIsGuaranteeDateMandatory (false); + setIsLot (false); + setIsLotMandatory (false); + setIsSerNo (false); + setIsSerNoMandatory (false); + setIsInstanceAttribute(false); + setMandatoryType (MANDATORYTYPE_NotMandatory); + } + /** * Load constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAttributeSetExclude.java b/org.adempiere.base/src/org/compiere/model/MAttributeSetExclude.java index c03cd3103d..bce0428e8b 100644 --- a/org.adempiere.base/src/org/compiere/model/MAttributeSetExclude.java +++ b/org.adempiere.base/src/org/compiere/model/MAttributeSetExclude.java @@ -41,6 +41,16 @@ public class MAttributeSetExclude extends X_M_AttributeSetExclude { */ private static final long serialVersionUID = -2977401481745176882L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_AttributeSetExclude_UU UUID key + * @param trxName Transaction + */ + public MAttributeSetExclude(Properties ctx, String M_AttributeSetExclude_UU, String trxName) { + super(ctx, M_AttributeSetExclude_UU, trxName); + } + /** * @param ctx * @param M_AttributeSetExclude_ID diff --git a/org.adempiere.base/src/org/compiere/model/MAttributeSetInstance.java b/org.adempiere.base/src/org/compiere/model/MAttributeSetInstance.java index 1d984a2df6..10e172d437 100644 --- a/org.adempiere.base/src/org/compiere/model/MAttributeSetInstance.java +++ b/org.adempiere.base/src/org/compiere/model/MAttributeSetInstance.java @@ -102,6 +102,16 @@ public class MAttributeSetInstance extends X_M_AttributeSetInstance private static CLogger s_log = CLogger.getCLogger (MAttributeSetInstance.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_AttributeSetInstance_UU UUID key + * @param trxName Transaction + */ + public MAttributeSetInstance(Properties ctx, String M_AttributeSetInstance_UU, String trxName) { + super(ctx, M_AttributeSetInstance_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -111,9 +121,6 @@ public class MAttributeSetInstance extends X_M_AttributeSetInstance public MAttributeSetInstance (Properties ctx, int M_AttributeSetInstance_ID, String trxName) { super (ctx, M_AttributeSetInstance_ID, trxName); - if (M_AttributeSetInstance_ID == 0) - { - } } // MAttributeSetInstance /** diff --git a/org.adempiere.base/src/org/compiere/model/MAttributeUse.java b/org.adempiere.base/src/org/compiere/model/MAttributeUse.java index 08c2563b8b..0110f61ac3 100644 --- a/org.adempiere.base/src/org/compiere/model/MAttributeUse.java +++ b/org.adempiere.base/src/org/compiere/model/MAttributeUse.java @@ -36,6 +36,16 @@ public class MAttributeUse extends X_M_AttributeUse */ private static final long serialVersionUID = -9159120094145438975L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_AttributeUse_UU UUID key + * @param trxName Transaction + */ + public MAttributeUse(Properties ctx, String M_AttributeUse_UU, String trxName) { + super(ctx, M_AttributeUse_UU, trxName); + } + /** * Persistency Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAttributeValue.java b/org.adempiere.base/src/org/compiere/model/MAttributeValue.java index e21eb8ece5..0e399376aa 100644 --- a/org.adempiere.base/src/org/compiere/model/MAttributeValue.java +++ b/org.adempiere.base/src/org/compiere/model/MAttributeValue.java @@ -34,6 +34,16 @@ public class MAttributeValue extends X_M_AttributeValue */ private static final long serialVersionUID = 4105427429027399512L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_AttributeValue_UU UUID key + * @param trxName Transaction + */ + public MAttributeValue(Properties ctx, String M_AttributeValue_UU, String trxName) { + super(ctx, M_AttributeValue_UU, trxName); + } + /** * Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MAuthorizationAccount.java b/org.adempiere.base/src/org/compiere/model/MAuthorizationAccount.java index b9dec3e8c2..770436923d 100644 --- a/org.adempiere.base/src/org/compiere/model/MAuthorizationAccount.java +++ b/org.adempiere.base/src/org/compiere/model/MAuthorizationAccount.java @@ -56,6 +56,16 @@ public class MAuthorizationAccount extends X_AD_AuthorizationAccount { */ private static final long serialVersionUID = -6808970904951033494L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_AuthorizationAccount_UU UUID key + * @param trxName Transaction + */ + public MAuthorizationAccount(Properties ctx, String AD_AuthorizationAccount_UU, String trxName) { + super(ctx, AD_AuthorizationAccount_UU, trxName); + } + /** * Create empty Authorization Account * diff --git a/org.adempiere.base/src/org/compiere/model/MAuthorizationCredential.java b/org.adempiere.base/src/org/compiere/model/MAuthorizationCredential.java index 4d73a67a91..148f2476a6 100644 --- a/org.adempiere.base/src/org/compiere/model/MAuthorizationCredential.java +++ b/org.adempiere.base/src/org/compiere/model/MAuthorizationCredential.java @@ -60,6 +60,16 @@ public class MAuthorizationCredential extends X_AD_AuthorizationCredential { */ private static final long serialVersionUID = -5410915257751308490L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_AuthorizationCredential_UU UUID key + * @param trxName Transaction + */ + public MAuthorizationCredential(Properties ctx, String AD_AuthorizationCredential_UU, String trxName) { + super(ctx, AD_AuthorizationCredential_UU, trxName); + } + /** * Create empty Authorization Credential * diff --git a/org.adempiere.base/src/org/compiere/model/MAuthorizationProvider.java b/org.adempiere.base/src/org/compiere/model/MAuthorizationProvider.java index d879180fe8..66f16f1b1e 100644 --- a/org.adempiere.base/src/org/compiere/model/MAuthorizationProvider.java +++ b/org.adempiere.base/src/org/compiere/model/MAuthorizationProvider.java @@ -36,6 +36,16 @@ public class MAuthorizationProvider extends X_AD_AuthorizationProvider { */ private static final long serialVersionUID = -5486619727437115587L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_AuthorizationProvider_UU UUID key + * @param trxName Transaction + */ + public MAuthorizationProvider(Properties ctx, String AD_AuthorizationProvider_UU, String trxName) { + super(ctx, AD_AuthorizationProvider_UU, trxName); + } + /** * Create empty Authorization Provider * diff --git a/org.adempiere.base/src/org/compiere/model/MAuthorizationScopeProv.java b/org.adempiere.base/src/org/compiere/model/MAuthorizationScopeProv.java index 9d6d6c72f3..db99c7f200 100644 --- a/org.adempiere.base/src/org/compiere/model/MAuthorizationScopeProv.java +++ b/org.adempiere.base/src/org/compiere/model/MAuthorizationScopeProv.java @@ -36,6 +36,16 @@ public class MAuthorizationScopeProv extends X_AD_AuthorizationScopeProv { */ private static final long serialVersionUID = -1862019802912162492L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_AuthorizationScopeProv_UU UUID key + * @param trxName Transaction + */ + public MAuthorizationScopeProv(Properties ctx, String AD_AuthorizationScopeProv_UU, String trxName) { + super(ctx, AD_AuthorizationScopeProv_UU, trxName); + } + /** * Create empty Authorization ScopeProvider * diff --git a/org.adempiere.base/src/org/compiere/model/MBOM.java b/org.adempiere.base/src/org/compiere/model/MBOM.java index b62f963f9c..f4c05f4e9c 100644 --- a/org.adempiere.base/src/org/compiere/model/MBOM.java +++ b/org.adempiere.base/src/org/compiere/model/MBOM.java @@ -23,6 +23,7 @@ import java.util.Properties; import org.compiere.util.CLogger; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -119,6 +120,18 @@ public class MBOM extends X_M_BOM implements ImmutablePOSupport private static CLogger s_log = CLogger.getCLogger (MBOM.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_BOM_UU UUID key + * @param trxName Transaction + */ + public MBOM(Properties ctx, String M_BOM_UU, String trxName) { + super(ctx, M_BOM_UU, trxName); + if (Util.isEmpty(M_BOM_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -129,12 +142,17 @@ public class MBOM extends X_M_BOM implements ImmutablePOSupport { super (ctx, M_BOM_ID, trxName); if (M_BOM_ID == 0) - { - setBOMType (BOMTYPE_CurrentActive); // A - setBOMUse (BOMUSE_Master); // A - } + setInitialDefaults(); } // MBOM + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setBOMType (BOMTYPE_CurrentActive); // A + setBOMUse (BOMUSE_Master); // A + } + /** * Load Constructor * @param ctx ctx diff --git a/org.adempiere.base/src/org/compiere/model/MBOMProduct.java b/org.adempiere.base/src/org/compiere/model/MBOMProduct.java index 16b22dbde8..4a647d5ce7 100644 --- a/org.adempiere.base/src/org/compiere/model/MBOMProduct.java +++ b/org.adempiere.base/src/org/compiere/model/MBOMProduct.java @@ -24,6 +24,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * BOM Product/Component Model @@ -63,6 +64,18 @@ public class MBOMProduct extends X_M_BOMProduct @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger (MBOMProduct.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_BOMProduct_UU UUID key + * @param trxName Transaction + */ + public MBOMProduct(Properties ctx, String M_BOMProduct_UU, String trxName) { + super(ctx, M_BOMProduct_UU, trxName); + if (Util.isEmpty(M_BOMProduct_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -73,14 +86,19 @@ public class MBOMProduct extends X_M_BOMProduct { super (ctx, M_BOMProduct_ID, trxName); if (M_BOMProduct_ID == 0) - { - setBOMProductType (BOMPRODUCTTYPE_StandardProduct); // S - setBOMQty (Env.ONE); - setIsPhantom (false); - setLeadTimeOffset (0); - } + setInitialDefaults(); } // MBOMProduct + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setBOMProductType (BOMPRODUCTTYPE_StandardProduct); // S + setBOMQty (Env.ONE); + setIsPhantom (false); + setLeadTimeOffset (0); + } + /** * Parent Constructor * @param bom product diff --git a/org.adempiere.base/src/org/compiere/model/MBPBankAccount.java b/org.adempiere.base/src/org/compiere/model/MBPBankAccount.java index 0d12005408..0dbedd3fa9 100644 --- a/org.adempiere.base/src/org/compiere/model/MBPBankAccount.java +++ b/org.adempiere.base/src/org/compiere/model/MBPBankAccount.java @@ -63,6 +63,18 @@ public class MBPBankAccount extends X_C_BP_BankAccount @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger(MBPBankAccount.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_BP_BankAccount_UU UUID key + * @param trxName Transaction + */ + public MBPBankAccount(Properties ctx, String C_BP_BankAccount_UU, String trxName) { + super(ctx, C_BP_BankAccount_UU, trxName); + if (Util.isEmpty(C_BP_BankAccount_UU)) + setInitialDefaults(); + } + /************************************************************************** * Constructor * @param ctx context @@ -73,12 +85,17 @@ public class MBPBankAccount extends X_C_BP_BankAccount { super (ctx, C_BP_BankAccount_ID, trxName); if (C_BP_BankAccount_ID == 0) - { - setIsACH (false); - setBPBankAcctUse(BPBANKACCTUSE_Both); - } + setInitialDefaults(); } // MBP_BankAccount + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsACH (false); + setBPBankAcctUse(BPBANKACCTUSE_Both); + } + /** * Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MBPGroup.java b/org.adempiere.base/src/org/compiere/model/MBPGroup.java index 02e67d0e21..63acc6b6e1 100644 --- a/org.adempiere.base/src/org/compiere/model/MBPGroup.java +++ b/org.adempiere.base/src/org/compiere/model/MBPGroup.java @@ -26,6 +26,7 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; import org.idempiere.cache.IntPOCopyCache; @@ -198,6 +199,18 @@ public class MBPGroup extends X_C_BP_Group implements ImmutablePOSupport /** Logger */ private static CLogger s_log = CLogger.getCLogger (MBPGroup.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_BP_Group_UU UUID key + * @param trxName Transaction + */ + public MBPGroup(Properties ctx, String C_BP_Group_UU, String trxName) { + super(ctx, C_BP_Group_UU, trxName); + if (Util.isEmpty(C_BP_Group_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -208,13 +221,18 @@ public class MBPGroup extends X_C_BP_Group implements ImmutablePOSupport { super (ctx, C_BP_Group_ID, trxName); if (C_BP_Group_ID == 0) - { - setIsConfidentialInfo (false); // N - setIsDefault (false); - setPriorityBase(PRIORITYBASE_Same); - } + setInitialDefaults(); } // MBPGroup + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsConfidentialInfo (false); // N + setIsDefault (false); + setPriorityBase(PRIORITYBASE_Same); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MBPartner.java b/org.adempiere.base/src/org/compiere/model/MBPartner.java index 1d3fcf4ccb..454bd64d3f 100644 --- a/org.adempiere.base/src/org/compiere/model/MBPartner.java +++ b/org.adempiere.base/src/org/compiere/model/MBPartner.java @@ -29,6 +29,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; import org.idempiere.cache.ImmutablePOSupport; /** @@ -243,6 +244,18 @@ public class MBPartner extends X_C_BPartner implements ImmutablePOSupport super(ctx, rs, trxName); } // MBPartner + /** + * UUID based Constructor + * @param ctx Context + * @param C_BPartner_UU UUID key + * @param trxName Transaction + */ + public MBPartner(Properties ctx, String C_BPartner_UU, String trxName) { + super(ctx, C_BPartner_UU, trxName); + if (Util.isEmpty(C_BPartner_UU)) + setInitialDefaults(); + } + /** * Default Constructor * @param ctx context @@ -259,36 +272,41 @@ public class MBPartner extends X_C_BPartner implements ImmutablePOSupport C_BPartner_ID = 0; } if (C_BPartner_ID == 0) - { - // - setIsCustomer (true); - setIsProspect (true); - // - setSendEMail (false); - setIsOneTime (false); - setIsVendor (false); - setIsSummary (false); - setIsEmployee (false); - setIsSalesRep (false); - setIsTaxExempt(false); - setIsPOTaxExempt(false); - setIsDiscountPrinted(false); - // - setSO_CreditLimit (Env.ZERO); - setSO_CreditUsed (Env.ZERO); - setTotalOpenBalance (Env.ZERO); - setSOCreditStatus(SOCREDITSTATUS_NoCreditCheck); - // - setFirstSale(null); - setActualLifeTimeValue(Env.ZERO); - setPotentialLifeTimeValue(Env.ZERO); - setAcqusitionCost(Env.ZERO); - setShareOfCustomer(0); - setSalesVolume(0); - } + setInitialDefaults(); if (log.isLoggable(Level.FINE)) log.fine(toString()); } // MBPartner + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + // + setIsCustomer (true); + setIsProspect (true); + // + setSendEMail (false); + setIsOneTime (false); + setIsVendor (false); + setIsSummary (false); + setIsEmployee (false); + setIsSalesRep (false); + setIsTaxExempt(false); + setIsPOTaxExempt(false); + setIsDiscountPrinted(false); + // + setSO_CreditLimit (Env.ZERO); + setSO_CreditUsed (Env.ZERO); + setTotalOpenBalance (Env.ZERO); + setSOCreditStatus(SOCREDITSTATUS_NoCreditCheck); + // + setFirstSale(null); + setActualLifeTimeValue(Env.ZERO); + setPotentialLifeTimeValue(Env.ZERO); + setAcqusitionCost(Env.ZERO); + setShareOfCustomer(0); + setSalesVolume(0); + } + /** * Import Constructor * @param impBP import diff --git a/org.adempiere.base/src/org/compiere/model/MBPartnerInfo.java b/org.adempiere.base/src/org/compiere/model/MBPartnerInfo.java index fa08a0e123..411db6266e 100644 --- a/org.adempiere.base/src/org/compiere/model/MBPartnerInfo.java +++ b/org.adempiere.base/src/org/compiere/model/MBPartnerInfo.java @@ -141,6 +141,16 @@ public class MBPartnerInfo extends X_RV_BPartner /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MBPartnerInfo.class); + /** + * UUID based Constructor + * @param ctx Context + * @param RV_BPartner_UU UUID key + * @param trxName Transaction + */ + public MBPartnerInfo(Properties ctx, String RV_BPartner_UU, String trxName) { + super(ctx, RV_BPartner_UU, trxName); + } + /************************************************************************** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MBPartnerLocation.java b/org.adempiere.base/src/org/compiere/model/MBPartnerLocation.java index 7bb33f0a4d..1113695125 100644 --- a/org.adempiere.base/src/org/compiere/model/MBPartnerLocation.java +++ b/org.adempiere.base/src/org/compiere/model/MBPartnerLocation.java @@ -21,6 +21,7 @@ import java.util.List; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Partner Location Model @@ -72,6 +73,18 @@ public class MBPartnerLocation extends X_C_BPartner_Location { return retValue; } // getForBPartner + /** + * UUID based Constructor + * @param ctx Context + * @param C_BPartner_Location_UU UUID key + * @param trxName Transaction + */ + public MBPartnerLocation(Properties ctx, String C_BPartner_Location_UU, String trxName) { + super(ctx, C_BPartner_Location_UU, trxName); + if (Util.isEmpty(C_BPartner_Location_UU)) + setInitialDefaults(); + } + /************************************************************************** * Default Constructor * @@ -85,16 +98,22 @@ public class MBPartnerLocation extends X_C_BPartner_Location { public MBPartnerLocation(Properties ctx, int C_BPartner_Location_ID, String trxName) { super(ctx, C_BPartner_Location_ID, trxName); - if (C_BPartner_Location_ID == 0) { - setName("."); - // - setIsShipTo(true); - setIsRemitTo(true); - setIsPayFrom(true); - setIsBillTo(true); - } + if (C_BPartner_Location_ID == 0) + setInitialDefaults(); } // MBPartner_Location + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setName("."); + // + setIsShipTo(true); + setIsRemitTo(true); + setIsPayFrom(true); + setIsBillTo(true); + } + /** * BP Parent Constructor * diff --git a/org.adempiere.base/src/org/compiere/model/MBPartnerProduct.java b/org.adempiere.base/src/org/compiere/model/MBPartnerProduct.java index 6feff7a46d..a15f04e3a2 100644 --- a/org.adempiere.base/src/org/compiere/model/MBPartnerProduct.java +++ b/org.adempiere.base/src/org/compiere/model/MBPartnerProduct.java @@ -34,10 +34,19 @@ public class MBPartnerProduct extends X_C_BPartner_Product */ private static final long serialVersionUID = -3890764013045208949L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_BPartner_Product_UU UUID key + * @param trxName Transaction + */ + public MBPartnerProduct(Properties ctx, String C_BPartner_Product_UU, String trxName) { + super(ctx, C_BPartner_Product_UU, trxName); + } + public MBPartnerProduct(Properties ctx, int C_BpartnerProduct_ID, String m_trxName) { super(ctx, C_BpartnerProduct_ID, m_trxName); - } public MBPartnerProduct(Properties ctx, ResultSet rs, String trxName) diff --git a/org.adempiere.base/src/org/compiere/model/MBank.java b/org.adempiere.base/src/org/compiere/model/MBank.java index bb76d29055..9b6b726911 100644 --- a/org.adempiere.base/src/org/compiere/model/MBank.java +++ b/org.adempiere.base/src/org/compiere/model/MBank.java @@ -87,6 +87,16 @@ public class MBank extends X_C_Bank implements ImmutablePOSupport new ImmutableIntPOCache (Table_Name, 3); + /** + * UUID based Constructor + * @param ctx Context + * @param C_Bank_UU UUID key + * @param trxName Transaction + */ + public MBank(Properties ctx, String C_Bank_UU, String trxName) { + super(ctx, C_Bank_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MBankAccount.java b/org.adempiere.base/src/org/compiere/model/MBankAccount.java index 84d2d14a96..149bc82492 100644 --- a/org.adempiere.base/src/org/compiere/model/MBankAccount.java +++ b/org.adempiere.base/src/org/compiere/model/MBankAccount.java @@ -90,6 +90,18 @@ public class MBankAccount extends X_C_BankAccount implements ImmutablePOSupport private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 5); + /** + * UUID based Constructor + * @param ctx Context + * @param C_BankAccount_UU UUID key + * @param trxName Transaction + */ + public MBankAccount(Properties ctx, String C_BankAccount_UU, String trxName) { + super(ctx, C_BankAccount_UU, trxName); + if (Util.isEmpty(C_BankAccount_UU)) + setInitialDefaults(); + } + /** * Bank Account Model * @param ctx context @@ -100,14 +112,19 @@ public class MBankAccount extends X_C_BankAccount implements ImmutablePOSupport { super (ctx, C_BankAccount_ID, trxName); if (C_BankAccount_ID == 0) - { - setIsDefault (false); - setBankAccountType (BANKACCOUNTTYPE_Checking); - setCurrentBalance (Env.ZERO); - setCreditLimit (Env.ZERO); - } + setInitialDefaults(); } // MBankAccount + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsDefault (false); + setBankAccountType (BANKACCOUNTTYPE_Checking); + setCurrentBalance (Env.ZERO); + setCreditLimit (Env.ZERO); + } + /** * Bank Account Model * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MBankAccountProcessor.java b/org.adempiere.base/src/org/compiere/model/MBankAccountProcessor.java index d4dc98f759..c8d044d764 100644 --- a/org.adempiere.base/src/org/compiere/model/MBankAccountProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/MBankAccountProcessor.java @@ -140,6 +140,16 @@ public class MBankAccountProcessor extends X_C_BankAccount_Processor { return retValue; } + /** + * UUID based Constructor + * @param ctx Context + * @param C_BankAccount_Processor_UU UUID key + * @param trxName Transaction + */ + public MBankAccountProcessor(Properties ctx, String C_BankAccount_Processor_UU, String trxName) { + super(ctx, C_BankAccount_Processor_UU, trxName); + } + public MBankAccountProcessor (Properties ctx, int ignored, String trxName) { super(ctx, 0, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MBankStatement.java b/org.adempiere.base/src/org/compiere/model/MBankStatement.java index 72d9eb2146..ed394350da 100644 --- a/org.adempiere.base/src/org/compiere/model/MBankStatement.java +++ b/org.adempiere.base/src/org/compiere/model/MBankStatement.java @@ -29,6 +29,7 @@ import org.compiere.process.DocumentEngine; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Bank Statement Model @@ -54,6 +55,18 @@ public class MBankStatement extends X_C_BankStatement implements DocAction */ private static final long serialVersionUID = -5635804381201264475L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_BankStatement_UU UUID key + * @param trxName Transaction + */ + public MBankStatement(Properties ctx, String C_BankStatement_UU, String trxName) { + super(ctx, C_BankStatement_UU, trxName); + if (Util.isEmpty(C_BankStatement_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -64,20 +77,25 @@ public class MBankStatement extends X_C_BankStatement implements DocAction { super (ctx, C_BankStatement_ID, trxName); if (C_BankStatement_ID == 0) - { - setStatementDate (new Timestamp(System.currentTimeMillis())); // @Date@ - setDocAction (DOCACTION_Complete); // CO - setDocStatus (DOCSTATUS_Drafted); // DR - setBeginningBalance(Env.ZERO); - setStatementDifference(Env.ZERO); - setEndingBalance (Env.ZERO); - setIsApproved (false); // N - setIsManual (true); // Y - setPosted (false); // N - super.setProcessed (false); - } + setInitialDefaults(); } // MBankStatement + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setStatementDate (new Timestamp(System.currentTimeMillis())); // @Date@ + setDocAction (DOCACTION_Complete); // CO + setDocStatus (DOCSTATUS_Drafted); // DR + setBeginningBalance(Env.ZERO); + setStatementDifference(Env.ZERO); + setEndingBalance (Env.ZERO); + setIsApproved (false); // N + setIsManual (true); // Y + setPosted (false); // N + super.setProcessed (false); + } + /** * Load Constructor * @param ctx Current context diff --git a/org.adempiere.base/src/org/compiere/model/MBankStatementLine.java b/org.adempiere.base/src/org/compiere/model/MBankStatementLine.java index ca061e5d6b..b8348d7622 100644 --- a/org.adempiere.base/src/org/compiere/model/MBankStatementLine.java +++ b/org.adempiere.base/src/org/compiere/model/MBankStatementLine.java @@ -25,6 +25,7 @@ import java.util.Properties; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Bank Statement Line Model @@ -46,6 +47,18 @@ import org.compiere.util.Msg; */ private static final long serialVersionUID = -4479911757321927051L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_BankStatementLine_UU UUID key + * @param trxName Transaction + */ + public MBankStatementLine(Properties ctx, String C_BankStatementLine_UU, String trxName) { + super(ctx, C_BankStatementLine_UU, trxName); + if (Util.isEmpty(C_BankStatementLine_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -56,15 +69,20 @@ import org.compiere.util.Msg; { super (ctx, C_BankStatementLine_ID, trxName); if (C_BankStatementLine_ID == 0) - { - setStmtAmt(Env.ZERO); - setTrxAmt(Env.ZERO); - setInterestAmt(Env.ZERO); - setChargeAmt(Env.ZERO); - setIsReversal (false); - } + setInitialDefaults(); } // MBankStatementLine - + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setStmtAmt(Env.ZERO); + setTrxAmt(Env.ZERO); + setInterestAmt(Env.ZERO); + setChargeAmt(Env.ZERO); + setIsReversal (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MBankStatementLoader.java b/org.adempiere.base/src/org/compiere/model/MBankStatementLoader.java index 72948d7e33..f03979021c 100644 --- a/org.adempiere.base/src/org/compiere/model/MBankStatementLoader.java +++ b/org.adempiere.base/src/org/compiere/model/MBankStatementLoader.java @@ -85,6 +85,17 @@ import org.compiere.util.Util; /* Last saved line, to be retrieved on loaders */ private X_I_BankStatement m_lastSavedLine; + /** + * UUID based Constructor + * @param ctx Context + * @param C_BankStatementLoader_UU UUID key + * @param trxName Transaction + */ + public MBankStatementLoader(Properties ctx, String C_BankStatementLoader_UU, String trxName) { + super(ctx, C_BankStatementLoader_UU, trxName); + init(null); + } + /** * Create a Statement Loader * Added for compatibility with new PO infrastructure (bug# 968136) diff --git a/org.adempiere.base/src/org/compiere/model/MBankStatementMatcher.java b/org.adempiere.base/src/org/compiere/model/MBankStatementMatcher.java index 9137ec4e6c..c22fa39f14 100644 --- a/org.adempiere.base/src/org/compiere/model/MBankStatementMatcher.java +++ b/org.adempiere.base/src/org/compiere/model/MBankStatementMatcher.java @@ -83,6 +83,16 @@ public class MBankStatementMatcher extends X_C_BankStatementMatcher /** Static Logger */ private static CLogger s_log = CLogger.getCLogger(MBankStatementMatcher.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_BankStatementMatcher_UU UUID key + * @param trxName Transaction + */ + public MBankStatementMatcher(Properties ctx, String C_BankStatementMatcher_UU, String trxName) { + super(ctx, C_BankStatementMatcher_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MBankTransfer.java b/org.adempiere.base/src/org/compiere/model/MBankTransfer.java index b7195b7bc6..fcafe58069 100644 --- a/org.adempiere.base/src/org/compiere/model/MBankTransfer.java +++ b/org.adempiere.base/src/org/compiere/model/MBankTransfer.java @@ -37,6 +37,7 @@ import org.compiere.process.DocumentEngine; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * @@ -49,6 +50,18 @@ public class MBankTransfer extends X_C_BankTransfer implements DocAction { */ private static final long serialVersionUID = -6091468617167291836L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_BankTransfer_UU UUID key + * @param trxName Transaction + */ + public MBankTransfer(Properties ctx, String C_BankTransfer_UU, String trxName) { + super(ctx, C_BankTransfer_UU, trxName); + if (Util.isEmpty(C_BankTransfer_UU)) + setInitialDefaults(); + } + /** * * @param ctx @@ -58,14 +71,19 @@ public class MBankTransfer extends X_C_BankTransfer implements DocAction { public MBankTransfer(Properties ctx, int C_BankTransfer_ID, String trxName) { super(ctx, C_BankTransfer_ID, trxName); if (C_BankTransfer_ID == 0) - { - setDocAction(DOCACTION_Complete); - setDocStatus(DOCSTATUS_Drafted); - setPayDate(new Timestamp(System.currentTimeMillis())); - setProcessed(false); - } + setInitialDefaults(); } + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDocAction(DOCACTION_Complete); + setDocStatus(DOCSTATUS_Drafted); + setPayDate(new Timestamp(System.currentTimeMillis())); + setProcessed(false); + } + /** * * @param ctx diff --git a/org.adempiere.base/src/org/compiere/model/MBlackListCheque.java b/org.adempiere.base/src/org/compiere/model/MBlackListCheque.java index c5861c9da5..df2ad722ae 100644 --- a/org.adempiere.base/src/org/compiere/model/MBlackListCheque.java +++ b/org.adempiere.base/src/org/compiere/model/MBlackListCheque.java @@ -31,6 +31,16 @@ public class MBlackListCheque extends X_U_BlackListCheque */ private static final long serialVersionUID = 6958839594386806390L; + /** + * UUID based Constructor + * @param ctx Context + * @param U_BlackListCheque_UU UUID key + * @param trxName Transaction + */ + public MBlackListCheque(Properties ctx, String U_BlackListCheque_UU, String trxName) { + super(ctx, U_BlackListCheque_UU, trxName); + } + public MBlackListCheque(Properties ctx, int U_BlackListCheque_ID, String trxName) { super(ctx, U_BlackListCheque_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MCalendar.java b/org.adempiere.base/src/org/compiere/model/MCalendar.java index 6cd87dabce..1649d1189a 100644 --- a/org.adempiere.base/src/org/compiere/model/MCalendar.java +++ b/org.adempiere.base/src/org/compiere/model/MCalendar.java @@ -111,6 +111,16 @@ public class MCalendar extends X_C_Calendar implements ImmutablePOSupport = new ImmutableIntPOCache(Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param C_Calendar_UU UUID key + * @param trxName Transaction + */ + public MCalendar(Properties ctx, String C_Calendar_UU, String trxName) { + super(ctx, C_Calendar_UU, trxName); + } + /************************************************************************* * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCampaign.java b/org.adempiere.base/src/org/compiere/model/MCampaign.java index af05b9eded..32d83d515d 100644 --- a/org.adempiere.base/src/org/compiere/model/MCampaign.java +++ b/org.adempiere.base/src/org/compiere/model/MCampaign.java @@ -34,6 +34,16 @@ public class MCampaign extends X_C_Campaign */ private static final long serialVersionUID = -5881057827687596119L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_Campaign_UU UUID key + * @param trxName Transaction + */ + public MCampaign(Properties ctx, String C_Campaign_UU, String trxName) { + super(ctx, C_Campaign_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCash.java b/org.adempiere.base/src/org/compiere/model/MCash.java index 1ac358236c..19ee4bf5e8 100644 --- a/org.adempiere.base/src/org/compiere/model/MCash.java +++ b/org.adempiere.base/src/org/compiere/model/MCash.java @@ -32,6 +32,7 @@ import org.compiere.util.DisplayType; import org.compiere.util.Env; import org.compiere.util.Msg; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; /** * Cash Journal Model @@ -139,6 +140,18 @@ public class MCash extends X_C_Cash implements DocAction private static CLogger s_log = CLogger.getCLogger (MCash.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_Cash_UU UUID key + * @param trxName Transaction + */ + public MCash(Properties ctx, String C_Cash_UU, String trxName) { + super(ctx, C_Cash_UU, trxName); + if (Util.isEmpty(C_Cash_UU)) + setInitialDefaults(ctx); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -149,26 +162,31 @@ public class MCash extends X_C_Cash implements DocAction { super (ctx, C_Cash_ID, trxName); if (C_Cash_ID == 0) - { - setBeginningBalance (Env.ZERO); - setEndingBalance (Env.ZERO); - setStatementDifference(Env.ZERO); - setDocAction(DOCACTION_Complete); - setDocStatus(DOCSTATUS_Drafted); - // - Timestamp today = TimeUtil.getDay(System.currentTimeMillis()); - setStatementDate (today); // @#Date@ - setDateAcct (today); // @#Date@ - - StringBuilder name = new StringBuilder(DisplayType.getDateFormat(DisplayType.Date).format(today)) - .append(" ").append(MOrg.get(ctx, getAD_Org_ID()).getValue()); - setName (name.toString()); - setIsApproved(false); - setPosted (false); // N - setProcessed (false); - } + setInitialDefaults(ctx); } // MCash + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults(Properties ctx) { + setBeginningBalance (Env.ZERO); + setEndingBalance (Env.ZERO); + setStatementDifference(Env.ZERO); + setDocAction(DOCACTION_Complete); + setDocStatus(DOCSTATUS_Drafted); + // + Timestamp today = TimeUtil.getDay(System.currentTimeMillis()); + setStatementDate (today); // @#Date@ + setDateAcct (today); // @#Date@ + + StringBuilder name = new StringBuilder(DisplayType.getDateFormat(DisplayType.Date).format(today)) + .append(" ").append(MOrg.get(ctx, getAD_Org_ID()).getValue()); + setName (name.toString()); + setIsApproved(false); + setPosted (false); // N + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCashBook.java b/org.adempiere.base/src/org/compiere/model/MCashBook.java index 011c49bba0..cdf9d32d20 100644 --- a/org.adempiere.base/src/org/compiere/model/MCashBook.java +++ b/org.adempiere.base/src/org/compiere/model/MCashBook.java @@ -135,6 +135,16 @@ public class MCashBook extends X_C_CashBook implements ImmutablePOSupport @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger (MCashBook.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_CashBook_UU UUID key + * @param trxName Transaction + */ + public MCashBook(Properties ctx, String C_CashBook_UU, String trxName) { + super(ctx, C_CashBook_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCashLine.java b/org.adempiere.base/src/org/compiere/model/MCashLine.java index c89036b2cb..5869571bd8 100644 --- a/org.adempiere.base/src/org/compiere/model/MCashLine.java +++ b/org.adempiere.base/src/org/compiere/model/MCashLine.java @@ -25,6 +25,7 @@ import org.adempiere.exceptions.AdempiereException; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Cash Line Model @@ -45,6 +46,18 @@ public class MCashLine extends X_C_CashLine private static final long serialVersionUID = 5023249596033465923L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_CashLine_UU UUID key + * @param trxName Transaction + */ + public MCashLine(Properties ctx, String C_CashLine_UU, String trxName) { + super(ctx, C_CashLine_UU, trxName); + if (Util.isEmpty(C_CashLine_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -55,14 +68,19 @@ public class MCashLine extends X_C_CashLine { super (ctx, C_CashLine_ID, trxName); if (C_CashLine_ID == 0) - { - setAmount (Env.ZERO); - setDiscountAmt(Env.ZERO); - setWriteOffAmt(Env.ZERO); - setIsGenerated(false); - } + setInitialDefaults(); } // MCashLine + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setAmount (Env.ZERO); + setDiscountAmt(Env.ZERO); + setWriteOffAmt(Env.ZERO); + setIsGenerated(false); + } + /** * Load Cosntructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCashPlan.java b/org.adempiere.base/src/org/compiere/model/MCashPlan.java index 0020c503bf..b134f8270b 100644 --- a/org.adempiere.base/src/org/compiere/model/MCashPlan.java +++ b/org.adempiere.base/src/org/compiere/model/MCashPlan.java @@ -41,6 +41,16 @@ public class MCashPlan extends X_C_CashPlan @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger(MCashPlan.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_CashPlan_UU UUID key + * @param trxName Transaction + */ + public MCashPlan(Properties ctx, String C_CashPlan_UU, String trxName) { + super(ctx, C_CashPlan_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCashPlanLine.java b/org.adempiere.base/src/org/compiere/model/MCashPlanLine.java index 53d5b736c8..6188a87ee7 100644 --- a/org.adempiere.base/src/org/compiere/model/MCashPlanLine.java +++ b/org.adempiere.base/src/org/compiere/model/MCashPlanLine.java @@ -38,6 +38,16 @@ public class MCashPlanLine extends X_C_CashPlanLine @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger(MCashPlanLine.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_CashPlanLine_UU UUID key + * @param trxName Transaction + */ + public MCashPlanLine(Properties ctx, String C_CashPlanLine_UU, String trxName) { + super(ctx, C_CashPlanLine_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MChangeLog.java b/org.adempiere.base/src/org/compiere/model/MChangeLog.java index c716e07a8f..36cde1bffc 100644 --- a/org.adempiere.base/src/org/compiere/model/MChangeLog.java +++ b/org.adempiere.base/src/org/compiere/model/MChangeLog.java @@ -115,6 +115,16 @@ public class MChangeLog extends X_AD_ChangeLog super(ctx, rs, trxName); } // MChangeLog + /** + * UUID based Constructor + * @param ctx Context + * @param AD_ChangeLog_UU UUID key + * @param trxName Transaction + */ + public MChangeLog(Properties ctx, String AD_ChangeLog_UU, String trxName) { + super(ctx, AD_ChangeLog_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MChangeNotice.java b/org.adempiere.base/src/org/compiere/model/MChangeNotice.java index e42c2e8ee1..1e22475401 100644 --- a/org.adempiere.base/src/org/compiere/model/MChangeNotice.java +++ b/org.adempiere.base/src/org/compiere/model/MChangeNotice.java @@ -19,6 +19,8 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; +import org.compiere.util.Util; + /** * Change Notice Model * @author Jorg Janke @@ -31,6 +33,18 @@ public class MChangeNotice extends X_M_ChangeNotice */ private static final long serialVersionUID = -1252425132317509377L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_ChangeNotice_UU UUID key + * @param trxName Transaction + */ + public MChangeNotice(Properties ctx, String M_ChangeNotice_UU, String trxName) { + super(ctx, M_ChangeNotice_UU, trxName); + if (Util.isEmpty(M_ChangeNotice_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -41,12 +55,17 @@ public class MChangeNotice extends X_M_ChangeNotice { super (ctx, M_ChangeNotice_ID, trxName); if (M_ChangeNotice_ID == 0) - { - setIsApproved (false); // N - setProcessed (false); - } + setInitialDefaults(); } // MChangeNotice + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsApproved (false); // N + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MChangeRequest.java b/org.adempiere.base/src/org/compiere/model/MChangeRequest.java index 7e3f71b67a..b69d57a8ac 100644 --- a/org.adempiere.base/src/org/compiere/model/MChangeRequest.java +++ b/org.adempiere.base/src/org/compiere/model/MChangeRequest.java @@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.Msg; +import org.compiere.util.Util; import org.eevolution.model.MPPProductBOM; /** @@ -35,6 +36,18 @@ public class MChangeRequest extends X_M_ChangeRequest private static final long serialVersionUID = 8374119541472311165L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_ChangeRequest_UU UUID key + * @param trxName Transaction + */ + public MChangeRequest(Properties ctx, String M_ChangeRequest_UU, String trxName) { + super(ctx, M_ChangeRequest_UU, trxName); + if (Util.isEmpty(M_ChangeRequest_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -45,12 +58,17 @@ public class MChangeRequest extends X_M_ChangeRequest { super (ctx, M_ChangeRequest_ID, trxName); if (M_ChangeRequest_ID == 0) - { - setIsApproved(false); - setProcessed(false); - } + setInitialDefaults(); } // MChangeRequest + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsApproved(false); + setProcessed(false); + } + /** * CRM Request Constructor * @param request request diff --git a/org.adempiere.base/src/org/compiere/model/MCharge.java b/org.adempiere.base/src/org/compiere/model/MCharge.java index eda590f27f..6ecbac57f8 100644 --- a/org.adempiere.base/src/org/compiere/model/MCharge.java +++ b/org.adempiere.base/src/org/compiere/model/MCharge.java @@ -23,6 +23,7 @@ import java.util.Properties; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -134,6 +135,18 @@ public class MCharge extends X_C_Charge implements ImmutablePOSupport private static CLogger s_log = CLogger.getCLogger (MCharge.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_Charge_UU UUID key + * @param trxName Transaction + */ + public MCharge(Properties ctx, String C_Charge_UU, String trxName) { + super(ctx, C_Charge_UU, trxName); + if (Util.isEmpty(C_Charge_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -144,14 +157,19 @@ public class MCharge extends X_C_Charge implements ImmutablePOSupport { super (ctx, C_Charge_ID, trxName); if (C_Charge_ID == 0) - { - setChargeAmt (Env.ZERO); - setIsSameCurrency (false); - setIsSameTax (false); - setIsTaxIncluded (false); // N - } + setInitialDefaults(); } // MCharge + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setChargeAmt (Env.ZERO); + setIsSameCurrency (false); + setIsSameTax (false); + setIsTaxIncluded (false); // N + } + /** * Load Constructor * @param ctx ctx diff --git a/org.adempiere.base/src/org/compiere/model/MChart.java b/org.adempiere.base/src/org/compiere/model/MChart.java index a6a32e777c..424278fb7a 100644 --- a/org.adempiere.base/src/org/compiere/model/MChart.java +++ b/org.adempiere.base/src/org/compiere/model/MChart.java @@ -16,6 +16,16 @@ public class MChart extends X_AD_Chart { private int windowNo=0; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Chart_UU UUID key + * @param trxName Transaction + */ + public MChart(Properties ctx, String AD_Chart_UU, String trxName) { + super(ctx, AD_Chart_UU, trxName); + } + public MChart(Properties ctx, int AD_Chart_ID, String trxName) { super(ctx, AD_Chart_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MChartDatasource.java b/org.adempiere.base/src/org/compiere/model/MChartDatasource.java index c05d6bf639..ab6cbf4c68 100644 --- a/org.adempiere.base/src/org/compiere/model/MChartDatasource.java +++ b/org.adempiere.base/src/org/compiere/model/MChartDatasource.java @@ -19,8 +19,17 @@ public class MChartDatasource extends X_AD_ChartDatasource { */ private static final long serialVersionUID = 5108909995064477463L; - public MChartDatasource(Properties ctx, int AD_ChartDatasource_ID, - String trxName) { + /** + * UUID based Constructor + * @param ctx Context + * @param AD_ChartDatasource_UU UUID key + * @param trxName Transaction + */ + public MChartDatasource(Properties ctx, String AD_ChartDatasource_UU, String trxName) { + super(ctx, AD_ChartDatasource_UU, trxName); + } + + public MChartDatasource(Properties ctx, int AD_ChartDatasource_ID, String trxName) { super(ctx, AD_ChartDatasource_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MChat.java b/org.adempiere.base/src/org/compiere/model/MChat.java index b951e7c4d5..62f13d2e1b 100644 --- a/org.adempiere.base/src/org/compiere/model/MChat.java +++ b/org.adempiere.base/src/org/compiere/model/MChat.java @@ -92,6 +92,18 @@ public class MChat extends X_CM_Chat private static CLogger s_log = CLogger.getCLogger (MChat.class); + /** + * UUID based Constructor + * @param ctx Context + * @param CM_Chat_UU UUID key + * @param trxName Transaction + */ + public MChat(Properties ctx, String CM_Chat_UU, String trxName) { + super(ctx, CM_Chat_UU, trxName); + if (Util.isEmpty(CM_Chat_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -102,12 +114,17 @@ public class MChat extends X_CM_Chat { super (ctx, CM_Chat_ID, trxName); if (CM_Chat_ID == 0) - { - setConfidentialType (CONFIDENTIALTYPE_PublicInformation); - setModerationType (MODERATIONTYPE_NotModerated); - } + setInitialDefaults(); } // MChat + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setConfidentialType (CONFIDENTIALTYPE_PublicInformation); + setModerationType (MODERATIONTYPE_NotModerated); + } + /** * Full Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MChatEntry.java b/org.adempiere.base/src/org/compiere/model/MChatEntry.java index 0fe0ce510e..8663de81f2 100644 --- a/org.adempiere.base/src/org/compiere/model/MChatEntry.java +++ b/org.adempiere.base/src/org/compiere/model/MChatEntry.java @@ -19,6 +19,8 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; +import org.compiere.util.Util; + /** * Chat Entry Model * @@ -32,6 +34,18 @@ public class MChatEntry extends X_CM_ChatEntry */ private static final long serialVersionUID = -158924400098841023L; + /** + * UUID based Constructor + * @param ctx Context + * @param CM_ChatEntry_UU UUID key + * @param trxName Transaction + */ + public MChatEntry(Properties ctx, String CM_ChatEntry_UU, String trxName) { + super(ctx, CM_ChatEntry_UU, trxName); + if (Util.isEmpty(CM_ChatEntry_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx cintext @@ -42,12 +56,17 @@ public class MChatEntry extends X_CM_ChatEntry { super (ctx, CM_ChatEntry_ID, trxName); if (CM_ChatEntry_ID == 0) - { - setChatEntryType (CHATENTRYTYPE_NoteFlat); // N - setConfidentialType (CONFIDENTIALTYPE_PublicInformation); - } + setInitialDefaults(); } // MChatEntry + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setChatEntryType (CHATENTRYTYPE_NoteFlat); // N + setConfidentialType (CONFIDENTIALTYPE_PublicInformation); + } + /** * Parent Constructor * @param chat parent diff --git a/org.adempiere.base/src/org/compiere/model/MChatType.java b/org.adempiere.base/src/org/compiere/model/MChatType.java index 7144a9d949..1eda660af5 100644 --- a/org.adempiere.base/src/org/compiere/model/MChatType.java +++ b/org.adempiere.base/src/org/compiere/model/MChatType.java @@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -71,6 +72,18 @@ public class MChatType extends X_CM_ChatType implements ImmutablePOSupport private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache (Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param CM_ChatType_UU UUID key + * @param trxName Transaction + */ + public MChatType(Properties ctx, String CM_ChatType_UU, String trxName) { + super(ctx, CM_ChatType_UU, trxName); + if (Util.isEmpty(CM_ChatType_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -81,9 +94,16 @@ public class MChatType extends X_CM_ChatType implements ImmutablePOSupport { super (ctx, CM_ChatType_ID, trxName); if (CM_ChatType_ID == 0) - setModerationType (MODERATIONTYPE_NotModerated); + setInitialDefaults(); } // MChatType + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setModerationType (MODERATIONTYPE_NotModerated); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCity.java b/org.adempiere.base/src/org/compiere/model/MCity.java index 357dacd07a..85e5ba6822 100644 --- a/org.adempiere.base/src/org/compiere/model/MCity.java +++ b/org.adempiere.base/src/org/compiere/model/MCity.java @@ -79,6 +79,16 @@ public class MCity extends X_C_City /** Region Cache */ + /** + * UUID based Constructor + * @param ctx Context + * @param C_City_UU UUID key + * @param trxName Transaction + */ + public MCity(Properties ctx, String C_City_UU, String trxName) { + super(ctx, C_City_UU, trxName); + } + /************************************************************************** * Create empty City * @param ctx context @@ -88,9 +98,6 @@ public class MCity extends X_C_City public MCity (Properties ctx, int C_City_ID, String trxName) { super (ctx, C_City_ID, trxName); - if (C_City_ID == 0) - { - } } // MCity diff --git a/org.adempiere.base/src/org/compiere/model/MClient.java b/org.adempiere.base/src/org/compiere/model/MClient.java index 77257c3fe4..017915181e 100644 --- a/org.adempiere.base/src/org/compiere/model/MClient.java +++ b/org.adempiere.base/src/org/compiere/model/MClient.java @@ -191,6 +191,16 @@ public class MClient extends X_AD_Client implements ImmutablePOSupport } } // MClient + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Client_UU UUID key + * @param trxName Transaction + */ + public MClient(Properties ctx, String AD_Client_UU, String trxName) { + super(ctx, AD_Client_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MClientInfo.java b/org.adempiere.base/src/org/compiere/model/MClientInfo.java index 46c9b41288..c8236cef27 100644 --- a/org.adempiere.base/src/org/compiere/model/MClientInfo.java +++ b/org.adempiere.base/src/org/compiere/model/MClientInfo.java @@ -144,6 +144,16 @@ public class MClientInfo extends X_AD_ClientInfo implements ImmutablePOSupport private static CLogger s_log = CLogger.getCLogger (MClientInfo.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_ClientInfo_UU UUID key + * @param trxName Transaction + */ + public MClientInfo(Properties ctx, String AD_ClientInfo_UU, String trxName) { + super(ctx, AD_ClientInfo_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MClientShare.java b/org.adempiere.base/src/org/compiere/model/MClientShare.java index 2464670ea1..4b30f99e61 100644 --- a/org.adempiere.base/src/org/compiere/model/MClientShare.java +++ b/org.adempiere.base/src/org/compiere/model/MClientShare.java @@ -121,6 +121,16 @@ public class MClientShare extends X_AD_ClientShare /** Logger */ private static CLogger s_log = CLogger.getCLogger (MClientShare.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_ClientShare_UU UUID key + * @param trxName Transaction + */ + public MClientShare(Properties ctx, String AD_ClientShare_UU, String trxName) { + super(ctx, AD_ClientShare_UU, trxName); + } + /************************************************************************** * Default Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MColor.java b/org.adempiere.base/src/org/compiere/model/MColor.java index fb5958306b..3567e71e4a 100644 --- a/org.adempiere.base/src/org/compiere/model/MColor.java +++ b/org.adempiere.base/src/org/compiere/model/MColor.java @@ -34,7 +34,7 @@ public class MColor extends X_AD_Color /** * */ - private static final long serialVersionUID = 3054697070898921956L; + private static final long serialVersionUID = -2721945803283036539L; /** * Color Model @@ -48,7 +48,14 @@ public class MColor extends X_AD_Color if (AD_Color_ID == 0) setName("-/-"); } // MColor - + + public MColor(Properties ctx, String AD_Color_UU, String trxName) + { + super (ctx, AD_Color_UU, trxName); + if (AD_Color_UU.length() == 0) + setName("-/-"); + } + public MColor(Properties ctx, ResultSet rs, String trxName) { super (ctx, rs, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MColorSchema.java b/org.adempiere.base/src/org/compiere/model/MColorSchema.java index d807495947..8360fae4ae 100644 --- a/org.adempiere.base/src/org/compiere/model/MColorSchema.java +++ b/org.adempiere.base/src/org/compiere/model/MColorSchema.java @@ -131,6 +131,16 @@ public class MColorSchema extends X_PA_ColorSchema implements ImmutablePOSupport private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache (Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param PA_ColorSchema_UU UUID key + * @param trxName Transaction + */ + public MColorSchema(Properties ctx, String PA_ColorSchema_UU, String trxName) { + super(ctx, PA_ColorSchema_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MColumn.java b/org.adempiere.base/src/org/compiere/model/MColumn.java index 194c75a19a..f61e069745 100644 --- a/org.adempiere.base/src/org/compiere/model/MColumn.java +++ b/org.adempiere.base/src/org/compiere/model/MColumn.java @@ -165,6 +165,18 @@ public class MColumn extends X_AD_Column implements ImmutablePOSupport /** Cache */ private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Column_UU UUID key + * @param trxName Transaction + */ + public MColumn(Properties ctx, String AD_Column_UU, String trxName) { + super(ctx, AD_Column_UU, trxName); + if (Util.isEmpty(AD_Column_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -175,20 +187,25 @@ public class MColumn extends X_AD_Column implements ImmutablePOSupport { super (ctx, AD_Column_ID, trxName); if (AD_Column_ID == 0) - { - setIsAlwaysUpdateable (false); // N - setIsEncrypted (false); - setIsIdentifier (false); - setIsKey (false); - setIsMandatory (false); - setIsParent (false); - setIsSelectionColumn (false); - setIsTranslated (false); - setIsUpdateable (true); // Y - setVersion (Env.ZERO); - } + setInitialDefaults(); } // MColumn + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsAlwaysUpdateable (false); // N + setIsEncrypted (false); + setIsIdentifier (false); + setIsKey (false); + setIsMandatory (false); + setIsParent (false); + setIsSelectionColumn (false); + setIsTranslated (false); + setIsUpdateable (true); // Y + setVersion (Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MColumnAccess.java b/org.adempiere.base/src/org/compiere/model/MColumnAccess.java index 111a3ea82c..c112fee7e7 100644 --- a/org.adempiere.base/src/org/compiere/model/MColumnAccess.java +++ b/org.adempiere.base/src/org/compiere/model/MColumnAccess.java @@ -37,6 +37,16 @@ public class MColumnAccess extends X_AD_Column_Access */ private static final long serialVersionUID = -2362624234744824977L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Column_Access_UU UUID key + * @param trxName Transaction + */ + public MColumnAccess(Properties ctx, String AD_Column_Access_UU, String trxName) { + super(ctx, AD_Column_Access_UU, trxName); + } + /** * Persistency Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCommission.java b/org.adempiere.base/src/org/compiere/model/MCommission.java index c4a2ea2f0b..7be8b83170 100644 --- a/org.adempiere.base/src/org/compiere/model/MCommission.java +++ b/org.adempiere.base/src/org/compiere/model/MCommission.java @@ -23,6 +23,7 @@ import java.util.Properties; import java.util.logging.Level; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Model for Commission. @@ -40,6 +41,18 @@ public class MCommission extends X_C_Commission */ private static final long serialVersionUID = 2702487404398723180L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_Commission_UU UUID key + * @param trxName Transaction + */ + public MCommission(Properties ctx, String C_Commission_UU, String trxName) { + super(ctx, C_Commission_UU, trxName); + if (Util.isEmpty(C_Commission_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -50,13 +63,18 @@ public class MCommission extends X_C_Commission { super(ctx, C_Commission_ID, trxName); if (C_Commission_ID == 0) - { - setDocBasisType (DOCBASISTYPE_Invoice); // I - setFrequencyType (FREQUENCYTYPE_Monthly); // M - setListDetails (false); - } + setInitialDefaults(); } // MCommission + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDocBasisType (DOCBASISTYPE_Invoice); // I + setFrequencyType (FREQUENCYTYPE_Monthly); // M + setListDetails (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCommissionAmt.java b/org.adempiere.base/src/org/compiere/model/MCommissionAmt.java index 73eb8405e7..b2722cab9b 100644 --- a/org.adempiere.base/src/org/compiere/model/MCommissionAmt.java +++ b/org.adempiere.base/src/org/compiere/model/MCommissionAmt.java @@ -22,6 +22,7 @@ import java.util.List; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Commission Run Amounts @@ -36,6 +37,18 @@ public class MCommissionAmt extends X_C_CommissionAmt */ private static final long serialVersionUID = 1747802539808391638L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_CommissionAmt_UU UUID key + * @param trxName Transaction + */ + public MCommissionAmt(Properties ctx, String C_CommissionAmt_UU, String trxName) { + super(ctx, C_CommissionAmt_UU, trxName); + if (Util.isEmpty(C_CommissionAmt_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -46,13 +59,18 @@ public class MCommissionAmt extends X_C_CommissionAmt { super(ctx, C_CommissionAmt_ID, trxName); if (C_CommissionAmt_ID == 0) - { - setActualQty (Env.ZERO); - setCommissionAmt (Env.ZERO); - setConvertedAmt (Env.ZERO); - } + setInitialDefaults(); } // MCommissionAmt + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setActualQty (Env.ZERO); + setCommissionAmt (Env.ZERO); + setConvertedAmt (Env.ZERO); + } + /** * Parent Constructor * @param run parent diff --git a/org.adempiere.base/src/org/compiere/model/MCommissionDetail.java b/org.adempiere.base/src/org/compiere/model/MCommissionDetail.java index 53c2d2d22d..b5f9385a0f 100644 --- a/org.adempiere.base/src/org/compiere/model/MCommissionDetail.java +++ b/org.adempiere.base/src/org/compiere/model/MCommissionDetail.java @@ -36,6 +36,16 @@ public class MCommissionDetail extends X_C_CommissionDetail */ private static final long serialVersionUID = 1727857992121809494L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_CommissionDetail_UU UUID key + * @param trxName Transaction + */ + public MCommissionDetail(Properties ctx, String C_CommissionDetail_UU, String trxName) { + super(ctx, C_CommissionDetail_UU, trxName); + } + /** * Persistency Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCommissionLine.java b/org.adempiere.base/src/org/compiere/model/MCommissionLine.java index 734c9c3151..a86778d8da 100644 --- a/org.adempiere.base/src/org/compiere/model/MCommissionLine.java +++ b/org.adempiere.base/src/org/compiere/model/MCommissionLine.java @@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; /** @@ -35,6 +36,18 @@ public class MCommissionLine extends X_C_CommissionLine */ private static final long serialVersionUID = 2167566875518334780L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_CommissionLine_UU UUID key + * @param trxName Transaction + */ + public MCommissionLine(Properties ctx, String C_CommissionLine_UU, String trxName) { + super(ctx, C_CommissionLine_UU, trxName); + if (Util.isEmpty(C_CommissionLine_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -45,17 +58,22 @@ public class MCommissionLine extends X_C_CommissionLine { super(ctx, C_CommissionLine_ID, trxName); if (C_CommissionLine_ID == 0) - { - setLine (0); // @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_CommissionLine WHERE C_Commission_ID=@C_Commission_ID@ - setAmtMultiplier (Env.ZERO); - setAmtSubtract (Env.ZERO); - setCommissionOrders (false); - setIsPositiveOnly (false); - setQtyMultiplier (Env.ZERO); - setQtySubtract (Env.ZERO); - } + setInitialDefaults(); } // MCommissionLine + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setLine (0); // @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_CommissionLine WHERE C_Commission_ID=@C_Commission_ID@ + setAmtMultiplier (Env.ZERO); + setAmtSubtract (Env.ZERO); + setCommissionOrders (false); + setIsPositiveOnly (false); + setQtyMultiplier (Env.ZERO); + setQtySubtract (Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCommissionRun.java b/org.adempiere.base/src/org/compiere/model/MCommissionRun.java index 2f14cd2635..7a72591cad 100644 --- a/org.adempiere.base/src/org/compiere/model/MCommissionRun.java +++ b/org.adempiere.base/src/org/compiere/model/MCommissionRun.java @@ -22,6 +22,7 @@ import java.util.List; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Commission Run @@ -38,6 +39,18 @@ public class MCommissionRun extends X_C_CommissionRun */ private static final long serialVersionUID = -3103035295526318283L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_CommissionRun_UU UUID key + * @param trxName Transaction + */ + public MCommissionRun(Properties ctx, String C_CommissionRun_UU, String trxName) { + super(ctx, C_CommissionRun_UU, trxName); + if (Util.isEmpty(C_CommissionRun_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -48,12 +61,17 @@ public class MCommissionRun extends X_C_CommissionRun { super(ctx, C_CommissionRun_ID, trxName); if (C_CommissionRun_ID == 0) - { - setGrandTotal (Env.ZERO); - setProcessed (false); - } + setInitialDefaults(); } // MCommissionRun + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setGrandTotal (Env.ZERO); + setProcessed (false); + } + /** * Parent Constructor * @param commission parent diff --git a/org.adempiere.base/src/org/compiere/model/MContactInterest.java b/org.adempiere.base/src/org/compiere/model/MContactInterest.java index dba338f73f..5a4eb83ccd 100644 --- a/org.adempiere.base/src/org/compiere/model/MContactInterest.java +++ b/org.adempiere.base/src/org/compiere/model/MContactInterest.java @@ -71,6 +71,16 @@ public class MContactInterest extends X_R_ContactInterest } // get + /** + * UUID based Constructor + * @param ctx Context + * @param R_ContactInterest_UU UUID key + * @param trxName Transaction + */ + public MContactInterest(Properties ctx, String R_ContactInterest_UU, String trxName) { + super(ctx, R_ContactInterest_UU, trxName); + } + /************************************************************************** * Persistency Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MConversionRate.java b/org.adempiere.base/src/org/compiere/model/MConversionRate.java index fa6b372e5f..0066cc6c58 100644 --- a/org.adempiere.base/src/org/compiere/model/MConversionRate.java +++ b/org.adempiere.base/src/org/compiere/model/MConversionRate.java @@ -35,6 +35,7 @@ import org.compiere.util.Env; import org.compiere.util.Msg; import org.compiere.util.TimeUtil; import org.compiere.util.Trx; +import org.compiere.util.Util; /** * Currency Conversion Rate Model @@ -288,6 +289,18 @@ public class MConversionRate extends X_C_Conversion_Rate } // getRate + /** + * UUID based Constructor + * @param ctx Context + * @param C_Conversion_Rate_UU UUID key + * @param trxName Transaction + */ + public MConversionRate(Properties ctx, String C_Conversion_Rate_UU, String trxName) { + super(ctx, C_Conversion_Rate_UU, trxName); + if (Util.isEmpty(C_Conversion_Rate_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -298,13 +311,18 @@ public class MConversionRate extends X_C_Conversion_Rate { super(ctx, C_Conversion_Rate_ID, trxName); if (C_Conversion_Rate_ID == 0) - { - super.setDivideRate (Env.ZERO); - super.setMultiplyRate (Env.ZERO); - setValidFrom (new Timestamp(System.currentTimeMillis())); - } + setInitialDefaults(); } // MConversionRate + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + super.setDivideRate (Env.ZERO); + super.setMultiplyRate (Env.ZERO); + setValidFrom (new Timestamp(System.currentTimeMillis())); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MConversionType.java b/org.adempiere.base/src/org/compiere/model/MConversionType.java index 4e2cdcfbc3..57d3ba0fc2 100644 --- a/org.adempiere.base/src/org/compiere/model/MConversionType.java +++ b/org.adempiere.base/src/org/compiere/model/MConversionType.java @@ -74,6 +74,16 @@ public class MConversionType extends X_C_ConversionType /** Cache Client-ID */ private static CCache s_cache = new CCache(Table_Name, 4); + /** + * UUID based Constructor + * @param ctx Context + * @param C_ConversionType_UU UUID key + * @param trxName Transaction + */ + public MConversionType(Properties ctx, String C_ConversionType_UU, String trxName) { + super(ctx, C_ConversionType_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCost.java b/org.adempiere.base/src/org/compiere/model/MCost.java index 4f7b553313..8c91a80334 100644 --- a/org.adempiere.base/src/org/compiere/model/MCost.java +++ b/org.adempiere.base/src/org/compiere/model/MCost.java @@ -38,6 +38,7 @@ import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; import org.compiere.util.Trx; +import org.compiere.util.Util; /** * Product Cost Model @@ -1441,6 +1442,18 @@ public class MCost extends X_M_Cost private static CLogger s_log = CLogger.getCLogger (MCost.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_Cost_UU UUID key + * @param trxName Transaction + */ + public MCost(Properties ctx, String M_Cost_UU, String trxName) { + super(ctx, M_Cost_UU, trxName); + if (Util.isEmpty(M_Cost_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -1451,19 +1464,24 @@ public class MCost extends X_M_Cost { super (ctx, ignored, trxName); if (ignored == 0) - { - setM_AttributeSetInstance_ID(0); - // - setCurrentCostPrice (Env.ZERO); - setFutureCostPrice (Env.ZERO); - setCurrentQty (Env.ZERO); - setCumulatedAmt (Env.ZERO); - setCumulatedQty (Env.ZERO); - } + setInitialDefaults(); else throw new IllegalArgumentException("Multi-Key"); } // MCost + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setM_AttributeSetInstance_ID(0); + // + setCurrentCostPrice (Env.ZERO); + setFutureCostPrice (Env.ZERO); + setCurrentQty (Env.ZERO); + setCumulatedAmt (Env.ZERO); + setCumulatedQty (Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCostDetail.java b/org.adempiere.base/src/org/compiere/model/MCostDetail.java index 1b98eb2f73..29056234f1 100644 --- a/org.adempiere.base/src/org/compiere/model/MCostDetail.java +++ b/org.adempiere.base/src/org/compiere/model/MCostDetail.java @@ -28,6 +28,7 @@ import org.compiere.acct.Doc; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Cost Detail Model @@ -714,6 +715,18 @@ public class MCostDetail extends X_M_CostDetail private static CLogger s_log = CLogger.getCLogger (MCostDetail.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_CostDetail_UU UUID key + * @param trxName Transaction + */ + public MCostDetail(Properties ctx, String M_CostDetail_UU, String trxName) { + super(ctx, M_CostDetail_UU, trxName); + if (Util.isEmpty(M_CostDetail_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -724,17 +737,22 @@ public class MCostDetail extends X_M_CostDetail { super (ctx, M_CostDetail_ID, trxName); if (M_CostDetail_ID == 0) - { - setM_AttributeSetInstance_ID (0); - setProcessed (false); - setAmt (Env.ZERO); - setQty (Env.ZERO); - setIsSOTrx (false); - setDeltaAmt (Env.ZERO); - setDeltaQty (Env.ZERO); - } + setInitialDefaults(); } // MCostDetail + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setM_AttributeSetInstance_ID (0); + setProcessed (false); + setAmt (Env.ZERO); + setQty (Env.ZERO); + setIsSOTrx (false); + setDeltaAmt (Env.ZERO); + setDeltaQty (Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCostElement.java b/org.adempiere.base/src/org/compiere/model/MCostElement.java index 2d3acb4deb..95c65e2fe9 100644 --- a/org.adempiere.base/src/org/compiere/model/MCostElement.java +++ b/org.adempiere.base/src/org/compiere/model/MCostElement.java @@ -25,6 +25,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -267,6 +268,18 @@ public class MCostElement extends X_M_CostElement implements ImmutablePOSupport private static CLogger s_log = CLogger.getCLogger (MCostElement.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_CostElement_UU UUID key + * @param trxName Transaction + */ + public MCostElement(Properties ctx, String M_CostElement_UU, String trxName) { + super(ctx, M_CostElement_UU, trxName); + if (Util.isEmpty(M_CostElement_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -277,12 +290,17 @@ public class MCostElement extends X_M_CostElement implements ImmutablePOSupport { super (ctx, M_CostElement_ID, trxName); if (M_CostElement_ID == 0) - { - setCostElementType (COSTELEMENTTYPE_Material); - setIsCalculated (false); - } + setInitialDefaults(); } // MCostElement + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setCostElementType (COSTELEMENTTYPE_Material); + setIsCalculated (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCostQueue.java b/org.adempiere.base/src/org/compiere/model/MCostQueue.java index 7d2b811713..0899b8ba84 100644 --- a/org.adempiere.base/src/org/compiere/model/MCostQueue.java +++ b/org.adempiere.base/src/org/compiere/model/MCostQueue.java @@ -27,6 +27,7 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Cost Queue Model @@ -312,6 +313,18 @@ public class MCostQueue extends X_M_CostQueue private static CLogger s_log = CLogger.getCLogger (MCostQueue.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_CostQueue_UU UUID key + * @param trxName Transaction + */ + public MCostQueue(Properties ctx, String M_CostQueue_UU, String trxName) { + super(ctx, M_CostQueue_UU, trxName); + if (Util.isEmpty(M_CostQueue_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -322,14 +335,19 @@ public class MCostQueue extends X_M_CostQueue { super (ctx, ignored, trxName); if (ignored == 0) - { - setCurrentCostPrice (Env.ZERO); - setCurrentQty (Env.ZERO); - } + setInitialDefaults(); else throw new IllegalArgumentException("Multi-Key"); } // MCostQueue + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setCurrentCostPrice (Env.ZERO); + setCurrentQty (Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCostType.java b/org.adempiere.base/src/org/compiere/model/MCostType.java index 57efe558b7..1b548fd59e 100644 --- a/org.adempiere.base/src/org/compiere/model/MCostType.java +++ b/org.adempiere.base/src/org/compiere/model/MCostType.java @@ -33,6 +33,16 @@ public class MCostType extends X_M_CostType */ private static final long serialVersionUID = -2060640115481013228L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_CostType_UU UUID key + * @param trxName Transaction + */ + public MCostType(Properties ctx, String M_CostType_UU, String trxName) { + super(ctx, M_CostType_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCountry.java b/org.adempiere.base/src/org/compiere/model/MCountry.java index ca425fb074..b859b236e5 100644 --- a/org.adempiere.base/src/org/compiere/model/MCountry.java +++ b/org.adempiere.base/src/org/compiere/model/MCountry.java @@ -33,6 +33,7 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.Env; import org.compiere.util.Language; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -225,6 +226,18 @@ public class MCountry extends X_C_Country private static String DISPLAYSEQUENCE = "@C@, @P@"; + /** + * UUID based Constructor + * @param ctx Context + * @param C_Country_UU UUID key + * @param trxName Transaction + */ + public MCountry(Properties ctx, String C_Country_UU, String trxName) { + super(ctx, C_Country_UU, trxName); + if (Util.isEmpty(C_Country_UU)) + setInitialDefaults(); + } + /************************************************************************* * Create empty Country * @param ctx context @@ -235,15 +248,20 @@ public class MCountry extends X_C_Country { super (ctx, C_Country_ID, trxName); if (C_Country_ID == 0) - { - setDisplaySequence(DISPLAYSEQUENCE); - setHasRegion(false); - setHasPostal_Add(false); - setIsAddressLinesLocalReverse (false); - setIsAddressLinesReverse (false); - } + setInitialDefaults(); } // MCountry + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDisplaySequence(DISPLAYSEQUENCE); + setHasRegion(false); + setHasPostal_Add(false); + setIsAddressLinesLocalReverse (false); + setIsAddressLinesReverse (false); + } + /** * Create Country from current row in ResultSet * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCountryGroup.java b/org.adempiere.base/src/org/compiere/model/MCountryGroup.java index a7c1777994..8dcd580c20 100644 --- a/org.adempiere.base/src/org/compiere/model/MCountryGroup.java +++ b/org.adempiere.base/src/org/compiere/model/MCountryGroup.java @@ -79,6 +79,16 @@ public class MCountryGroup extends X_C_CountryGroup implements ImmutablePOSuppor @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger (MCountryGroup.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_CountryGroup_UU UUID key + * @param trxName Transaction + */ + public MCountryGroup(Properties ctx, String C_CountryGroup_UU, String trxName) { + super(ctx, C_CountryGroup_UU, trxName); + } + /************************************************************************* * Create empty Country * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCountryGroupCountry.java b/org.adempiere.base/src/org/compiere/model/MCountryGroupCountry.java index 47b31d37b6..90e6802cb5 100644 --- a/org.adempiere.base/src/org/compiere/model/MCountryGroupCountry.java +++ b/org.adempiere.base/src/org/compiere/model/MCountryGroupCountry.java @@ -43,6 +43,16 @@ public class MCountryGroupCountry extends X_C_CountryGroupCountry @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger (MCountryGroupCountry.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_CountryGroupCountry_UU UUID key + * @param trxName Transaction + */ + public MCountryGroupCountry(Properties ctx, String C_CountryGroupCountry_UU, String trxName) { + super(ctx, C_CountryGroupCountry_UU, trxName); + } + /************************************************************************* * Create empty Country Group Country * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCtxHelp.java b/org.adempiere.base/src/org/compiere/model/MCtxHelp.java index aa8d0e72cd..7023d669b1 100644 --- a/org.adempiere.base/src/org/compiere/model/MCtxHelp.java +++ b/org.adempiere.base/src/org/compiere/model/MCtxHelp.java @@ -39,6 +39,16 @@ public class MCtxHelp extends X_AD_CtxHelp { */ private static final long serialVersionUID = 6004459503884638672L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_CtxHelp_UU UUID key + * @param trxName Transaction + */ + public MCtxHelp(Properties ctx, String AD_CtxHelp_UU, String trxName) { + super(ctx, AD_CtxHelp_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCtxHelpMsg.java b/org.adempiere.base/src/org/compiere/model/MCtxHelpMsg.java index e930ddaf52..71f6adaf05 100644 --- a/org.adempiere.base/src/org/compiere/model/MCtxHelpMsg.java +++ b/org.adempiere.base/src/org/compiere/model/MCtxHelpMsg.java @@ -50,6 +50,16 @@ public class MCtxHelpMsg extends X_AD_CtxHelpMsg implements ImmutablePOSupport { /** Context Help Message Cache */ private static ImmutablePOCache s_cache = new ImmutablePOCache(Table_Name, 10); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_CtxHelpMsg_UU UUID key + * @param trxName Transaction + */ + public MCtxHelpMsg(Properties ctx, String AD_CtxHelpMsg_UU, String trxName) { + super(ctx, AD_CtxHelpMsg_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MCtxHelpSuggestion.java b/org.adempiere.base/src/org/compiere/model/MCtxHelpSuggestion.java index 7e8a8bbe82..66d5eaa458 100644 --- a/org.adempiere.base/src/org/compiere/model/MCtxHelpSuggestion.java +++ b/org.adempiere.base/src/org/compiere/model/MCtxHelpSuggestion.java @@ -17,13 +17,22 @@ public class MCtxHelpSuggestion extends X_AD_CtxHelpSuggestion { */ private static final long serialVersionUID = 1940407803562658708L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_CtxHelpSuggestion_UU UUID key + * @param trxName Transaction + */ + public MCtxHelpSuggestion(Properties ctx, String AD_CtxHelpSuggestion_UU, String trxName) { + super(ctx, AD_CtxHelpSuggestion_UU, trxName); + } + /** * @param ctx * @param AD_CtxHelpSuggestion_ID * @param trxName */ - public MCtxHelpSuggestion(Properties ctx, int AD_CtxHelpSuggestion_ID, - String trxName) { + public MCtxHelpSuggestion(Properties ctx, int AD_CtxHelpSuggestion_ID, String trxName) { super(ctx, AD_CtxHelpSuggestion_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MCurrency.java b/org.adempiere.base/src/org/compiere/model/MCurrency.java index a58198826a..e15113ff0d 100644 --- a/org.adempiere.base/src/org/compiere/model/MCurrency.java +++ b/org.adempiere.base/src/org/compiere/model/MCurrency.java @@ -20,9 +20,10 @@ import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; -import org.idempiere.cache.ImmutablePOSupport; import org.idempiere.cache.ImmutablePOCache; +import org.idempiere.cache.ImmutablePOSupport; /** * Currency Model. @@ -36,6 +37,18 @@ public class MCurrency extends X_C_Currency implements ImmutablePOSupport */ private static final long serialVersionUID = 4325153934518648373L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_Currency_UU UUID key + * @param trxName Transaction + */ + public MCurrency(Properties ctx, String C_Currency_UU, String trxName) { + super(ctx, C_Currency_UU, trxName); + if (Util.isEmpty(C_Currency_UU)) + setInitialDefaults(); + } + /** * Currency Constructor * @param ctx context @@ -46,14 +59,19 @@ public class MCurrency extends X_C_Currency implements ImmutablePOSupport { super (ctx, C_Currency_ID, trxName); if (C_Currency_ID == 0) - { - setIsEMUMember (false); - setIsEuro (false); - setStdPrecision (2); - setCostingPrecision (4); - } + setInitialDefaults(); } // MCurrency + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsEMUMember (false); + setIsEuro (false); + setStdPrecision (2); + setCostingPrecision (4); + } + /** * Resultset constructor * diff --git a/org.adempiere.base/src/org/compiere/model/MCurrencyAcct.java b/org.adempiere.base/src/org/compiere/model/MCurrencyAcct.java index 1cf80b59da..4d872ea58e 100644 --- a/org.adempiere.base/src/org/compiere/model/MCurrencyAcct.java +++ b/org.adempiere.base/src/org/compiere/model/MCurrencyAcct.java @@ -53,6 +53,16 @@ public class MCurrencyAcct extends X_C_Currency_Acct } // get + /** + * UUID based Constructor + * @param ctx Context + * @param C_Currency_Acct_UU UUID key + * @param trxName Transaction + */ + public MCurrencyAcct(Properties ctx, String C_Currency_Acct_UU, String trxName) { + super(ctx, C_Currency_Acct_UU, trxName); + } + /************************************************************************** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDashboardContent.java b/org.adempiere.base/src/org/compiere/model/MDashboardContent.java index d6c6b19b9c..188f789cad 100644 --- a/org.adempiere.base/src/org/compiere/model/MDashboardContent.java +++ b/org.adempiere.base/src/org/compiere/model/MDashboardContent.java @@ -147,10 +147,21 @@ public class MDashboardContent extends X_PA_DashboardContent .setOrderBy(COLUMNNAME_ColumnNo+","+COLUMNNAME_AD_Client_ID+","+COLUMNNAME_Line); } + /** + * UUID based Constructor + * @param ctx Context + * @param PA_DashboardContent_UU UUID key + * @param trxName Transaction + */ + public MDashboardContent(Properties ctx, String PA_DashboardContent_UU, String trxName) { + super(ctx, PA_DashboardContent_UU, trxName); + } + public MDashboardContent (Properties ctx, int PA_DashboardContent_ID, String trxName) { super (ctx, PA_DashboardContent_ID, trxName); } + public MDashboardContent (Properties ctx, ResultSet rs, String trxName) { super (ctx, rs, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MDashboardContentAccess.java b/org.adempiere.base/src/org/compiere/model/MDashboardContentAccess.java index ca075f5781..bf521f451e 100644 --- a/org.adempiere.base/src/org/compiere/model/MDashboardContentAccess.java +++ b/org.adempiere.base/src/org/compiere/model/MDashboardContentAccess.java @@ -24,13 +24,22 @@ public class MDashboardContentAccess extends X_PA_DashboardContent_Access { */ private static final long serialVersionUID = -4460812046437256244L; + /** + * UUID based Constructor + * @param ctx Context + * @param PA_DashboardContent_Access_UU UUID key + * @param trxName Transaction + */ + public MDashboardContentAccess(Properties ctx, String PA_DashboardContent_Access_UU, String trxName) { + super(ctx, PA_DashboardContent_Access_UU, trxName); + } + /** * @param ctx * @param PA_DashboardContent_Access_ID * @param trxName */ - public MDashboardContentAccess(Properties ctx, - int PA_DashboardContent_Access_ID, String trxName) { + public MDashboardContentAccess(Properties ctx, int PA_DashboardContent_Access_ID, String trxName) { super(ctx, PA_DashboardContent_Access_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MDashboardPreference.java b/org.adempiere.base/src/org/compiere/model/MDashboardPreference.java index 76b14090bf..4659e993ce 100644 --- a/org.adempiere.base/src/org/compiere/model/MDashboardPreference.java +++ b/org.adempiere.base/src/org/compiere/model/MDashboardPreference.java @@ -149,6 +149,16 @@ public class MDashboardPreference extends X_PA_DashboardPreference .setOrderBy(orderByClause); } + /** + * UUID based Constructor + * @param ctx Context + * @param PA_DashboardPreference_UU UUID key + * @param trxName Transaction + */ + public MDashboardPreference(Properties ctx, String PA_DashboardPreference_UU, String trxName) { + super(ctx, PA_DashboardPreference_UU, trxName); + } + /** * * @param ctx diff --git a/org.adempiere.base/src/org/compiere/model/MDepositBatch.java b/org.adempiere.base/src/org/compiere/model/MDepositBatch.java index af8f7ec055..111cad5301 100644 --- a/org.adempiere.base/src/org/compiere/model/MDepositBatch.java +++ b/org.adempiere.base/src/org/compiere/model/MDepositBatch.java @@ -42,6 +42,7 @@ import java.util.logging.Level; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Deposit Batch Model @@ -56,6 +57,18 @@ public class MDepositBatch extends X_C_DepositBatch */ private static final long serialVersionUID = 7691820074981291939L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_DepositBatch_UU UUID key + * @param trxName Transaction + */ + public MDepositBatch(Properties ctx, String C_DepositBatch_UU, String trxName) { + super(ctx, C_DepositBatch_UU, trxName); + if (Util.isEmpty(C_DepositBatch_UU)) + setInitialDefaults(); + } + /** * Create and Load existing Persistent Object * @param ctx context @@ -66,14 +79,18 @@ public class MDepositBatch extends X_C_DepositBatch { super (ctx, C_DepositBatch_ID, trxName); if (C_DepositBatch_ID == 0) - { - setDocStatus (DOCSTATUS_Drafted); - setProcessed (false); - setProcessing (false); - setDepositAmt(Env.ZERO); - } + setInitialDefaults(); } // MDepositBatch + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDocStatus (DOCSTATUS_Drafted); + setProcessed (false); + setProcessing (false); + setDepositAmt(Env.ZERO); + } /** * Load Constructor diff --git a/org.adempiere.base/src/org/compiere/model/MDepositBatchLine.java b/org.adempiere.base/src/org/compiere/model/MDepositBatchLine.java index 12513841a5..95d52c8554 100644 --- a/org.adempiere.base/src/org/compiere/model/MDepositBatchLine.java +++ b/org.adempiere.base/src/org/compiere/model/MDepositBatchLine.java @@ -37,6 +37,7 @@ import java.util.Properties; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Bank Statement Line Model @@ -54,6 +55,18 @@ import org.compiere.util.Msg; + /** + * UUID based Constructor + * @param ctx Context + * @param C_DepositBatchLine_UU UUID key + * @param trxName Transaction + */ + public MDepositBatchLine(Properties ctx, String C_DepositBatchLine_UU, String trxName) { + super(ctx, C_DepositBatchLine_UU, trxName); + if (Util.isEmpty(C_DepositBatchLine_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -64,11 +77,16 @@ import org.compiere.util.Msg; { super (ctx, C_DepositBatchLine_ID, trxName); if (C_DepositBatchLine_ID == 0) - { - setPayAmt(Env.ZERO); - } + setInitialDefaults(); } // MDepositBatchLine + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setPayAmt(Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDepreciation.java b/org.adempiere.base/src/org/compiere/model/MDepreciation.java index 6160f7ffdf..ef00abe93e 100644 --- a/org.adempiere.base/src/org/compiere/model/MDepreciation.java +++ b/org.adempiere.base/src/org/compiere/model/MDepreciation.java @@ -30,6 +30,16 @@ public class MDepreciation extends X_A_Depreciation implements ImmutablePOSuppor */ private static final long serialVersionUID = -4366354698409595086L; + /** + * UUID based Constructor + * @param ctx Context + * @param A_Depreciation_UU UUID key + * @param trxName Transaction + */ + public MDepreciation(Properties ctx, String A_Depreciation_UU, String trxName) { + super(ctx, A_Depreciation_UU, trxName); + } + /** Standard Constructor */ public MDepreciation (Properties ctx, int A_Depreciation_ID, String trxName) { diff --git a/org.adempiere.base/src/org/compiere/model/MDepreciationBuild.java b/org.adempiere.base/src/org/compiere/model/MDepreciationBuild.java index 8992f81431..91991bbeb2 100644 --- a/org.adempiere.base/src/org/compiere/model/MDepreciationBuild.java +++ b/org.adempiere.base/src/org/compiere/model/MDepreciationBuild.java @@ -14,15 +14,20 @@ public class MDepreciationBuild extends X_A_Depreciation_Build * */ private static final long serialVersionUID = 2075917470265913988L; + /** + * UUID based Constructor + * @param ctx Context + * @param A_Depreciation_Build_UU UUID key + * @param trxName Transaction + */ + public MDepreciationBuild(Properties ctx, String A_Depreciation_Build_UU, String trxName) { + super(ctx, A_Depreciation_Build_UU, trxName); + } + /** Standard Constructor */ public MDepreciationBuild (Properties ctx, int A_Depreciation_Build_ID, String trxName) { super (ctx, A_Depreciation_Build_ID, trxName); - /** if (A_Depreciation_Build_ID == 0) - { - setA_Depreciation_Build_ID (0); - } - */ } /** Load Constructor */ public MDepreciationBuild (Properties ctx, ResultSet rs, String trxName) diff --git a/org.adempiere.base/src/org/compiere/model/MDepreciationConvention.java b/org.adempiere.base/src/org/compiere/model/MDepreciationConvention.java index 706c452dc0..9c6e214820 100644 --- a/org.adempiere.base/src/org/compiere/model/MDepreciationConvention.java +++ b/org.adempiere.base/src/org/compiere/model/MDepreciationConvention.java @@ -21,6 +21,16 @@ public class MDepreciationConvention extends X_A_Depreciation_Convention impleme */ private static final long serialVersionUID = -3735111030292424391L; + /** + * UUID based Constructor + * @param ctx Context + * @param A_Depreciation_Convention_UU UUID key + * @param trxName Transaction + */ + public MDepreciationConvention(Properties ctx, String A_Depreciation_Convention_UU, String trxName) { + super(ctx, A_Depreciation_Convention_UU, trxName); + } + /** * Default Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDepreciationEntry.java b/org.adempiere.base/src/org/compiere/model/MDepreciationEntry.java index 4a7fe7c68d..d54810e8c1 100644 --- a/org.adempiere.base/src/org/compiere/model/MDepreciationEntry.java +++ b/org.adempiere.base/src/org/compiere/model/MDepreciationEntry.java @@ -17,6 +17,7 @@ import org.compiere.util.DB; import org.compiere.util.TimeUtil; import org.compiere.util.Trx; import org.compiere.util.TrxRunnable; +import org.compiere.util.Util; import org.idempiere.fa.exceptions.AssetArrayException; import org.idempiere.fa.exceptions.AssetException; @@ -35,23 +36,40 @@ implements DocAction private static final long serialVersionUID = 6631244784741228058L; + /** + * UUID based Constructor + * @param ctx Context + * @param A_Depreciation_Entry_UU UUID key + * @param trxName Transaction + */ + public MDepreciationEntry(Properties ctx, String A_Depreciation_Entry_UU, String trxName) { + super(ctx, A_Depreciation_Entry_UU, trxName); + if (Util.isEmpty(A_Depreciation_Entry_UU)) + setInitialDefaults(); + } + /** Standard Constructor */ public MDepreciationEntry(Properties ctx, int A_Depreciation_Entry_ID, String trxName) { super (ctx, A_Depreciation_Entry_ID, trxName); if (A_Depreciation_Entry_ID == 0) - { - MAcctSchema acctSchema = MClient.get(getCtx()).getAcctSchema(); - setC_AcctSchema_ID(acctSchema.get_ID()); - setC_Currency_ID(acctSchema.getC_Currency_ID()); - setA_Entry_Type (A_ENTRY_TYPE_Depreciation); // TODO: workaround - setPostingType (POSTINGTYPE_Actual); // A - setProcessed (false); - setProcessing (false); - setPosted(false); - } + setInitialDefaults(); } + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + MAcctSchema acctSchema = MClient.get(getCtx()).getAcctSchema(); + setC_AcctSchema_ID(acctSchema.get_ID()); + setC_Currency_ID(acctSchema.getC_Currency_ID()); + setA_Entry_Type (A_ENTRY_TYPE_Depreciation); // TODO: workaround + setPostingType (POSTINGTYPE_Actual); // A + setProcessed (false); + setProcessing (false); + setPosted(false); + } + /** Load Constructor */ public MDepreciationEntry (Properties ctx, ResultSet rs, String trxName) { diff --git a/org.adempiere.base/src/org/compiere/model/MDepreciationExp.java b/org.adempiere.base/src/org/compiere/model/MDepreciationExp.java index 23790affb4..a0a39089e5 100644 --- a/org.adempiere.base/src/org/compiere/model/MDepreciationExp.java +++ b/org.adempiere.base/src/org/compiere/model/MDepreciationExp.java @@ -27,6 +27,16 @@ public class MDepreciationExp extends X_A_Depreciation_Exp private static CLogger s_log = CLogger.getCLogger(MDepreciationExp.class); private CLogger log = CLogger.getCLogger(this.getClass()); + /** + * UUID based Constructor + * @param ctx Context + * @param A_Depreciation_Exp_UU UUID key + * @param trxName Transaction + */ + public MDepreciationExp(Properties ctx, String A_Depreciation_Exp_UU, String trxName) { + super(ctx, A_Depreciation_Exp_UU, trxName); + } + /** Standard Constructor */ public MDepreciationExp(Properties ctx, int A_Depreciation_Exp_ID, String trxName) { diff --git a/org.adempiere.base/src/org/compiere/model/MDepreciationMethod.java b/org.adempiere.base/src/org/compiere/model/MDepreciationMethod.java index 7935b1f18d..26ec5fd4fa 100644 --- a/org.adempiere.base/src/org/compiere/model/MDepreciationMethod.java +++ b/org.adempiere.base/src/org/compiere/model/MDepreciationMethod.java @@ -27,6 +27,16 @@ public class MDepreciationMethod extends X_A_Depreciation_Method implements Immu */ private static final long serialVersionUID = -7477974832683140825L; + /** + * UUID based Constructor + * @param ctx Context + * @param A_Depreciation_Method_UU UUID key + * @param trxName Transaction + */ + public MDepreciationMethod(Properties ctx, String A_Depreciation_Method_UU, String trxName) { + super(ctx, A_Depreciation_Method_UU, trxName); + } + /** Standard Constructor */ public MDepreciationMethod (Properties ctx, int A_Depreciation_Method_ID, String trxName) { diff --git a/org.adempiere.base/src/org/compiere/model/MDepreciationWorkfile.java b/org.adempiere.base/src/org/compiere/model/MDepreciationWorkfile.java index 7339116da9..61af78636c 100644 --- a/org.adempiere.base/src/org/compiere/model/MDepreciationWorkfile.java +++ b/org.adempiere.base/src/org/compiere/model/MDepreciationWorkfile.java @@ -14,6 +14,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; import org.idempiere.fa.feature.UseLife; import org.idempiere.fa.feature.UseLifeImpl; import org.idempiere.fa.service.api.DepreciationDTO; @@ -33,6 +34,18 @@ public class MDepreciationWorkfile extends X_A_Depreciation_Workfile */ private static final long serialVersionUID = -3814417671427820714L; + /** + * UUID based Constructor + * @param ctx Context + * @param A_Depreciation_Workfile_UU UUID key + * @param trxName Transaction + */ + public MDepreciationWorkfile(Properties ctx, String A_Depreciation_Workfile_UU, String trxName) { + super(ctx, A_Depreciation_Workfile_UU, trxName); + if (Util.isEmpty(A_Depreciation_Workfile_UU)) + setInitialDefaults(); + } + /** * Default Constructor * @param ctx context @@ -43,16 +56,21 @@ public class MDepreciationWorkfile extends X_A_Depreciation_Workfile { super (ctx,A_Depreciation_Workfile_ID, trxName); if (A_Depreciation_Workfile_ID == 0) - { - setPostingType(POSTINGTYPE_Actual); - setA_QTY_Current(Env.ZERO); - setA_Asset_Cost(Env.ZERO); - setA_Accumulated_Depr(Env.ZERO); - setA_Period_Posted(0); - setA_Current_Period(0); - } + setInitialDefaults(); } // MDepreciationWorkfile + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setPostingType(POSTINGTYPE_Actual); + setA_QTY_Current(Env.ZERO); + setA_Asset_Cost(Env.ZERO); + setA_Accumulated_Depr(Env.ZERO); + setA_Period_Posted(0); + setA_Current_Period(0); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDiscountSchema.java b/org.adempiere.base/src/org/compiere/model/MDiscountSchema.java index 3ac42af83c..9c5a174f3a 100644 --- a/org.adempiere.base/src/org/compiere/model/MDiscountSchema.java +++ b/org.adempiere.base/src/org/compiere/model/MDiscountSchema.java @@ -28,6 +28,7 @@ import java.util.logging.Level; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -80,6 +81,18 @@ public class MDiscountSchema extends X_M_DiscountSchema implements ImmutablePOSu = new ImmutableIntPOCache(Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param M_DiscountSchema_UU UUID key + * @param trxName Transaction + */ + public MDiscountSchema(Properties ctx, String M_DiscountSchema_UU, String trxName) { + super(ctx, M_DiscountSchema_UU, trxName); + if (Util.isEmpty(M_DiscountSchema_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -90,15 +103,20 @@ public class MDiscountSchema extends X_M_DiscountSchema implements ImmutablePOSu { super (ctx, M_DiscountSchema_ID, trxName); if (M_DiscountSchema_ID == 0) - { - setDiscountType (DISCOUNTTYPE_FlatPercent); - setFlatDiscount(Env.ZERO); - setIsBPartnerFlatDiscount (false); - setIsQuantityBased (true); // Y - setCumulativeLevel(CUMULATIVELEVEL_Line); - } + setInitialDefaults(); } // MDiscountSchema + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDiscountType (DISCOUNTTYPE_FlatPercent); + setFlatDiscount(Env.ZERO); + setIsBPartnerFlatDiscount (false); + setIsQuantityBased (true); // Y + setCumulativeLevel(CUMULATIVELEVEL_Line); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDiscountSchemaBreak.java b/org.adempiere.base/src/org/compiere/model/MDiscountSchemaBreak.java index 1d422f81cb..6843ca4dc1 100644 --- a/org.adempiere.base/src/org/compiere/model/MDiscountSchemaBreak.java +++ b/org.adempiere.base/src/org/compiere/model/MDiscountSchemaBreak.java @@ -41,6 +41,16 @@ public class MDiscountSchemaBreak extends X_M_DiscountSchemaBreak implements Imm */ private static final long serialVersionUID = -5405425697628869517L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_DiscountSchemaBreak_UU UUID key + * @param trxName Transaction + */ + public MDiscountSchemaBreak(Properties ctx, String M_DiscountSchemaBreak_UU, String trxName) { + super(ctx, M_DiscountSchemaBreak_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDiscountSchemaLine.java b/org.adempiere.base/src/org/compiere/model/MDiscountSchemaLine.java index f48399d10d..1af612c26c 100644 --- a/org.adempiere.base/src/org/compiere/model/MDiscountSchemaLine.java +++ b/org.adempiere.base/src/org/compiere/model/MDiscountSchemaLine.java @@ -36,6 +36,16 @@ public class MDiscountSchemaLine extends X_M_DiscountSchemaLine implements Immut */ private static final long serialVersionUID = 5145958821951855437L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_DiscountSchemaLine_UU UUID key + * @param trxName Transaction + */ + public MDiscountSchemaLine(Properties ctx, String M_DiscountSchemaLine_UU, String trxName) { + super(ctx, M_DiscountSchemaLine_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDistribution.java b/org.adempiere.base/src/org/compiere/model/MDistribution.java index 11e9f56154..2639328c35 100644 --- a/org.adempiere.base/src/org/compiere/model/MDistribution.java +++ b/org.adempiere.base/src/org/compiere/model/MDistribution.java @@ -29,6 +29,7 @@ import org.compiere.util.CCache; import org.compiere.util.CLogMgt; import org.compiere.util.CLogger; import org.compiere.util.Env; +import org.compiere.util.Util; /** * GL Distribution Model @@ -254,6 +255,18 @@ public class MDistribution extends X_GL_Distribution = new CCache(Table_Name, 100); + /** + * UUID based Constructor + * @param ctx Context + * @param GL_Distribution_UU UUID key + * @param trxName Transaction + */ + public MDistribution(Properties ctx, String GL_Distribution_UU, String trxName) { + super(ctx, GL_Distribution_UU, trxName); + if (Util.isEmpty(GL_Distribution_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -264,26 +277,31 @@ public class MDistribution extends X_GL_Distribution { super (ctx, GL_Distribution_ID, trxName); if (GL_Distribution_ID == 0) - { - setAnyAcct (true); // Y - setAnyActivity (true); // Y - setAnyBPartner (true); // Y - setAnyCampaign (true); // Y - setAnyLocFrom (true); // Y - setAnyLocTo (true); // Y - setAnyOrg (true); // Y - setAnyOrgTrx (true); // Y - setAnyProduct (true); // Y - setAnyProject (true); // Y - setAnySalesRegion (true); // Y - setAnyUser1 (true); // Y - setAnyUser2 (true); // Y - // - setIsValid (false); // N - setPercentTotal (Env.ZERO); - } + setInitialDefaults(); } // MDistribution + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setAnyAcct (true); // Y + setAnyActivity (true); // Y + setAnyBPartner (true); // Y + setAnyCampaign (true); // Y + setAnyLocFrom (true); // Y + setAnyLocTo (true); // Y + setAnyOrg (true); // Y + setAnyOrgTrx (true); // Y + setAnyProduct (true); // Y + setAnyProject (true); // Y + setAnySalesRegion (true); // Y + setAnyUser1 (true); // Y + setAnyUser2 (true); // Y + // + setIsValid (false); // N + setPercentTotal (Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDistributionLine.java b/org.adempiere.base/src/org/compiere/model/MDistributionLine.java index 4dd69c2ece..a4c694b2f9 100644 --- a/org.adempiere.base/src/org/compiere/model/MDistributionLine.java +++ b/org.adempiere.base/src/org/compiere/model/MDistributionLine.java @@ -24,6 +24,7 @@ import java.util.Properties; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * GL Distribution Line Model @@ -38,6 +39,18 @@ public class MDistributionLine extends X_GL_DistributionLine */ private static final long serialVersionUID = 6148743556518054326L; + /** + * UUID based Constructor + * @param ctx Context + * @param GL_DistributionLine_UU UUID key + * @param trxName Transaction + */ + public MDistributionLine(Properties ctx, String GL_DistributionLine_UU, String trxName) { + super(ctx, GL_DistributionLine_UU, trxName); + if (Util.isEmpty(GL_DistributionLine_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -48,25 +61,30 @@ public class MDistributionLine extends X_GL_DistributionLine { super (ctx, GL_DistributionLine_ID, trxName); if (GL_DistributionLine_ID == 0) - { - setOverwriteAcct (false); - setOverwriteActivity (false); - setOverwriteBPartner (false); - setOverwriteCampaign (false); - setOverwriteLocFrom (false); - setOverwriteLocTo (false); - setOverwriteOrg (false); - setOverwriteOrgTrx (false); - setOverwriteProduct (false); - setOverwriteProject (false); - setOverwriteSalesRegion (false); - setOverwriteUser1 (false); - setOverwriteUser2 (false); - // - setPercent (Env.ZERO); - } + setInitialDefaults(); } // MDistributionLine + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setOverwriteAcct (false); + setOverwriteActivity (false); + setOverwriteBPartner (false); + setOverwriteCampaign (false); + setOverwriteLocFrom (false); + setOverwriteLocTo (false); + setOverwriteOrg (false); + setOverwriteOrgTrx (false); + setOverwriteProduct (false); + setOverwriteProject (false); + setOverwriteSalesRegion (false); + setOverwriteUser1 (false); + setOverwriteUser2 (false); + // + setPercent (Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDistributionList.java b/org.adempiere.base/src/org/compiere/model/MDistributionList.java index f78eb2b2cb..a6f0d48b2b 100644 --- a/org.adempiere.base/src/org/compiere/model/MDistributionList.java +++ b/org.adempiere.base/src/org/compiere/model/MDistributionList.java @@ -39,6 +39,16 @@ public class MDistributionList extends X_M_DistributionList */ private static final long serialVersionUID = -1570304450929416071L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_DistributionList_UU UUID key + * @param trxName Transaction + */ + public MDistributionList(Properties ctx, String M_DistributionList_UU, String trxName) { + super(ctx, M_DistributionList_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDistributionListLine.java b/org.adempiere.base/src/org/compiere/model/MDistributionListLine.java index 69840a1119..889276ab61 100644 --- a/org.adempiere.base/src/org/compiere/model/MDistributionListLine.java +++ b/org.adempiere.base/src/org/compiere/model/MDistributionListLine.java @@ -37,6 +37,16 @@ public class MDistributionListLine extends X_M_DistributionListLine private static final long serialVersionUID = -8227610572847013425L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_DistributionListLine_UU UUID key + * @param trxName Transaction + */ + public MDistributionListLine(Properties ctx, String M_DistributionListLine_UU, String trxName) { + super(ctx, M_DistributionListLine_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDistributionRun.java b/org.adempiere.base/src/org/compiere/model/MDistributionRun.java index 76f0a7c752..1c20ecbae3 100644 --- a/org.adempiere.base/src/org/compiere/model/MDistributionRun.java +++ b/org.adempiere.base/src/org/compiere/model/MDistributionRun.java @@ -38,6 +38,16 @@ public class MDistributionRun extends X_M_DistributionRun */ private static final long serialVersionUID = -4355723603388382287L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_DistributionRun_UU UUID key + * @param trxName Transaction + */ + public MDistributionRun(Properties ctx, String M_DistributionRun_UU, String trxName) { + super(ctx, M_DistributionRun_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDistributionRunDetail.java b/org.adempiere.base/src/org/compiere/model/MDistributionRunDetail.java index 7ed5e057ed..5352938aeb 100644 --- a/org.adempiere.base/src/org/compiere/model/MDistributionRunDetail.java +++ b/org.adempiere.base/src/org/compiere/model/MDistributionRunDetail.java @@ -86,6 +86,16 @@ public class MDistributionRunDetail extends X_T_DistributionRunDetail /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MDistributionRunDetail.class); + /** + * UUID based Constructor + * @param ctx Context + * @param T_DistributionRunDetail_UU UUID key + * @param trxName Transaction + */ + public MDistributionRunDetail(Properties ctx, String T_DistributionRunDetail_UU, String trxName) { + super(ctx, T_DistributionRunDetail_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDistributionRunLine.java b/org.adempiere.base/src/org/compiere/model/MDistributionRunLine.java index 5a050bc371..b5f9f0527f 100644 --- a/org.adempiere.base/src/org/compiere/model/MDistributionRunLine.java +++ b/org.adempiere.base/src/org/compiere/model/MDistributionRunLine.java @@ -37,6 +37,16 @@ public class MDistributionRunLine extends X_M_DistributionRunLine private static final long serialVersionUID = 4106664830581774843L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_DistributionRunLine_UU UUID key + * @param trxName Transaction + */ + public MDistributionRunLine(Properties ctx, String M_DistributionRunLine_UU, String trxName) { + super(ctx, M_DistributionRunLine_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDocType.java b/org.adempiere.base/src/org/compiere/model/MDocType.java index d118f55ab9..0739b09a80 100644 --- a/org.adempiere.base/src/org/compiere/model/MDocType.java +++ b/org.adempiere.base/src/org/compiere/model/MDocType.java @@ -24,6 +24,7 @@ import java.util.logging.Level; import org.adempiere.process.UUIDGenerator; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -121,6 +122,18 @@ public class MDocType extends X_C_DocType implements ImmutablePOSupport /** Cache */ static private ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param C_DocType_UU UUID key + * @param trxName Transaction + */ + public MDocType(Properties ctx, String C_DocType_UU, String trxName) { + super(ctx, C_DocType_UU, trxName); + if (Util.isEmpty(C_DocType_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -131,21 +144,26 @@ public class MDocType extends X_C_DocType implements ImmutablePOSupport { super(ctx, C_DocType_ID, trxName); if (C_DocType_ID == 0) - { - setDocumentCopies (0); - setHasCharges (false); - setIsDefault (false); - setIsDocNoControlled (false); - setIsSOTrx (false); - setIsPickQAConfirm(false); - setIsShipConfirm(false); - setIsSplitWhenDifference(false); - setIsCreateCounter(true); - setIsDefaultCounterDoc(false); - setIsIndexed(true); - } + setInitialDefaults(); } // MDocType + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDocumentCopies (0); + setHasCharges (false); + setIsDefault (false); + setIsDocNoControlled (false); + setIsSOTrx (false); + setIsPickQAConfirm(false); + setIsShipConfirm(false); + setIsSplitWhenDifference(false); + setIsCreateCounter(true); + setIsDefaultCounterDoc(false); + setIsIndexed(true); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDocTypeCounter.java b/org.adempiere.base/src/org/compiere/model/MDocTypeCounter.java index 7d55c2f5c3..b7b96b0db6 100644 --- a/org.adempiere.base/src/org/compiere/model/MDocTypeCounter.java +++ b/org.adempiere.base/src/org/compiere/model/MDocTypeCounter.java @@ -24,6 +24,7 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -241,6 +242,18 @@ public class MDocTypeCounter extends X_C_DocTypeCounter implements ImmutablePOSu private static CLogger s_log = CLogger.getCLogger (MDocTypeCounter.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_DocTypeCounter_UU UUID key + * @param trxName Transaction + */ + public MDocTypeCounter(Properties ctx, String C_DocTypeCounter_UU, String trxName) { + super(ctx, C_DocTypeCounter_UU, trxName); + if (Util.isEmpty(C_DocTypeCounter_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -251,12 +264,17 @@ public class MDocTypeCounter extends X_C_DocTypeCounter implements ImmutablePOSu { super (ctx, C_DocTypeCounter_ID, trxName); if (C_DocTypeCounter_ID == 0) - { - setIsCreateCounter (true); // Y - setIsValid (false); - } + setInitialDefaults(); } // MDocTypeCounter + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsCreateCounter (true); // Y + setIsValid (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDocumentActionAccess.java b/org.adempiere.base/src/org/compiere/model/MDocumentActionAccess.java index 1e9750e193..29946c1d80 100644 --- a/org.adempiere.base/src/org/compiere/model/MDocumentActionAccess.java +++ b/org.adempiere.base/src/org/compiere/model/MDocumentActionAccess.java @@ -34,6 +34,16 @@ public class MDocumentActionAccess extends X_AD_Document_Action_Access { */ private static final long serialVersionUID = -2036011342206732816L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Document_Action_Access_UU UUID key + * @param trxName Transaction + */ + public MDocumentActionAccess(Properties ctx, String AD_Document_Action_Access_UU, String trxName) { + super(ctx, AD_Document_Action_Access_UU, trxName); + } + /** * Standard Constructor * diff --git a/org.adempiere.base/src/org/compiere/model/MDocumentStatus.java b/org.adempiere.base/src/org/compiere/model/MDocumentStatus.java index a2c29921fd..4834fb8ae8 100644 --- a/org.adempiere.base/src/org/compiere/model/MDocumentStatus.java +++ b/org.adempiere.base/src/org/compiere/model/MDocumentStatus.java @@ -45,6 +45,16 @@ public class MDocumentStatus extends X_PA_DocumentStatus implements ImmutablePOS */ private static final long serialVersionUID = 4028519324986534673L; + /** + * UUID based Constructor + * @param ctx Context + * @param PA_DocumentStatus_UU UUID key + * @param trxName Transaction + */ + public MDocumentStatus(Properties ctx, String PA_DocumentStatus_UU, String trxName) { + super(ctx, PA_DocumentStatus_UU, trxName); + } + public MDocumentStatus(Properties ctx, int PA_DocumentStatus_ID, String trxName) { super(ctx, PA_DocumentStatus_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MDocumentStatusAccess.java b/org.adempiere.base/src/org/compiere/model/MDocumentStatusAccess.java index 63958deb5d..c413f48d13 100644 --- a/org.adempiere.base/src/org/compiere/model/MDocumentStatusAccess.java +++ b/org.adempiere.base/src/org/compiere/model/MDocumentStatusAccess.java @@ -34,6 +34,16 @@ public class MDocumentStatusAccess extends X_PA_DocumentStatusAccess { */ private static final long serialVersionUID = -6018040839563733491L; + /** + * UUID based Constructor + * @param ctx Context + * @param PA_DocumentStatusAccess_UU UUID key + * @param trxName Transaction + */ + public MDocumentStatusAccess(Properties ctx, String PA_DocumentStatusAccess_UU, String trxName) { + super(ctx, PA_DocumentStatusAccess_UU, trxName); + } + public MDocumentStatusAccess(Properties ctx, int PA_DocumentStatusAccess_ID, String trxName) { super(ctx, PA_DocumentStatusAccess_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MDunning.java b/org.adempiere.base/src/org/compiere/model/MDunning.java index 2a6942a9b0..417302f5da 100644 --- a/org.adempiere.base/src/org/compiere/model/MDunning.java +++ b/org.adempiere.base/src/org/compiere/model/MDunning.java @@ -33,6 +33,16 @@ public class MDunning extends X_C_Dunning */ private static final long serialVersionUID = -3844081441218291895L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_Dunning_UU UUID key + * @param trxName Transaction + */ + public MDunning(Properties ctx, String C_Dunning_UU, String trxName) { + super(ctx, C_Dunning_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDunningLevel.java b/org.adempiere.base/src/org/compiere/model/MDunningLevel.java index 57e2e05150..c07570f0a9 100644 --- a/org.adempiere.base/src/org/compiere/model/MDunningLevel.java +++ b/org.adempiere.base/src/org/compiere/model/MDunningLevel.java @@ -41,6 +41,16 @@ public class MDunningLevel extends X_C_DunningLevel /** Logger */ private static CLogger s_log = CLogger.getCLogger (MDunningLevel.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_DunningLevel_UU UUID key + * @param trxName Transaction + */ + public MDunningLevel(Properties ctx, String C_DunningLevel_UU, String trxName) { + super(ctx, C_DunningLevel_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDunningRun.java b/org.adempiere.base/src/org/compiere/model/MDunningRun.java index e66cb32e51..ebf5839118 100644 --- a/org.adempiere.base/src/org/compiere/model/MDunningRun.java +++ b/org.adempiere.base/src/org/compiere/model/MDunningRun.java @@ -25,6 +25,7 @@ import java.util.Properties; import java.util.logging.Level; import org.compiere.util.DB; +import org.compiere.util.Util; /** * Dunning Run Model @@ -41,6 +42,18 @@ public class MDunningRun extends X_C_DunningRun */ private static final long serialVersionUID = 6858939271415643483L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_DunningRun_UU UUID key + * @param trxName Transaction + */ + public MDunningRun(Properties ctx, String C_DunningRun_UU, String trxName) { + super(ctx, C_DunningRun_UU, trxName); + if (Util.isEmpty(C_DunningRun_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -51,12 +64,17 @@ public class MDunningRun extends X_C_DunningRun { super (ctx, C_DunningRun_ID, trxName); if (C_DunningRun_ID == 0) - { - setDunningDate (new Timestamp(System.currentTimeMillis())); - setProcessed (false); - } + setInitialDefaults(); } // MDunningRun + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDunningDate (new Timestamp(System.currentTimeMillis())); + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDunningRunEntry.java b/org.adempiere.base/src/org/compiere/model/MDunningRunEntry.java index 2bf7d14acc..678d21c58e 100644 --- a/org.adempiere.base/src/org/compiere/model/MDunningRunEntry.java +++ b/org.adempiere.base/src/org/compiere/model/MDunningRunEntry.java @@ -26,6 +26,7 @@ import org.adempiere.exceptions.BPartnerNoAddressException; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Dunning Run Entry Model @@ -47,6 +48,18 @@ public class MDunningRunEntry extends X_C_DunningRunEntry /** Logger */ private static CLogger s_log = CLogger.getCLogger (MPayment.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_DunningRunEntry_UU UUID key + * @param trxName Transaction + */ + public MDunningRunEntry(Properties ctx, String C_DunningRunEntry_UU, String trxName) { + super(ctx, C_DunningRunEntry_UU, trxName); + if (Util.isEmpty(C_DunningRunEntry_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -57,13 +70,18 @@ public class MDunningRunEntry extends X_C_DunningRunEntry { super (ctx, C_DunningRunEntry_ID, trxName); if (C_DunningRunEntry_ID == 0) - { - setAmt (Env.ZERO); - setQty (Env.ZERO); - setProcessed (false); - } + setInitialDefaults(); } // MDunningRunEntry + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setAmt (Env.ZERO); + setQty (Env.ZERO); + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MDunningRunLine.java b/org.adempiere.base/src/org/compiere/model/MDunningRunLine.java index c01cd4ef36..54836e0f8e 100644 --- a/org.adempiere.base/src/org/compiere/model/MDunningRunLine.java +++ b/org.adempiere.base/src/org/compiere/model/MDunningRunLine.java @@ -22,6 +22,7 @@ import java.util.Properties; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Dunning Run Line Model @@ -36,6 +37,18 @@ public class MDunningRunLine extends X_C_DunningRunLine */ private static final long serialVersionUID = -6329441027195611155L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_DunningRunLine_UU UUID key + * @param trxName Transaction + */ + public MDunningRunLine(Properties ctx, String C_DunningRunLine_UU, String trxName) { + super(ctx, C_DunningRunLine_UU, trxName); + if (Util.isEmpty(C_DunningRunLine_UU)) + setInitialDefaults(); + } + /** * Standarc Constructor * @param ctx ctx @@ -46,20 +59,25 @@ public class MDunningRunLine extends X_C_DunningRunLine { super (ctx, C_DunningRunLine_ID, trxName); if (C_DunningRunLine_ID == 0) - { - setAmt (Env.ZERO); - setOpenAmt(Env.ZERO); - setConvertedAmt (Env.ZERO); - setFeeAmt (Env.ZERO); - setInterestAmt (Env.ZERO); - setTotalAmt (Env.ZERO); - setDaysDue (0); - setTimesDunned (0); - setIsInDispute(false); - setProcessed (false); - } + setInitialDefaults(); } // MDunningRunLine + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setAmt (Env.ZERO); + setOpenAmt(Env.ZERO); + setConvertedAmt (Env.ZERO); + setFeeAmt (Env.ZERO); + setInterestAmt (Env.ZERO); + setTotalAmt (Env.ZERO); + setDaysDue (0); + setTimesDunned (0); + setIsInDispute(false); + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MEXPFormat.java b/org.adempiere.base/src/org/compiere/model/MEXPFormat.java index 7007b32676..541d6e07c1 100644 --- a/org.adempiere.base/src/org/compiere/model/MEXPFormat.java +++ b/org.adempiere.base/src/org/compiere/model/MEXPFormat.java @@ -71,6 +71,16 @@ public class MEXPFormat extends X_EXP_Format implements ImmutablePOSupport { private List m_lines = null; private List m_lines_unique = null; + /** + * UUID based Constructor + * @param ctx Context + * @param EXP_Format_UU UUID key + * @param trxName Transaction + */ + public MEXPFormat(Properties ctx, String EXP_Format_UU, String trxName) { + super(ctx, EXP_Format_UU, trxName); + } + public MEXPFormat(Properties ctx, int EXP_Format_ID, String trxName) { super(ctx, EXP_Format_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MEXPFormatLine.java b/org.adempiere.base/src/org/compiere/model/MEXPFormatLine.java index 04af9d9d1f..2af7e72e5c 100644 --- a/org.adempiere.base/src/org/compiere/model/MEXPFormatLine.java +++ b/org.adempiere.base/src/org/compiere/model/MEXPFormatLine.java @@ -53,8 +53,18 @@ public class MEXPFormatLine extends X_EXP_FormatLine implements ImmutablePOSuppo - public MEXPFormatLine(Properties ctx, int C_EDIFormat_Line_ID, String trxName) { - super(ctx, C_EDIFormat_Line_ID, trxName); + /** + * UUID based Constructor + * @param ctx Context + * @param EXP_FormatLine_UU UUID key + * @param trxName Transaction + */ + public MEXPFormatLine(Properties ctx, String EXP_FormatLine_UU, String trxName) { + super(ctx, EXP_FormatLine_UU, trxName); + } + + public MEXPFormatLine(Properties ctx, int EXP_FormatLine_ID, String trxName) { + super(ctx, EXP_FormatLine_ID, trxName); } public MEXPFormatLine (Properties ctx, ResultSet rs, String trxName) { diff --git a/org.adempiere.base/src/org/compiere/model/MEXPProcessor.java b/org.adempiere.base/src/org/compiere/model/MEXPProcessor.java index f592011f97..84de3243a7 100644 --- a/org.adempiere.base/src/org/compiere/model/MEXPProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/MEXPProcessor.java @@ -63,6 +63,16 @@ public class MEXPProcessor extends X_EXP_Processor { return processor; } + /** + * UUID based Constructor + * @param ctx Context + * @param EXP_Processor_UU UUID key + * @param trxName Transaction + */ + public MEXPProcessor(Properties ctx, String EXP_Processor_UU, String trxName) { + super(ctx, EXP_Processor_UU, trxName); + } + public MEXPProcessor(Properties ctx, int EXP_Processor_ID, String trxName) { super(ctx, EXP_Processor_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MEXPProcessorParameter.java b/org.adempiere.base/src/org/compiere/model/MEXPProcessorParameter.java index 2a076f95e8..d88dfcfa1b 100644 --- a/org.adempiere.base/src/org/compiere/model/MEXPProcessorParameter.java +++ b/org.adempiere.base/src/org/compiere/model/MEXPProcessorParameter.java @@ -47,6 +47,16 @@ public class MEXPProcessorParameter extends X_EXP_ProcessorParameter { private static CLogger s_log = CLogger.getCLogger (MEXPProcessorParameter.class); + /** + * UUID based Constructor + * @param ctx Context + * @param EXP_ProcessorParameter_UU UUID key + * @param trxName Transaction + */ + public MEXPProcessorParameter(Properties ctx, String EXP_ProcessorParameter_UU, String trxName) { + super(ctx, EXP_ProcessorParameter_UU, trxName); + } + public MEXPProcessorParameter(Properties ctx, int EXP_ProcessorParameter_ID, String trxName) { super(ctx, EXP_ProcessorParameter_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MEXPProcessorType.java b/org.adempiere.base/src/org/compiere/model/MEXPProcessorType.java index 7260eaceb1..61f08b71b0 100644 --- a/org.adempiere.base/src/org/compiere/model/MEXPProcessorType.java +++ b/org.adempiere.base/src/org/compiere/model/MEXPProcessorType.java @@ -47,6 +47,16 @@ public class MEXPProcessorType extends X_EXP_Processor_Type { private static CLogger s_log = CLogger.getCLogger (MEXPProcessorType.class); + /** + * UUID based Constructor + * @param ctx Context + * @param EXP_Processor_Type_UU UUID key + * @param trxName Transaction + */ + public MEXPProcessorType(Properties ctx, String EXP_Processor_Type_UU, String trxName) { + super(ctx, EXP_Processor_Type_UU, trxName); + } + public MEXPProcessorType(Properties ctx, int EXP_Processor_Type_ID, String trxName) { super(ctx, EXP_Processor_Type_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MElement.java b/org.adempiere.base/src/org/compiere/model/MElement.java index 4907ddc798..dc9cbfe7ec 100644 --- a/org.adempiere.base/src/org/compiere/model/MElement.java +++ b/org.adempiere.base/src/org/compiere/model/MElement.java @@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Accounting Element Model. @@ -34,6 +35,18 @@ public class MElement extends X_C_Element */ private static final long serialVersionUID = 7656092284157893366L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_Element_UU UUID key + * @param trxName Transaction + */ + public MElement(Properties ctx, String C_Element_UU, String trxName) { + super(ctx, C_Element_UU, trxName); + if (Util.isEmpty(C_Element_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -44,12 +57,17 @@ public class MElement extends X_C_Element { super(ctx, C_Element_ID, trxName); if (C_Element_ID == 0) - { - setIsBalancing (false); - setIsNaturalAccount (false); - } + setInitialDefaults(); } // MElement + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsBalancing (false); + setIsNaturalAccount (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MElementValue.java b/org.adempiere.base/src/org/compiere/model/MElementValue.java index d9e9ae4a6f..92f3914069 100644 --- a/org.adempiere.base/src/org/compiere/model/MElementValue.java +++ b/org.adempiere.base/src/org/compiere/model/MElementValue.java @@ -22,6 +22,7 @@ import java.util.Properties; import org.adempiere.exceptions.AdempiereException; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutablePOSupport; /** @@ -41,6 +42,18 @@ public class MElementValue extends X_C_ElementValue implements ImmutablePOSuppor */ private static final long serialVersionUID = 6352667759697380460L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_ElementValue_UU UUID key + * @param trxName Transaction + */ + public MElementValue(Properties ctx, String C_ElementValue_UU, String trxName) { + super(ctx, C_ElementValue_UU, trxName); + if (Util.isEmpty(C_ElementValue_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -51,21 +64,26 @@ public class MElementValue extends X_C_ElementValue implements ImmutablePOSuppor { super(ctx, C_ElementValue_ID, trxName); if (C_ElementValue_ID == 0) - { - setIsSummary (false); - setAccountSign (ACCOUNTSIGN_Natural); - setAccountType (ACCOUNTTYPE_Expense); - setIsDocControlled(false); - setIsForeignCurrency(false); - setIsBankAccount(false); - // - setPostActual (true); - setPostBudget (true); - setPostEncumbrance (true); - setPostStatistical (true); - } + setInitialDefaults(); } // MElementValue + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsSummary (false); + setAccountSign (ACCOUNTSIGN_Natural); + setAccountType (ACCOUNTTYPE_Expense); + setIsDocControlled(false); + setIsForeignCurrency(false); + setIsBankAccount(false); + // + setPostActual (true); + setPostBudget (true); + setPostEncumbrance (true); + setPostStatistical (true); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MEntityType.java b/org.adempiere.base/src/org/compiere/model/MEntityType.java index 2b58957e7a..95d78184e6 100644 --- a/org.adempiere.base/src/org/compiere/model/MEntityType.java +++ b/org.adempiere.base/src/org/compiere/model/MEntityType.java @@ -86,6 +86,16 @@ public class MEntityType extends X_AD_EntityType implements ImmutablePOSupport @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger (MEntityType.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_EntityType_UU UUID key + * @param trxName Transaction + */ + public MEntityType(Properties ctx, String AD_EntityType_UU, String trxName) { + super(ctx, AD_EntityType_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MExpenseType.java b/org.adempiere.base/src/org/compiere/model/MExpenseType.java index f774dd1be6..c488d324a0 100644 --- a/org.adempiere.base/src/org/compiere/model/MExpenseType.java +++ b/org.adempiere.base/src/org/compiere/model/MExpenseType.java @@ -34,6 +34,16 @@ public class MExpenseType extends X_S_ExpenseType */ private static final long serialVersionUID = -5721855125106737886L; + /** + * UUID based Constructor + * @param ctx Context + * @param S_ExpenseType_UU UUID key + * @param trxName Transaction + */ + public MExpenseType(Properties ctx, String S_ExpenseType_UU, String trxName) { + super(ctx, S_ExpenseType_UU, trxName); + } + /** * Default Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MFactAcct.java b/org.adempiere.base/src/org/compiere/model/MFactAcct.java index 8c91c3df7c..061fd5eb21 100644 --- a/org.adempiere.base/src/org/compiere/model/MFactAcct.java +++ b/org.adempiere.base/src/org/compiere/model/MFactAcct.java @@ -82,6 +82,16 @@ public class MFactAcct extends X_Fact_Acct /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MFactAcct.class); + /** + * UUID based Constructor + * @param ctx Context + * @param Fact_Acct_UU UUID key + * @param trxName Transaction + */ + public MFactAcct(Properties ctx, String Fact_Acct_UU, String trxName) { + super(ctx, Fact_Acct_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MFactReconciliation.java b/org.adempiere.base/src/org/compiere/model/MFactReconciliation.java index ee17973c1e..faa87c56fb 100644 --- a/org.adempiere.base/src/org/compiere/model/MFactReconciliation.java +++ b/org.adempiere.base/src/org/compiere/model/MFactReconciliation.java @@ -9,8 +9,17 @@ public class MFactReconciliation extends X_Fact_Reconciliation { */ private static final long serialVersionUID = 7569838866747051210L; - public MFactReconciliation(Properties ctx, int Fact_Reconciliation_ID, - String trxName) { + /** + * UUID based Constructor + * @param ctx Context + * @param Fact_Reconciliation_UU UUID key + * @param trxName Transaction + */ + public MFactReconciliation(Properties ctx, String Fact_Reconciliation_UU, String trxName) { + super(ctx, Fact_Reconciliation_UU, trxName); + } + + public MFactReconciliation(Properties ctx, int Fact_Reconciliation_ID, String trxName) { super(ctx, Fact_Reconciliation_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MField.java b/org.adempiere.base/src/org/compiere/model/MField.java index 6ffd279bd6..1ec9e61219 100644 --- a/org.adempiere.base/src/org/compiere/model/MField.java +++ b/org.adempiere.base/src/org/compiere/model/MField.java @@ -72,6 +72,18 @@ public class MField extends X_AD_Field implements ImmutablePOSupport return null; } + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Field_UU UUID key + * @param trxName Transaction + */ + public MField(Properties ctx, String AD_Field_UU, String trxName) { + super(ctx, AD_Field_UU, trxName); + if (Util.isEmpty(AD_Field_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -82,19 +94,24 @@ public class MField extends X_AD_Field implements ImmutablePOSupport { super (ctx, AD_Field_ID, trxName); if (AD_Field_ID == 0) - { - setEntityType (ENTITYTYPE_UserMaintained); // U - setIsCentrallyMaintained (true); // Y - setIsDisplayed (true); // Y - setIsDisplayedGrid (true); // Y - setIsEncrypted (false); - setIsFieldOnly (false); - setIsHeading (false); - setIsReadOnly (false); - setIsSameLine (false); - } + setInitialDefaults(); } // MField + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setEntityType (ENTITYTYPE_UserMaintained); // U + setIsCentrallyMaintained (true); // Y + setIsDisplayed (true); // Y + setIsDisplayedGrid (true); // Y + setIsEncrypted (false); + setIsFieldOnly (false); + setIsHeading (false); + setIsReadOnly (false); + setIsSameLine (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MFieldSuggestion.java b/org.adempiere.base/src/org/compiere/model/MFieldSuggestion.java index 6d64ffd6a2..20e7c0ac57 100644 --- a/org.adempiere.base/src/org/compiere/model/MFieldSuggestion.java +++ b/org.adempiere.base/src/org/compiere/model/MFieldSuggestion.java @@ -17,13 +17,22 @@ public class MFieldSuggestion extends X_AD_FieldSuggestion { */ private static final long serialVersionUID = 3304495084929321451L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_FieldSuggestion_UU UUID key + * @param trxName Transaction + */ + public MFieldSuggestion(Properties ctx, String AD_FieldSuggestion_UU, String trxName) { + super(ctx, AD_FieldSuggestion_UU, trxName); + } + /** * @param ctx * @param AD_FieldSuggestion_ID * @param trxName */ - public MFieldSuggestion(Properties ctx, int AD_FieldSuggestion_ID, - String trxName) { + public MFieldSuggestion(Properties ctx, int AD_FieldSuggestion_ID, String trxName) { super(ctx, AD_FieldSuggestion_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MForecast.java b/org.adempiere.base/src/org/compiere/model/MForecast.java index 1bfa26f0c5..48bc2f398a 100644 --- a/org.adempiere.base/src/org/compiere/model/MForecast.java +++ b/org.adempiere.base/src/org/compiere/model/MForecast.java @@ -24,7 +24,7 @@ import java.util.Properties; * * @author victor.perez@e-evolution.com, www.e-evolution.com */ -public class MForecast extends X_M_Forecast +public class MForecast extends X_M_Forecast { @@ -33,6 +33,16 @@ public class MForecast extends X_M_Forecast */ private static final long serialVersionUID = 66771328316032322L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_Forecast_UU UUID key + * @param trxName Transaction + */ + public MForecast(Properties ctx, String M_Forecast_UU, String trxName) { + super(ctx, M_Forecast_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MForecastLine.java b/org.adempiere.base/src/org/compiere/model/MForecastLine.java index bf74585ca3..84bc16442b 100644 --- a/org.adempiere.base/src/org/compiere/model/MForecastLine.java +++ b/org.adempiere.base/src/org/compiere/model/MForecastLine.java @@ -26,7 +26,7 @@ import org.adempiere.exceptions.WarehouseInvalidForOrgException; * @author Victor Perez www.e-evolution.com * @version $Id: MForecastLine.java,v 1.11 2005/05/17 05:29:52 vpj-cd Exp $ */ -public class MForecastLine extends X_M_ForecastLine +public class MForecastLine extends X_M_ForecastLine { @@ -37,6 +37,16 @@ public class MForecastLine extends X_M_ForecastLine /** Parent */ private MForecast m_parent = null; + /** + * UUID based Constructor + * @param ctx Context + * @param M_ForecastLine_UU UUID key + * @param trxName Transaction + */ + public MForecastLine(Properties ctx, String M_ForecastLine_UU, String trxName) { + super(ctx, M_ForecastLine_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MForm.java b/org.adempiere.base/src/org/compiere/model/MForm.java index 9a1c58c636..d294a8f8e2 100644 --- a/org.adempiere.base/src/org/compiere/model/MForm.java +++ b/org.adempiere.base/src/org/compiere/model/MForm.java @@ -71,6 +71,16 @@ public class MForm extends X_AD_Form implements ImmutablePOSupport return null; } // get + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Form_UU UUID key + * @param trxName Transaction + */ + public MForm(Properties ctx, String AD_Form_UU, String trxName) { + super(ctx, AD_Form_UU, trxName); + } + /** * Default Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MFormAccess.java b/org.adempiere.base/src/org/compiere/model/MFormAccess.java index 2b0457f26b..63c693deef 100644 --- a/org.adempiere.base/src/org/compiere/model/MFormAccess.java +++ b/org.adempiere.base/src/org/compiere/model/MFormAccess.java @@ -19,6 +19,8 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; +import org.compiere.util.Util; + /** * Form Access Model @@ -33,6 +35,18 @@ public class MFormAccess extends X_AD_Form_Access */ private static final long serialVersionUID = 7818255846843514899L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Form_Access_UU UUID key + * @param trxName Transaction + */ + public MFormAccess(Properties ctx, String AD_Form_Access_UU, String trxName) { + super(ctx, AD_Form_Access_UU, trxName); + if (Util.isEmpty(AD_Form_Access_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -42,14 +56,19 @@ public class MFormAccess extends X_AD_Form_Access public MFormAccess (Properties ctx, int ignored, String trxName) { super(ctx, 0, trxName); - if (ignored != 0) - throw new IllegalArgumentException("Multi-Key"); + if (ignored == 0) + setInitialDefaults(); else - { - setIsReadWrite (true); - } + throw new IllegalArgumentException("Multi-Key"); } // MFormAccess + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsReadWrite (true); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MFreight.java b/org.adempiere.base/src/org/compiere/model/MFreight.java index 69fab1263b..989bcc4583 100644 --- a/org.adempiere.base/src/org/compiere/model/MFreight.java +++ b/org.adempiere.base/src/org/compiere/model/MFreight.java @@ -36,6 +36,16 @@ public class MFreight extends X_M_Freight { */ private static final long serialVersionUID = -1280041173155194185L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_Freight_UU UUID key + * @param trxName Transaction + */ + public MFreight(Properties ctx, String M_Freight_UU, String trxName) { + super(ctx, M_Freight_UU, trxName); + } + /** * Default constructor * diff --git a/org.adempiere.base/src/org/compiere/model/MFreightCategory.java b/org.adempiere.base/src/org/compiere/model/MFreightCategory.java index fc48cd6de4..ffbff18e94 100644 --- a/org.adempiere.base/src/org/compiere/model/MFreightCategory.java +++ b/org.adempiere.base/src/org/compiere/model/MFreightCategory.java @@ -44,6 +44,16 @@ public class MFreightCategory extends X_M_FreightCategory { private static final long serialVersionUID = -4790439008800915010L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_FreightCategory_UU UUID key + * @param trxName Transaction + */ + public MFreightCategory(Properties ctx, String M_FreightCategory_UU, String trxName) { + super(ctx, M_FreightCategory_UU, trxName); + } + /** * Default constructor * diff --git a/org.adempiere.base/src/org/compiere/model/MGLCategory.java b/org.adempiere.base/src/org/compiere/model/MGLCategory.java index a0f8ca3d3e..f877ad8679 100644 --- a/org.adempiere.base/src/org/compiere/model/MGLCategory.java +++ b/org.adempiere.base/src/org/compiere/model/MGLCategory.java @@ -24,6 +24,7 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -143,6 +144,18 @@ public class MGLCategory extends X_GL_Category implements ImmutablePOSupport = new ImmutableIntPOCache (Table_Name, 5); + /** + * UUID based Constructor + * @param ctx Context + * @param GL_Category_UU UUID key + * @param trxName Transaction + */ + public MGLCategory(Properties ctx, String GL_Category_UU, String trxName) { + super(ctx, GL_Category_UU, trxName); + if (Util.isEmpty(GL_Category_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -153,12 +166,17 @@ public class MGLCategory extends X_GL_Category implements ImmutablePOSupport { super (ctx, GL_Category_ID, trxName); if (GL_Category_ID == 0) - { - setCategoryType (CATEGORYTYPE_Manual); - setIsDefault (false); - } + setInitialDefaults(); } // MGLCategory + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setCategoryType (CATEGORYTYPE_Manual); + setIsDefault (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MGoal.java b/org.adempiere.base/src/org/compiere/model/MGoal.java index 4c66809317..e899958893 100644 --- a/org.adempiere.base/src/org/compiere/model/MGoal.java +++ b/org.adempiere.base/src/org/compiere/model/MGoal.java @@ -31,6 +31,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Performance Goal @@ -255,6 +256,18 @@ public class MGoal extends X_PA_Goal /** Logger */ private static CLogger s_log = CLogger.getCLogger (MGoal.class); + /** + * UUID based Constructor + * @param ctx Context + * @param PA_Goal_UU UUID key + * @param trxName Transaction + */ + public MGoal(Properties ctx, String PA_Goal_UU, String trxName) { + super(ctx, PA_Goal_UU, trxName); + if (Util.isEmpty(PA_Goal_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -265,17 +278,22 @@ public class MGoal extends X_PA_Goal { super (ctx, PA_Goal_ID, trxName); if (PA_Goal_ID == 0) - { - setSeqNo (0); - setIsSummary (false); - setMeasureScope (MEASUREDISPLAY_Year); - setGoalPerformance (Env.ZERO); - setRelativeWeight (Env.ONE); - setMeasureTarget (Env.ZERO); - setMeasureActual (Env.ZERO); - } + setInitialDefaults(); } // MGoal + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setSeqNo (0); + setIsSummary (false); + setMeasureScope (MEASUREDISPLAY_Year); + setGoalPerformance (Env.ZERO); + setRelativeWeight (Env.ONE); + setMeasureTarget (Env.ZERO); + setMeasureActual (Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MGoalRestriction.java b/org.adempiere.base/src/org/compiere/model/MGoalRestriction.java index a3a7ef9618..8e9e0078bc 100644 --- a/org.adempiere.base/src/org/compiere/model/MGoalRestriction.java +++ b/org.adempiere.base/src/org/compiere/model/MGoalRestriction.java @@ -33,14 +33,23 @@ public class MGoalRestriction extends X_PA_GoalRestriction private static final long serialVersionUID = 4027980875091517732L; + /** + * UUID based Constructor + * @param ctx Context + * @param PA_GoalRestriction_UU UUID key + * @param trxName Transaction + */ + public MGoalRestriction(Properties ctx, String PA_GoalRestriction_UU, String trxName) { + super(ctx, PA_GoalRestriction_UU, trxName); + } + /** * Standard Constructor * @param ctx context * @param PA_GoalRestriction_ID id * @param trxName trx */ - public MGoalRestriction (Properties ctx, int PA_GoalRestriction_ID, - String trxName) + public MGoalRestriction (Properties ctx, int PA_GoalRestriction_ID, String trxName) { super (ctx, PA_GoalRestriction_ID, trxName); } // MGoalRestriction diff --git a/org.adempiere.base/src/org/compiere/model/MGroup.java b/org.adempiere.base/src/org/compiere/model/MGroup.java index d7618b5945..6de8b7ad3c 100644 --- a/org.adempiere.base/src/org/compiere/model/MGroup.java +++ b/org.adempiere.base/src/org/compiere/model/MGroup.java @@ -85,6 +85,16 @@ public class MGroup extends X_R_Group implements ImmutablePOSupport private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param R_Group_UU UUID key + * @param trxName Transaction + */ + public MGroup(Properties ctx, String R_Group_UU, String trxName) { + super(ctx, R_Group_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MHierarchy.java b/org.adempiere.base/src/org/compiere/model/MHierarchy.java index e641f4b1c6..a1288eac8a 100644 --- a/org.adempiere.base/src/org/compiere/model/MHierarchy.java +++ b/org.adempiere.base/src/org/compiere/model/MHierarchy.java @@ -71,6 +71,16 @@ public class MHierarchy extends X_PA_Hierarchy implements ImmutablePOSupport private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache (Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param PA_Hierarchy_UU UUID key + * @param trxName Transaction + */ + public MHierarchy(Properties ctx, String PA_Hierarchy_UU, String trxName) { + super(ctx, PA_Hierarchy_UU, trxName); + } + /** * Default Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MHouseKeeping.java b/org.adempiere.base/src/org/compiere/model/MHouseKeeping.java index 67eb99316b..d8a6c4a417 100644 --- a/org.adempiere.base/src/org/compiere/model/MHouseKeeping.java +++ b/org.adempiere.base/src/org/compiere/model/MHouseKeeping.java @@ -36,6 +36,16 @@ public class MHouseKeeping extends X_AD_HouseKeeping { */ private static final long serialVersionUID = 6481567026614278994L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_HouseKeeping_UU UUID key + * @param trxName Transaction + */ + public MHouseKeeping(Properties ctx, String AD_HouseKeeping_UU, String trxName) { + super(ctx, AD_HouseKeeping_UU, trxName); + } + public MHouseKeeping(Properties ctx, int AD_HouseKeeping_ID, String trxName) { super(ctx, AD_HouseKeeping_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MIFixedAsset.java b/org.adempiere.base/src/org/compiere/model/MIFixedAsset.java index 0a9830ce50..310af73175 100644 --- a/org.adempiere.base/src/org/compiere/model/MIFixedAsset.java +++ b/org.adempiere.base/src/org/compiere/model/MIFixedAsset.java @@ -28,6 +28,16 @@ public class MIFixedAsset extends X_I_FixedAsset /** Default depreciation method */ private static final String s_defaultDepreciationType = "SL"; + /** + * UUID based Constructor + * @param ctx Context + * @param I_FixedAsset_UU UUID key + * @param trxName Transaction + */ + public MIFixedAsset(Properties ctx, String I_FixedAsset_UU, String trxName) { + super(ctx, I_FixedAsset_UU, trxName); + } + /** Standard Constructor */ public MIFixedAsset (Properties ctx, int I_FixedAsset_ID, String trxName) { diff --git a/org.adempiere.base/src/org/compiere/model/MIMPProcessor.java b/org.adempiere.base/src/org/compiere/model/MIMPProcessor.java index 2bb123e65a..b066f04a01 100644 --- a/org.adempiere.base/src/org/compiere/model/MIMPProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/MIMPProcessor.java @@ -39,13 +39,12 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.DB; +import org.compiere.util.Util; /** * @author Trifon Trifonov */ -public class MIMPProcessor - extends X_IMP_Processor - implements AdempiereProcessor +public class MIMPProcessor extends X_IMP_Processor implements AdempiereProcessor { /** * @@ -54,19 +53,35 @@ public class MIMPProcessor private static CLogger s_log = CLogger.getCLogger (MIMPProcessor.class); - public MIMPProcessor(Properties ctx, - int EXP_ReplicationProcessor_ID, String trxName) + /** + * UUID based Constructor + * @param ctx Context + * @param IMP_Processor_UU UUID key + * @param trxName Transaction + */ + public MIMPProcessor(Properties ctx, String IMP_Processor_UU, String trxName) { + super(ctx, IMP_Processor_UU, trxName); + if (Util.isEmpty(IMP_Processor_UU)) + setInitialDefaults(); + } + + public MIMPProcessor(Properties ctx, int EXP_ReplicationProcessor_ID, String trxName) { super(ctx, EXP_ReplicationProcessor_ID, trxName); if (EXP_ReplicationProcessor_ID == 0) - { - setName (/*client.getName() + " - " +*/ "Default Import Processor"); - setFrequencyType (FREQUENCYTYPE_Hour); - setFrequency (1); - setKeepLogDays (7); - } + setInitialDefaults(); } + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setName (/*client.getName() + " - " +*/ "Default Import Processor"); + setFrequencyType (FREQUENCYTYPE_Hour); + setFrequency (1); + setKeepLogDays (7); + } + public MIMPProcessor(Properties ctx, ResultSet rs, String trxName) { super(ctx, rs, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MIMPProcessorLog.java b/org.adempiere.base/src/org/compiere/model/MIMPProcessorLog.java index 47db9af975..25e08bd4e9 100644 --- a/org.adempiere.base/src/org/compiere/model/MIMPProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/MIMPProcessorLog.java @@ -35,15 +35,23 @@ import java.util.Properties; /** * @author Trifon Trifonov */ -public class MIMPProcessorLog - extends X_IMP_ProcessorLog - implements AdempiereProcessorLog +public class MIMPProcessorLog extends X_IMP_ProcessorLog implements AdempiereProcessorLog { /** * */ private static final long serialVersionUID = 2314394818152867856L; + /** + * UUID based Constructor + * @param ctx Context + * @param IMP_ProcessorLog_UU UUID key + * @param trxName Transaction + */ + public MIMPProcessorLog(Properties ctx, String IMP_ProcessorLog_UU, String trxName) { + super(ctx, IMP_ProcessorLog_UU, trxName); + } + /** * * @param ctx diff --git a/org.adempiere.base/src/org/compiere/model/MImage.java b/org.adempiere.base/src/org/compiere/model/MImage.java index 95f240a842..29efc9d0cc 100644 --- a/org.adempiere.base/src/org/compiere/model/MImage.java +++ b/org.adempiere.base/src/org/compiere/model/MImage.java @@ -34,6 +34,7 @@ import javax.swing.ImageIcon; import org.adempiere.base.Core; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -109,6 +110,19 @@ public class MImage extends X_AD_Image implements ImmutablePOSupport /** Cache */ private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 20, 10); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Image_UU UUID key + * @param trxName Transaction + */ + public MImage(Properties ctx, String AD_Image_UU, String trxName) { + super(ctx, AD_Image_UU, trxName); + if (Util.isEmpty(AD_Image_UU)) + setName("-"); + initImageStoreDetails(ctx, trxName); + } + /** * Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MImportTemplate.java b/org.adempiere.base/src/org/compiere/model/MImportTemplate.java index 241d9ee68e..8aa2af380d 100644 --- a/org.adempiere.base/src/org/compiere/model/MImportTemplate.java +++ b/org.adempiere.base/src/org/compiere/model/MImportTemplate.java @@ -50,6 +50,16 @@ public class MImportTemplate extends X_AD_ImportTemplate implements ImmutablePOS @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger(MImportTemplate.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_ImportTemplate_UU UUID key + * @param trxName Transaction + */ + public MImportTemplate(Properties ctx, String AD_ImportTemplate_UU, String trxName) { + super(ctx, AD_ImportTemplate_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MInOut.java b/org.adempiere.base/src/org/compiere/model/MInOut.java index 07b6a240bf..ba97b678e8 100644 --- a/org.adempiere.base/src/org/compiere/model/MInOut.java +++ b/org.adempiere.base/src/org/compiere/model/MInOut.java @@ -302,11 +302,23 @@ public class MInOut extends X_M_InOut implements DocAction, IDocsPostProcess } + /** + * UUID based Constructor + * @param ctx Context + * @param M_InOut_UU UUID key + * @param trxName Transaction + */ + public MInOut(Properties ctx, String M_InOut_UU, String trxName) { + super(ctx, M_InOut_UU, trxName); + if (Util.isEmpty(M_InOut_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context * @param M_InOut_ID - * @param trxName rx name + * @param trxName trx name */ public MInOut (Properties ctx, int M_InOut_ID, String trxName) { @@ -316,27 +328,32 @@ public class MInOut extends X_M_InOut implements DocAction, IDocsPostProcess public MInOut(Properties ctx, int M_InOut_ID, String trxName, String... virtualColumns) { super(ctx, M_InOut_ID, trxName, virtualColumns); if (M_InOut_ID == 0) - { - setIsSOTrx (false); - setMovementDate (new Timestamp (System.currentTimeMillis ())); - setDateAcct (getMovementDate()); - setDeliveryRule (DELIVERYRULE_Availability); - setDeliveryViaRule (DELIVERYVIARULE_Pickup); - setFreightCostRule (FREIGHTCOSTRULE_FreightIncluded); - setDocStatus (DOCSTATUS_Drafted); - setDocAction (DOCACTION_Complete); - setPriorityRule (PRIORITYRULE_Medium); - setNoPackages(0); - setIsInTransit(false); - setIsPrinted (false); - setSendEMail (false); - setIsInDispute(false); - // - setIsApproved(false); - super.setProcessed (false); - setProcessing(false); - setPosted(false); - } + setInitialDefaults(); + } + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsSOTrx (false); + setMovementDate (new Timestamp (System.currentTimeMillis ())); + setDateAcct (getMovementDate()); + setDeliveryRule (DELIVERYRULE_Availability); + setDeliveryViaRule (DELIVERYVIARULE_Pickup); + setFreightCostRule (FREIGHTCOSTRULE_FreightIncluded); + setDocStatus (DOCSTATUS_Drafted); + setDocAction (DOCACTION_Complete); + setPriorityRule (PRIORITYRULE_Medium); + setNoPackages(0); + setIsInTransit(false); + setIsPrinted (false); + setSendEMail (false); + setIsInDispute(false); + // + setIsApproved(false); + super.setProcessed (false); + setProcessing(false); + setPosted(false); } /** diff --git a/org.adempiere.base/src/org/compiere/model/MInOutConfirm.java b/org.adempiere.base/src/org/compiere/model/MInOutConfirm.java index 1349fee42f..e773f4187e 100644 --- a/org.adempiere.base/src/org/compiere/model/MInOutConfirm.java +++ b/org.adempiere.base/src/org/compiere/model/MInOutConfirm.java @@ -30,6 +30,7 @@ import org.compiere.process.DocumentEngine; import org.compiere.util.CLogger; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Shipment Confirmation Model @@ -93,6 +94,18 @@ public class MInOutConfirm extends X_M_InOutConfirm implements DocAction /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MInOutConfirm.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_InOutConfirm_UU UUID key + * @param trxName Transaction + */ + public MInOutConfirm(Properties ctx, String M_InOutConfirm_UU, String trxName) { + super(ctx, M_InOutConfirm_UU, trxName); + if (Util.isEmpty(M_InOutConfirm_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -103,16 +116,21 @@ public class MInOutConfirm extends X_M_InOutConfirm implements DocAction { super (ctx, M_InOutConfirm_ID, trxName); if (M_InOutConfirm_ID == 0) - { - setDocAction (DOCACTION_Complete); // CO - setDocStatus (DOCSTATUS_Drafted); // DR - setIsApproved (false); - setIsCancelled (false); - setIsInDispute(false); - super.setProcessed (false); - } + setInitialDefaults(); } // MInOutConfirm + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDocAction (DOCACTION_Complete); // CO + setDocStatus (DOCSTATUS_Drafted); // DR + setIsApproved (false); + setIsCancelled (false); + setIsInDispute(false); + super.setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MInOutLine.java b/org.adempiere.base/src/org/compiere/model/MInOutLine.java index 480249f3df..15c20fa768 100644 --- a/org.adempiere.base/src/org/compiere/model/MInOutLine.java +++ b/org.adempiere.base/src/org/compiere/model/MInOutLine.java @@ -113,6 +113,18 @@ public class MInOutLine extends X_M_InOutLine } // get + /** + * UUID based Constructor + * @param ctx Context + * @param M_InOutLine_UU UUID key + * @param trxName Transaction + */ + public MInOutLine(Properties ctx, String M_InOutLine_UU, String trxName) { + super(ctx, M_InOutLine_UU, trxName); + if (Util.isEmpty(M_InOutLine_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -127,15 +139,20 @@ public class MInOutLine extends X_M_InOutLine public MInOutLine(Properties ctx, int M_InOutLine_ID, String trxName, String... virtualColumns) { super(ctx, M_InOutLine_ID, trxName, virtualColumns); if (M_InOutLine_ID == 0) - { - setM_AttributeSetInstance_ID(0); - setConfirmedQty(Env.ZERO); - setPickedQty(Env.ZERO); - setScrappedQty(Env.ZERO); - setTargetQty(Env.ZERO); - setIsInvoiced (false); - setIsDescription (false); - } + setInitialDefaults(); + } + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setM_AttributeSetInstance_ID(0); + setConfirmedQty(Env.ZERO); + setPickedQty(Env.ZERO); + setScrappedQty(Env.ZERO); + setTargetQty(Env.ZERO); + setIsInvoiced (false); + setIsDescription (false); } /** diff --git a/org.adempiere.base/src/org/compiere/model/MInOutLineConfirm.java b/org.adempiere.base/src/org/compiere/model/MInOutLineConfirm.java index 178d20f5cc..a8b1ca0ec5 100644 --- a/org.adempiere.base/src/org/compiere/model/MInOutLineConfirm.java +++ b/org.adempiere.base/src/org/compiere/model/MInOutLineConfirm.java @@ -22,6 +22,7 @@ import java.util.Properties; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Ship Confirmation Line Model @@ -36,6 +37,18 @@ public class MInOutLineConfirm extends X_M_InOutLineConfirm */ private static final long serialVersionUID = -2753405320678781177L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_InOutLineConfirm_UU UUID key + * @param trxName Transaction + */ + public MInOutLineConfirm(Properties ctx, String M_InOutLineConfirm_UU, String trxName) { + super(ctx, M_InOutLineConfirm_UU, trxName); + if (Util.isEmpty(M_InOutLineConfirm_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -46,13 +59,18 @@ public class MInOutLineConfirm extends X_M_InOutLineConfirm { super (ctx, M_InOutLineConfirm_ID, trxName); if (M_InOutLineConfirm_ID == 0) - { - setDifferenceQty(Env.ZERO); - setScrappedQty(Env.ZERO); - setProcessed (false); - } + setInitialDefaults(); } // MInOutLineConfirm + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDifferenceQty(Env.ZERO); + setScrappedQty(Env.ZERO); + setProcessed (false); + } + /** * Load Construvtor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MInOutLineMA.java b/org.adempiere.base/src/org/compiere/model/MInOutLineMA.java index 870ed1a74f..fa638caf2c 100644 --- a/org.adempiere.base/src/org/compiere/model/MInOutLineMA.java +++ b/org.adempiere.base/src/org/compiere/model/MInOutLineMA.java @@ -93,6 +93,16 @@ public class MInOutLineMA extends X_M_InOutLineMA return DB.executeUpdate(sql, M_InOutLine_ID, trxName); } // deleteInOutLineMA + /** + * UUID based Constructor + * @param ctx Context + * @param M_InOutLineMA_UU UUID key + * @param trxName Transaction + */ + public MInOutLineMA(Properties ctx, String M_InOutLineMA_UU, String trxName) { + super(ctx, M_InOutLineMA_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MIndexColumn.java b/org.adempiere.base/src/org/compiere/model/MIndexColumn.java index eda29d3803..b7affb800b 100644 --- a/org.adempiere.base/src/org/compiere/model/MIndexColumn.java +++ b/org.adempiere.base/src/org/compiere/model/MIndexColumn.java @@ -27,6 +27,16 @@ public class MIndexColumn extends X_AD_IndexColumn { */ private static final long serialVersionUID = -7588207529142215755L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_IndexColumn_UU UUID key + * @param trxName Transaction + */ + public MIndexColumn(Properties ctx, String AD_IndexColumn_UU, String trxName) { + super(ctx, AD_IndexColumn_UU, trxName); + } + /** * Standard constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MInfoColumn.java b/org.adempiere.base/src/org/compiere/model/MInfoColumn.java index c0e5fe5829..3bcdd63344 100644 --- a/org.adempiere.base/src/org/compiere/model/MInfoColumn.java +++ b/org.adempiere.base/src/org/compiere/model/MInfoColumn.java @@ -44,6 +44,16 @@ public class MInfoColumn extends X_AD_InfoColumn implements IInfoColumn, Immutab */ private static final long serialVersionUID = 3909164419255524834L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_InfoColumn_UU UUID key + * @param trxName Transaction + */ + public MInfoColumn(Properties ctx, String AD_InfoColumn_UU, String trxName) { + super(ctx, AD_InfoColumn_UU, trxName); + } + /** * Stanfard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MInfoWindow.java b/org.adempiere.base/src/org/compiere/model/MInfoWindow.java index 2e598aa946..105b84798a 100644 --- a/org.adempiere.base/src/org/compiere/model/MInfoWindow.java +++ b/org.adempiere.base/src/org/compiere/model/MInfoWindow.java @@ -53,6 +53,16 @@ public class MInfoWindow extends X_AD_InfoWindow implements ImmutablePOSupport /** Cache */ private static ImmutablePOCache s_cache = new ImmutablePOCache(Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_InfoWindow_UU UUID key + * @param trxName Transaction + */ + public MInfoWindow(Properties ctx, String AD_InfoWindow_UU, String trxName) { + super(ctx, AD_InfoWindow_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MInfoWindowAccess.java b/org.adempiere.base/src/org/compiere/model/MInfoWindowAccess.java index c55e0f3a9a..5ffb664b6a 100644 --- a/org.adempiere.base/src/org/compiere/model/MInfoWindowAccess.java +++ b/org.adempiere.base/src/org/compiere/model/MInfoWindowAccess.java @@ -17,6 +17,16 @@ public class MInfoWindowAccess extends X_AD_InfoWindow_Access { */ private static final long serialVersionUID = -5134731157350014858L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_InfoWindow_Access_UU UUID key + * @param trxName Transaction + */ + public MInfoWindowAccess(Properties ctx, String AD_InfoWindow_Access_UU, String trxName) { + super(ctx, AD_InfoWindow_Access_UU, trxName); + } + /** * @param ctx * @param ignored diff --git a/org.adempiere.base/src/org/compiere/model/MInterestArea.java b/org.adempiere.base/src/org/compiere/model/MInterestArea.java index 246e3e885f..0d1eec8c94 100644 --- a/org.adempiere.base/src/org/compiere/model/MInterestArea.java +++ b/org.adempiere.base/src/org/compiere/model/MInterestArea.java @@ -26,6 +26,7 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -119,6 +120,18 @@ public class MInterestArea extends X_R_InterestArea implements ImmutablePOSuppor private static CLogger s_log = CLogger.getCLogger (MInterestArea.class); + /** + * UUID based Constructor + * @param ctx Context + * @param R_InterestArea_UU UUID key + * @param trxName Transaction + */ + public MInterestArea(Properties ctx, String R_InterestArea_UU, String trxName) { + super(ctx, R_InterestArea_UU, trxName); + if (Util.isEmpty(R_InterestArea_UU)) + setInitialDefaults(); + } + /** * Constructor * @param ctx context @@ -129,11 +142,16 @@ public class MInterestArea extends X_R_InterestArea implements ImmutablePOSuppor { super (ctx, R_InterestArea_ID, trxName); if (R_InterestArea_ID == 0) - { - setIsSelfService (false); - } + setInitialDefaults(); } // MInterestArea + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsSelfService (false); + } + /** * Loader Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MInventory.java b/org.adempiere.base/src/org/compiere/model/MInventory.java index 5f90eaf33a..af3c6eec90 100644 --- a/org.adempiere.base/src/org/compiere/model/MInventory.java +++ b/org.adempiere.base/src/org/compiere/model/MInventory.java @@ -84,6 +84,18 @@ public class MInventory extends X_M_Inventory implements DocAction return null; } // get + /** + * UUID based Constructor + * @param ctx Context + * @param M_Inventory_UU UUID key + * @param trxName Transaction + */ + public MInventory(Properties ctx, String M_Inventory_UU, String trxName) { + super(ctx, M_Inventory_UU, trxName); + if (Util.isEmpty(M_Inventory_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -94,17 +106,22 @@ public class MInventory extends X_M_Inventory implements DocAction { super (ctx, M_Inventory_ID, trxName); if (M_Inventory_ID == 0) - { - setMovementDate (new Timestamp(System.currentTimeMillis())); - setDocAction (DOCACTION_Complete); // CO - setDocStatus (DOCSTATUS_Drafted); // DR - setIsApproved (false); - setMovementDate (new Timestamp(System.currentTimeMillis())); // @#Date@ - setPosted (false); - setProcessed (false); - } + setInitialDefaults(); } // MInventory + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setMovementDate (new Timestamp(System.currentTimeMillis())); + setDocAction (DOCACTION_Complete); // CO + setDocStatus (DOCSTATUS_Drafted); // DR + setIsApproved (false); + setMovementDate (new Timestamp(System.currentTimeMillis())); // @#Date@ + setPosted (false); + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MInventoryLine.java b/org.adempiere.base/src/org/compiere/model/MInventoryLine.java index 5622fca4bc..a86c7ce7f2 100644 --- a/org.adempiere.base/src/org/compiere/model/MInventoryLine.java +++ b/org.adempiere.base/src/org/compiere/model/MInventoryLine.java @@ -25,6 +25,7 @@ import org.compiere.process.DocAction; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Physical Inventory Line Model @@ -61,6 +62,18 @@ public class MInventoryLine extends X_M_InventoryLine .firstOnly(); } // get + /** + * UUID based Constructor + * @param ctx Context + * @param M_InventoryLine_UU UUID key + * @param trxName Transaction + */ + public MInventoryLine(Properties ctx, String M_InventoryLine_UU, String trxName) { + super(ctx, M_InventoryLine_UU, trxName); + if (Util.isEmpty(M_InventoryLine_UU)) + setInitialDefaults(); + } + /************************************************************************** * Default Constructor * @param ctx context @@ -75,14 +88,19 @@ public class MInventoryLine extends X_M_InventoryLine public MInventoryLine(Properties ctx, int M_InventoryLine_ID, String trxName, String... virtualColumns) { super(ctx, M_InventoryLine_ID, trxName, virtualColumns); if (M_InventoryLine_ID == 0) - { - setLine(0); - setM_AttributeSetInstance_ID(0); // FK - setInventoryType (INVENTORYTYPE_InventoryDifference); - setQtyBook (Env.ZERO); - setQtyCount (Env.ZERO); - setProcessed(false); - } + setInitialDefaults(); + } + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setLine(0); + setM_AttributeSetInstance_ID(0); // FK + setInventoryType (INVENTORYTYPE_InventoryDifference); + setQtyBook (Env.ZERO); + setQtyCount (Env.ZERO); + setProcessed(false); } /** diff --git a/org.adempiere.base/src/org/compiere/model/MInventoryLineMA.java b/org.adempiere.base/src/org/compiere/model/MInventoryLineMA.java index ba39d9e58b..f3a087fbcf 100644 --- a/org.adempiere.base/src/org/compiere/model/MInventoryLineMA.java +++ b/org.adempiere.base/src/org/compiere/model/MInventoryLineMA.java @@ -113,6 +113,16 @@ public class MInventoryLineMA extends X_M_InventoryLineMA private static CLogger s_log = CLogger.getCLogger (MInventoryLineMA.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_InventoryLineMA_UU UUID key + * @param trxName Transaction + */ + public MInventoryLineMA(Properties ctx, String M_InventoryLineMA_UU, String trxName) { + super(ctx, M_InventoryLineMA_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MInvoice.java b/org.adempiere.base/src/org/compiere/model/MInvoice.java index 054b94e5be..d31e127eb2 100644 --- a/org.adempiere.base/src/org/compiere/model/MInvoice.java +++ b/org.adempiere.base/src/org/compiere/model/MInvoice.java @@ -50,6 +50,7 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; import org.compiere.util.Msg; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; import org.eevolution.model.MPPProductBOM; import org.eevolution.model.MPPProductBOMLine; @@ -269,6 +270,18 @@ public class MInvoice extends X_C_Invoice implements DocAction, IDocsPostProcess return null; } // get + /** + * UUID based Constructor + * @param ctx Context + * @param C_Invoice_UU UUID key + * @param trxName Transaction + */ + public MInvoice(Properties ctx, String C_Invoice_UU, String trxName) { + super(ctx, C_Invoice_UU, trxName); + if (Util.isEmpty(C_Invoice_UU)) + setInitialDefaults(); + } + /************************************************************************** * Invoice Constructor * @param ctx context @@ -283,34 +296,39 @@ public class MInvoice extends X_C_Invoice implements DocAction, IDocsPostProcess public MInvoice(Properties ctx, int C_Invoice_ID, String trxName, String... virtualColumns) { super(ctx, C_Invoice_ID, trxName, virtualColumns); if (C_Invoice_ID == 0) - { - setDocStatus (DOCSTATUS_Drafted); // Draft - setDocAction (DOCACTION_Complete); - // - setPaymentRule(PAYMENTRULE_OnCredit); // Payment Terms + setInitialDefaults(); + } - setDateInvoiced (new Timestamp (System.currentTimeMillis ())); - setDateAcct (new Timestamp (System.currentTimeMillis ())); - // - setChargeAmt (Env.ZERO); - setTotalLines (Env.ZERO); - setGrandTotal (Env.ZERO); - // - setIsSOTrx (true); - setIsTaxIncluded (false); - setIsApproved (false); - setIsDiscountPrinted (false); - setIsPaid (false); - setSendEMail (false); - setIsPrinted (false); - setIsTransferred (false); - setIsSelfService(false); - setIsPayScheduleValid(false); - setIsInDispute(false); - setPosted(false); - super.setProcessed (false); - setProcessing(false); - } + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDocStatus (DOCSTATUS_Drafted); // Draft + setDocAction (DOCACTION_Complete); + // + setPaymentRule(PAYMENTRULE_OnCredit); // Payment Terms + + setDateInvoiced (new Timestamp (System.currentTimeMillis ())); + setDateAcct (new Timestamp (System.currentTimeMillis ())); + // + setChargeAmt (Env.ZERO); + setTotalLines (Env.ZERO); + setGrandTotal (Env.ZERO); + // + setIsSOTrx (true); + setIsTaxIncluded (false); + setIsApproved (false); + setIsDiscountPrinted (false); + setIsPaid (false); + setSendEMail (false); + setIsPrinted (false); + setIsTransferred (false); + setIsSelfService(false); + setIsPayScheduleValid(false); + setIsInDispute(false); + setPosted(false); + super.setProcessed (false); + setProcessing(false); } /** diff --git a/org.adempiere.base/src/org/compiere/model/MInvoiceBatch.java b/org.adempiere.base/src/org/compiere/model/MInvoiceBatch.java index f66577d54b..83733dd82c 100644 --- a/org.adempiere.base/src/org/compiere/model/MInvoiceBatch.java +++ b/org.adempiere.base/src/org/compiere/model/MInvoiceBatch.java @@ -25,6 +25,7 @@ import java.util.logging.Level; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** @@ -42,6 +43,18 @@ public class MInvoiceBatch extends X_C_InvoiceBatch private static final long serialVersionUID = 3449653049236263604L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_InvoiceBatch_UU UUID key + * @param trxName Transaction + */ + public MInvoiceBatch(Properties ctx, String C_InvoiceBatch_UU, String trxName) { + super(ctx, C_InvoiceBatch_UU, trxName); + if (Util.isEmpty(C_InvoiceBatch_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -52,15 +65,20 @@ public class MInvoiceBatch extends X_C_InvoiceBatch { super (ctx, C_InvoiceBatch_ID, trxName); if (C_InvoiceBatch_ID == 0) - { - setControlAmt (Env.ZERO); // 0 - setDateDoc (new Timestamp(System.currentTimeMillis())); // @#Date@ - setDocumentAmt (Env.ZERO); - setIsSOTrx (false); // N - setProcessed (false); - } + setInitialDefaults(); } // MInvoiceBatch + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setControlAmt (Env.ZERO); // 0 + setDateDoc (new Timestamp(System.currentTimeMillis())); // @#Date@ + setDocumentAmt (Env.ZERO); + setIsSOTrx (false); // N + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MInvoiceBatchLine.java b/org.adempiere.base/src/org/compiere/model/MInvoiceBatchLine.java index bd1c8f9511..52bd9b1794 100644 --- a/org.adempiere.base/src/org/compiere/model/MInvoiceBatchLine.java +++ b/org.adempiere.base/src/org/compiere/model/MInvoiceBatchLine.java @@ -23,6 +23,7 @@ import java.util.Properties; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** @@ -38,6 +39,18 @@ public class MInvoiceBatchLine extends X_C_InvoiceBatchLine */ private static final long serialVersionUID = -4022629343631759064L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_InvoiceBatchLine_UU UUID key + * @param trxName Transaction + */ + public MInvoiceBatchLine(Properties ctx, String C_InvoiceBatchLine_UU, String trxName) { + super(ctx, C_InvoiceBatchLine_UU, trxName); + if (Util.isEmpty(C_InvoiceBatchLine_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -49,19 +62,24 @@ public class MInvoiceBatchLine extends X_C_InvoiceBatchLine { super (ctx, C_InvoiceBatchLine_ID, trxName); if (C_InvoiceBatchLine_ID == 0) - { - setDateAcct (new Timestamp(System.currentTimeMillis())); // @DateDoc@ - setDateInvoiced (new Timestamp(System.currentTimeMillis())); // @DateDoc@ - setIsTaxIncluded (false); - setLineNetAmt (Env.ZERO); - setLineTotalAmt (Env.ZERO); - setPriceEntered (Env.ZERO); - setQtyEntered (Env.ONE); // 1 - setTaxAmt (Env.ZERO); - setProcessed (false); - } + setInitialDefaults(); } // MInvoiceBatchLine + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDateAcct (new Timestamp(System.currentTimeMillis())); // @DateDoc@ + setDateInvoiced (new Timestamp(System.currentTimeMillis())); // @DateDoc@ + setIsTaxIncluded (false); + setLineNetAmt (Env.ZERO); + setLineTotalAmt (Env.ZERO); + setPriceEntered (Env.ZERO); + setQtyEntered (Env.ONE); // 1 + setTaxAmt (Env.ZERO); + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MInvoiceLine.java b/org.adempiere.base/src/org/compiere/model/MInvoiceLine.java index 73a6bc9fbd..82b1730a92 100644 --- a/org.adempiere.base/src/org/compiere/model/MInvoiceLine.java +++ b/org.adempiere.base/src/org/compiere/model/MInvoiceLine.java @@ -34,6 +34,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** @@ -110,6 +111,18 @@ public class MInvoiceLine extends X_C_InvoiceLine protected MTax m_tax = null; + /** + * UUID based Constructor + * @param ctx Context + * @param C_InvoiceLine_UU UUID key + * @param trxName Transaction + */ + public MInvoiceLine(Properties ctx, String C_InvoiceLine_UU, String trxName) { + super(ctx, C_InvoiceLine_UU, trxName); + if (Util.isEmpty(C_InvoiceLine_UU)) + setInitialDefaults(); + } + /************************************************************************** * Invoice Line Constructor * @param ctx context @@ -124,20 +137,25 @@ public class MInvoiceLine extends X_C_InvoiceLine public MInvoiceLine(Properties ctx, int C_InvoiceLine_ID, String trxName, String... virtualColumns) { super(ctx, C_InvoiceLine_ID, trxName, virtualColumns); if (C_InvoiceLine_ID == 0) - { - setIsDescription(false); - setIsPrinted (true); - setLineNetAmt (Env.ZERO); - setPriceEntered (Env.ZERO); - setPriceActual (Env.ZERO); - setPriceLimit (Env.ZERO); - setPriceList (Env.ZERO); - setM_AttributeSetInstance_ID(0); - setTaxAmt(Env.ZERO); - // - setQtyEntered(Env.ZERO); - setQtyInvoiced(Env.ZERO); - } + setInitialDefaults(); + } + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsDescription(false); + setIsPrinted (true); + setLineNetAmt (Env.ZERO); + setPriceEntered (Env.ZERO); + setPriceActual (Env.ZERO); + setPriceLimit (Env.ZERO); + setPriceList (Env.ZERO); + setM_AttributeSetInstance_ID(0); + setTaxAmt(Env.ZERO); + // + setQtyEntered(Env.ZERO); + setQtyInvoiced(Env.ZERO); } /** diff --git a/org.adempiere.base/src/org/compiere/model/MInvoicePaySchedule.java b/org.adempiere.base/src/org/compiere/model/MInvoicePaySchedule.java index 6a002fd39a..c8f8750bc2 100644 --- a/org.adempiere.base/src/org/compiere/model/MInvoicePaySchedule.java +++ b/org.adempiere.base/src/org/compiere/model/MInvoicePaySchedule.java @@ -29,6 +29,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; /** * Invoice Payment Schedule Model @@ -97,6 +98,18 @@ public class MInvoicePaySchedule extends X_C_InvoicePaySchedule /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MInvoicePaySchedule.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_InvoicePaySchedule_UU UUID key + * @param trxName Transaction + */ + public MInvoicePaySchedule(Properties ctx, String C_InvoicePaySchedule_UU, String trxName) { + super(ctx, C_InvoicePaySchedule_UU, trxName); + if (Util.isEmpty(C_InvoicePaySchedule_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -107,11 +120,16 @@ public class MInvoicePaySchedule extends X_C_InvoicePaySchedule { super(ctx, C_InvoicePaySchedule_ID, trxName); if (C_InvoicePaySchedule_ID == 0) - { - setIsValid (false); - } + setInitialDefaults(); } // MInvoicePaySchedule + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsValid (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MInvoiceSchedule.java b/org.adempiere.base/src/org/compiere/model/MInvoiceSchedule.java index 7e4125346b..2279e59e12 100644 --- a/org.adempiere.base/src/org/compiere/model/MInvoiceSchedule.java +++ b/org.adempiere.base/src/org/compiere/model/MInvoiceSchedule.java @@ -88,6 +88,16 @@ public class MInvoiceSchedule extends X_C_InvoiceSchedule implements ImmutablePO private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 5); + /** + * UUID based Constructor + * @param ctx Context + * @param C_InvoiceSchedule_UU UUID key + * @param trxName Transaction + */ + public MInvoiceSchedule(Properties ctx, String C_InvoiceSchedule_UU, String trxName) { + super(ctx, C_InvoiceSchedule_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MInvoiceTax.java b/org.adempiere.base/src/org/compiere/model/MInvoiceTax.java index 1e896b9dec..d4da5c1ff9 100644 --- a/org.adempiere.base/src/org/compiere/model/MInvoiceTax.java +++ b/org.adempiere.base/src/org/compiere/model/MInvoiceTax.java @@ -29,6 +29,7 @@ import org.adempiere.exceptions.DBException; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Invoice Tax Model @@ -178,6 +179,18 @@ public class MInvoiceTax extends X_C_InvoiceTax private static CLogger s_log = CLogger.getCLogger (MInvoiceTax.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_InvoiceTax_UU UUID key + * @param trxName Transaction + */ + public MInvoiceTax(Properties ctx, String C_InvoiceTax_UU, String trxName) { + super(ctx, C_InvoiceTax_UU, trxName); + if (Util.isEmpty(C_InvoiceTax_UU)) + setInitialDefaults(); + } + /************************************************************************** * Persistency Constructor * @param ctx context @@ -189,10 +202,17 @@ public class MInvoiceTax extends X_C_InvoiceTax super(ctx, 0, trxName); if (ignored != 0) throw new IllegalArgumentException("Multi-Key"); + setInitialDefaults(); + } // MInvoiceTax + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { setTaxAmt (Env.ZERO); setTaxBaseAmt (Env.ZERO); setIsTaxIncluded(false); - } // MInvoiceTax + } /** * Load Constructor. diff --git a/org.adempiere.base/src/org/compiere/model/MIssue.java b/org.adempiere.base/src/org/compiere/model/MIssue.java index 3719dd4265..6d644da1f0 100644 --- a/org.adempiere.base/src/org/compiere/model/MIssue.java +++ b/org.adempiere.base/src/org/compiere/model/MIssue.java @@ -32,6 +32,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Secure; +import org.compiere.util.Util; /** * Issue Report Model @@ -103,6 +104,18 @@ public class MIssue extends X_AD_Issue /** Answer Delimiter */ public static String DELIMITER = "|"; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Issue_UU UUID key + * @param trxName Transaction + */ + public MIssue(Properties ctx, String AD_Issue_UU, String trxName) { + super(ctx, AD_Issue_UU, trxName); + if (Util.isEmpty(AD_Issue_UU)) + setInitialDefaults(ctx); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -113,20 +126,25 @@ public class MIssue extends X_AD_Issue { super (ctx, AD_Issue_ID, trxName); if (AD_Issue_ID == 0) - { - setProcessed (false); // N - setSystemStatus(SYSTEMSTATUS_Evaluation); - try - { - init(ctx); - } - catch (Exception e) - { - e.getStackTrace(); - } - } + setInitialDefaults(ctx); } // MIssue + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults(Properties ctx) { + setProcessed (false); // N + setSystemStatus(SYSTEMSTATUS_Evaluation); + try + { + init(ctx); + } + catch (Exception e) + { + e.getStackTrace(); + } + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MIssueProject.java b/org.adempiere.base/src/org/compiere/model/MIssueProject.java index 2fcd976ba2..cc0d4593f9 100644 --- a/org.adempiere.base/src/org/compiere/model/MIssueProject.java +++ b/org.adempiere.base/src/org/compiere/model/MIssueProject.java @@ -93,6 +93,16 @@ public class MIssueProject extends X_R_IssueProject private static CLogger s_log = CLogger.getCLogger (MIssueProject.class); + /** + * UUID based Constructor + * @param ctx Context + * @param R_IssueProject_UU UUID key + * @param trxName Transaction + */ + public MIssueProject(Properties ctx, String R_IssueProject_UU, String trxName) { + super(ctx, R_IssueProject_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MIssueSystem.java b/org.adempiere.base/src/org/compiere/model/MIssueSystem.java index 5f2fbfe858..f996b8fbe3 100644 --- a/org.adempiere.base/src/org/compiere/model/MIssueSystem.java +++ b/org.adempiere.base/src/org/compiere/model/MIssueSystem.java @@ -95,6 +95,16 @@ public class MIssueSystem extends X_R_IssueSystem /** Logger */ private static CLogger s_log = CLogger.getCLogger (MIssueSystem.class); + /** + * UUID based Constructor + * @param ctx Context + * @param R_IssueSystem_UU UUID key + * @param trxName Transaction + */ + public MIssueSystem(Properties ctx, String R_IssueSystem_UU, String trxName) { + super(ctx, R_IssueSystem_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MIssueUser.java b/org.adempiere.base/src/org/compiere/model/MIssueUser.java index b9b3762f6f..8080336d4f 100644 --- a/org.adempiere.base/src/org/compiere/model/MIssueUser.java +++ b/org.adempiere.base/src/org/compiere/model/MIssueUser.java @@ -87,6 +87,16 @@ public class MIssueUser extends X_R_IssueUser /** Logger */ private static CLogger s_log = CLogger.getCLogger (MIssueUser.class); + /** + * UUID based Constructor + * @param ctx Context + * @param R_IssueUser_UU UUID key + * @param trxName Transaction + */ + public MIssueUser(Properties ctx, String R_IssueUser_UU, String trxName) { + super(ctx, R_IssueUser_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MJournal.java b/org.adempiere.base/src/org/compiere/model/MJournal.java index 7720483eeb..110927e799 100644 --- a/org.adempiere.base/src/org/compiere/model/MJournal.java +++ b/org.adempiere.base/src/org/compiere/model/MJournal.java @@ -33,6 +33,7 @@ import org.compiere.util.DisplayType; import org.compiere.util.Env; import org.compiere.util.Msg; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; /** * GL Journal Model @@ -58,6 +59,18 @@ public class MJournal extends X_GL_Journal implements DocAction */ private static final long serialVersionUID = 4661098755828765138L; + /** + * UUID based Constructor + * @param ctx Context + * @param GL_Journal_UU UUID key + * @param trxName Transaction + */ + public MJournal(Properties ctx, String GL_Journal_UU, String trxName) { + super(ctx, GL_Journal_UU, trxName); + if (Util.isEmpty(GL_Journal_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -68,21 +81,26 @@ public class MJournal extends X_GL_Journal implements DocAction { super (ctx, GL_Journal_ID, trxName); if (GL_Journal_ID == 0) - { - setCurrencyRate (Env.ONE); - setDateDoc (new Timestamp(System.currentTimeMillis())); - setDocAction (DOCACTION_Complete); - setDocStatus (DOCSTATUS_Drafted); - setPostingType (POSTINGTYPE_Actual); - setTotalCr (Env.ZERO); - setTotalDr (Env.ZERO); - setIsApproved (false); - setIsPrinted (false); - setPosted (false); - setProcessed(false); - } + setInitialDefaults(); } // MJournal + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setCurrencyRate (Env.ONE); + setDateDoc (new Timestamp(System.currentTimeMillis())); + setDocAction (DOCACTION_Complete); + setDocStatus (DOCSTATUS_Drafted); + setPostingType (POSTINGTYPE_Actual); + setTotalCr (Env.ZERO); + setTotalDr (Env.ZERO); + setIsApproved (false); + setIsPrinted (false); + setPosted (false); + setProcessed(false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MJournalBatch.java b/org.adempiere.base/src/org/compiere/model/MJournalBatch.java index 9e73e3dc2f..49c4e784b5 100644 --- a/org.adempiere.base/src/org/compiere/model/MJournalBatch.java +++ b/org.adempiere.base/src/org/compiere/model/MJournalBatch.java @@ -35,6 +35,7 @@ import org.compiere.util.DisplayType; import org.compiere.util.Env; import org.compiere.util.Msg; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; /** * Journal Batch Model @@ -92,6 +93,18 @@ public class MJournalBatch extends X_GL_JournalBatch implements DocAction } // copyFrom + /** + * UUID based Constructor + * @param ctx Context + * @param GL_JournalBatch_UU UUID key + * @param trxName Transaction + */ + public MJournalBatch(Properties ctx, String GL_JournalBatch_UU, String trxName) { + super(ctx, GL_JournalBatch_UU, trxName); + if (Util.isEmpty(GL_JournalBatch_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Construvtore * @param ctx context @@ -102,18 +115,23 @@ public class MJournalBatch extends X_GL_JournalBatch implements DocAction { super (ctx, GL_JournalBatch_ID, trxName); if (GL_JournalBatch_ID == 0) - { - setPostingType (POSTINGTYPE_Actual); - setDocAction (DOCACTION_Complete); - setDocStatus (DOCSTATUS_Drafted); - setTotalCr (Env.ZERO); - setTotalDr (Env.ZERO); - setProcessed (false); - setProcessing (false); - setIsApproved(false); - } + setInitialDefaults(); } // MJournalBatch + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setPostingType (POSTINGTYPE_Actual); + setDocAction (DOCACTION_Complete); + setDocStatus (DOCSTATUS_Drafted); + setTotalCr (Env.ZERO); + setTotalDr (Env.ZERO); + setProcessed (false); + setProcessing (false); + setIsApproved(false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MJournalGenerator.java b/org.adempiere.base/src/org/compiere/model/MJournalGenerator.java index 25f52810f6..52df835e6b 100644 --- a/org.adempiere.base/src/org/compiere/model/MJournalGenerator.java +++ b/org.adempiere.base/src/org/compiere/model/MJournalGenerator.java @@ -46,6 +46,16 @@ public class MJournalGenerator extends X_GL_JournalGenerator @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger(MJournalGenerator.class); + /** + * UUID based Constructor + * @param ctx Context + * @param GL_JournalGenerator_UU UUID key + * @param trxName Transaction + */ + public MJournalGenerator(Properties ctx, String GL_JournalGenerator_UU, String trxName) { + super(ctx, GL_JournalGenerator_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MJournalGeneratorLine.java b/org.adempiere.base/src/org/compiere/model/MJournalGeneratorLine.java index c6f74e75c9..344c2bdbb5 100644 --- a/org.adempiere.base/src/org/compiere/model/MJournalGeneratorLine.java +++ b/org.adempiere.base/src/org/compiere/model/MJournalGeneratorLine.java @@ -46,6 +46,16 @@ public class MJournalGeneratorLine extends X_GL_JournalGeneratorLine @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger(MJournalGeneratorLine.class); + /** + * UUID based Constructor + * @param ctx Context + * @param GL_JournalGeneratorLine_UU UUID key + * @param trxName Transaction + */ + public MJournalGeneratorLine(Properties ctx, String GL_JournalGeneratorLine_UU, String trxName) { + super(ctx, GL_JournalGeneratorLine_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MJournalGeneratorSource.java b/org.adempiere.base/src/org/compiere/model/MJournalGeneratorSource.java index e93c59c88e..2c2481159e 100644 --- a/org.adempiere.base/src/org/compiere/model/MJournalGeneratorSource.java +++ b/org.adempiere.base/src/org/compiere/model/MJournalGeneratorSource.java @@ -45,6 +45,16 @@ public class MJournalGeneratorSource extends X_GL_JournalGeneratorSource @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger(MJournalGeneratorSource.class); + /** + * UUID based Constructor + * @param ctx Context + * @param GL_JournalGeneratorSource_UU UUID key + * @param trxName Transaction + */ + public MJournalGeneratorSource(Properties ctx, String GL_JournalGeneratorSource_UU, String trxName) { + super(ctx, GL_JournalGeneratorSource_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MJournalLine.java b/org.adempiere.base/src/org/compiere/model/MJournalLine.java index 85ac179b17..478644ad21 100644 --- a/org.adempiere.base/src/org/compiere/model/MJournalLine.java +++ b/org.adempiere.base/src/org/compiere/model/MJournalLine.java @@ -25,6 +25,7 @@ import java.util.Properties; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Journal Line Model @@ -42,6 +43,18 @@ public class MJournalLine extends X_GL_JournalLine */ private static final long serialVersionUID = 253571209449736797L; + /** + * UUID based Constructor + * @param ctx Context + * @param GL_JournalLine_UU UUID key + * @param trxName Transaction + */ + public MJournalLine(Properties ctx, String GL_JournalLine_UU, String trxName) { + super(ctx, GL_JournalLine_UU, trxName); + if (Util.isEmpty(GL_JournalLine_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -52,18 +65,23 @@ public class MJournalLine extends X_GL_JournalLine { super (ctx, GL_JournalLine_ID, trxName); if (GL_JournalLine_ID == 0) - { - setLine (0); - setAmtAcctCr (Env.ZERO); - setAmtAcctDr (Env.ZERO); - setAmtSourceCr (Env.ZERO); - setAmtSourceDr (Env.ZERO); - setCurrencyRate (Env.ONE); - setDateAcct (new Timestamp(System.currentTimeMillis())); - setIsGenerated (true); - } + setInitialDefaults(); } // MJournalLine + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setLine (0); + setAmtAcctCr (Env.ZERO); + setAmtAcctDr (Env.ZERO); + setAmtSourceCr (Env.ZERO); + setAmtSourceDr (Env.ZERO); + setCurrencyRate (Env.ONE); + setDateAcct (new Timestamp(System.currentTimeMillis())); + setIsGenerated (true); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MLabel.java b/org.adempiere.base/src/org/compiere/model/MLabel.java index 937fff12b8..52eb8ded39 100644 --- a/org.adempiere.base/src/org/compiere/model/MLabel.java +++ b/org.adempiere.base/src/org/compiere/model/MLabel.java @@ -72,6 +72,16 @@ public class MLabel extends X_AD_Label { "#8C0D22" }; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Label_UU UUID key + * @param trxName Transaction + */ + public MLabel(Properties ctx, String AD_Label_UU, String trxName) { + super(ctx, AD_Label_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MLabelAssignment.java b/org.adempiere.base/src/org/compiere/model/MLabelAssignment.java index bb08646dfa..1d04814084 100644 --- a/org.adempiere.base/src/org/compiere/model/MLabelAssignment.java +++ b/org.adempiere.base/src/org/compiere/model/MLabelAssignment.java @@ -37,6 +37,16 @@ import org.compiere.util.DB; public class MLabelAssignment extends X_AD_LabelAssignment { private static final long serialVersionUID = -964945898771768568L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_LabelAssignment_UU UUID key + * @param trxName Transaction + */ + public MLabelAssignment(Properties ctx, String AD_LabelAssignment_UU, String trxName) { + super(ctx, AD_LabelAssignment_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MLabelCategory.java b/org.adempiere.base/src/org/compiere/model/MLabelCategory.java index 65042e42ca..74314b5aa1 100644 --- a/org.adempiere.base/src/org/compiere/model/MLabelCategory.java +++ b/org.adempiere.base/src/org/compiere/model/MLabelCategory.java @@ -47,6 +47,16 @@ public class MLabelCategory extends X_AD_LabelCategory implements ImmutablePOSup /** Cache of Client */ private static CCache s_cacheAll = new CCache(Table_Name, Table_Name+"_Of_Client", 5); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_LabelCategory_UU UUID key + * @param trxName Transaction + */ + public MLabelCategory(Properties ctx, String AD_LabelCategory_UU, String trxName) { + super(ctx, AD_LabelCategory_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MLabelCategoryTable.java b/org.adempiere.base/src/org/compiere/model/MLabelCategoryTable.java index b13b95422c..0b380bdfce 100644 --- a/org.adempiere.base/src/org/compiere/model/MLabelCategoryTable.java +++ b/org.adempiere.base/src/org/compiere/model/MLabelCategoryTable.java @@ -35,6 +35,16 @@ import java.util.Properties; public class MLabelCategoryTable extends X_AD_LabelCategoryTable { private static final long serialVersionUID = -964945828771768568L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_LabelCategoryTable_UU UUID key + * @param trxName Transaction + */ + public MLabelCategoryTable(Properties ctx, String AD_LabelCategoryTable_UU, String trxName) { + super(ctx, AD_LabelCategoryTable_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MLandedCost.java b/org.adempiere.base/src/org/compiere/model/MLandedCost.java index dae042e48e..68ecf42d77 100644 --- a/org.adempiere.base/src/org/compiere/model/MLandedCost.java +++ b/org.adempiere.base/src/org/compiere/model/MLandedCost.java @@ -25,6 +25,7 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Landed Cost Model @@ -80,6 +81,18 @@ public class MLandedCost extends X_C_LandedCost private static CLogger s_log = CLogger.getCLogger (MLandedCost.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_LandedCost_UU UUID key + * @param trxName Transaction + */ + public MLandedCost(Properties ctx, String C_LandedCost_UU, String trxName) { + super(ctx, C_LandedCost_UU, trxName); + if (Util.isEmpty(C_LandedCost_UU)) + setInitialDefaults(); + } + /*************************************************************************** * Standard Constructor * @@ -91,11 +104,16 @@ public class MLandedCost extends X_C_LandedCost { super (ctx, C_LandedCost_ID, trxName); if (C_LandedCost_ID == 0) - { - setLandedCostDistribution (LANDEDCOSTDISTRIBUTION_Quantity); // Q - } + setInitialDefaults(); } // MLandedCost + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setLandedCostDistribution (LANDEDCOSTDISTRIBUTION_Quantity); // Q + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MLandedCostAllocation.java b/org.adempiere.base/src/org/compiere/model/MLandedCostAllocation.java index 6c25148225..f40d4b06ba 100644 --- a/org.adempiere.base/src/org/compiere/model/MLandedCostAllocation.java +++ b/org.adempiere.base/src/org/compiere/model/MLandedCostAllocation.java @@ -27,6 +27,7 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Landed Cost Allocation Model @@ -82,6 +83,18 @@ public class MLandedCostAllocation extends X_C_LandedCostAllocation private static CLogger s_log = CLogger.getCLogger (MLandedCostAllocation.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_LandedCostAllocation_UU UUID key + * @param trxName Transaction + */ + public MLandedCostAllocation(Properties ctx, String C_LandedCostAllocation_UU, String trxName) { + super(ctx, C_LandedCostAllocation_UU, trxName); + if (Util.isEmpty(C_LandedCostAllocation_UU)) + setInitialDefaults(); + } + /*************************************************************************** * Standard Constructor * @param ctx context @@ -92,13 +105,18 @@ public class MLandedCostAllocation extends X_C_LandedCostAllocation { super (ctx, C_LandedCostAllocation_ID, trxName); if (C_LandedCostAllocation_ID == 0) - { - setAmt (Env.ZERO); - setQty (Env.ZERO); - setBase (Env.ZERO); - } + setInitialDefaults(); } // MLandedCostAllocation + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setAmt (Env.ZERO); + setQty (Env.ZERO); + setBase (Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MLanguage.java b/org.adempiere.base/src/org/compiere/model/MLanguage.java index 39dc48962d..ee6657f3a7 100644 --- a/org.adempiere.base/src/org/compiere/model/MLanguage.java +++ b/org.adempiere.base/src/org/compiere/model/MLanguage.java @@ -117,6 +117,16 @@ public class MLanguage extends X_AD_Language implements ImmutablePOSupport } } // maintain + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Language_UU UUID key + * @param trxName Transaction + */ + public MLanguage(Properties ctx, String AD_Language_UU, String trxName) { + super(ctx, AD_Language_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MLdapAccess.java b/org.adempiere.base/src/org/compiere/model/MLdapAccess.java index dfdb103357..cf912e0671 100755 --- a/org.adempiere.base/src/org/compiere/model/MLdapAccess.java +++ b/org.adempiere.base/src/org/compiere/model/MLdapAccess.java @@ -34,6 +34,16 @@ public class MLdapAccess extends X_AD_LdapAccess */ private static final long serialVersionUID = 7873484319494804583L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_LdapAccess_UU UUID key + * @param trxName Transaction + */ + public MLdapAccess(Properties ctx, String AD_LdapAccess_UU, String trxName) { + super(ctx, AD_LdapAccess_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MLdapProcessor.java b/org.adempiere.base/src/org/compiere/model/MLdapProcessor.java index 1877597f7a..434208d55e 100755 --- a/org.adempiere.base/src/org/compiere/model/MLdapProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/MLdapProcessor.java @@ -75,6 +75,16 @@ public class MLdapProcessor extends X_AD_LdapProcessor implements AdempiereProce /** Logger */ private static CLogger log = CLogger.getCLogger (MLdapProcessor.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_LdapProcessor_UU UUID key + * @param trxName Transaction + */ + public MLdapProcessor(Properties ctx, String AD_LdapProcessor_UU, String trxName) { + super(ctx, AD_LdapProcessor_UU, trxName); + } + /************************************************************************** * Ldap Processor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MLdapProcessorLog.java b/org.adempiere.base/src/org/compiere/model/MLdapProcessorLog.java index 48ba199022..1ae4f51631 100755 --- a/org.adempiere.base/src/org/compiere/model/MLdapProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/MLdapProcessorLog.java @@ -19,6 +19,8 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; +import org.compiere.util.Util; + /** * LDAP Server Log @@ -33,6 +35,18 @@ public class MLdapProcessorLog extends X_AD_LdapProcessorLog implements Adempier */ private static final long serialVersionUID = -2587778949013986055L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_LdapProcessorLog_UU UUID key + * @param trxName Transaction + */ + public MLdapProcessorLog(Properties ctx, String AD_LdapProcessorLog_UU, String trxName) { + super(ctx, AD_LdapProcessorLog_UU, trxName); + if (Util.isEmpty(AD_LdapProcessorLog_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -44,11 +58,16 @@ public class MLdapProcessorLog extends X_AD_LdapProcessorLog implements Adempier { super (ctx, AD_LdapProcessorLog_ID, trxName); if (AD_LdapProcessorLog_ID == 0) - { - setIsError (false); - } + setInitialDefaults(); } // MLdapProcessorLog + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsError (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MLocation.java b/org.adempiere.base/src/org/compiere/model/MLocation.java index 6b77214948..1515cbffda 100644 --- a/org.adempiere.base/src/org/compiere/model/MLocation.java +++ b/org.adempiere.base/src/org/compiere/model/MLocation.java @@ -166,6 +166,18 @@ public class MLocation extends X_C_Location implements Comparator, Immut private static CLogger s_log = CLogger.getCLogger(MLocation.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_Location_UU UUID key + * @param trxName Transaction + */ + public MLocation(Properties ctx, String C_Location_UU, String trxName) { + super(ctx, C_Location_UU, trxName); + if (Util.isEmpty(C_Location_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -176,16 +188,21 @@ public class MLocation extends X_C_Location implements Comparator, Immut { super (ctx, C_Location_ID, trxName); if (C_Location_ID == 0) - { - MCountry defaultCountry = MCountry.getDefault(); - setCountry(defaultCountry); - MRegion defaultRegion = MRegion.getDefault(); - if (defaultRegion != null - && defaultRegion.getC_Country_ID() == defaultCountry.getC_Country_ID()) - setRegion(defaultRegion); - } + setInitialDefaults(); } // MLocation + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + MCountry defaultCountry = MCountry.getDefault(); + setCountry(defaultCountry); + MRegion defaultRegion = MRegion.getDefault(); + if (defaultRegion != null + && defaultRegion.getC_Country_ID() == defaultCountry.getC_Country_ID()) + setRegion(defaultRegion); + } + /** * Parent Constructor * @param country mandatory country diff --git a/org.adempiere.base/src/org/compiere/model/MLocator.java b/org.adempiere.base/src/org/compiere/model/MLocator.java index 63478f6a05..bb9370e793 100644 --- a/org.adempiere.base/src/org/compiere/model/MLocator.java +++ b/org.adempiere.base/src/org/compiere/model/MLocator.java @@ -25,6 +25,7 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -238,6 +239,18 @@ public class MLocator extends X_M_Locator implements ImmutablePOSupport private static CLogger s_log = CLogger.getCLogger (MLocator.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_Locator_UU UUID key + * @param trxName Transaction + */ + public MLocator(Properties ctx, String M_Locator_UU, String trxName) { + super(ctx, M_Locator_UU, trxName); + if (Util.isEmpty(M_Locator_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Locator Constructor * @param ctx Context @@ -248,12 +261,17 @@ public class MLocator extends X_M_Locator implements ImmutablePOSupport { super (ctx, M_Locator_ID, trxName); if (M_Locator_ID == 0) - { - setIsDefault (false); - setPriorityNo (50); - } + setInitialDefaults(); } // MLocator + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsDefault (false); + setPriorityNo (50); + } + /** * New Locator Constructor with XYZ=000 * @param warehouse parent diff --git a/org.adempiere.base/src/org/compiere/model/MLocatorType.java b/org.adempiere.base/src/org/compiere/model/MLocatorType.java index 12a1d0a920..c5104f7192 100644 --- a/org.adempiere.base/src/org/compiere/model/MLocatorType.java +++ b/org.adempiere.base/src/org/compiere/model/MLocatorType.java @@ -29,6 +29,7 @@ import java.util.Properties; import org.compiere.util.CLogger; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -78,6 +79,18 @@ public class MLocatorType extends X_M_LocatorType implements ImmutablePOSupport @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger (MLocatorType.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_LocatorType_UU UUID key + * @param trxName Transaction + */ + public MLocatorType(Properties ctx, String M_LocatorType_UU, String trxName) { + super(ctx, M_LocatorType_UU, trxName); + if (Util.isEmpty(M_LocatorType_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Locator Constructor * @param ctx Context @@ -86,13 +99,19 @@ public class MLocatorType extends X_M_LocatorType implements ImmutablePOSupport */ public MLocatorType (Properties ctx, int M_LocatorType_ID, String trxName) { super (ctx, M_LocatorType_ID, trxName); - if (M_LocatorType_ID == 0) { - setIsAvailableForReplenishment (true); - setIsAvailableForReservation (true); - setIsAvailableForShipping (true); - } + if (M_LocatorType_ID == 0) + setInitialDefaults(); } // MLocatorType + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsAvailableForReplenishment (true); + setIsAvailableForReservation (true); + setIsAvailableForShipping (true); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MLot.java b/org.adempiere.base/src/org/compiere/model/MLot.java index 1b2a313770..b22f1cadfb 100644 --- a/org.adempiere.base/src/org/compiere/model/MLot.java +++ b/org.adempiere.base/src/org/compiere/model/MLot.java @@ -118,6 +118,16 @@ public class MLot extends X_M_Lot } // getProductLotPairs + /** + * UUID based Constructor + * @param ctx Context + * @param M_Lot_UU UUID key + * @param trxName Transaction + */ + public MLot(Properties ctx, String M_Lot_UU, String trxName) { + super(ctx, M_Lot_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MLotCtl.java b/org.adempiere.base/src/org/compiere/model/MLotCtl.java index c51679794a..365619602a 100644 --- a/org.adempiere.base/src/org/compiere/model/MLotCtl.java +++ b/org.adempiere.base/src/org/compiere/model/MLotCtl.java @@ -19,6 +19,8 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; +import org.compiere.util.Util; + /** * Lot Control Model * @@ -32,6 +34,18 @@ public class MLotCtl extends X_M_LotCtl */ private static final long serialVersionUID = -1020114756336617138L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_LotCtl_UU UUID key + * @param trxName Transaction + */ + public MLotCtl(Properties ctx, String M_LotCtl_UU, String trxName) { + super(ctx, M_LotCtl_UU, trxName); + if (Util.isEmpty(M_LotCtl_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -42,13 +56,18 @@ public class MLotCtl extends X_M_LotCtl { super (ctx, M_LotCtl_ID, trxName); if (M_LotCtl_ID == 0) - { - setStartNo (1); - setCurrentNext (1); - setIncrementNo (1); - } + setInitialDefaults(); } // MLotCtl + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setStartNo (1); + setCurrentNext (1); + setIncrementNo (1); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MLotCtlExclude.java b/org.adempiere.base/src/org/compiere/model/MLotCtlExclude.java index 3545dcede4..b1e8291efc 100644 --- a/org.adempiere.base/src/org/compiere/model/MLotCtlExclude.java +++ b/org.adempiere.base/src/org/compiere/model/MLotCtlExclude.java @@ -41,6 +41,16 @@ public class MLotCtlExclude extends X_M_LotCtlExclude { */ private static final long serialVersionUID = -7189245472896373850L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_LotCtlExclude_UU UUID key + * @param trxName Transaction + */ + public MLotCtlExclude(Properties ctx, String M_LotCtlExclude_UU, String trxName) { + super(ctx, M_LotCtlExclude_UU, trxName); + } + /** * @param ctx * @param M_LotCtlExclude_ID diff --git a/org.adempiere.base/src/org/compiere/model/MMFAMethod.java b/org.adempiere.base/src/org/compiere/model/MMFAMethod.java index 68be373917..4b1e4d302e 100644 --- a/org.adempiere.base/src/org/compiere/model/MMFAMethod.java +++ b/org.adempiere.base/src/org/compiere/model/MMFAMethod.java @@ -43,6 +43,16 @@ public class MMFAMethod extends X_MFA_Method { */ private static final long serialVersionUID = -7954271872310037840L; + /** + * UUID based Constructor + * @param ctx Context + * @param MFA_Method_UU UUID key + * @param trxName Transaction + */ + public MMFAMethod(Properties ctx, String MFA_Method_UU, String trxName) { + super(ctx, MFA_Method_UU, trxName); + } + /** * Read/Create empty MFA Method * diff --git a/org.adempiere.base/src/org/compiere/model/MMFARegisteredDevice.java b/org.adempiere.base/src/org/compiere/model/MMFARegisteredDevice.java index f5b4f511c3..953206c370 100644 --- a/org.adempiere.base/src/org/compiere/model/MMFARegisteredDevice.java +++ b/org.adempiere.base/src/org/compiere/model/MMFARegisteredDevice.java @@ -39,6 +39,16 @@ public class MMFARegisteredDevice extends X_MFA_RegisteredDevice { */ private static final long serialVersionUID = 7913538709234444407L; + /** + * UUID based Constructor + * @param ctx Context + * @param MFA_RegisteredDevice_UU UUID key + * @param trxName Transaction + */ + public MMFARegisteredDevice(Properties ctx, String MFA_RegisteredDevice_UU, String trxName) { + super(ctx, MFA_RegisteredDevice_UU, trxName); + } + /** * Read/Create empty MFA Registered Device * diff --git a/org.adempiere.base/src/org/compiere/model/MMFARegistration.java b/org.adempiere.base/src/org/compiere/model/MMFARegistration.java index ae1be16a99..b7699e8161 100644 --- a/org.adempiere.base/src/org/compiere/model/MMFARegistration.java +++ b/org.adempiere.base/src/org/compiere/model/MMFARegistration.java @@ -42,6 +42,16 @@ public class MMFARegistration extends X_MFA_Registration { */ private static final long serialVersionUID = -2032862057961778934L; + /** + * UUID based Constructor + * @param ctx Context + * @param MFA_Registration_UU UUID key + * @param trxName Transaction + */ + public MMFARegistration(Properties ctx, String MFA_Registration_UU, String trxName) { + super(ctx, MFA_Registration_UU, trxName); + } + /** * Read/Create empty MFA Registration * diff --git a/org.adempiere.base/src/org/compiere/model/MMailText.java b/org.adempiere.base/src/org/compiere/model/MMailText.java index c4262ef17f..e6392a7a2f 100644 --- a/org.adempiere.base/src/org/compiere/model/MMailText.java +++ b/org.adempiere.base/src/org/compiere/model/MMailText.java @@ -39,6 +39,16 @@ public class MMailText extends X_R_MailText */ private static final long serialVersionUID = -6458808409321394821L; + /** + * UUID based Constructor + * @param ctx Context + * @param R_MailText_UU UUID key + * @param trxName Transaction + */ + public MMailText(Properties ctx, String R_MailText_UU, String trxName) { + super(ctx, R_MailText_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MMatchInv.java b/org.adempiere.base/src/org/compiere/model/MMatchInv.java index fe23bc7669..ded178461b 100644 --- a/org.adempiere.base/src/org/compiere/model/MMatchInv.java +++ b/org.adempiere.base/src/org/compiere/model/MMatchInv.java @@ -25,6 +25,7 @@ import java.util.Properties; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Match Invoice (Receipt<>Invoice) Model. @@ -141,6 +142,18 @@ public class MMatchInv extends X_M_MatchInv private static CLogger s_log = CLogger.getCLogger (MMatchInv.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_MatchInv_UU UUID key + * @param trxName Transaction + */ + public MMatchInv(Properties ctx, String M_MatchInv_UU, String trxName) { + super(ctx, M_MatchInv_UU, trxName); + if (Util.isEmpty(M_MatchInv_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -151,14 +164,19 @@ public class MMatchInv extends X_M_MatchInv { super (ctx, M_MatchInv_ID, trxName); if (M_MatchInv_ID == 0) - { - setM_AttributeSetInstance_ID(0); - setPosted (false); - setProcessed (false); - setProcessing (false); - } + setInitialDefaults(); } // MMatchInv + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setM_AttributeSetInstance_ID(0); + setPosted (false); + setProcessed (false); + setProcessing (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MMatchPO.java b/org.adempiere.base/src/org/compiere/model/MMatchPO.java index a6a8431678..a5fa93de5f 100644 --- a/org.adempiere.base/src/org/compiere/model/MMatchPO.java +++ b/org.adempiere.base/src/org/compiere/model/MMatchPO.java @@ -41,6 +41,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Trx; +import org.compiere.util.Util; import org.compiere.util.ValueNamePair; /** @@ -758,6 +759,18 @@ public class MMatchPO extends X_M_MatchPO private static CLogger s_log = CLogger.getCLogger (MMatchPO.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_MatchPO_UU UUID key + * @param trxName Transaction + */ + public MMatchPO(Properties ctx, String M_MatchPO_UU, String trxName) { + super(ctx, M_MatchPO_UU, trxName); + if (Util.isEmpty(M_MatchPO_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -768,14 +781,19 @@ public class MMatchPO extends X_M_MatchPO { super (ctx, M_MatchPO_ID, trxName); if (M_MatchPO_ID == 0) - { - setM_AttributeSetInstance_ID(0); - setPosted (false); - setProcessed (false); - setProcessing (false); - } + setInitialDefaults(); } // MMatchPO + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setM_AttributeSetInstance_ID(0); + setPosted (false); + setProcessed (false); + setProcessing (false); + } + /** * Load Construor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MMeasure.java b/org.adempiere.base/src/org/compiere/model/MMeasure.java index e91a8d0e76..91a405fc5d 100644 --- a/org.adempiere.base/src/org/compiere/model/MMeasure.java +++ b/org.adempiere.base/src/org/compiere/model/MMeasure.java @@ -93,6 +93,16 @@ public class MMeasure extends X_PA_Measure implements ImmutablePOSupport private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache (Table_Name, 10); + /** + * UUID based Constructor + * @param ctx Context + * @param PA_Measure_UU UUID key + * @param trxName Transaction + */ + public MMeasure(Properties ctx, String PA_Measure_UU, String trxName) { + super(ctx, PA_Measure_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MMeasureCalc.java b/org.adempiere.base/src/org/compiere/model/MMeasureCalc.java index 7e0accf17e..c07e188542 100644 --- a/org.adempiere.base/src/org/compiere/model/MMeasureCalc.java +++ b/org.adempiere.base/src/org/compiere/model/MMeasureCalc.java @@ -76,6 +76,16 @@ public class MMeasureCalc extends X_PA_MeasureCalc implements ImmutablePOSupport private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache (Table_Name, 10); + /** + * UUID based Constructor + * @param ctx Context + * @param PA_MeasureCalc_UU UUID key + * @param trxName Transaction + */ + public MMeasureCalc(Properties ctx, String PA_MeasureCalc_UU, String trxName) { + super(ctx, PA_MeasureCalc_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MMenu.java b/org.adempiere.base/src/org/compiere/model/MMenu.java index 2cd78bda5f..70fb8f639b 100644 --- a/org.adempiere.base/src/org/compiere/model/MMenu.java +++ b/org.adempiere.base/src/org/compiere/model/MMenu.java @@ -131,6 +131,18 @@ public class MMenu extends X_AD_Menu implements ImmutablePOSupport /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MMenu.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Menu_UU UUID key + * @param trxName Transaction + */ + public MMenu(Properties ctx, String AD_Menu_UU, String trxName) { + super(ctx, AD_Menu_UU, trxName); + if (Util.isEmpty(AD_Menu_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -141,14 +153,19 @@ public class MMenu extends X_AD_Menu implements ImmutablePOSupport { super (ctx, AD_Menu_ID, trxName); if (AD_Menu_ID == 0) - { - setEntityType (ENTITYTYPE_UserMaintained); // U - setIsReadOnly (false); // N - setIsSOTrx (false); - setIsSummary (false); - } + setInitialDefaults(); } // MMenu + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setEntityType (ENTITYTYPE_UserMaintained); // U + setIsReadOnly (false); // N + setIsSOTrx (false); + setIsSummary (false); + } + /** * Load Contrusctor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MMessage.java b/org.adempiere.base/src/org/compiere/model/MMessage.java index 50dc992b5b..4f278ff5ea 100644 --- a/org.adempiere.base/src/org/compiere/model/MMessage.java +++ b/org.adempiere.base/src/org/compiere/model/MMessage.java @@ -145,6 +145,16 @@ public class MMessage extends X_AD_Message implements ImmutablePOSupport /** Static Logger */ private static CLogger s_log = CLogger.getCLogger(MMessage.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Message_UU UUID key + * @param trxName Transaction + */ + public MMessage(Properties ctx, String AD_Message_UU, String trxName) { + super(ctx, AD_Message_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MMovement.java b/org.adempiere.base/src/org/compiere/model/MMovement.java index 84ce18fbb0..4cc2cf0376 100644 --- a/org.adempiere.base/src/org/compiere/model/MMovement.java +++ b/org.adempiere.base/src/org/compiere/model/MMovement.java @@ -33,6 +33,7 @@ import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; /** * Inventory Movement Model @@ -56,6 +57,18 @@ public class MMovement extends X_M_Movement implements DocAction */ private static final long serialVersionUID = 5415969431202357692L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_Movement_UU UUID key + * @param trxName Transaction + */ + public MMovement(Properties ctx, String M_Movement_UU, String trxName) { + super(ctx, M_Movement_UU, trxName); + if (Util.isEmpty(M_Movement_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -66,17 +79,22 @@ public class MMovement extends X_M_Movement implements DocAction { super (ctx, M_Movement_ID, trxName); if (M_Movement_ID == 0) - { - setDocAction (DOCACTION_Complete); // CO - setDocStatus (DOCSTATUS_Drafted); // DR - setIsApproved (false); - setIsInTransit (false); - setMovementDate (new Timestamp(System.currentTimeMillis())); // @#Date@ - setPosted (false); - super.setProcessed (false); - } + setInitialDefaults(); } // MMovement + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDocAction (DOCACTION_Complete); // CO + setDocStatus (DOCSTATUS_Drafted); // DR + setIsApproved (false); + setIsInTransit (false); + setMovementDate (new Timestamp(System.currentTimeMillis())); // @#Date@ + setPosted (false); + super.setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MMovementConfirm.java b/org.adempiere.base/src/org/compiere/model/MMovementConfirm.java index 039503aac4..75c535350b 100644 --- a/org.adempiere.base/src/org/compiere/model/MMovementConfirm.java +++ b/org.adempiere.base/src/org/compiere/model/MMovementConfirm.java @@ -32,6 +32,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; import org.compiere.util.ValueNamePair; import org.compiere.wf.MWorkflow; @@ -85,6 +86,18 @@ public class MMovementConfirm extends X_M_MovementConfirm implements DocAction } // create + /** + * UUID based Constructor + * @param ctx Context + * @param M_MovementConfirm_UU UUID key + * @param trxName Transaction + */ + public MMovementConfirm(Properties ctx, String M_MovementConfirm_UU, String trxName) { + super(ctx, M_MovementConfirm_UU, trxName); + if (Util.isEmpty(M_MovementConfirm_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -95,14 +108,19 @@ public class MMovementConfirm extends X_M_MovementConfirm implements DocAction { super (ctx, M_MovementConfirm_ID, trxName); if (M_MovementConfirm_ID == 0) - { - setDocAction (DOCACTION_Complete); - setDocStatus (DOCSTATUS_Drafted); - setIsApproved (false); // N - setProcessed (false); - } + setInitialDefaults(); } // MMovementConfirm + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDocAction (DOCACTION_Complete); + setDocStatus (DOCSTATUS_Drafted); + setIsApproved (false); // N + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MMovementLine.java b/org.adempiere.base/src/org/compiere/model/MMovementLine.java index 0c15b5e767..9f282325e2 100644 --- a/org.adempiere.base/src/org/compiere/model/MMovementLine.java +++ b/org.adempiere.base/src/org/compiere/model/MMovementLine.java @@ -26,6 +26,7 @@ import org.adempiere.exceptions.AdempiereException; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; import org.eevolution.model.MDDOrderLine; /** @@ -41,6 +42,18 @@ public class MMovementLine extends X_M_MovementLine */ private static final long serialVersionUID = -5614562023263896756L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_MovementLine_UU UUID key + * @param trxName Transaction + */ + public MMovementLine(Properties ctx, String M_MovementLine_UU, String trxName) { + super(ctx, M_MovementLine_UU, trxName); + if (Util.isEmpty(M_MovementLine_UU)) + setInitialDefaults(); + } + /** * Standard Cosntructor * @param ctx context @@ -51,16 +64,21 @@ public class MMovementLine extends X_M_MovementLine { super (ctx, M_MovementLine_ID, trxName); if (M_MovementLine_ID == 0) - { - setM_AttributeSetInstance_ID(0); // ID - setMovementQty (Env.ZERO); // 1 - setTargetQty (Env.ZERO); // 0 - setScrappedQty(Env.ZERO); - setConfirmedQty(Env.ZERO); - setProcessed (false); - } + setInitialDefaults(); } // MMovementLine + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setM_AttributeSetInstance_ID(0); // ID + setMovementQty (Env.ZERO); // 1 + setTargetQty (Env.ZERO); // 0 + setScrappedQty(Env.ZERO); + setConfirmedQty(Env.ZERO); + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MMovementLineConfirm.java b/org.adempiere.base/src/org/compiere/model/MMovementLineConfirm.java index bc5e00bbe6..4b7ad01ec1 100644 --- a/org.adempiere.base/src/org/compiere/model/MMovementLineConfirm.java +++ b/org.adempiere.base/src/org/compiere/model/MMovementLineConfirm.java @@ -22,6 +22,7 @@ import java.util.Properties; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Inventory Movement Confirmation Line @@ -37,6 +38,18 @@ public class MMovementLineConfirm extends X_M_MovementLineConfirm */ private static final long serialVersionUID = -5447921784818655144L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_MovementLineConfirm_UU UUID key + * @param trxName Transaction + */ + public MMovementLineConfirm(Properties ctx, String M_MovementLineConfirm_UU, String trxName) { + super(ctx, M_MovementLineConfirm_UU, trxName); + if (Util.isEmpty(M_MovementLineConfirm_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx ctx @@ -47,13 +60,19 @@ public class MMovementLineConfirm extends X_M_MovementLineConfirm { super (ctx, M_MovementLineConfirm_ID, trxName); if (M_MovementLineConfirm_ID == 0) - { - setConfirmedQty (Env.ZERO); - setDifferenceQty (Env.ZERO); - setScrappedQty (Env.ZERO); - setTargetQty (Env.ZERO); - setProcessed (false); - } } // M_MovementLineConfirm + setInitialDefaults(); + } // M_MovementLineConfirm + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setConfirmedQty (Env.ZERO); + setDifferenceQty (Env.ZERO); + setScrappedQty (Env.ZERO); + setTargetQty (Env.ZERO); + setProcessed (false); + } /** * M_MovementLineConfirm diff --git a/org.adempiere.base/src/org/compiere/model/MMovementLineMA.java b/org.adempiere.base/src/org/compiere/model/MMovementLineMA.java index a956bd6725..510563cf2a 100644 --- a/org.adempiere.base/src/org/compiere/model/MMovementLineMA.java +++ b/org.adempiere.base/src/org/compiere/model/MMovementLineMA.java @@ -114,14 +114,23 @@ public class MMovementLineMA extends X_M_MovementLineMA private static CLogger s_log = CLogger.getCLogger (MMovementLineMA.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_MovementLineMA_UU UUID key + * @param trxName Transaction + */ + public MMovementLineMA(Properties ctx, String M_MovementLineMA_UU, String trxName) { + super(ctx, M_MovementLineMA_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context * @param M_MovementLineMA_ID ignored * @param trxName trx */ - public MMovementLineMA (Properties ctx, int M_MovementLineMA_ID, - String trxName) + public MMovementLineMA (Properties ctx, int M_MovementLineMA_ID, String trxName) { super (ctx, M_MovementLineMA_ID, trxName); if (M_MovementLineMA_ID != 0) diff --git a/org.adempiere.base/src/org/compiere/model/MNote.java b/org.adempiere.base/src/org/compiere/model/MNote.java index 4f17f930e9..e382ab2282 100644 --- a/org.adempiere.base/src/org/compiere/model/MNote.java +++ b/org.adempiere.base/src/org/compiere/model/MNote.java @@ -21,6 +21,7 @@ import java.util.Properties; import java.util.logging.Level; import org.compiere.util.DB; +import org.compiere.util.Util; /** @@ -37,6 +38,18 @@ public class MNote extends X_AD_Note private static final long serialVersionUID = -422120961441035731L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Note_UU UUID key + * @param trxName Transaction + */ + public MNote(Properties ctx, String AD_Note_UU, String trxName) { + super(ctx, AD_Note_UU, trxName); + if (Util.isEmpty(AD_Note_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -47,12 +60,17 @@ public class MNote extends X_AD_Note { super (ctx, AD_Note_ID, trxName); if (AD_Note_ID == 0) - { - setProcessed (false); - setProcessing(false); - } + setInitialDefaults(); } // MNote + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setProcessed (false); + setProcessing(false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MOnlineTrxHistory.java b/org.adempiere.base/src/org/compiere/model/MOnlineTrxHistory.java index d306ceb898..e9c4b5f2b2 100644 --- a/org.adempiere.base/src/org/compiere/model/MOnlineTrxHistory.java +++ b/org.adempiere.base/src/org/compiere/model/MOnlineTrxHistory.java @@ -29,6 +29,16 @@ public class MOnlineTrxHistory extends X_C_OnlineTrxHistory { */ private static final long serialVersionUID = 2160888813932490117L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_OnlineTrxHistory_UU UUID key + * @param trxName Transaction + */ + public MOnlineTrxHistory(Properties ctx, String C_OnlineTrxHistory_UU, String trxName) { + super(ctx, C_OnlineTrxHistory_UU, trxName); + } + public MOnlineTrxHistory(Properties ctx, int C_OnlineTrxHistory_ID, String trxName) { super(ctx, C_OnlineTrxHistory_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MOpportunity.java b/org.adempiere.base/src/org/compiere/model/MOpportunity.java index 9167b1d50f..08317d4b24 100644 --- a/org.adempiere.base/src/org/compiere/model/MOpportunity.java +++ b/org.adempiere.base/src/org/compiere/model/MOpportunity.java @@ -27,6 +27,16 @@ public class MOpportunity extends X_C_Opportunity { */ private static final long serialVersionUID = 9052544341602655427L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_Opportunity_UU UUID key + * @param trxName Transaction + */ + public MOpportunity(Properties ctx, String C_Opportunity_UU, String trxName) { + super(ctx, C_Opportunity_UU, trxName); + } + public MOpportunity(Properties ctx, int C_Opportunity_ID, String trxName) { super(ctx, C_Opportunity_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MOrder.java b/org.adempiere.base/src/org/compiere/model/MOrder.java index 6bd3cd9227..6186900cb5 100644 --- a/org.adempiere.base/src/org/compiere/model/MOrder.java +++ b/org.adempiere.base/src/org/compiere/model/MOrder.java @@ -158,6 +158,18 @@ public class MOrder extends X_C_Order implements DocAction } // copyFrom + /** + * UUID based Constructor + * @param ctx Context + * @param C_Order_UU UUID key + * @param trxName Transaction + */ + public MOrder(Properties ctx, String C_Order_UU, String trxName) { + super(ctx, C_Order_UU, trxName); + if (Util.isEmpty(C_Order_UU)) + setInitialDefaults(); + } + /************************************************************************** * Default Constructor * @param ctx context @@ -173,45 +185,50 @@ public class MOrder extends X_C_Order implements DocAction super(ctx, C_Order_ID, trxName, virtualColumns); // New if (C_Order_ID == 0) - { - setDocStatus(DOCSTATUS_Drafted); - setDocAction (DOCACTION_Prepare); - // - setDeliveryRule (DELIVERYRULE_Availability); - setFreightCostRule (FREIGHTCOSTRULE_FreightIncluded); - setInvoiceRule (INVOICERULE_Immediate); - setPaymentRule(PAYMENTRULE_OnCredit); - setPriorityRule (PRIORITYRULE_Medium); - setDeliveryViaRule (DELIVERYVIARULE_Pickup); - // - setIsDiscountPrinted (false); - setIsSelected (false); - setIsTaxIncluded (false); - setIsSOTrx (true); - setIsDropShip(false); - setSendEMail (false); - // - setIsApproved(false); - setIsPrinted(false); - setIsCreditApproved(false); - setIsDelivered(false); - setIsInvoiced(false); - setIsTransferred(false); - setIsSelfService(false); - // - super.setProcessed(false); - setProcessing(false); - setPosted(false); + setInitialDefaults(); + } - setDateAcct (new Timestamp(System.currentTimeMillis())); - setDatePromised (new Timestamp(System.currentTimeMillis())); - setDateOrdered (new Timestamp(System.currentTimeMillis())); + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDocStatus(DOCSTATUS_Drafted); + setDocAction (DOCACTION_Prepare); + // + setDeliveryRule (DELIVERYRULE_Availability); + setFreightCostRule (FREIGHTCOSTRULE_FreightIncluded); + setInvoiceRule (INVOICERULE_Immediate); + setPaymentRule(PAYMENTRULE_OnCredit); + setPriorityRule (PRIORITYRULE_Medium); + setDeliveryViaRule (DELIVERYVIARULE_Pickup); + // + setIsDiscountPrinted (false); + setIsSelected (false); + setIsTaxIncluded (false); + setIsSOTrx (true); + setIsDropShip(false); + setSendEMail (false); + // + setIsApproved(false); + setIsPrinted(false); + setIsCreditApproved(false); + setIsDelivered(false); + setIsInvoiced(false); + setIsTransferred(false); + setIsSelfService(false); + // + super.setProcessed(false); + setProcessing(false); + setPosted(false); - setFreightAmt (Env.ZERO); - setChargeAmt (Env.ZERO); - setTotalLines (Env.ZERO); - setGrandTotal (Env.ZERO); - } + setDateAcct (new Timestamp(System.currentTimeMillis())); + setDatePromised (new Timestamp(System.currentTimeMillis())); + setDateOrdered (new Timestamp(System.currentTimeMillis())); + + setFreightAmt (Env.ZERO); + setChargeAmt (Env.ZERO); + setTotalLines (Env.ZERO); + setGrandTotal (Env.ZERO); } /************************************************************************** diff --git a/org.adempiere.base/src/org/compiere/model/MOrderLandedCost.java b/org.adempiere.base/src/org/compiere/model/MOrderLandedCost.java index 2ce645be9c..4d2b931b80 100644 --- a/org.adempiere.base/src/org/compiere/model/MOrderLandedCost.java +++ b/org.adempiere.base/src/org/compiere/model/MOrderLandedCost.java @@ -38,13 +38,22 @@ public class MOrderLandedCost extends X_C_OrderLandedCost { */ private static final long serialVersionUID = 2629138678703667123L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_OrderLandedCost_UU UUID key + * @param trxName Transaction + */ + public MOrderLandedCost(Properties ctx, String C_OrderLandedCost_UU, String trxName) { + super(ctx, C_OrderLandedCost_UU, trxName); + } + /** * @param ctx * @param C_OrderLandedCost_ID * @param trxName */ - public MOrderLandedCost(Properties ctx, int C_OrderLandedCost_ID, - String trxName) { + public MOrderLandedCost(Properties ctx, int C_OrderLandedCost_ID, String trxName) { super(ctx, C_OrderLandedCost_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MOrderLandedCostAllocation.java b/org.adempiere.base/src/org/compiere/model/MOrderLandedCostAllocation.java index 20b86591fc..d9124469a3 100644 --- a/org.adempiere.base/src/org/compiere/model/MOrderLandedCostAllocation.java +++ b/org.adempiere.base/src/org/compiere/model/MOrderLandedCostAllocation.java @@ -35,13 +35,22 @@ public class MOrderLandedCostAllocation extends X_C_OrderLandedCostAllocation { */ private static final long serialVersionUID = -3876186097908624583L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_OrderLandedCostAllocation_UU UUID key + * @param trxName Transaction + */ + public MOrderLandedCostAllocation(Properties ctx, String C_OrderLandedCostAllocation_UU, String trxName) { + super(ctx, C_OrderLandedCostAllocation_UU, trxName); + } + /** * @param ctx * @param C_OrderLandedCostAllocation_ID * @param trxName */ - public MOrderLandedCostAllocation(Properties ctx, - int C_OrderLandedCostAllocation_ID, String trxName) { + public MOrderLandedCostAllocation(Properties ctx, int C_OrderLandedCostAllocation_ID, String trxName) { super(ctx, C_OrderLandedCostAllocation_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MOrderLine.java b/org.adempiere.base/src/org/compiere/model/MOrderLine.java index 09eeaaa7ed..4e7007f3f1 100644 --- a/org.adempiere.base/src/org/compiere/model/MOrderLine.java +++ b/org.adempiere.base/src/org/compiere/model/MOrderLine.java @@ -33,6 +33,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Order Line Model. @@ -117,6 +118,18 @@ public class MOrderLine extends X_C_OrderLine /** Logger */ protected static CLogger s_log = CLogger.getCLogger (MOrderLine.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_OrderLine_UU UUID key + * @param trxName Transaction + */ + public MOrderLine(Properties ctx, String C_OrderLine_UU, String trxName) { + super(ctx, C_OrderLine_UU, trxName); + if (Util.isEmpty(C_OrderLine_UU)) + setInitialDefaults(); + } + /************************************************************************** * Default Constructor * @param ctx context @@ -131,27 +144,32 @@ public class MOrderLine extends X_C_OrderLine public MOrderLine(Properties ctx, int C_OrderLine_ID, String trxName, String... virtualColumns) { super(ctx, C_OrderLine_ID, trxName, virtualColumns); if (C_OrderLine_ID == 0) - { - setFreightAmt (Env.ZERO); - setLineNetAmt (Env.ZERO); - // - setPriceEntered(Env.ZERO); - setPriceActual (Env.ZERO); - setPriceLimit (Env.ZERO); - setPriceList (Env.ZERO); - // - setM_AttributeSetInstance_ID(0); - // - setQtyEntered (Env.ZERO); - setQtyOrdered (Env.ZERO); // 1 - setQtyDelivered (Env.ZERO); - setQtyInvoiced (Env.ZERO); - setQtyReserved (Env.ZERO); - // - setIsDescription (false); // N - setProcessed (false); - setLine (0); - } + setInitialDefaults(); + } + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setFreightAmt (Env.ZERO); + setLineNetAmt (Env.ZERO); + // + setPriceEntered(Env.ZERO); + setPriceActual (Env.ZERO); + setPriceLimit (Env.ZERO); + setPriceList (Env.ZERO); + // + setM_AttributeSetInstance_ID(0); + // + setQtyEntered (Env.ZERO); + setQtyOrdered (Env.ZERO); // 1 + setQtyDelivered (Env.ZERO); + setQtyInvoiced (Env.ZERO); + setQtyReserved (Env.ZERO); + // + setIsDescription (false); // N + setProcessed (false); + setLine (0); } /** diff --git a/org.adempiere.base/src/org/compiere/model/MOrderPaySchedule.java b/org.adempiere.base/src/org/compiere/model/MOrderPaySchedule.java index 3350a53ac4..a2ee5ce221 100644 --- a/org.adempiere.base/src/org/compiere/model/MOrderPaySchedule.java +++ b/org.adempiere.base/src/org/compiere/model/MOrderPaySchedule.java @@ -29,6 +29,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; /** * Order Payment Schedule Model @@ -97,6 +98,18 @@ public class MOrderPaySchedule extends X_C_OrderPaySchedule /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MOrderPaySchedule.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_OrderPaySchedule_UU UUID key + * @param trxName Transaction + */ + public MOrderPaySchedule(Properties ctx, String C_OrderPaySchedule_UU, String trxName) { + super(ctx, C_OrderPaySchedule_UU, trxName); + if (Util.isEmpty(C_OrderPaySchedule_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -107,11 +120,16 @@ public class MOrderPaySchedule extends X_C_OrderPaySchedule { super(ctx, C_OrderPaySchedule_ID, trxName); if (C_OrderPaySchedule_ID == 0) - { - setIsValid (false); - } + setInitialDefaults(); } // MOrderPaySchedule + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsValid (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MOrderTax.java b/org.adempiere.base/src/org/compiere/model/MOrderTax.java index bf04daef4e..4d4e420378 100644 --- a/org.adempiere.base/src/org/compiere/model/MOrderTax.java +++ b/org.adempiere.base/src/org/compiere/model/MOrderTax.java @@ -27,6 +27,7 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Order Tax Model @@ -223,6 +224,18 @@ public class MOrderTax extends X_C_OrderTax private static CLogger s_log = CLogger.getCLogger (MOrderTax.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_OrderTax_UU UUID key + * @param trxName Transaction + */ + public MOrderTax(Properties ctx, String C_OrderTax_UU, String trxName) { + super(ctx, C_OrderTax_UU, trxName); + if (Util.isEmpty(C_OrderTax_UU)) + setInitialDefaults(); + } + /************************************************************************** * Persistence Constructor * @param ctx context @@ -234,10 +247,17 @@ public class MOrderTax extends X_C_OrderTax super(ctx, 0, trxName); if (ignored != 0) throw new IllegalArgumentException("Multi-Key"); + setInitialDefaults(); + } // MOrderTax + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { setTaxAmt (Env.ZERO); setTaxBaseAmt (Env.ZERO); setIsTaxIncluded(false); - } // MOrderTax + } /** * Load Constructor. diff --git a/org.adempiere.base/src/org/compiere/model/MOrg.java b/org.adempiere.base/src/org/compiere/model/MOrg.java index 818ce42958..62d63a5230 100644 --- a/org.adempiere.base/src/org/compiere/model/MOrg.java +++ b/org.adempiere.base/src/org/compiere/model/MOrg.java @@ -25,6 +25,7 @@ import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Trx; import org.compiere.util.TrxEventListener; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -113,6 +114,18 @@ public class MOrg extends X_AD_Org implements ImmutablePOSupport private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 50); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Org_UU UUID key + * @param trxName Transaction + */ + public MOrg(Properties ctx, String AD_Org_UU, String trxName) { + super(ctx, AD_Org_UU, trxName); + if (Util.isEmpty(AD_Org_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -123,12 +136,17 @@ public class MOrg extends X_AD_Org implements ImmutablePOSupport { super(ctx, AD_Org_ID, trxName); if (AD_Org_ID == 0) - { + setInitialDefaults(); + } // MOrg + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { // setValue (null); // setName (null); - setIsSummary (false); - } - } // MOrg + setIsSummary (false); + } /** * Load Constructor diff --git a/org.adempiere.base/src/org/compiere/model/MOrgInfo.java b/org.adempiere.base/src/org/compiere/model/MOrgInfo.java index c7e901cf70..80cce0f6f8 100644 --- a/org.adempiere.base/src/org/compiere/model/MOrgInfo.java +++ b/org.adempiere.base/src/org/compiere/model/MOrgInfo.java @@ -114,6 +114,16 @@ public class MOrgInfo extends X_AD_OrgInfo implements ImmutablePOSupport private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 50); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_OrgInfo_UU UUID key + * @param trxName Transaction + */ + public MOrgInfo(Properties ctx, String AD_OrgInfo_UU, String trxName) { + super(ctx, AD_OrgInfo_UU, trxName); + } + /************************************************************************** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPInstance.java b/org.adempiere.base/src/org/compiere/model/MPInstance.java index dbd7a6fd40..86d06a4e1f 100644 --- a/org.adempiere.base/src/org/compiere/model/MPInstance.java +++ b/org.adempiere.base/src/org/compiere/model/MPInstance.java @@ -35,6 +35,7 @@ import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Language; import org.compiere.util.Msg; +import org.compiere.util.Util; import org.idempiere.distributed.IMessageService; import org.idempiere.distributed.ITopic; import org.osgi.service.event.Event; @@ -60,6 +61,18 @@ public class MPInstance extends X_AD_PInstance private static CLogger s_log = CLogger.getCLogger (MPInstance.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_PInstance_UU UUID key + * @param trxName Transaction + */ + public MPInstance(Properties ctx, String AD_PInstance_UU, String trxName) { + super(ctx, AD_PInstance_UU, trxName); + if (Util.isEmpty(AD_PInstance_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -71,11 +84,16 @@ public class MPInstance extends X_AD_PInstance super (ctx, AD_PInstance_ID, null); // New Process if (AD_PInstance_ID == 0) - { - setIsProcessing (false); - } + setInitialDefaults(); } // MPInstance + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsProcessing (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPInstancePara.java b/org.adempiere.base/src/org/compiere/model/MPInstancePara.java index b85c1bd3ff..a664b89411 100644 --- a/org.adempiere.base/src/org/compiere/model/MPInstancePara.java +++ b/org.adempiere.base/src/org/compiere/model/MPInstancePara.java @@ -36,6 +36,16 @@ public class MPInstancePara extends X_AD_PInstance_Para */ private static final long serialVersionUID = -8407658637240252680L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_PInstance_Para_UU UUID key + * @param trxName Transaction + */ + public MPInstancePara(Properties ctx, String AD_PInstance_Para_UU, String trxName) { + super(ctx, AD_PInstance_Para_UU, trxName); + } + /** * Persistence Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPOS.java b/org.adempiere.base/src/org/compiere/model/MPOS.java index 381629e132..2566a577fe 100644 --- a/org.adempiere.base/src/org/compiere/model/MPOS.java +++ b/org.adempiere.base/src/org/compiere/model/MPOS.java @@ -17,12 +17,13 @@ package org.compiere.model; import java.sql.ResultSet; -import java.util.Properties; import java.util.List; +import java.util.Properties; import java.util.logging.Level; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -92,6 +93,18 @@ public class MPOS extends X_C_POS implements ImmutablePOSupport /** Cache */ private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param C_POS_UU UUID key + * @param trxName Transaction + */ + public MPOS(Properties ctx, String C_POS_UU, String trxName) { + super(ctx, C_POS_UU, trxName); + if (Util.isEmpty(C_POS_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -102,11 +115,16 @@ public class MPOS extends X_C_POS implements ImmutablePOSupport { super (ctx, C_POS_ID, trxName); if (C_POS_ID == 0) - { - setIsModifyPrice (false); // N - } + setInitialDefaults(); } // MPOS + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsModifyPrice (false); // N + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPOSKey.java b/org.adempiere.base/src/org/compiere/model/MPOSKey.java index 625032f66a..2a382218eb 100644 --- a/org.adempiere.base/src/org/compiere/model/MPOSKey.java +++ b/org.adempiere.base/src/org/compiere/model/MPOSKey.java @@ -36,6 +36,16 @@ public class MPOSKey extends X_C_POSKey implements ImmutablePOSupport */ private static final long serialVersionUID = -5138032789563975514L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_POSKey_UU UUID key + * @param trxName Transaction + */ + public MPOSKey(Properties ctx, String C_POSKey_UU, String trxName) { + super(ctx, C_POSKey_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPOSKeyLayout.java b/org.adempiere.base/src/org/compiere/model/MPOSKeyLayout.java index 5d3fa6753b..ddf49f046e 100644 --- a/org.adempiere.base/src/org/compiere/model/MPOSKeyLayout.java +++ b/org.adempiere.base/src/org/compiere/model/MPOSKeyLayout.java @@ -75,6 +75,16 @@ public class MPOSKeyLayout extends X_C_POSKeyLayout implements ImmutablePOSuppor /** Cache */ private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 3); + /** + * UUID based Constructor + * @param ctx Context + * @param C_POSKeyLayout_UU UUID key + * @param trxName Transaction + */ + public MPOSKeyLayout(Properties ctx, String C_POSKeyLayout_UU, String trxName) { + super(ctx, C_POSKeyLayout_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPOSPayment.java b/org.adempiere.base/src/org/compiere/model/MPOSPayment.java index 74e47aebf7..9b06b5853b 100644 --- a/org.adempiere.base/src/org/compiere/model/MPOSPayment.java +++ b/org.adempiere.base/src/org/compiere/model/MPOSPayment.java @@ -46,6 +46,16 @@ public class MPOSPayment extends X_C_POSPayment /** Logger */ protected static CLogger s_log = CLogger.getCLogger (MPOSPayment.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_POSPayment_UU UUID key + * @param trxName Transaction + */ + public MPOSPayment(Properties ctx, String C_POSPayment_UU, String trxName) { + super(ctx, C_POSPayment_UU, trxName); + } + /************************************************************************** * Default Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPOSTerminal.java b/org.adempiere.base/src/org/compiere/model/MPOSTerminal.java index 3adcfb8203..d88bc53bee 100644 --- a/org.adempiere.base/src/org/compiere/model/MPOSTerminal.java +++ b/org.adempiere.base/src/org/compiere/model/MPOSTerminal.java @@ -46,6 +46,16 @@ public class MPOSTerminal extends X_U_POSTerminal super(ctx, rs, trxName); } + /** + * UUID based Constructor + * @param ctx Context + * @param U_POSTerminal_UU UUID key + * @param trxName Transaction + */ + public MPOSTerminal(Properties ctx, String U_POSTerminal_UU, String trxName) { + super(ctx, U_POSTerminal_UU, trxName); + } + /** * @param ctx * @param U_POSTerminal_ID diff --git a/org.adempiere.base/src/org/compiere/model/MPackage.java b/org.adempiere.base/src/org/compiere/model/MPackage.java index b4f4bb9b54..347dcfd921 100644 --- a/org.adempiere.base/src/org/compiere/model/MPackage.java +++ b/org.adempiere.base/src/org/compiere/model/MPackage.java @@ -27,6 +27,7 @@ import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; import org.compiere.util.Trx; +import org.compiere.util.Util; import org.eevolution.model.MPPProductBOM; import org.eevolution.model.MPPProductBOMLine; @@ -113,6 +114,18 @@ public class MPackage extends X_M_Package return retValue; } + /** + * UUID based Constructor + * @param ctx Context + * @param M_Package_UU UUID key + * @param trxName Transaction + */ + public MPackage(Properties ctx, String M_Package_UU, String trxName) { + super(ctx, M_Package_UU, trxName); + if (Util.isEmpty(M_Package_UU)) + setInitialDefaults(ctx); + } + /************************************************************************** * MPackage * @param ctx context @@ -123,15 +136,20 @@ public class MPackage extends X_M_Package { super (ctx, M_Package_ID, trxName); if (M_Package_ID == 0) - { - setShipDate (new Timestamp(System.currentTimeMillis())); - - MClientInfo clientInfo = MClientInfo.get(ctx, getAD_Client_ID()); - setC_UOM_Weight_ID(clientInfo.getC_UOM_Weight_ID()); - setC_UOM_Length_ID(clientInfo.getC_UOM_Length_ID()); - } + setInitialDefaults(ctx); } // MPackage + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults(Properties ctx) { + setShipDate (new Timestamp(System.currentTimeMillis())); + + MClientInfo clientInfo = MClientInfo.get(ctx, getAD_Client_ID()); + setC_UOM_Weight_ID(clientInfo.getC_UOM_Weight_ID()); + setC_UOM_Length_ID(clientInfo.getC_UOM_Length_ID()); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPackageExp.java b/org.adempiere.base/src/org/compiere/model/MPackageExp.java index 221494b1c3..c78d0a0d1a 100644 --- a/org.adempiere.base/src/org/compiere/model/MPackageExp.java +++ b/org.adempiere.base/src/org/compiere/model/MPackageExp.java @@ -39,6 +39,16 @@ public class MPackageExp extends X_AD_Package_Exp */ private static final long serialVersionUID = -6295261491885604619L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Package_Exp_UU UUID key + * @param trxName Transaction + */ + public MPackageExp(Properties ctx, String AD_Package_Exp_UU, String trxName) { + super(ctx, AD_Package_Exp_UU, trxName); + } + /** * MPackageExp * @param ctx diff --git a/org.adempiere.base/src/org/compiere/model/MPackageExpDetail.java b/org.adempiere.base/src/org/compiere/model/MPackageExpDetail.java index ae2425cfce..9e62be848d 100644 --- a/org.adempiere.base/src/org/compiere/model/MPackageExpDetail.java +++ b/org.adempiere.base/src/org/compiere/model/MPackageExpDetail.java @@ -37,6 +37,16 @@ public class MPackageExpDetail extends X_AD_Package_Exp_Detail private static final long serialVersionUID = 5110078103695767282L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Package_Exp_Detail_UU UUID key + * @param trxName Transaction + */ + public MPackageExpDetail(Properties ctx, String AD_Package_Exp_Detail_UU, String trxName) { + super(ctx, AD_Package_Exp_Detail_UU, trxName); + } + /** * MPackageExpDetail * @param ctx diff --git a/org.adempiere.base/src/org/compiere/model/MPackageLine.java b/org.adempiere.base/src/org/compiere/model/MPackageLine.java index c3b7565d1b..df6d1269a8 100644 --- a/org.adempiere.base/src/org/compiere/model/MPackageLine.java +++ b/org.adempiere.base/src/org/compiere/model/MPackageLine.java @@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Package Line Model @@ -34,6 +35,18 @@ public class MPackageLine extends X_M_PackageLine */ private static final long serialVersionUID = 6018805803189654348L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_PackageLine_UU UUID key + * @param trxName Transaction + */ + public MPackageLine(Properties ctx, String M_PackageLine_UU, String trxName) { + super(ctx, M_PackageLine_UU, trxName); + if (Util.isEmpty(M_PackageLine_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -44,11 +57,16 @@ public class MPackageLine extends X_M_PackageLine { super (ctx, M_PackageLine_ID, trxName); if (M_PackageLine_ID == 0) - { - setQty (Env.ZERO); - } + setInitialDefaults(); } // MPackageLine + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setQty (Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPackageMPS.java b/org.adempiere.base/src/org/compiere/model/MPackageMPS.java index 82b52ed8fe..8004541c35 100644 --- a/org.adempiere.base/src/org/compiere/model/MPackageMPS.java +++ b/org.adempiere.base/src/org/compiere/model/MPackageMPS.java @@ -5,6 +5,7 @@ import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.DB; +import org.compiere.util.Util; public class MPackageMPS extends X_M_PackageMPS { @@ -13,17 +14,34 @@ public class MPackageMPS extends X_M_PackageMPS */ private static final long serialVersionUID = 2426722699419960060L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_PackageMPS_UU UUID key + * @param trxName Transaction + */ + public MPackageMPS(Properties ctx, String M_PackageMPS_UU, String trxName) { + super(ctx, M_PackageMPS_UU, trxName); + if (Util.isEmpty(M_PackageMPS_UU)) + setInitialDefaults(ctx); + } + public MPackageMPS(Properties ctx, int M_PackageMPS_ID, String trxName) { super(ctx, M_PackageMPS_ID, trxName); if (M_PackageMPS_ID == 0) - { - MClientInfo clientInfo = MClientInfo.get(ctx, getAD_Client_ID()); - setC_UOM_Weight_ID(clientInfo.getC_UOM_Weight_ID()); - setC_UOM_Length_ID(clientInfo.getC_UOM_Length_ID()); - } + setInitialDefaults(ctx); } + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults(Properties ctx) { + MClientInfo clientInfo = MClientInfo.get(ctx, getAD_Client_ID()); + setC_UOM_Weight_ID(clientInfo.getC_UOM_Weight_ID()); + setC_UOM_Length_ID(clientInfo.getC_UOM_Length_ID()); + } + public MPackageMPS(Properties ctx, ResultSet rs, String trxName) { super(ctx, rs, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MPasswordHistory.java b/org.adempiere.base/src/org/compiere/model/MPasswordHistory.java index a0b3b3ec71..c135465fe6 100644 --- a/org.adempiere.base/src/org/compiere/model/MPasswordHistory.java +++ b/org.adempiere.base/src/org/compiere/model/MPasswordHistory.java @@ -13,8 +13,17 @@ public class MPasswordHistory extends X_AD_Password_History { */ private static final long serialVersionUID = -571685945938727000L; - public MPasswordHistory(Properties ctx, int AD_Password_History_ID, - String trxName) { + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Password_History_UU UUID key + * @param trxName Transaction + */ + public MPasswordHistory(Properties ctx, String AD_Password_History_UU, String trxName) { + super(ctx, AD_Password_History_UU, trxName); + } + + public MPasswordHistory(Properties ctx, int AD_Password_History_ID, String trxName) { super(ctx, AD_Password_History_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MPasswordRule.java b/org.adempiere.base/src/org/compiere/model/MPasswordRule.java index f34783df51..356ef3e20e 100644 --- a/org.adempiere.base/src/org/compiere/model/MPasswordRule.java +++ b/org.adempiere.base/src/org/compiere/model/MPasswordRule.java @@ -68,6 +68,16 @@ public class MPasswordRule extends X_AD_PasswordRule { private static final String passay_prefix = "PASSAY_"; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_PasswordRule_UU UUID key + * @param trxName Transaction + */ + public MPasswordRule(Properties ctx, String AD_PasswordRule_UU, String trxName) { + super(ctx, AD_PasswordRule_UU, trxName); + } + /** * @param ctx * @param AD_PasswordRule_ID diff --git a/org.adempiere.base/src/org/compiere/model/MPaySchedule.java b/org.adempiere.base/src/org/compiere/model/MPaySchedule.java index c2534d08ef..d3d4da2a60 100644 --- a/org.adempiere.base/src/org/compiere/model/MPaySchedule.java +++ b/org.adempiere.base/src/org/compiere/model/MPaySchedule.java @@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Payment Term Schedule Model @@ -34,6 +35,18 @@ public class MPaySchedule extends X_C_PaySchedule */ private static final long serialVersionUID = 7773501661681911294L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_PaySchedule_UU UUID key + * @param trxName Transaction + */ + public MPaySchedule(Properties ctx, String C_PaySchedule_UU, String trxName) { + super(ctx, C_PaySchedule_UU, trxName); + if (Util.isEmpty(C_PaySchedule_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -44,16 +57,21 @@ public class MPaySchedule extends X_C_PaySchedule { super(ctx, C_PaySchedule_ID, trxName); if (C_PaySchedule_ID == 0) - { - setPercentage (Env.ZERO); - setDiscount (Env.ZERO); - setDiscountDays (0); - setGraceDays (0); - setNetDays (0); - setIsValid (false); - } + setInitialDefaults(); } // MPaySchedule + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setPercentage (Env.ZERO); + setDiscount (Env.ZERO); + setDiscountDays (0); + setGraceDays (0); + setNetDays (0); + setIsValid (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPaySelection.java b/org.adempiere.base/src/org/compiere/model/MPaySelection.java index 11087e9658..aa5cd2d7c9 100644 --- a/org.adempiere.base/src/org/compiere/model/MPaySelection.java +++ b/org.adempiere.base/src/org/compiere/model/MPaySelection.java @@ -19,8 +19,10 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.List; import java.util.Properties; + import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * AP Payment Selection @@ -36,6 +38,18 @@ public class MPaySelection extends X_C_PaySelection */ private static final long serialVersionUID = -6521282913549455131L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_PaySelection_UU UUID key + * @param trxName Transaction + */ + public MPaySelection(Properties ctx, String C_PaySelection_UU, String trxName) { + super(ctx, C_PaySelection_UU, trxName); + if (Util.isEmpty(C_PaySelection_UU)) + setInitialDefaults(); + } + /** * Default Constructor * @param ctx context @@ -46,14 +60,19 @@ public class MPaySelection extends X_C_PaySelection { super(ctx, C_PaySelection_ID, trxName); if (C_PaySelection_ID == 0) - { - setTotalAmt (Env.ZERO); - setIsApproved (false); - setProcessed (false); - setProcessing (false); - } + setInitialDefaults(); } // MPaySelection + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setTotalAmt (Env.ZERO); + setIsApproved (false); + setProcessed (false); + setProcessing (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPaySelectionCheck.java b/org.adempiere.base/src/org/compiere/model/MPaySelectionCheck.java index 202b63cd00..d88cc55dd1 100644 --- a/org.adempiere.base/src/org/compiere/model/MPaySelectionCheck.java +++ b/org.adempiere.base/src/org/compiere/model/MPaySelectionCheck.java @@ -34,6 +34,7 @@ import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; import org.compiere.util.Trx; +import org.compiere.util.Util; /** * Payment Print/Export model. @@ -512,6 +513,18 @@ public class MPaySelectionCheck extends X_C_PaySelectionCheck /** Logger */ static private CLogger s_log = CLogger.getCLogger (MPaySelectionCheck.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_PaySelectionCheck_UU UUID key + * @param trxName Transaction + */ + public MPaySelectionCheck(Properties ctx, String C_PaySelectionCheck_UU, String trxName) { + super(ctx, C_PaySelectionCheck_UU, trxName); + if (Util.isEmpty(C_PaySelectionCheck_UU)) + setInitialDefaults(); + } + /************************************************************************** * Constructor * @param ctx context @@ -522,16 +535,21 @@ public class MPaySelectionCheck extends X_C_PaySelectionCheck { super(ctx, C_PaySelectionCheck_ID, trxName); if (C_PaySelectionCheck_ID == 0) - { - setPayAmt (Env.ZERO); - setDiscountAmt(Env.ZERO); - setWriteOffAmt(Env.ZERO); - setIsPrinted (false); - setIsReceipt (false); - setQty (0); - } + setInitialDefaults(); } // MPaySelectionCheck + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setPayAmt (Env.ZERO); + setDiscountAmt(Env.ZERO); + setWriteOffAmt(Env.ZERO); + setIsPrinted (false); + setIsReceipt (false); + setQty (0); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPaySelectionLine.java b/org.adempiere.base/src/org/compiere/model/MPaySelectionLine.java index 0619eb96b1..edfade74c3 100644 --- a/org.adempiere.base/src/org/compiere/model/MPaySelectionLine.java +++ b/org.adempiere.base/src/org/compiere/model/MPaySelectionLine.java @@ -23,6 +23,7 @@ import java.util.Properties; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Payment Selection Line Model @@ -37,6 +38,18 @@ public class MPaySelectionLine extends X_C_PaySelectionLine */ private static final long serialVersionUID = -1880961891234637133L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_PaySelectionLine_UU UUID key + * @param trxName Transaction + */ + public MPaySelectionLine(Properties ctx, String C_PaySelectionLine_UU, String trxName) { + super(ctx, C_PaySelectionLine_UU, trxName); + if (Util.isEmpty(C_PaySelectionLine_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -47,17 +60,22 @@ public class MPaySelectionLine extends X_C_PaySelectionLine { super(ctx, C_PaySelectionLine_ID, trxName); if (C_PaySelectionLine_ID == 0) - { - setIsSOTrx (false); - setOpenAmt(Env.ZERO); - setPayAmt (Env.ZERO); - setDiscountAmt(Env.ZERO); - setWriteOffAmt (Env.ZERO); - setDifferenceAmt (Env.ZERO); - setIsManual (false); - } + setInitialDefaults(); } // MPaySelectionLine + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsSOTrx (false); + setOpenAmt(Env.ZERO); + setPayAmt (Env.ZERO); + setDiscountAmt(Env.ZERO); + setWriteOffAmt (Env.ZERO); + setDifferenceAmt (Env.ZERO); + setIsManual (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPayment.java b/org.adempiere.base/src/org/compiere/model/MPayment.java index 1134d59bee..273dd83af4 100644 --- a/org.adempiere.base/src/org/compiere/model/MPayment.java +++ b/org.adempiere.base/src/org/compiere/model/MPayment.java @@ -132,6 +132,18 @@ public class MPayment extends X_C_Payment return retValue; } // getOfBankTransfer + /** + * UUID based Constructor + * @param ctx Context + * @param C_Payment_UU UUID key + * @param trxName Transaction + */ + public MPayment(Properties ctx, String C_Payment_UU, String trxName) { + super(ctx, C_Payment_UU, trxName); + if (Util.isEmpty(C_Payment_UU)) + setInitialDefaults(); + } + /************************************************************************** * Default Constructor * @param ctx context @@ -143,39 +155,44 @@ public class MPayment extends X_C_Payment super (ctx, C_Payment_ID, trxName); // New if (C_Payment_ID == 0) - { - setDocAction(DOCACTION_Complete); - setDocStatus(DOCSTATUS_Drafted); - setTrxType(TRXTYPE_Sales); - // - setR_AvsAddr (R_AVSZIP_Unavailable); - setR_AvsZip (R_AVSZIP_Unavailable); - // - setIsReceipt (true); - setIsApproved (false); - setIsReconciled (false); - setIsAllocated(false); - setIsOnline (false); - setIsSelfService(false); - setIsDelayedCapture (false); - setIsPrepayment(false); - setProcessed(false); - setProcessing(false); - setPosted (false); - // - setPayAmt(Env.ZERO); - setDiscountAmt(Env.ZERO); - setTaxAmt(Env.ZERO); - setWriteOffAmt(Env.ZERO); - setIsOverUnderPayment (true); - setOverUnderAmt(Env.ZERO); - // - setDateTrx (new Timestamp(System.currentTimeMillis())); - setDateAcct (getDateTrx()); - setTenderType(TENDERTYPE_Check); - } + setInitialDefaults(); } // MPayment + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDocAction(DOCACTION_Complete); + setDocStatus(DOCSTATUS_Drafted); + setTrxType(TRXTYPE_Sales); + // + setR_AvsAddr (R_AVSZIP_Unavailable); + setR_AvsZip (R_AVSZIP_Unavailable); + // + setIsReceipt (true); + setIsApproved (false); + setIsReconciled (false); + setIsAllocated(false); + setIsOnline (false); + setIsSelfService(false); + setIsDelayedCapture (false); + setIsPrepayment(false); + setProcessed(false); + setProcessing(false); + setPosted (false); + // + setPayAmt(Env.ZERO); + setDiscountAmt(Env.ZERO); + setTaxAmt(Env.ZERO); + setWriteOffAmt(Env.ZERO); + setIsOverUnderPayment (true); + setOverUnderAmt(Env.ZERO); + // + setDateTrx (new Timestamp(System.currentTimeMillis())); + setDateAcct (getDateTrx()); + setTenderType(TENDERTYPE_Check); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPaymentAllocate.java b/org.adempiere.base/src/org/compiere/model/MPaymentAllocate.java index d93d8a4ebf..e662f10b1a 100644 --- a/org.adempiere.base/src/org/compiere/model/MPaymentAllocate.java +++ b/org.adempiere.base/src/org/compiere/model/MPaymentAllocate.java @@ -23,6 +23,7 @@ import java.util.Properties; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Payment Allocate Model @@ -51,6 +52,18 @@ public class MPaymentAllocate extends X_C_PaymentAllocate return list.toArray(new MPaymentAllocate[list.size()]); } // get + /** + * UUID based Constructor + * @param ctx Context + * @param C_PaymentAllocate_UU UUID key + * @param trxName Transaction + */ + public MPaymentAllocate(Properties ctx, String C_PaymentAllocate_UU, String trxName) { + super(ctx, C_PaymentAllocate_UU, trxName); + if (Util.isEmpty(C_PaymentAllocate_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -61,15 +74,20 @@ public class MPaymentAllocate extends X_C_PaymentAllocate { super (ctx, C_PaymentAllocate_ID, trxName); if (C_PaymentAllocate_ID == 0) - { - setAmount (Env.ZERO); - setDiscountAmt (Env.ZERO); - setOverUnderAmt (Env.ZERO); - setWriteOffAmt (Env.ZERO); - setInvoiceAmt(Env.ZERO); - } + setInitialDefaults(); } // MPaymentAllocate + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setAmount (Env.ZERO); + setDiscountAmt (Env.ZERO); + setOverUnderAmt (Env.ZERO); + setWriteOffAmt (Env.ZERO); + setInvoiceAmt(Env.ZERO); + } + /** The Invoice */ private MInvoice m_invoice = null; diff --git a/org.adempiere.base/src/org/compiere/model/MPaymentBatch.java b/org.adempiere.base/src/org/compiere/model/MPaymentBatch.java index 6af0d76a1f..78cf305301 100644 --- a/org.adempiere.base/src/org/compiere/model/MPaymentBatch.java +++ b/org.adempiere.base/src/org/compiere/model/MPaymentBatch.java @@ -19,6 +19,8 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; +import org.compiere.util.Util; + /** * Payment Batch Model * @@ -46,6 +48,18 @@ public class MPaymentBatch extends X_C_PaymentBatch return retValue; } // getForPaySelection + /** + * UUID based Constructor + * @param ctx Context + * @param C_PaymentBatch_UU UUID key + * @param trxName Transaction + */ + public MPaymentBatch(Properties ctx, String C_PaymentBatch_UU, String trxName) { + super(ctx, C_PaymentBatch_UU, trxName); + if (Util.isEmpty(C_PaymentBatch_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -56,12 +70,17 @@ public class MPaymentBatch extends X_C_PaymentBatch { super(ctx, C_PaymentBatch_ID, trxName); if (C_PaymentBatch_ID == 0) - { - setProcessed (false); - setProcessing (false); - } + setInitialDefaults(); } // MPaymentBatch + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setProcessed (false); + setProcessing (false); + } + /** * Load Constructor * @param ctx context @@ -73,17 +92,18 @@ public class MPaymentBatch extends X_C_PaymentBatch super(ctx, rs, trxName); } // MPaymentBatch - /** - * New Constructor - * @param ctx context - * @param Name name - * @param trxName trx - */ - public MPaymentBatch (Properties ctx, String Name, String trxName) - { - this (ctx, 0, trxName); - setName (Name); - } // MPaymentBatch + /* Old Constructor that sets the name replaced by UUID constructor in version 11 */ + // /** + // * New Constructor + // * @param ctx context + // * @param Name name + // * @param trxName trx + // */ + // public MPaymentBatch (Properties ctx, String Name, String trxName) + // { + // this (ctx, 0, trxName); + // setName (Name); + // } // MPaymentBatch /** * Parent Constructor diff --git a/org.adempiere.base/src/org/compiere/model/MPaymentProcessor.java b/org.adempiere.base/src/org/compiere/model/MPaymentProcessor.java index 95084576f0..38c39cad4e 100644 --- a/org.adempiere.base/src/org/compiere/model/MPaymentProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/MPaymentProcessor.java @@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; /** @@ -35,6 +36,18 @@ public class MPaymentProcessor extends X_C_PaymentProcessor */ private static final long serialVersionUID = 8514876566904723695L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_PaymentProcessor_UU UUID key + * @param trxName Transaction + */ + public MPaymentProcessor(Properties ctx, String C_PaymentProcessor_UU, String trxName) { + super(ctx, C_PaymentProcessor_UU, trxName); + if (Util.isEmpty(C_PaymentProcessor_UU)) + setInitialDefaults(); + } + /************************************************************************** * Payment Processor Model * @param ctx context @@ -45,23 +58,28 @@ public class MPaymentProcessor extends X_C_PaymentProcessor { super (ctx, C_PaymentProcessor_ID, trxName); if (C_PaymentProcessor_ID == 0) - { - setCommission (Env.ZERO); - setAcceptVisa (false); - setAcceptMC (false); - setAcceptAMEX (false); - setAcceptDiners (false); - setCostPerTrx (Env.ZERO); - setAcceptCheck (false); - setRequireVV (false); - setAcceptCorporate (false); - setAcceptDiscover (false); - setAcceptATM (false); - setAcceptDirectDeposit(false); - setAcceptDirectDebit(false); - } + setInitialDefaults(); } // MPaymentProcessor + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setCommission (Env.ZERO); + setAcceptVisa (false); + setAcceptMC (false); + setAcceptAMEX (false); + setAcceptDiners (false); + setCostPerTrx (Env.ZERO); + setAcceptCheck (false); + setRequireVV (false); + setAcceptCorporate (false); + setAcceptDiscover (false); + setAcceptATM (false); + setAcceptDirectDeposit(false); + setAcceptDirectDebit(false); + } + /** * Payment Processor Model * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPaymentTerm.java b/org.adempiere.base/src/org/compiere/model/MPaymentTerm.java index 04e1eeba2d..c75cb8ff30 100644 --- a/org.adempiere.base/src/org/compiere/model/MPaymentTerm.java +++ b/org.adempiere.base/src/org/compiere/model/MPaymentTerm.java @@ -28,6 +28,7 @@ import org.adempiere.exceptions.AdempiereException; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** @@ -46,6 +47,18 @@ public class MPaymentTerm extends X_C_PaymentTerm */ private static final long serialVersionUID = -4506224598566445450L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_PaymentTerm_UU UUID key + * @param trxName Transaction + */ + public MPaymentTerm(Properties ctx, String C_PaymentTerm_UU, String trxName) { + super(ctx, C_PaymentTerm_UU, trxName); + if (Util.isEmpty(C_PaymentTerm_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -56,17 +69,23 @@ public class MPaymentTerm extends X_C_PaymentTerm { super(ctx, C_PaymentTerm_ID, trxName); if (C_PaymentTerm_ID == 0) - { - setAfterDelivery (false); - setNetDays (0); - setDiscount (Env.ZERO); - setDiscount2 (Env.ZERO); - setDiscountDays (0); - setDiscountDays2 (0); - setGraceDays (0); - setIsDueFixed (false); - setIsValid (false); - } } // MPaymentTerm + setInitialDefaults(); + } // MPaymentTerm + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setAfterDelivery (false); + setNetDays (0); + setDiscount (Env.ZERO); + setDiscount2 (Env.ZERO); + setDiscountDays (0); + setDiscountDays2 (0); + setGraceDays (0); + setIsDueFixed (false); + setIsValid (false); + } /** * Load Constructor diff --git a/org.adempiere.base/src/org/compiere/model/MPaymentTransaction.java b/org.adempiere.base/src/org/compiere/model/MPaymentTransaction.java index 1fec6f4829..129b5d778a 100644 --- a/org.adempiere.base/src/org/compiere/model/MPaymentTransaction.java +++ b/org.adempiere.base/src/org/compiere/model/MPaymentTransaction.java @@ -43,32 +43,49 @@ public class MPaymentTransaction extends X_C_PaymentTransaction implements Proce */ private static final long serialVersionUID = 8722189788479132158L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_PaymentTransaction_UU UUID key + * @param trxName Transaction + */ + public MPaymentTransaction(Properties ctx, String C_PaymentTransaction_UU, String trxName) { + super(ctx, C_PaymentTransaction_UU, trxName); + if (Util.isEmpty(C_PaymentTransaction_UU)) + setInitialDefaults(); + } + public MPaymentTransaction(Properties ctx, int C_PaymentTransaction_ID, String trxName) { super(ctx, C_PaymentTransaction_ID, trxName); // New if (C_PaymentTransaction_ID == 0) - { - setTrxType(TRXTYPE_Sales); - // - setR_AvsAddr (R_AVSZIP_Unavailable); - setR_AvsZip (R_AVSZIP_Unavailable); - // - setIsReceipt (true); - setIsApproved (false); - setIsOnline (false); - setIsSelfService(false); - setIsDelayedCapture (false); - setProcessed(false); - // - setPayAmt(Env.ZERO); - setTaxAmt(Env.ZERO); - // - setDateTrx (new Timestamp(System.currentTimeMillis())); - setTenderType(TENDERTYPE_Check); - } + setInitialDefaults(); } + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setTrxType(TRXTYPE_Sales); + // + setR_AvsAddr (R_AVSZIP_Unavailable); + setR_AvsZip (R_AVSZIP_Unavailable); + // + setIsReceipt (true); + setIsApproved (false); + setIsOnline (false); + setIsSelfService(false); + setIsDelayedCapture (false); + setProcessed(false); + // + setPayAmt(Env.ZERO); + setTaxAmt(Env.ZERO); + // + setDateTrx (new Timestamp(System.currentTimeMillis())); + setTenderType(TENDERTYPE_Check); + } + public MPaymentTransaction(Properties ctx, ResultSet rs, String trxName) { super(ctx, rs, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MPeriod.java b/org.adempiere.base/src/org/compiere/model/MPeriod.java index 7547b74073..d36f132b90 100644 --- a/org.adempiere.base/src/org/compiere/model/MPeriod.java +++ b/org.adempiere.base/src/org/compiere/model/MPeriod.java @@ -513,6 +513,18 @@ public class MPeriod extends X_C_Period implements ImmutablePOSupport private int m_C_Calendar_ID = 0; + /** + * UUID based Constructor + * @param ctx Context + * @param C_Period_UU UUID key + * @param trxName Transaction + */ + public MPeriod(Properties ctx, String C_Period_UU, String trxName) { + super(ctx, C_Period_UU, trxName); + if (Util.isEmpty(C_Period_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -523,11 +535,16 @@ public class MPeriod extends X_C_Period implements ImmutablePOSupport { super (ctx, C_Period_ID, trxName); if (C_Period_ID == 0) - { - setPeriodType (PERIODTYPE_StandardCalendarPeriod); - } + setInitialDefaults(); } // MPeriod + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setPeriodType (PERIODTYPE_StandardCalendarPeriod); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPeriodControl.java b/org.adempiere.base/src/org/compiere/model/MPeriodControl.java index 97cdfa0b4c..44a437e47f 100644 --- a/org.adempiere.base/src/org/compiere/model/MPeriodControl.java +++ b/org.adempiere.base/src/org/compiere/model/MPeriodControl.java @@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutablePOSupport; /** @@ -35,6 +36,18 @@ public class MPeriodControl extends X_C_PeriodControl implements ImmutablePOSupp */ private static final long serialVersionUID = -7818843756246170549L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_PeriodControl_UU UUID key + * @param trxName Transaction + */ + public MPeriodControl(Properties ctx, String C_PeriodControl_UU, String trxName) { + super(ctx, C_PeriodControl_UU, trxName); + if (Util.isEmpty(C_PeriodControl_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -45,12 +58,17 @@ public class MPeriodControl extends X_C_PeriodControl implements ImmutablePOSupp { super(ctx, C_PeriodControl_ID, trxName); if (C_PeriodControl_ID == 0) - { - setPeriodAction (PERIODACTION_NoAction); - setPeriodStatus (PERIODSTATUS_NeverOpened); - } + setInitialDefaults(); } // MPeriodControl + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setPeriodAction (PERIODACTION_NoAction); + setPeriodStatus (PERIODSTATUS_NeverOpened); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPostIt.java b/org.adempiere.base/src/org/compiere/model/MPostIt.java index c770c9d3ab..399307514a 100644 --- a/org.adempiere.base/src/org/compiere/model/MPostIt.java +++ b/org.adempiere.base/src/org/compiere/model/MPostIt.java @@ -33,15 +33,25 @@ public class MPostIt extends X_AD_PostIt { private static final long serialVersionUID = -5053130533036069784L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_PostIt_UU UUID key + * @param trxName Transaction + */ + public MPostIt(Properties ctx, String AD_PostIt_UU, String trxName) { + super(ctx, AD_PostIt_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context * @param XXA_PostIt_ID id * @param trxName transcation */ - public MPostIt (Properties ctx, int XXA_PostIt_ID, String trxName) + public MPostIt (Properties ctx, int AD_PostIt_ID, String trxName) { - super (ctx, XXA_PostIt_ID, trxName); + super (ctx, AD_PostIt_ID, trxName); } // MPostIt /** diff --git a/org.adempiere.base/src/org/compiere/model/MPreference.java b/org.adempiere.base/src/org/compiere/model/MPreference.java index fa09c1adb7..cc422e3949 100644 --- a/org.adempiere.base/src/org/compiere/model/MPreference.java +++ b/org.adempiere.base/src/org/compiere/model/MPreference.java @@ -35,6 +35,16 @@ public class MPreference extends X_AD_Preference /** Null Indicator */ public static String NULL = "null"; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Preference_UU UUID key + * @param trxName Transaction + */ + public MPreference(Properties ctx, String AD_Preference_UU, String trxName) { + super(ctx, AD_Preference_UU, trxName); + } + /** * Standatrd Constructor * @param ctx ctx diff --git a/org.adempiere.base/src/org/compiere/model/MPriceList.java b/org.adempiere.base/src/org/compiere/model/MPriceList.java index 633a174492..8181fc3abe 100644 --- a/org.adempiere.base/src/org/compiere/model/MPriceList.java +++ b/org.adempiere.base/src/org/compiere/model/MPriceList.java @@ -22,6 +22,7 @@ import java.util.Properties; import java.util.logging.Level; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -213,6 +214,18 @@ public class MPriceList extends X_M_PriceList implements ImmutablePOSupport private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 5, 5); + /** + * UUID based Constructor + * @param ctx Context + * @param M_PriceList_UU UUID key + * @param trxName Transaction + */ + public MPriceList(Properties ctx, String M_PriceList_UU, String trxName) { + super(ctx, M_PriceList_UU, trxName); + if (Util.isEmpty(M_PriceList_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -223,15 +236,20 @@ public class MPriceList extends X_M_PriceList implements ImmutablePOSupport { super(ctx, M_PriceList_ID, trxName); if (M_PriceList_ID == 0) - { - setEnforcePriceLimit (false); - setIsDefault (false); - setIsSOPriceList (false); - setIsTaxIncluded (false); - setPricePrecision (2); // 2 - } + setInitialDefaults(); } // MPriceList + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setEnforcePriceLimit (false); + setIsDefault (false); + setIsSOPriceList (false); + setIsTaxIncluded (false); + setPricePrecision (2); // 2 + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPriceListVersion.java b/org.adempiere.base/src/org/compiere/model/MPriceListVersion.java index d653bd9637..f0f065e53a 100644 --- a/org.adempiere.base/src/org/compiere/model/MPriceListVersion.java +++ b/org.adempiere.base/src/org/compiere/model/MPriceListVersion.java @@ -39,6 +39,16 @@ public class MPriceListVersion extends X_M_PriceList_Version implements Immutabl */ private static final long serialVersionUID = 1625884461739604147L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_PriceList_Version_UU UUID key + * @param trxName Transaction + */ + public MPriceListVersion(Properties ctx, String M_PriceList_Version_UU, String trxName) { + super(ctx, M_PriceList_Version_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MPrivateAccess.java b/org.adempiere.base/src/org/compiere/model/MPrivateAccess.java index f1cdf2fd51..02e297ab8a 100644 --- a/org.adempiere.base/src/org/compiere/model/MPrivateAccess.java +++ b/org.adempiere.base/src/org/compiere/model/MPrivateAccess.java @@ -91,6 +91,16 @@ public class MPrivateAccess extends X_AD_Private_Access /** Logger */ private static CLogger s_log = CLogger.getCLogger(MPrivateAccess.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Private_Access_UU UUID key + * @param trxName Transaction + */ + public MPrivateAccess(Properties ctx, String AD_Private_Access_UU, String trxName) { + super(ctx, AD_Private_Access_UU, trxName); + } + /** * Persistency Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MProcess.java b/org.adempiere.base/src/org/compiere/model/MProcess.java index 8edf1d552d..7fade4520e 100644 --- a/org.adempiere.base/src/org/compiere/model/MProcess.java +++ b/org.adempiere.base/src/org/compiere/model/MProcess.java @@ -159,6 +159,18 @@ public class MProcess extends X_AD_Process implements ImmutablePOSupport private static ImmutablePOCache s_cacheUU = new ImmutablePOCache(Table_Name, Table_Name+"|AD_Process_UU", 20); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Process_UU UUID key + * @param trxName Transaction + */ + public MProcess(Properties ctx, String AD_Process_UU, String trxName) { + super(ctx, AD_Process_UU, trxName); + if (Util.isEmpty(AD_Process_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -169,14 +181,19 @@ public class MProcess extends X_AD_Process implements ImmutablePOSupport { super (ctx, AD_Process_ID, trxName); if (AD_Process_ID == 0) - { - setIsReport (false); - setAccessLevel (ACCESSLEVEL_All); - setEntityType (ENTITYTYPE_UserMaintained); - setIsBetaFunctionality(false); - } + setInitialDefaults(); } // MProcess + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsReport (false); + setAccessLevel (ACCESSLEVEL_All); + setEntityType (ENTITYTYPE_UserMaintained); + setIsBetaFunctionality(false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MProcessAccess.java b/org.adempiere.base/src/org/compiere/model/MProcessAccess.java index d3f901eb1f..0637836c54 100644 --- a/org.adempiere.base/src/org/compiere/model/MProcessAccess.java +++ b/org.adempiere.base/src/org/compiere/model/MProcessAccess.java @@ -19,6 +19,8 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; +import org.compiere.util.Util; + /** * Process Access Model @@ -36,6 +38,18 @@ public class MProcessAccess extends X_AD_Process_Access */ private static final long serialVersionUID = -2468108979800832171L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Process_Access_UU UUID key + * @param trxName Transaction + */ + public MProcessAccess(Properties ctx, String AD_Process_Access_UU, String trxName) { + super(ctx, AD_Process_Access_UU, trxName); + if (Util.isEmpty(AD_Process_Access_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -48,11 +62,16 @@ public class MProcessAccess extends X_AD_Process_Access if (ignored != 0) throw new IllegalArgumentException("Multi-Key"); else - { - setIsReadWrite (true); - } + setInitialDefaults(); } // MProcessAccess + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsReadWrite (true); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MProcessDrillRule.java b/org.adempiere.base/src/org/compiere/model/MProcessDrillRule.java index 7716d58aa0..701d2e2a6e 100644 --- a/org.adempiere.base/src/org/compiere/model/MProcessDrillRule.java +++ b/org.adempiere.base/src/org/compiere/model/MProcessDrillRule.java @@ -84,6 +84,16 @@ public class MProcessDrillRule extends X_AD_Process_DrillRule implements Immutab } + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Process_DrillRule_UU UUID key + * @param trxName Transaction + */ + public MProcessDrillRule(Properties ctx, String AD_Process_DrillRule_UU, String trxName) { + super(ctx, AD_Process_DrillRule_UU, trxName); + } + public MProcessDrillRule(Properties ctx, int AD_Process_DrillRule_ID, String trxName) { super(ctx, AD_Process_DrillRule_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MProcessDrillRulePara.java b/org.adempiere.base/src/org/compiere/model/MProcessDrillRulePara.java index 73820615fd..32154d3525 100644 --- a/org.adempiere.base/src/org/compiere/model/MProcessDrillRulePara.java +++ b/org.adempiere.base/src/org/compiere/model/MProcessDrillRulePara.java @@ -43,6 +43,16 @@ public class MProcessDrillRulePara extends X_AD_Process_DrillRule_Para implement */ private static final long serialVersionUID = 1460684182951511710L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Process_DrillRule_Para_UU UUID key + * @param trxName Transaction + */ + public MProcessDrillRulePara(Properties ctx, String AD_Process_DrillRule_Para_UU, String trxName) { + super(ctx, AD_Process_DrillRule_Para_UU, trxName); + } + public MProcessDrillRulePara(Properties ctx, int AD_Process_DrillRule_Para_ID, String trxName) { super(ctx, AD_Process_DrillRule_Para_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MProcessPara.java b/org.adempiere.base/src/org/compiere/model/MProcessPara.java index e4be7b5707..c9a54c2779 100644 --- a/org.adempiere.base/src/org/compiere/model/MProcessPara.java +++ b/org.adempiere.base/src/org/compiere/model/MProcessPara.java @@ -83,6 +83,18 @@ public class MProcessPara extends X_AD_Process_Para implements ImmutablePOSuppor = new ImmutableIntPOCache (Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Process_Para_UU UUID key + * @param trxName Transaction + */ + public MProcessPara(Properties ctx, String AD_Process_Para_UU, String trxName) { + super(ctx, AD_Process_Para_UU, trxName); + if (Util.isEmpty(AD_Process_Para_UU)) + setInitialDefaults(); + } + /************************************************************************** * Constructor * @param ctx context @@ -93,16 +105,21 @@ public class MProcessPara extends X_AD_Process_Para implements ImmutablePOSuppor { super (ctx, AD_Process_Para_ID, trxName); if (AD_Process_Para_ID == 0) - { - setFieldLength (0); - setSeqNo (0); - setIsCentrallyMaintained (true); - setIsRange (false); - setIsMandatory (false); - setEntityType (ENTITYTYPE_UserMaintained); - } + setInitialDefaults(); } // MProcessPara + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setFieldLength (0); + setSeqNo (0); + setIsCentrallyMaintained (true); + setIsRange (false); + setIsMandatory (false); + setEntityType (ENTITYTYPE_UserMaintained); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MProduct.java b/org.adempiere.base/src/org/compiere/model/MProduct.java index b8ce423764..e67cb6b504 100644 --- a/org.adempiere.base/src/org/compiere/model/MProduct.java +++ b/org.adempiere.base/src/org/compiere/model/MProduct.java @@ -215,6 +215,18 @@ public class MProduct extends X_M_Product implements ImmutablePOSupport /** Cache */ private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 40, 5); // 5 minutes + /** + * UUID based Constructor + * @param ctx Context + * @param M_Product_UU UUID key + * @param trxName Transaction + */ + public MProduct(Properties ctx, String M_Product_UU, String trxName) { + super(ctx, M_Product_UU, trxName); + if (Util.isEmpty(M_Product_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -229,22 +241,27 @@ public class MProduct extends X_M_Product implements ImmutablePOSupport public MProduct(Properties ctx, int M_Product_ID, String trxName, String... virtualColumns) { super(ctx, M_Product_ID, trxName, virtualColumns); if (M_Product_ID == 0) - { - setProductType (PRODUCTTYPE_Item); // I - setIsBOM (false); // N - setIsInvoicePrintDetails (false); - setIsPickListPrintDetails (false); - setIsPurchased (true); // Y - setIsSold (true); // Y - setIsStocked (true); // Y - setIsSummary (false); - setIsVerified (false); // N - setIsWebStoreFeatured (false); - setIsSelfService(true); - setIsExcludeAutoDelivery(false); - setProcessing (false); // N - setLowLevel(0); - } + setInitialDefaults(); + } + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setProductType (PRODUCTTYPE_Item); // I + setIsBOM (false); // N + setIsInvoicePrintDetails (false); + setIsPickListPrintDetails (false); + setIsPurchased (true); // Y + setIsSold (true); // Y + setIsStocked (true); // Y + setIsSummary (false); + setIsVerified (false); // N + setIsWebStoreFeatured (false); + setIsSelfService(true); + setIsExcludeAutoDelivery(false); + setProcessing (false); // N + setLowLevel(0); } /** diff --git a/org.adempiere.base/src/org/compiere/model/MProductCategory.java b/org.adempiere.base/src/org/compiere/model/MProductCategory.java index f298cdff3b..602c6ef651 100644 --- a/org.adempiere.base/src/org/compiere/model/MProductCategory.java +++ b/org.adempiere.base/src/org/compiere/model/MProductCategory.java @@ -29,6 +29,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -135,6 +136,18 @@ public class MProductCategory extends X_M_Product_Category implements ImmutableP private static CLogger s_log = CLogger.getCLogger (MProductCategory.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_Product_Category_UU UUID key + * @param trxName Transaction + */ + public MProductCategory(Properties ctx, String M_Product_Category_UU, String trxName) { + super(ctx, M_Product_Category_UU, trxName); + if (Util.isEmpty(M_Product_Category_UU)) + setInitialDefaults(); + } + /************************************************************************** * Default Constructor * @param ctx context @@ -145,14 +158,19 @@ public class MProductCategory extends X_M_Product_Category implements ImmutableP { super(ctx, M_Product_Category_ID, trxName); if (M_Product_Category_ID == 0) - { - setMMPolicy (MMPOLICY_FiFo); // F - setPlannedMargin (Env.ZERO); - setIsDefault (false); - setIsSelfService (true); // Y - } + setInitialDefaults(); } // MProductCategory + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setMMPolicy (MMPOLICY_FiFo); // F + setPlannedMargin (Env.ZERO); + setIsDefault (false); + setIsSelfService (true); // Y + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MProductCategoryAcct.java b/org.adempiere.base/src/org/compiere/model/MProductCategoryAcct.java index 4bf829624e..c578d2e42d 100644 --- a/org.adempiere.base/src/org/compiere/model/MProductCategoryAcct.java +++ b/org.adempiere.base/src/org/compiere/model/MProductCategoryAcct.java @@ -92,6 +92,16 @@ public class MProductCategoryAcct extends X_M_Product_Category_Acct implements I return acct; } // get + /** + * UUID based Constructor + * @param ctx Context + * @param M_Product_Category_Acct_UU UUID key + * @param trxName Transaction + */ + public MProductCategoryAcct(Properties ctx, String M_Product_Category_Acct_UU, String trxName) { + super(ctx, M_Product_Category_Acct_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MProductDownload.java b/org.adempiere.base/src/org/compiere/model/MProductDownload.java index f479bfc040..ea83b2348d 100644 --- a/org.adempiere.base/src/org/compiere/model/MProductDownload.java +++ b/org.adempiere.base/src/org/compiere/model/MProductDownload.java @@ -106,14 +106,23 @@ public class MProductDownload extends X_M_ProductDownload implements ImmutablePO /** Logger */ private static CLogger s_log = CLogger.getCLogger (MProductDownload.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_ProductDownload_UU UUID key + * @param trxName Transaction + */ + public MProductDownload(Properties ctx, String M_ProductDownload_UU, String trxName) { + super(ctx, M_ProductDownload_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context * @param M_ProductDownload_ID id * @param trxName trx */ - public MProductDownload (Properties ctx, int M_ProductDownload_ID, - String trxName) + public MProductDownload (Properties ctx, int M_ProductDownload_ID, String trxName) { super (ctx, M_ProductDownload_ID, trxName); } // MProductDownload diff --git a/org.adempiere.base/src/org/compiere/model/MProductPO.java b/org.adempiere.base/src/org/compiere/model/MProductPO.java index c0ac87683f..111c0be5fe 100644 --- a/org.adempiere.base/src/org/compiere/model/MProductPO.java +++ b/org.adempiere.base/src/org/compiere/model/MProductPO.java @@ -23,6 +23,7 @@ import java.util.Properties; import org.adempiere.exceptions.DBException; import org.compiere.util.DB; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Product PO Model @@ -55,6 +56,18 @@ public class MProductPO extends X_M_Product_PO return list.toArray(new MProductPO[list.size()]); } // getOfProduct + /** + * UUID based Constructor + * @param ctx Context + * @param M_Product_PO_UU UUID key + * @param trxName Transaction + */ + public MProductPO(Properties ctx, String M_Product_PO_UU, String trxName) { + super(ctx, M_Product_PO_UU, trxName); + if (Util.isEmpty(M_Product_PO_UU)) + setInitialDefaults(); + } + /** * Persistency Constructor * @param ctx context @@ -67,12 +80,16 @@ public class MProductPO extends X_M_Product_PO if (ignored != 0) throw new IllegalArgumentException("Multi-Key"); else - { - setIsCurrentVendor (true); // Y - } + setInitialDefaults(); } // MProduct_PO - - + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsCurrentVendor (true); // Y + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MProductPrice.java b/org.adempiere.base/src/org/compiere/model/MProductPrice.java index c1942ea518..7a33a49d2d 100644 --- a/org.adempiere.base/src/org/compiere/model/MProductPrice.java +++ b/org.adempiere.base/src/org/compiere/model/MProductPrice.java @@ -60,6 +60,16 @@ public class MProductPrice extends X_M_ProductPrice implements ImmutablePOSuppor @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger (MProductPrice.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_ProductPrice_UU UUID key + * @param trxName Transaction + */ + public MProductPrice(Properties ctx, String M_ProductPrice_UU, String trxName) { + super(ctx, M_ProductPrice_UU, trxName); + } + /** * Persistency Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MProduction.java b/org.adempiere.base/src/org/compiere/model/MProduction.java index ddb4c7dd96..787d116e62 100644 --- a/org.adempiere.base/src/org/compiere/model/MProduction.java +++ b/org.adempiere.base/src/org/compiere/model/MProduction.java @@ -36,16 +36,34 @@ public class MProduction extends X_M_Production implements DocAction { protected int lineno; protected int count; + /** + * UUID based Constructor + * @param ctx Context + * @param M_Production_UU UUID key + * @param trxName Transaction + */ + public MProduction(Properties ctx, String M_Production_UU, String trxName) { + super(ctx, M_Production_UU, trxName); + if (Util.isEmpty(M_Production_UU)) + setInitialDefaults(); + } + public MProduction(Properties ctx, int M_Production_ID, String trxName) { this (ctx, M_Production_ID, trxName, (String[]) null); } public MProduction(Properties ctx, int M_Production_ID, String trxName, String... virtualColumns) { super(ctx, M_Production_ID, trxName, virtualColumns); - if (M_Production_ID == 0) { - setDocStatus(DOCSTATUS_Drafted); - setDocAction (DOCACTION_Prepare); - } + if (M_Production_ID == 0) + setInitialDefaults(); + } + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDocStatus(DOCSTATUS_Drafted); + setDocAction (DOCACTION_Prepare); } public MProduction(Properties ctx, ResultSet rs, String trxName) { diff --git a/org.adempiere.base/src/org/compiere/model/MProductionLine.java b/org.adempiere.base/src/org/compiere/model/MProductionLine.java index be9423b841..7157539abc 100644 --- a/org.adempiere.base/src/org/compiere/model/MProductionLine.java +++ b/org.adempiere.base/src/org/compiere/model/MProductionLine.java @@ -26,6 +26,18 @@ public class MProductionLine extends X_M_ProductionLine { protected MProduction productionParent; + /** + * UUID based Constructor + * @param ctx Context + * @param M_ProductionLine_UU UUID key + * @param trxName Transaction + */ + public MProductionLine(Properties ctx, String M_ProductionLine_UU, String trxName) { + super(ctx, M_ProductionLine_UU, trxName); + if (Util.isEmpty(M_ProductionLine_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx ctx @@ -39,14 +51,19 @@ public class MProductionLine extends X_M_ProductionLine { public MProductionLine(Properties ctx, int M_ProductionLine_ID, String trxName, String... virtualColumns) { super(ctx, M_ProductionLine_ID, trxName, virtualColumns); if (M_ProductionLine_ID == 0) - { - setLine (0); - setM_AttributeSetInstance_ID (0); - setM_ProductionLine_ID (0); - setM_Production_ID (0); - setMovementQty (Env.ZERO); - setProcessed (false); - } + setInitialDefaults(); + } + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setLine (0); + setM_AttributeSetInstance_ID (0); + setM_ProductionLine_ID (0); + setM_Production_ID (0); + setMovementQty (Env.ZERO); + setProcessed (false); } public MProductionLine (Properties ctx, ResultSet rs, String trxName) diff --git a/org.adempiere.base/src/org/compiere/model/MProductionLineMA.java b/org.adempiere.base/src/org/compiere/model/MProductionLineMA.java index b22203a04d..696496845c 100644 --- a/org.adempiere.base/src/org/compiere/model/MProductionLineMA.java +++ b/org.adempiere.base/src/org/compiere/model/MProductionLineMA.java @@ -17,8 +17,17 @@ public class MProductionLineMA extends X_M_ProductionLineMA { */ private static final long serialVersionUID = -2633782218494352620L; - public MProductionLineMA(Properties ctx, int M_ProductionLineMA_ID, - String trxName) { + /** + * UUID based Constructor + * @param ctx Context + * @param M_ProductionLineMA_UU UUID key + * @param trxName Transaction + */ + public MProductionLineMA(Properties ctx, String M_ProductionLineMA_UU, String trxName) { + super(ctx, M_ProductionLineMA_UU, trxName); + } + + public MProductionLineMA(Properties ctx, int M_ProductionLineMA_ID, String trxName) { super(ctx, M_ProductionLineMA_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MProductionPlan.java b/org.adempiere.base/src/org/compiere/model/MProductionPlan.java index 1aebcf808e..1617f49751 100644 --- a/org.adempiere.base/src/org/compiere/model/MProductionPlan.java +++ b/org.adempiere.base/src/org/compiere/model/MProductionPlan.java @@ -26,13 +26,22 @@ public class MProductionPlan extends X_M_ProductionPlan { */ private static final long serialVersionUID = 1830027775110768396L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_ProductionPlan_UU UUID key + * @param trxName Transaction + */ + public MProductionPlan(Properties ctx, String M_ProductionPlan_UU, String trxName) { + super(ctx, M_ProductionPlan_UU, trxName); + } + /** * @param ctx * @param M_ProductionPlan_ID * @param trxName */ - public MProductionPlan(Properties ctx, int M_ProductionPlan_ID, - String trxName) { + public MProductionPlan(Properties ctx, int M_ProductionPlan_ID, String trxName) { super(ctx, M_ProductionPlan_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MProject.java b/org.adempiere.base/src/org/compiere/model/MProject.java index 21b2bdb86c..b0a3bc069b 100644 --- a/org.adempiere.base/src/org/compiere/model/MProject.java +++ b/org.adempiere.base/src/org/compiere/model/MProject.java @@ -24,6 +24,7 @@ import java.util.logging.Level; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Project Model @@ -78,6 +79,18 @@ public class MProject extends X_C_Project } // copyFrom + /** + * UUID based Constructor + * @param ctx Context + * @param C_Project_UU UUID key + * @param trxName Transaction + */ + public MProject(Properties ctx, String C_Project_UU, String trxName) { + super(ctx, C_Project_UU, trxName); + if (Util.isEmpty(C_Project_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -88,24 +101,29 @@ public class MProject extends X_C_Project { super (ctx, C_Project_ID, trxName); if (C_Project_ID == 0) - { - setCommittedAmt (Env.ZERO); - setCommittedQty (Env.ZERO); - setInvoicedAmt (Env.ZERO); - setInvoicedQty (Env.ZERO); - setPlannedAmt (Env.ZERO); - setPlannedMarginAmt (Env.ZERO); - setPlannedQty (Env.ZERO); - setProjectBalanceAmt (Env.ZERO); - setProjInvoiceRule(PROJINVOICERULE_None); - setProjectLineLevel(PROJECTLINELEVEL_Project); - setIsCommitCeiling (false); - setIsCommitment (false); - setIsSummary (false); - setProcessed (false); - } + setInitialDefaults(); } // MProject + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setCommittedAmt (Env.ZERO); + setCommittedQty (Env.ZERO); + setInvoicedAmt (Env.ZERO); + setInvoicedQty (Env.ZERO); + setPlannedAmt (Env.ZERO); + setPlannedMarginAmt (Env.ZERO); + setPlannedQty (Env.ZERO); + setProjectBalanceAmt (Env.ZERO); + setProjInvoiceRule(PROJINVOICERULE_None); + setProjectLineLevel(PROJECTLINELEVEL_Project); + setIsCommitCeiling (false); + setIsCommitment (false); + setIsSummary (false); + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MProjectIssue.java b/org.adempiere.base/src/org/compiere/model/MProjectIssue.java index 7ae3a471d1..b19ae0c24f 100644 --- a/org.adempiere.base/src/org/compiere/model/MProjectIssue.java +++ b/org.adempiere.base/src/org/compiere/model/MProjectIssue.java @@ -32,6 +32,7 @@ import org.compiere.process.DocumentEngine; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Project Issue Model @@ -48,6 +49,19 @@ public class MProjectIssue extends X_C_ProjectIssue implements DocAction, DocOpt private DocActionDelegate docActionDelegate = null; + /** + * UUID based Constructor + * @param ctx Context + * @param C_ProjectIssue_UU UUID key + * @param trxName Transaction + */ + public MProjectIssue(Properties ctx, String C_ProjectIssue_UU, String trxName) { + super(ctx, C_ProjectIssue_UU, trxName); + if (Util.isEmpty(C_ProjectIssue_UU)) + setInitialDefaults(); + init(); + } + /** * Standard Constructor * @param ctx context @@ -58,14 +72,19 @@ public class MProjectIssue extends X_C_ProjectIssue implements DocAction, DocOpt { super (ctx, C_ProjectIssue_ID, trxName); if (C_ProjectIssue_ID == 0) - { - setMovementQty (Env.ZERO); - setPosted (false); - setProcessed (false); - } + setInitialDefaults(); init(); } // MProjectIssue + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setMovementQty (Env.ZERO); + setPosted (false); + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MProjectLine.java b/org.adempiere.base/src/org/compiere/model/MProjectLine.java index dd9a870216..d4b7656c9a 100644 --- a/org.adempiere.base/src/org/compiere/model/MProjectLine.java +++ b/org.adempiere.base/src/org/compiere/model/MProjectLine.java @@ -25,6 +25,7 @@ import org.adempiere.base.Core; import org.adempiere.base.IProductPricing; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Project Line Model @@ -39,6 +40,18 @@ public class MProjectLine extends X_C_ProjectLine */ private static final long serialVersionUID = 2668549463273628848L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_ProjectLine_UU UUID key + * @param trxName Transaction + */ + public MProjectLine(Properties ctx, String C_ProjectLine_UU, String trxName) { + super(ctx, C_ProjectLine_UU, trxName); + if (Util.isEmpty(C_ProjectLine_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -53,18 +66,23 @@ public class MProjectLine extends X_C_ProjectLine public MProjectLine(Properties ctx, int C_ProjectLine_ID, String trxName, String... virtualColumns) { super(ctx, C_ProjectLine_ID, trxName, virtualColumns); if (C_ProjectLine_ID == 0) - { - setLine (0); - setIsPrinted(true); - setProcessed(false); - setInvoicedAmt (Env.ZERO); - setInvoicedQty (Env.ZERO); - // - setPlannedAmt (Env.ZERO); - setPlannedMarginAmt (Env.ZERO); - setPlannedPrice (Env.ZERO); - setPlannedQty (Env.ONE); - } + setInitialDefaults(); + } + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setLine (0); + setIsPrinted(true); + setProcessed(false); + setInvoicedAmt (Env.ZERO); + setInvoicedQty (Env.ZERO); + // + setPlannedAmt (Env.ZERO); + setPlannedMarginAmt (Env.ZERO); + setPlannedPrice (Env.ZERO); + setPlannedQty (Env.ONE); } /** diff --git a/org.adempiere.base/src/org/compiere/model/MProjectPhase.java b/org.adempiere.base/src/org/compiere/model/MProjectPhase.java index d798b41d50..4203aba27b 100644 --- a/org.adempiere.base/src/org/compiere/model/MProjectPhase.java +++ b/org.adempiere.base/src/org/compiere/model/MProjectPhase.java @@ -26,6 +26,7 @@ import java.util.logging.Level; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Project Phase Model @@ -40,6 +41,18 @@ public class MProjectPhase extends X_C_ProjectPhase */ private static final long serialVersionUID = 5824045445920353065L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_ProjectPhase_UU UUID key + * @param trxName Transaction + */ + public MProjectPhase(Properties ctx, String C_ProjectPhase_UU, String trxName) { + super(ctx, C_ProjectPhase_UU, trxName); + if (Util.isEmpty(C_ProjectPhase_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -50,15 +63,20 @@ public class MProjectPhase extends X_C_ProjectPhase { super (ctx, C_ProjectPhase_ID, trxName); if (C_ProjectPhase_ID == 0) - { - setCommittedAmt (Env.ZERO); - setIsCommitCeiling (false); - setIsComplete (false); - setSeqNo (0); - setQty (Env.ZERO); - } + setInitialDefaults(); } // MProjectPhase + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setCommittedAmt (Env.ZERO); + setIsCommitCeiling (false); + setIsComplete (false); + setSeqNo (0); + setQty (Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MProjectTask.java b/org.adempiere.base/src/org/compiere/model/MProjectTask.java index 66b1cd3ab7..4d2bd8bf92 100644 --- a/org.adempiere.base/src/org/compiere/model/MProjectTask.java +++ b/org.adempiere.base/src/org/compiere/model/MProjectTask.java @@ -21,6 +21,7 @@ import java.util.List; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Project Phase Task Model @@ -35,6 +36,18 @@ public class MProjectTask extends X_C_ProjectTask */ private static final long serialVersionUID = 6714520156233475723L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_ProjectTask_UU UUID key + * @param trxName Transaction + */ + public MProjectTask(Properties ctx, String C_ProjectTask_UU, String trxName) { + super(ctx, C_ProjectTask_UU, trxName); + if (Util.isEmpty(C_ProjectTask_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -49,10 +62,15 @@ public class MProjectTask extends X_C_ProjectTask public MProjectTask(Properties ctx, int C_ProjectTask_ID, String trxName, String... virtualColumns) { super(ctx, C_ProjectTask_ID, trxName, virtualColumns); if (C_ProjectTask_ID == 0) - { - setSeqNo (0); - setQty (Env.ZERO); - } + setInitialDefaults(); + } + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setSeqNo (0); + setQty (Env.ZERO); } /** diff --git a/org.adempiere.base/src/org/compiere/model/MProjectType.java b/org.adempiere.base/src/org/compiere/model/MProjectType.java index b634fb1c79..16bbfab818 100644 --- a/org.adempiere.base/src/org/compiere/model/MProjectType.java +++ b/org.adempiere.base/src/org/compiere/model/MProjectType.java @@ -78,6 +78,16 @@ public class MProjectType extends X_C_ProjectType implements ImmutablePOSupport = new ImmutableIntPOCache (Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param C_ProjectType_UU UUID key + * @param trxName Transaction + */ + public MProjectType(Properties ctx, String C_ProjectType_UU, String trxName) { + super(ctx, C_ProjectType_UU, trxName); + } + /************************************************************************** * Standrad Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MProjectTypePhase.java b/org.adempiere.base/src/org/compiere/model/MProjectTypePhase.java index 724556db75..6800832ff6 100644 --- a/org.adempiere.base/src/org/compiere/model/MProjectTypePhase.java +++ b/org.adempiere.base/src/org/compiere/model/MProjectTypePhase.java @@ -25,6 +25,7 @@ import java.util.logging.Level; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Project Type Phase Model @@ -39,6 +40,18 @@ public class MProjectTypePhase extends X_C_Phase */ private static final long serialVersionUID = -5111329904215151458L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_Phase_UU UUID key + * @param trxName Transaction + */ + public MProjectTypePhase(Properties ctx, String C_Phase_UU, String trxName) { + super(ctx, C_Phase_UU, trxName); + if (Util.isEmpty(C_Phase_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -49,12 +62,17 @@ public class MProjectTypePhase extends X_C_Phase { super (ctx, C_Phase_ID, trxName); if (C_Phase_ID == 0) - { - setSeqNo (0); - setStandardQty (Env.ZERO); - } + setInitialDefaults(); } // MProjectTypePhase + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setSeqNo (0); + setStandardQty (Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MProjectTypeTask.java b/org.adempiere.base/src/org/compiere/model/MProjectTypeTask.java index fd95e61b9b..6b8f162fd6 100644 --- a/org.adempiere.base/src/org/compiere/model/MProjectTypeTask.java +++ b/org.adempiere.base/src/org/compiere/model/MProjectTypeTask.java @@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Project Type Phase Task Model @@ -34,16 +35,33 @@ public class MProjectTypeTask extends X_C_Task */ private static final long serialVersionUID = -5649262800489348606L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_Task_UU UUID key + * @param trxName Transaction + */ + public MProjectTypeTask(Properties ctx, String C_Task_UU, String trxName) { + super(ctx, C_Task_UU, trxName); + if (Util.isEmpty(C_Task_UU)) + setInitialDefaults(); + } + public MProjectTypeTask (Properties ctx, int C_Task_ID, String trxName) { super (ctx, C_Task_ID, trxName); if (C_Task_ID == 0) - { - setSeqNo (0); - setStandardQty (Env.ZERO); - } + setInitialDefaults(); } // MProjectTypeTask + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setSeqNo (0); + setStandardQty (Env.ZERO); + } + public MProjectTypeTask (Properties ctx, ResultSet rs, String trxName) { super(ctx, rs, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MQualityTest.java b/org.adempiere.base/src/org/compiere/model/MQualityTest.java index eee45562c7..28420529a6 100644 --- a/org.adempiere.base/src/org/compiere/model/MQualityTest.java +++ b/org.adempiere.base/src/org/compiere/model/MQualityTest.java @@ -10,6 +10,16 @@ public class MQualityTest extends X_M_QualityTest { */ private static final long serialVersionUID = -8585270006299484402L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_QualityTest_UU UUID key + * @param trxName Transaction + */ + public MQualityTest(Properties ctx, String M_QualityTest_UU, String trxName) { + super(ctx, M_QualityTest_UU, trxName); + } + public MQualityTest(Properties ctx, int M_QualityTest_ID, String trxName) { super(ctx, M_QualityTest_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MQualityTestResult.java b/org.adempiere.base/src/org/compiere/model/MQualityTestResult.java index a4b3b73c47..9d37b904cf 100644 --- a/org.adempiere.base/src/org/compiere/model/MQualityTestResult.java +++ b/org.adempiere.base/src/org/compiere/model/MQualityTestResult.java @@ -10,8 +10,17 @@ public class MQualityTestResult extends X_M_QualityTestResult { */ private static final long serialVersionUID = -5529865718027582930L; - public MQualityTestResult(Properties ctx, int M_QualityTestResult_ID, - String trxName) { + /** + * UUID based Constructor + * @param ctx Context + * @param M_QualityTestResult_UU UUID key + * @param trxName Transaction + */ + public MQualityTestResult(Properties ctx, String M_QualityTestResult_UU, String trxName) { + super(ctx, M_QualityTestResult_UU, trxName); + } + + public MQualityTestResult(Properties ctx, int M_QualityTestResult_ID, String trxName) { super(ctx, M_QualityTestResult_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MRMA.java b/org.adempiere.base/src/org/compiere/model/MRMA.java index 1ee2c369b5..7450110c25 100644 --- a/org.adempiere.base/src/org/compiere/model/MRMA.java +++ b/org.adempiere.base/src/org/compiere/model/MRMA.java @@ -33,6 +33,7 @@ import org.compiere.process.DocumentEngine; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * RMA Model @@ -49,6 +50,18 @@ public class MRMA extends X_M_RMA implements DocAction */ private static final long serialVersionUID = -8352164928046804628L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_RMA_UU UUID key + * @param trxName Transaction + */ + public MRMA(Properties ctx, String M_RMA_UU, String trxName) { + super(ctx, M_RMA_UU, trxName); + if (Util.isEmpty(M_RMA_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -59,14 +72,19 @@ public class MRMA extends X_M_RMA implements DocAction { super (ctx, M_RMA_ID, trxName); if (M_RMA_ID == 0) - { - setDocAction (DOCACTION_Complete); // CO - setDocStatus (DOCSTATUS_Drafted); // DR - setIsApproved(false); - setProcessed (false); - } + setInitialDefaults(); } // MRMA + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDocAction (DOCACTION_Complete); // CO + setDocStatus (DOCSTATUS_Drafted); // DR + setIsApproved(false); + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRMALine.java b/org.adempiere.base/src/org/compiere/model/MRMALine.java index 438c19c1c0..5d55932ea4 100644 --- a/org.adempiere.base/src/org/compiere/model/MRMALine.java +++ b/org.adempiere.base/src/org/compiere/model/MRMALine.java @@ -28,6 +28,7 @@ import org.adempiere.model.ITaxProvider; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** @@ -43,6 +44,19 @@ public class MRMALine extends X_M_RMALine */ private static final long serialVersionUID = 3088864372141663734L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_RMALine_UU UUID key + * @param trxName Transaction + */ + public MRMALine(Properties ctx, String M_RMALine_UU, String trxName) { + super(ctx, M_RMALine_UU, trxName); + if (Util.isEmpty(M_RMALine_UU)) + setInitialDefaults(); + init(); + } + /** * Standard Constructor * @param ctx context @@ -57,14 +71,18 @@ public class MRMALine extends X_M_RMALine public MRMALine(Properties ctx, int M_RMALine_ID, String trxName, String... virtualColumns) { super(ctx, M_RMALine_ID, trxName, virtualColumns); if (M_RMALine_ID == 0) - { - setQty(Env.ONE); - this.setQtyDelivered(Env.ZERO); - } - + setInitialDefaults(); init(); } + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setQty(Env.ONE); + this.setQtyDelivered(Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRMATax.java b/org.adempiere.base/src/org/compiere/model/MRMATax.java index 5f3d2c4853..c7227a842c 100644 --- a/org.adempiere.base/src/org/compiere/model/MRMATax.java +++ b/org.adempiere.base/src/org/compiere/model/MRMATax.java @@ -24,6 +24,7 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * @@ -213,6 +214,18 @@ public class MRMATax extends X_M_RMATax /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MRMATax.class); + /** + * UUID based Constructor + * @param ctx Context + * @param M_RMATax_UU UUID key + * @param trxName Transaction + */ + public MRMATax(Properties ctx, String M_RMATax_UU, String trxName) { + super(ctx, M_RMATax_UU, trxName); + if (Util.isEmpty(M_RMATax_UU)) + setInitialDefaults(); + } + /************************************************************************** * Persistence Constructor * @param ctx context @@ -224,6 +237,13 @@ public class MRMATax extends X_M_RMATax super(ctx, 0, trxName); if (ignored != 0) throw new IllegalArgumentException("Multi-Key"); + setInitialDefaults(); + } + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { setTaxAmt (Env.ZERO); setTaxBaseAmt (Env.ZERO); setIsTaxIncluded(false); diff --git a/org.adempiere.base/src/org/compiere/model/MRecentItem.java b/org.adempiere.base/src/org/compiere/model/MRecentItem.java index cc84cdbd43..ea654be388 100644 --- a/org.adempiere.base/src/org/compiere/model/MRecentItem.java +++ b/org.adempiere.base/src/org/compiere/model/MRecentItem.java @@ -59,6 +59,16 @@ public class MRecentItem extends X_AD_RecentItem implements ImmutablePOSupport /* Recent Item cached Label */ private String m_label; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_RecentItem_UU UUID key + * @param trxName Transaction + */ + public MRecentItem(Properties ctx, String AD_RecentItem_UU, String trxName) { + super(ctx, AD_RecentItem_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRecordAccess.java b/org.adempiere.base/src/org/compiere/model/MRecordAccess.java index 7505f63fe0..4a48f6667b 100644 --- a/org.adempiere.base/src/org/compiere/model/MRecordAccess.java +++ b/org.adempiere.base/src/org/compiere/model/MRecordAccess.java @@ -37,6 +37,16 @@ public class MRecordAccess extends X_AD_Record_Access */ private static final long serialVersionUID = -5115765616266528435L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Record_Access_UU UUID key + * @param trxName Transaction + */ + public MRecordAccess(Properties ctx, String AD_Record_Access_UU, String trxName) { + super(ctx, AD_Record_Access_UU, trxName); + } + /** * Persistency Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRecurring.java b/org.adempiere.base/src/org/compiere/model/MRecurring.java index 117e08fc14..61838d3b78 100644 --- a/org.adempiere.base/src/org/compiere/model/MRecurring.java +++ b/org.adempiere.base/src/org/compiere/model/MRecurring.java @@ -23,6 +23,7 @@ import java.util.Properties; import org.compiere.util.DB; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Recurring Model @@ -37,19 +38,36 @@ public class MRecurring extends X_C_Recurring */ private static final long serialVersionUID = 6053691462050896981L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_Recurring_UU UUID key + * @param trxName Transaction + */ + public MRecurring(Properties ctx, String C_Recurring_UU, String trxName) { + super(ctx, C_Recurring_UU, trxName); + if (Util.isEmpty(C_Recurring_UU)) + setInitialDefaults(); + } + public MRecurring (Properties ctx, int C_Recurring_ID, String trxName) { super (ctx, C_Recurring_ID, trxName); if (C_Recurring_ID == 0) - { - setDateNextRun (new Timestamp(System.currentTimeMillis())); - setFrequencyType (FREQUENCYTYPE_Monthly); - setFrequency(1); - setRunsMax (1); - setRunsRemaining (0); - } + setInitialDefaults(); } // MRecurring + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDateNextRun (new Timestamp(System.currentTimeMillis())); + setFrequencyType (FREQUENCYTYPE_Monthly); + setFrequency(1); + setRunsMax (1); + setRunsRemaining (0); + } + public MRecurring (Properties ctx, ResultSet rs, String trxName) { super(ctx, rs, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MRecurringRun.java b/org.adempiere.base/src/org/compiere/model/MRecurringRun.java index 257e07155f..23c6d30dc7 100644 --- a/org.adempiere.base/src/org/compiere/model/MRecurringRun.java +++ b/org.adempiere.base/src/org/compiere/model/MRecurringRun.java @@ -33,6 +33,16 @@ public class MRecurringRun extends X_C_Recurring_Run */ private static final long serialVersionUID = 5247737541955962981L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_Recurring_Run_UU UUID key + * @param trxName Transaction + */ + public MRecurringRun(Properties ctx, String C_Recurring_Run_UU, String trxName) { + super(ctx, C_Recurring_Run_UU, trxName); + } + public MRecurringRun (Properties ctx, int C_Recurring_Run_ID, String trxName) { super (ctx, C_Recurring_Run_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MRefList.java b/org.adempiere.base/src/org/compiere/model/MRefList.java index 13c2e63126..2143a2ab36 100644 --- a/org.adempiere.base/src/org/compiere/model/MRefList.java +++ b/org.adempiere.base/src/org/compiere/model/MRefList.java @@ -324,6 +324,18 @@ public class MRefList extends X_AD_Ref_List implements ImmutablePOSupport private static CCache s_cache = new CCache(Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Ref_List_UU UUID key + * @param trxName Transaction + */ + public MRefList(Properties ctx, String AD_Ref_List_UU, String trxName) { + super(ctx, AD_Ref_List_UU, trxName); + if (Util.isEmpty(AD_Ref_List_UU)) + setInitialDefaults(); + } + /************************************************************************** * Persistency Constructor * @param ctx context @@ -334,11 +346,16 @@ public class MRefList extends X_AD_Ref_List implements ImmutablePOSupport { super (ctx, AD_Ref_List_ID, trxName); if (AD_Ref_List_ID == 0) - { - setEntityType (ENTITYTYPE_UserMaintained); // U - } + setInitialDefaults(); } // MRef_List + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setEntityType (ENTITYTYPE_UserMaintained); // U + } + /** * Load Contructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRefTable.java b/org.adempiere.base/src/org/compiere/model/MRefTable.java index f696b78e7b..b32b2d8b8a 100644 --- a/org.adempiere.base/src/org/compiere/model/MRefTable.java +++ b/org.adempiere.base/src/org/compiere/model/MRefTable.java @@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -31,6 +32,18 @@ public class MRefTable extends X_AD_Ref_Table implements ImmutablePOSupport */ private static final long serialVersionUID = 5068032076487795624L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Ref_Table_UU UUID key + * @param trxName Transaction + */ + public MRefTable(Properties ctx, String AD_Ref_Table_UU, String trxName) { + super(ctx, AD_Ref_Table_UU, trxName); + if (Util.isEmpty(AD_Ref_Table_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -41,12 +54,17 @@ public class MRefTable extends X_AD_Ref_Table implements ImmutablePOSupport { super (ctx, AD_Reference_ID, trxName); if (AD_Reference_ID == 0) - { - setEntityType (ENTITYTYPE_UserMaintained); // U - setIsValueDisplayed (false); - } + setInitialDefaults(); } // MRefTable + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setEntityType (ENTITYTYPE_UserMaintained); // U + setIsValueDisplayed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MReference.java b/org.adempiere.base/src/org/compiere/model/MReference.java index c9a08c6979..9061b8a6a7 100644 --- a/org.adempiere.base/src/org/compiere/model/MReference.java +++ b/org.adempiere.base/src/org/compiere/model/MReference.java @@ -38,6 +38,18 @@ public class MReference extends X_AD_Reference implements ImmutablePOSupport { */ private static final long serialVersionUID = -2722869411041069805L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Reference_UU UUID key + * @param trxName Transaction + */ + public MReference(Properties ctx, String AD_Reference_UU, String trxName) { + super(ctx, AD_Reference_UU, trxName); + if (Util.isEmpty(AD_Reference_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -46,11 +58,17 @@ public class MReference extends X_AD_Reference implements ImmutablePOSupport { */ public MReference (Properties ctx, int AD_Reference_ID, String trxName) { super (ctx, AD_Reference_ID, trxName); - if (AD_Reference_ID == 0) { - setEntityType (ENTITYTYPE_UserMaintained); // U - } + if (AD_Reference_ID == 0) + setInitialDefaults(); } // MReference + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setEntityType (ENTITYTYPE_UserMaintained); // U + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRegion.java b/org.adempiere.base/src/org/compiere/model/MRegion.java index 5b8728058f..30e32d512e 100644 --- a/org.adempiere.base/src/org/compiere/model/MRegion.java +++ b/org.adempiere.base/src/org/compiere/model/MRegion.java @@ -183,6 +183,16 @@ public class MRegion extends X_C_Region private static CLogger s_log = CLogger.getCLogger (MRegion.class); + /** + * UUID based Constructor + * @param ctx Context + * @param C_Region_UU UUID key + * @param trxName Transaction + */ + public MRegion(Properties ctx, String C_Region_UU, String trxName) { + super(ctx, C_Region_UU, trxName); + } + /************************************************************************** * Create empty Region * @param ctx context @@ -192,9 +202,6 @@ public class MRegion extends X_C_Region public MRegion (Properties ctx, int C_Region_ID, String trxName) { super (ctx, C_Region_ID, trxName); - if (C_Region_ID == 0) - { - } } // MRegion /** diff --git a/org.adempiere.base/src/org/compiere/model/MRegistration.java b/org.adempiere.base/src/org/compiere/model/MRegistration.java index 3418c38b44..d85a267a13 100644 --- a/org.adempiere.base/src/org/compiere/model/MRegistration.java +++ b/org.adempiere.base/src/org/compiere/model/MRegistration.java @@ -27,6 +27,7 @@ import java.util.logging.Level; import javax.servlet.http.HttpServletRequest; import org.compiere.util.DB; +import org.compiere.util.Util; import org.compiere.util.WebUtil; /** @@ -42,6 +43,18 @@ public class MRegistration extends X_A_Registration */ private static final long serialVersionUID = -5178339895228217372L; + /** + * UUID based Constructor + * @param ctx Context + * @param A_Registration_UU UUID key + * @param trxName Transaction + */ + public MRegistration(Properties ctx, String A_Registration_UU, String trxName) { + super(ctx, A_Registration_UU, trxName); + if (Util.isEmpty(A_Registration_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -51,9 +64,16 @@ public class MRegistration extends X_A_Registration { super(ctx, A_Registration_ID, trxName); if (A_Registration_ID == 0) - setIsRegistered (true); + setInitialDefaults(); } // MRegistration + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsRegistered (true); + } + /** * New Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRegistrationAttribute.java b/org.adempiere.base/src/org/compiere/model/MRegistrationAttribute.java index e2ee33b643..f87beff71d 100644 --- a/org.adempiere.base/src/org/compiere/model/MRegistrationAttribute.java +++ b/org.adempiere.base/src/org/compiere/model/MRegistrationAttribute.java @@ -152,6 +152,16 @@ public class MRegistrationAttribute extends X_A_RegistrationAttribute implements private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param A_RegistrationAttribute_UU UUID key + * @param trxName Transaction + */ + public MRegistrationAttribute(Properties ctx, String A_RegistrationAttribute_UU, String trxName) { + super(ctx, A_RegistrationAttribute_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRegistrationValue.java b/org.adempiere.base/src/org/compiere/model/MRegistrationValue.java index 6dae776fd3..7414bb43cf 100644 --- a/org.adempiere.base/src/org/compiere/model/MRegistrationValue.java +++ b/org.adempiere.base/src/org/compiere/model/MRegistrationValue.java @@ -33,6 +33,16 @@ public class MRegistrationValue extends X_A_RegistrationValue */ private static final long serialVersionUID = 3380153548447464552L; + /** + * UUID based Constructor + * @param ctx Context + * @param A_RegistrationValue_UU UUID key + * @param trxName Transaction + */ + public MRegistrationValue(Properties ctx, String A_RegistrationValue_UU, String trxName) { + super(ctx, A_RegistrationValue_UU, trxName); + } + /** * Persistency Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MReplenish.java b/org.adempiere.base/src/org/compiere/model/MReplenish.java index 7f50fabc8f..e761bc6a14 100644 --- a/org.adempiere.base/src/org/compiere/model/MReplenish.java +++ b/org.adempiere.base/src/org/compiere/model/MReplenish.java @@ -48,6 +48,16 @@ public class MReplenish extends X_M_Replenish { */ private static final long serialVersionUID = -76806183034687720L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_Replenish_UU UUID key + * @param trxName Transaction + */ + public MReplenish(Properties ctx, String M_Replenish_UU, String trxName) { + super(ctx, M_Replenish_UU, trxName); + } + /** * Standard constructor * diff --git a/org.adempiere.base/src/org/compiere/model/MReplication.java b/org.adempiere.base/src/org/compiere/model/MReplication.java index f2d2fca802..4373b7e615 100644 --- a/org.adempiere.base/src/org/compiere/model/MReplication.java +++ b/org.adempiere.base/src/org/compiere/model/MReplication.java @@ -33,6 +33,16 @@ public class MReplication extends X_AD_Replication */ private static final long serialVersionUID = -562186299848949607L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Replication_UU UUID key + * @param trxName Transaction + */ + public MReplication(Properties ctx, String AD_Replication_UU, String trxName) { + super(ctx, AD_Replication_UU, trxName); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MReplicationLog.java b/org.adempiere.base/src/org/compiere/model/MReplicationLog.java index a8b6a00ad4..5e8022ce2c 100644 --- a/org.adempiere.base/src/org/compiere/model/MReplicationLog.java +++ b/org.adempiere.base/src/org/compiere/model/MReplicationLog.java @@ -33,6 +33,16 @@ public class MReplicationLog extends X_AD_Replication_Log */ private static final long serialVersionUID = -8815834636981996509L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Replication_Log_UU UUID key + * @param trxName Transaction + */ + public MReplicationLog(Properties ctx, String AD_Replication_Log_UU, String trxName) { + super(ctx, AD_Replication_Log_UU, trxName); + } + /** * Create new Log * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MReplicationRun.java b/org.adempiere.base/src/org/compiere/model/MReplicationRun.java index e07f203408..f38345ceb0 100644 --- a/org.adempiere.base/src/org/compiere/model/MReplicationRun.java +++ b/org.adempiere.base/src/org/compiere/model/MReplicationRun.java @@ -33,6 +33,16 @@ public class MReplicationRun extends X_AD_Replication_Run */ private static final long serialVersionUID = 7609847179225634980L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Replication_Run_UU UUID key + * @param trxName Transaction + */ + public MReplicationRun(Properties ctx, String AD_Replication_Run_UU, String trxName) { + super(ctx, AD_Replication_Run_UU, trxName); + } + /** * Create new Run * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MReplicationStrategy.java b/org.adempiere.base/src/org/compiere/model/MReplicationStrategy.java index 325ba5d02e..7f468db893 100644 --- a/org.adempiere.base/src/org/compiere/model/MReplicationStrategy.java +++ b/org.adempiere.base/src/org/compiere/model/MReplicationStrategy.java @@ -48,6 +48,16 @@ public class MReplicationStrategy extends X_AD_ReplicationStrategy { private static CLogger s_log = CLogger.getCLogger (MReplicationStrategy.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_ReplicationStrategy_UU UUID key + * @param trxName Transaction + */ + public MReplicationStrategy(Properties ctx, String AD_ReplicationStrategy_UU, String trxName) { + super(ctx, AD_ReplicationStrategy_UU, trxName); + } + /** * Constructor * @param ctx diff --git a/org.adempiere.base/src/org/compiere/model/MReportCube.java b/org.adempiere.base/src/org/compiere/model/MReportCube.java index fef68e3e6d..ffab08eb91 100644 --- a/org.adempiere.base/src/org/compiere/model/MReportCube.java +++ b/org.adempiere.base/src/org/compiere/model/MReportCube.java @@ -35,6 +35,16 @@ public class MReportCube extends X_PA_ReportCube { */ private static final long serialVersionUID = -4771117572936231607L; + /** + * UUID based Constructor + * @param ctx Context + * @param PA_ReportCube_UU UUID key + * @param trxName Transaction + */ + public MReportCube(Properties ctx, String PA_ReportCube_UU, String trxName) { + super(ctx, PA_ReportCube_UU, trxName); + } + public MReportCube(Properties ctx, int PA_ReportCube_ID, String trxName) { super(ctx, PA_ReportCube_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MReportView.java b/org.adempiere.base/src/org/compiere/model/MReportView.java index 8dadf39335..910598a0f3 100644 --- a/org.adempiere.base/src/org/compiere/model/MReportView.java +++ b/org.adempiere.base/src/org/compiere/model/MReportView.java @@ -32,6 +32,16 @@ public class MReportView extends X_AD_ReportView implements ImmutablePOSupport { static private ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 30, 60); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_ReportView_UU UUID key + * @param trxName Transaction + */ + public MReportView(Properties ctx, String AD_ReportView_UU, String trxName) { + super(ctx, AD_ReportView_UU, trxName); + } + public MReportView(Properties ctx, int AD_ReportView_ID, String trxName) { super(ctx, AD_ReportView_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MRequest.java b/org.adempiere.base/src/org/compiere/model/MRequest.java index ff0b9b67b8..1a52dc615e 100644 --- a/org.adempiere.base/src/org/compiere/model/MRequest.java +++ b/org.adempiere.base/src/org/compiere/model/MRequest.java @@ -29,6 +29,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; /** * Request Model @@ -82,6 +83,18 @@ public class MRequest extends X_R_Request + /** + * UUID based Constructor + * @param ctx Context + * @param R_Request_UU UUID key + * @param trxName Transaction + */ + public MRequest(Properties ctx, String R_Request_UU, String trxName) { + super(ctx, R_Request_UU, trxName); + if (Util.isEmpty(R_Request_UU)) + setInitialDefaults(); + } + /************************************************************************** * Constructor * @param ctx context @@ -96,17 +109,22 @@ public class MRequest extends X_R_Request public MRequest(Properties ctx, int R_Request_ID, String trxName, String... virtualColumns) { super(ctx, R_Request_ID, trxName, virtualColumns); if (R_Request_ID == 0) - { - setDueType (DUETYPE_Due); - setConfidentialType (CONFIDENTIALTYPE_PublicInformation); // A - setConfidentialTypeEntry (CONFIDENTIALTYPEENTRY_PublicInformation); // A - setProcessed (false); - setRequestAmt (Env.ZERO); - setPriorityUser (PRIORITY_Low); - setIsEscalated (false); - setIsSelfService (false); - setIsInvoiced (false); - } + setInitialDefaults(); + } + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDueType (DUETYPE_Due); + setConfidentialType (CONFIDENTIALTYPE_PublicInformation); // A + setConfidentialTypeEntry (CONFIDENTIALTYPEENTRY_PublicInformation); // A + setProcessed (false); + setRequestAmt (Env.ZERO); + setPriorityUser (PRIORITY_Low); + setIsEscalated (false); + setIsSelfService (false); + setIsInvoiced (false); } /** diff --git a/org.adempiere.base/src/org/compiere/model/MRequestAction.java b/org.adempiere.base/src/org/compiere/model/MRequestAction.java index 2bfcd3a7e7..8897aa84d9 100644 --- a/org.adempiere.base/src/org/compiere/model/MRequestAction.java +++ b/org.adempiere.base/src/org/compiere/model/MRequestAction.java @@ -35,6 +35,16 @@ public class MRequestAction extends X_R_RequestAction private static final long serialVersionUID = 2902231219773596011L; + /** + * UUID based Constructor + * @param ctx Context + * @param R_RequestAction_UU UUID key + * @param trxName Transaction + */ + public MRequestAction(Properties ctx, String R_RequestAction_UU, String trxName) { + super(ctx, R_RequestAction_UU, trxName); + } + /** * Persistency Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRequestCategory.java b/org.adempiere.base/src/org/compiere/model/MRequestCategory.java index 1bdb911502..3fc2d0acb6 100644 --- a/org.adempiere.base/src/org/compiere/model/MRequestCategory.java +++ b/org.adempiere.base/src/org/compiere/model/MRequestCategory.java @@ -86,6 +86,16 @@ public class MRequestCategory extends X_R_Category implements ImmutablePOSupport = new ImmutableIntPOCache(Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param R_Category_UU UUID key + * @param trxName Transaction + */ + public MRequestCategory(Properties ctx, String R_Category_UU, String trxName) { + super(ctx, R_Category_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRequestProcessor.java b/org.adempiere.base/src/org/compiere/model/MRequestProcessor.java index e341cecde3..1ecbdacc16 100644 --- a/org.adempiere.base/src/org/compiere/model/MRequestProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/MRequestProcessor.java @@ -79,6 +79,18 @@ public class MRequestProcessor extends X_R_RequestProcessor private static CLogger s_log = CLogger.getCLogger (MRequestProcessor.class); + /** + * UUID based Constructor + * @param ctx Context + * @param R_RequestProcessor_UU UUID key + * @param trxName Transaction + */ + public MRequestProcessor(Properties ctx, String R_RequestProcessor_UU, String trxName) { + super(ctx, R_RequestProcessor_UU, trxName); + if (Util.isEmpty(R_RequestProcessor_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -88,14 +100,19 @@ public class MRequestProcessor extends X_R_RequestProcessor { super (ctx, R_RequestProcessor_ID, trxName); if (R_RequestProcessor_ID == 0) - { - setKeepLogDays (7); - setOverdueAlertDays (0); - setOverdueAssignDays (0); - setRemindDays (0); - } + setInitialDefaults(); } // MRequestProcessor + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setKeepLogDays (7); + setOverdueAlertDays (0); + setOverdueAssignDays (0); + setRemindDays (0); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRequestProcessorLog.java b/org.adempiere.base/src/org/compiere/model/MRequestProcessorLog.java index 18bbe7df3e..42dd158d21 100644 --- a/org.adempiere.base/src/org/compiere/model/MRequestProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/MRequestProcessorLog.java @@ -19,6 +19,8 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; +import org.compiere.util.Util; + /** * Request Processor Log @@ -34,6 +36,18 @@ public class MRequestProcessorLog extends X_R_RequestProcessorLog */ private static final long serialVersionUID = 3295903266591998482L; + /** + * UUID based Constructor + * @param ctx Context + * @param R_RequestProcessorLog_UU UUID key + * @param trxName Transaction + */ + public MRequestProcessorLog(Properties ctx, String R_RequestProcessorLog_UU, String trxName) { + super(ctx, R_RequestProcessorLog_UU, trxName); + if (Util.isEmpty(R_RequestProcessorLog_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -43,11 +57,16 @@ public class MRequestProcessorLog extends X_R_RequestProcessorLog { super (ctx, R_RequestProcessorLog_ID, trxName); if (R_RequestProcessorLog_ID == 0) - { - setIsError (false); - } + setInitialDefaults(); } // MRequestProcessorLog + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsError (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRequestProcessorRoute.java b/org.adempiere.base/src/org/compiere/model/MRequestProcessorRoute.java index 39df5f8228..f13be69fec 100644 --- a/org.adempiere.base/src/org/compiere/model/MRequestProcessorRoute.java +++ b/org.adempiere.base/src/org/compiere/model/MRequestProcessorRoute.java @@ -33,6 +33,16 @@ public class MRequestProcessorRoute extends X_R_RequestProcessor_Route */ private static final long serialVersionUID = 8739358607059413339L; + /** + * UUID based Constructor + * @param ctx Context + * @param R_RequestProcessor_Route_UU UUID key + * @param trxName Transaction + */ + public MRequestProcessorRoute(Properties ctx, String R_RequestProcessor_Route_UU, String trxName) { + super(ctx, R_RequestProcessor_Route_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRequestType.java b/org.adempiere.base/src/org/compiere/model/MRequestType.java index 9c4441c76d..699632ec5d 100644 --- a/org.adempiere.base/src/org/compiere/model/MRequestType.java +++ b/org.adempiere.base/src/org/compiere/model/MRequestType.java @@ -26,6 +26,7 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -120,6 +121,18 @@ public class MRequestType extends X_R_RequestType implements ImmutablePOSupport } // get + /** + * UUID based Constructor + * @param ctx Context + * @param R_RequestType_UU UUID key + * @param trxName Transaction + */ + public MRequestType(Properties ctx, String R_RequestType_UU, String trxName) { + super(ctx, R_RequestType_UU, trxName); + if (Util.isEmpty(R_RequestType_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -130,21 +143,26 @@ public class MRequestType extends X_R_RequestType implements ImmutablePOSupport { super(ctx, R_RequestType_ID, trxName); if (R_RequestType_ID == 0) - { - setDueDateTolerance (7); - setIsDefault (false); - setIsEMailWhenDue (false); - setIsEMailWhenOverdue (false); - setIsSelfService (true); // Y - setAutoDueDateDays(0); - setConfidentialType(CONFIDENTIALTYPE_PublicInformation); - setIsAutoChangeRequest(false); - setIsConfidentialInfo(false); - setIsIndexed(true); - setIsInvoiced(false); - } + setInitialDefaults(); } // MRequestType + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDueDateTolerance (7); + setIsDefault (false); + setIsEMailWhenDue (false); + setIsEMailWhenOverdue (false); + setIsSelfService (true); // Y + setAutoDueDateDays(0); + setConfidentialType(CONFIDENTIALTYPE_PublicInformation); + setIsAutoChangeRequest(false); + setIsConfidentialInfo(false); + setIsIndexed(true); + setIsInvoiced(false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRequestUpdate.java b/org.adempiere.base/src/org/compiere/model/MRequestUpdate.java index 7a10fb8b2c..39b14be91b 100644 --- a/org.adempiere.base/src/org/compiere/model/MRequestUpdate.java +++ b/org.adempiere.base/src/org/compiere/model/MRequestUpdate.java @@ -35,14 +35,23 @@ public class MRequestUpdate extends X_R_RequestUpdate */ private static final long serialVersionUID = -8862921042436867124L; + /** + * UUID based Constructor + * @param ctx Context + * @param R_RequestUpdate_UU UUID key + * @param trxName Transaction + */ + public MRequestUpdate(Properties ctx, String R_RequestUpdate_UU, String trxName) { + super(ctx, R_RequestUpdate_UU, trxName); + } + /** * Standard Constructor * @param ctx context * @param R_RequestUpdate_ID id * @param trxName trx */ - public MRequestUpdate (Properties ctx, int R_RequestUpdate_ID, - String trxName) + public MRequestUpdate (Properties ctx, int R_RequestUpdate_ID, String trxName) { super (ctx, R_RequestUpdate_ID, trxName); } // MRequestUpdate diff --git a/org.adempiere.base/src/org/compiere/model/MRequisition.java b/org.adempiere.base/src/org/compiere/model/MRequisition.java index 6899968034..e7eb0c8e65 100644 --- a/org.adempiere.base/src/org/compiere/model/MRequisition.java +++ b/org.adempiere.base/src/org/compiere/model/MRequisition.java @@ -32,6 +32,7 @@ import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; /** * Requisition Model @@ -54,6 +55,18 @@ public class MRequisition extends X_M_Requisition implements DocAction */ private static final long serialVersionUID = 898606565778668659L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_Requisition_UU UUID key + * @param trxName Transaction + */ + public MRequisition(Properties ctx, String M_Requisition_UU, String trxName) { + super(ctx, M_Requisition_UU, trxName); + if (Util.isEmpty(M_Requisition_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -63,19 +76,24 @@ public class MRequisition extends X_M_Requisition implements DocAction { super (ctx, M_Requisition_ID, trxName); if (M_Requisition_ID == 0) - { - setDateDoc(new Timestamp(System.currentTimeMillis())); - setDateRequired (new Timestamp(System.currentTimeMillis())); - setDocAction (DocAction.ACTION_Complete); // CO - setDocStatus (DocAction.STATUS_Drafted); // DR - setPriorityRule (PRIORITYRULE_Medium); // 5 - setTotalLines (Env.ZERO); - setIsApproved (false); - setPosted (false); - setProcessed (false); - } + setInitialDefaults(); } // MRequisition + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDateDoc(new Timestamp(System.currentTimeMillis())); + setDateRequired (new Timestamp(System.currentTimeMillis())); + setDocAction (DocAction.ACTION_Complete); // CO + setDocStatus (DocAction.STATUS_Drafted); // DR + setPriorityRule (PRIORITYRULE_Medium); // 5 + setTotalLines (Env.ZERO); + setIsApproved (false); + setPosted (false); + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRequisitionLine.java b/org.adempiere.base/src/org/compiere/model/MRequisitionLine.java index 21ba0e88ea..06a9b8e264 100644 --- a/org.adempiere.base/src/org/compiere/model/MRequisitionLine.java +++ b/org.adempiere.base/src/org/compiere/model/MRequisitionLine.java @@ -29,6 +29,7 @@ import org.adempiere.exceptions.AdempiereException; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Requisition Line Model * @@ -115,6 +116,18 @@ public class MRequisitionLine extends X_M_RequisitionLine } + /** + * UUID based Constructor + * @param ctx Context + * @param M_RequisitionLine_UU UUID key + * @param trxName Transaction + */ + public MRequisitionLine(Properties ctx, String M_RequisitionLine_UU, String trxName) { + super(ctx, M_RequisitionLine_UU, trxName); + if (Util.isEmpty(M_RequisitionLine_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -129,12 +142,17 @@ public class MRequisitionLine extends X_M_RequisitionLine public MRequisitionLine(Properties ctx, int M_RequisitionLine_ID, String trxName, String... virtualColumns) { super(ctx, M_RequisitionLine_ID, trxName, virtualColumns); if (M_RequisitionLine_ID == 0) - { - setLine (0); // @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM M_RequisitionLine WHERE M_Requisition_ID=@M_Requisition_ID@ - setLineNetAmt (Env.ZERO); - setPriceActual (Env.ZERO); - setQty (Env.ONE); // 1 - } + setInitialDefaults(); + } + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setLine (0); // @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM M_RequisitionLine WHERE M_Requisition_ID=@M_Requisition_ID@ + setLineNetAmt (Env.ZERO); + setPriceActual (Env.ZERO); + setQty (Env.ONE); // 1 } /** diff --git a/org.adempiere.base/src/org/compiere/model/MResolution.java b/org.adempiere.base/src/org/compiere/model/MResolution.java index 36bb78fd18..7d2b8fedf4 100644 --- a/org.adempiere.base/src/org/compiere/model/MResolution.java +++ b/org.adempiere.base/src/org/compiere/model/MResolution.java @@ -86,6 +86,16 @@ public class MResolution extends X_R_Resolution implements ImmutablePOSupport + /** + * UUID based Constructor + * @param ctx Context + * @param R_Resolution_UU UUID key + * @param trxName Transaction + */ + public MResolution(Properties ctx, String R_Resolution_UU, String trxName) { + super(ctx, R_Resolution_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MResource.java b/org.adempiere.base/src/org/compiere/model/MResource.java index 89d64a6729..5f35f7599f 100644 --- a/org.adempiere.base/src/org/compiere/model/MResource.java +++ b/org.adempiere.base/src/org/compiere/model/MResource.java @@ -93,6 +93,16 @@ public class MResource extends X_S_Resource implements ImmutablePOSupport return rs; } + /** + * UUID based Constructor + * @param ctx Context + * @param S_Resource_UU UUID key + * @param trxName Transaction + */ + public MResource(Properties ctx, String S_Resource_UU, String trxName) { + super(ctx, S_Resource_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MResourceAssignment.java b/org.adempiere.base/src/org/compiere/model/MResourceAssignment.java index 7940b5dde7..4e84cfa3a8 100644 --- a/org.adempiere.base/src/org/compiere/model/MResourceAssignment.java +++ b/org.adempiere.base/src/org/compiere/model/MResourceAssignment.java @@ -21,6 +21,7 @@ import java.sql.Timestamp; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; /** @@ -36,6 +37,19 @@ public class MResourceAssignment extends X_S_ResourceAssignment */ private static final long serialVersionUID = 4230793339153210998L; + /** + * UUID based Constructor + * @param ctx Context + * @param S_ResourceAssignment_UU UUID key + * @param trxName Transaction + */ + public MResourceAssignment(Properties ctx, String S_ResourceAssignment_UU, String trxName) { + super(ctx, S_ResourceAssignment_UU, trxName); + p_info.setUpdateable(true); // default table is not updateable + if (Util.isEmpty(S_ResourceAssignment_UU)) + setInitialDefaults(); + } + /** * Stnadard Constructor * @param ctx @@ -47,14 +61,19 @@ public class MResourceAssignment extends X_S_ResourceAssignment p_info.setUpdateable(true); // default table is not updateable // Default values if (S_ResourceAssignment_ID == 0) - { - setAssignDateFrom(new Timestamp(System.currentTimeMillis())); - setQty(Env.ONE); - setName("."); - setIsConfirmed(false); - } + setInitialDefaults(); } // MResourceAssignment + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setAssignDateFrom(new Timestamp(System.currentTimeMillis())); + setQty(Env.ONE); + setName("."); + setIsConfirmed(false); + } + /** * Load Contsructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MResourceType.java b/org.adempiere.base/src/org/compiere/model/MResourceType.java index 40640d32e9..ddcca8a9c1 100644 --- a/org.adempiere.base/src/org/compiere/model/MResourceType.java +++ b/org.adempiere.base/src/org/compiere/model/MResourceType.java @@ -99,6 +99,16 @@ public class MResourceType extends X_S_ResourceType implements ImmutablePOSuppor return rt; } + /** + * UUID based Constructor + * @param ctx Context + * @param S_ResourceType_UU UUID key + * @param trxName Transaction + */ + public MResourceType(Properties ctx, String S_ResourceType_UU, String trxName) { + super(ctx, S_ResourceType_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MResourceUnAvailable.java b/org.adempiere.base/src/org/compiere/model/MResourceUnAvailable.java index 3d3127913c..895dd9b9e2 100644 --- a/org.adempiere.base/src/org/compiere/model/MResourceUnAvailable.java +++ b/org.adempiere.base/src/org/compiere/model/MResourceUnAvailable.java @@ -58,6 +58,16 @@ public class MResourceUnAvailable extends X_S_ResourceUnAvailable .match(); } + /** + * UUID based Constructor + * @param ctx Context + * @param S_ResourceUnAvailable_UU UUID key + * @param trxName Transaction + */ + public MResourceUnAvailable(Properties ctx, String S_ResourceUnAvailable_UU, String trxName) { + super(ctx, S_ResourceUnAvailable_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRevenueRecogService.java b/org.adempiere.base/src/org/compiere/model/MRevenueRecogService.java index 987bd75321..c06b8533ce 100644 --- a/org.adempiere.base/src/org/compiere/model/MRevenueRecogService.java +++ b/org.adempiere.base/src/org/compiere/model/MRevenueRecogService.java @@ -33,6 +33,16 @@ public class MRevenueRecogService extends X_C_RevenueRecog_Service */ private static final long serialVersionUID = -3434480004031478264L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_RevenueRecog_Service_UU UUID key + * @param trxName Transaction + */ + public MRevenueRecogService(Properties ctx, String C_RevenueRecog_Service_UU, String trxName) { + super(ctx, C_RevenueRecog_Service_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRevenueRecognition.java b/org.adempiere.base/src/org/compiere/model/MRevenueRecognition.java index ca2290fbdc..d18d1b8791 100644 --- a/org.adempiere.base/src/org/compiere/model/MRevenueRecognition.java +++ b/org.adempiere.base/src/org/compiere/model/MRevenueRecognition.java @@ -35,6 +35,16 @@ public class MRevenueRecognition extends X_C_RevenueRecognition */ private static final long serialVersionUID = -8528224265258285903L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_RevenueRecognition_UU UUID key + * @param trxName Transaction + */ + public MRevenueRecognition(Properties ctx, String C_RevenueRecognition_UU, String trxName) { + super(ctx, C_RevenueRecognition_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRevenueRecognitionPlan.java b/org.adempiere.base/src/org/compiere/model/MRevenueRecognitionPlan.java index 2ef6aceda3..e1e172fe46 100644 --- a/org.adempiere.base/src/org/compiere/model/MRevenueRecognitionPlan.java +++ b/org.adempiere.base/src/org/compiere/model/MRevenueRecognitionPlan.java @@ -25,6 +25,7 @@ import java.util.List; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Revenue Recognition Plan @@ -39,6 +40,18 @@ public class MRevenueRecognitionPlan extends X_C_RevenueRecognition_Plan */ private static final long serialVersionUID = -8437258098744762898L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_RevenueRecognition_Plan_UU UUID key + * @param trxName Transaction + */ + public MRevenueRecognitionPlan(Properties ctx, String C_RevenueRecognition_Plan_UU, String trxName) { + super(ctx, C_RevenueRecognition_Plan_UU, trxName); + if (Util.isEmpty(C_RevenueRecognition_Plan_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -48,12 +61,17 @@ public class MRevenueRecognitionPlan extends X_C_RevenueRecognition_Plan { super (ctx, C_RevenueRecognition_Plan_ID, trxName); if (C_RevenueRecognition_Plan_ID == 0) - { - setTotalAmt (Env.ZERO); - setRecognizedAmt (Env.ZERO); - } + setInitialDefaults(); } // MRevenueRecognitionPlan + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setTotalAmt (Env.ZERO); + setRecognizedAmt (Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRevenueRecognitionRun.java b/org.adempiere.base/src/org/compiere/model/MRevenueRecognitionRun.java index 7b853fcbd8..40d94fc71e 100644 --- a/org.adempiere.base/src/org/compiere/model/MRevenueRecognitionRun.java +++ b/org.adempiere.base/src/org/compiere/model/MRevenueRecognitionRun.java @@ -33,6 +33,16 @@ public class MRevenueRecognitionRun extends X_C_RevenueRecognition_Run */ private static final long serialVersionUID = -6068883255121303257L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_RevenueRecognition_Run_UU UUID key + * @param trxName Transaction + */ + public MRevenueRecognitionRun(Properties ctx, String C_RevenueRecognition_Run_UU, String trxName) { + super(ctx, C_RevenueRecognition_Run_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRfQ.java b/org.adempiere.base/src/org/compiere/model/MRfQ.java index ed761b7032..78c30b1fee 100644 --- a/org.adempiere.base/src/org/compiere/model/MRfQ.java +++ b/org.adempiere.base/src/org/compiere/model/MRfQ.java @@ -26,6 +26,7 @@ import java.util.logging.Level; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; /** * RfQ Model @@ -78,6 +79,18 @@ public class MRfQ extends X_C_RfQ return null; } // get + /** + * UUID based Constructor + * @param ctx Context + * @param C_RfQ_UU UUID key + * @param trxName Transaction + */ + public MRfQ(Properties ctx, String C_RfQ_UU, String trxName) { + super(ctx, C_RfQ_UU, trxName); + if (Util.isEmpty(C_RfQ_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -88,19 +101,24 @@ public class MRfQ extends X_C_RfQ { super (ctx, C_RfQ_ID, trxName); if (C_RfQ_ID == 0) - { - setDateResponse (new Timestamp(System.currentTimeMillis())); - setDateWorkStart (new Timestamp(System.currentTimeMillis())); - setIsInvitedVendorsOnly (false); - setQuoteType (QUOTETYPE_QuoteSelectedLines); - setIsQuoteAllQty (false); - setIsQuoteTotalAmt (false); - setIsRfQResponseAccepted (true); - setIsSelfService (true); - setProcessed (false); - } + setInitialDefaults(); } // MRfQ + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDateResponse (new Timestamp(System.currentTimeMillis())); + setDateWorkStart (new Timestamp(System.currentTimeMillis())); + setIsInvitedVendorsOnly (false); + setQuoteType (QUOTETYPE_QuoteSelectedLines); + setIsQuoteAllQty (false); + setIsQuoteTotalAmt (false); + setIsRfQResponseAccepted (true); + setIsSelfService (true); + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRfQLine.java b/org.adempiere.base/src/org/compiere/model/MRfQLine.java index e5321bb984..31e1bd8fa5 100644 --- a/org.adempiere.base/src/org/compiere/model/MRfQLine.java +++ b/org.adempiere.base/src/org/compiere/model/MRfQLine.java @@ -26,6 +26,7 @@ import java.util.logging.Level; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; /** * RfQ Line @@ -78,6 +79,18 @@ public class MRfQLine extends X_C_RfQLine return null; } // get + /** + * UUID based Constructor + * @param ctx Context + * @param C_RfQLine_UU UUID key + * @param trxName Transaction + */ + public MRfQLine(Properties ctx, String C_RfQLine_UU, String trxName) { + super(ctx, C_RfQLine_UU, trxName); + if (Util.isEmpty(C_RfQLine_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -88,11 +101,16 @@ public class MRfQLine extends X_C_RfQLine { super (ctx, C_RfQLine_ID, trxName); if (C_RfQLine_ID == 0) - { - setLine (0); - } + setInitialDefaults(); } // MRfQLine + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setLine (0); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRfQLineQty.java b/org.adempiere.base/src/org/compiere/model/MRfQLineQty.java index d55d92a09c..20a9d0ccba 100644 --- a/org.adempiere.base/src/org/compiere/model/MRfQLineQty.java +++ b/org.adempiere.base/src/org/compiere/model/MRfQLineQty.java @@ -25,6 +25,7 @@ import java.util.logging.Level; import org.compiere.util.CCache; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * RfQ Line Qty Model @@ -64,6 +65,18 @@ public class MRfQLineQty extends X_C_RfQLineQty /** Cache */ private static CCache s_cache = new CCache(Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param C_RfQLineQty_UU UUID key + * @param trxName Transaction + */ + public MRfQLineQty(Properties ctx, String C_RfQLineQty_UU, String trxName) { + super(ctx, C_RfQLineQty_UU, trxName); + if (Util.isEmpty(C_RfQLineQty_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -74,13 +87,18 @@ public class MRfQLineQty extends X_C_RfQLineQty { super (ctx, C_RfQLineQty_ID, trxName); if (C_RfQLineQty_ID == 0) - { - setIsOfferQty (false); - setIsPurchaseQty (false); - setQty (Env.ONE); // 1 - } + setInitialDefaults(); } // MRfQLineQty + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsOfferQty (false); + setIsPurchaseQty (false); + setQty (Env.ONE); // 1 + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRfQResponse.java b/org.adempiere.base/src/org/compiere/model/MRfQResponse.java index 14206f2a3d..e3e395caea 100644 --- a/org.adempiere.base/src/org/compiere/model/MRfQResponse.java +++ b/org.adempiere.base/src/org/compiere/model/MRfQResponse.java @@ -33,6 +33,7 @@ import org.compiere.util.DB; import org.compiere.util.EMail; import org.compiere.util.Env; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; /** * RfQ Response Model @@ -48,6 +49,18 @@ public class MRfQResponse extends X_C_RfQResponse private static final long serialVersionUID = 1472377321844135042L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_RfQResponse_UU UUID key + * @param trxName Transaction + */ + public MRfQResponse(Properties ctx, String C_RfQResponse_UU, String trxName) { + super(ctx, C_RfQResponse_UU, trxName); + if (Util.isEmpty(C_RfQResponse_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -58,16 +71,21 @@ public class MRfQResponse extends X_C_RfQResponse { super (ctx, C_RfQResponse_ID, trxName); if (C_RfQResponse_ID == 0) - { - setIsComplete (false); - setIsSelectedWinner (false); - setIsSelfService (false); - setPrice (Env.ZERO); - setProcessed(false); - setProcessing(false); - } + setInitialDefaults(); } // MRfQResponse + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsComplete (false); + setIsSelectedWinner (false); + setIsSelfService (false); + setPrice (Env.ZERO); + setProcessed(false); + setProcessing(false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRfQResponseLine.java b/org.adempiere.base/src/org/compiere/model/MRfQResponseLine.java index 65adea00de..2226839fd0 100644 --- a/org.adempiere.base/src/org/compiere/model/MRfQResponseLine.java +++ b/org.adempiere.base/src/org/compiere/model/MRfQResponseLine.java @@ -42,6 +42,16 @@ public class MRfQResponseLine extends X_C_RfQResponseLine */ private static final long serialVersionUID = 3388579962604552288L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_RfQResponseLine_UU UUID key + * @param trxName Transaction + */ + public MRfQResponseLine(Properties ctx, String C_RfQResponseLine_UU, String trxName) { + super(ctx, C_RfQResponseLine_UU, trxName); + } + /** * Persistency Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRfQResponseLineQty.java b/org.adempiere.base/src/org/compiere/model/MRfQResponseLineQty.java index da43c3703c..9af07fe7d4 100644 --- a/org.adempiere.base/src/org/compiere/model/MRfQResponseLineQty.java +++ b/org.adempiere.base/src/org/compiere/model/MRfQResponseLineQty.java @@ -23,6 +23,7 @@ import java.util.Comparator; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; /** * RfQ Response Line Qty @@ -37,6 +38,18 @@ public class MRfQResponseLineQty extends X_C_RfQResponseLineQty implements Compa */ private static final long serialVersionUID = -4118030805518374853L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_RfQResponseLineQty_UU UUID key + * @param trxName Transaction + */ + public MRfQResponseLineQty(Properties ctx, String C_RfQResponseLineQty_UU, String trxName) { + super(ctx, C_RfQResponseLineQty_UU, trxName); + if (Util.isEmpty(C_RfQResponseLineQty_UU)) + setInitialDefaults(); + } + /** * Persistency Constructor * @param ctx context @@ -47,13 +60,17 @@ public class MRfQResponseLineQty extends X_C_RfQResponseLineQty implements Compa { super (ctx, C_RfQResponseLineQty_ID, trxName); if (C_RfQResponseLineQty_ID == 0) - { - setPrice (Env.ZERO); - setDiscount(Env.ZERO); - } - + setInitialDefaults(); } // MRfQResponseLineQty + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setPrice (Env.ZERO); + setDiscount(Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRfQTopic.java b/org.adempiere.base/src/org/compiere/model/MRfQTopic.java index 9a07f61cd8..ababfffd46 100644 --- a/org.adempiere.base/src/org/compiere/model/MRfQTopic.java +++ b/org.adempiere.base/src/org/compiere/model/MRfQTopic.java @@ -38,6 +38,16 @@ public class MRfQTopic extends X_C_RfQ_Topic */ private static final long serialVersionUID = 1569514263521190339L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_RfQ_Topic_UU UUID key + * @param trxName Transaction + */ + public MRfQTopic(Properties ctx, String C_RfQ_Topic_UU, String trxName) { + super(ctx, C_RfQ_Topic_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRfQTopicSubscriber.java b/org.adempiere.base/src/org/compiere/model/MRfQTopicSubscriber.java index 5d5b6f4b3d..44b6fbb5bd 100644 --- a/org.adempiere.base/src/org/compiere/model/MRfQTopicSubscriber.java +++ b/org.adempiere.base/src/org/compiere/model/MRfQTopicSubscriber.java @@ -38,6 +38,16 @@ public class MRfQTopicSubscriber extends X_C_RfQ_TopicSubscriber */ private static final long serialVersionUID = 7364350828501354344L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_RfQ_TopicSubscriber_UU UUID key + * @param trxName Transaction + */ + public MRfQTopicSubscriber(Properties ctx, String C_RfQ_TopicSubscriber_UU, String trxName) { + super(ctx, C_RfQ_TopicSubscriber_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRfQTopicSubscriberOnly.java b/org.adempiere.base/src/org/compiere/model/MRfQTopicSubscriberOnly.java index 1c4a590a94..513507afbb 100644 --- a/org.adempiere.base/src/org/compiere/model/MRfQTopicSubscriberOnly.java +++ b/org.adempiere.base/src/org/compiere/model/MRfQTopicSubscriberOnly.java @@ -34,6 +34,16 @@ public class MRfQTopicSubscriberOnly extends X_C_RfQ_TopicSubscriberOnly */ private static final long serialVersionUID = -7744686970311507813L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_RfQ_TopicSubscriberOnly_UU UUID key + * @param trxName Transaction + */ + public MRfQTopicSubscriberOnly(Properties ctx, String C_RfQ_TopicSubscriberOnly_UU, String trxName) { + super(ctx, C_RfQ_TopicSubscriberOnly_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MRole.java b/org.adempiere.base/src/org/compiere/model/MRole.java index b19e01cdd5..8b3b59df77 100644 --- a/org.adempiere.base/src/org/compiere/model/MRole.java +++ b/org.adempiere.base/src/org/compiere/model/MRole.java @@ -257,6 +257,18 @@ public final class MRole extends X_AD_Role implements ImmutablePOSupport private static final String ROLE_KEY = "org.compiere.model.DefaultRole"; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Role_UU UUID key + * @param trxName Transaction + */ + public MRole(Properties ctx, String AD_Role_UU, String trxName) { + super(ctx, AD_Role_UU, trxName); + if (Util.isEmpty(AD_Role_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * NOTE - This method must not be used when the role is being requested to manage permissions, @@ -270,24 +282,29 @@ public final class MRole extends X_AD_Role implements ImmutablePOSupport super (ctx, AD_Role_ID, trxName); // ID=0 == System Administrator if (AD_Role_ID == SystemIDs.ROLE_SYSTEM) - { - setIsCanExport (true); - setIsCanReport (true); - setIsManual (false); - setIsPersonalAccess (false); - setIsPersonalLock (false); - setIsShowAcct (false); - setIsAccessAllOrgs(false); - setUserLevel (USERLEVEL_Organization); - setPreferenceType(PREFERENCETYPE_Organization); - setIsChangeLog(false); - setOverwritePriceLimit(false); - setIsUseUserOrgAccess(false); - setMaxQueryRecords(0); - setConfirmQueryRecords(0); - } + setInitialDefaults(); } // MRole + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsCanExport (true); + setIsCanReport (true); + setIsManual (false); + setIsPersonalAccess (false); + setIsPersonalLock (false); + setIsShowAcct (false); + setIsAccessAllOrgs(false); + setUserLevel (USERLEVEL_Organization); + setPreferenceType(PREFERENCETYPE_Organization); + setIsChangeLog(false); + setOverwritePriceLimit(false); + setIsUseUserOrgAccess(false); + setMaxQueryRecords(0); + setConfirmQueryRecords(0); + } + /** * Load Constructor * NOTE - This method must not be used when the role is being requested to manage permissions, diff --git a/org.adempiere.base/src/org/compiere/model/MRoleIncluded.java b/org.adempiere.base/src/org/compiere/model/MRoleIncluded.java index 473881afb4..6a03f7abaf 100644 --- a/org.adempiere.base/src/org/compiere/model/MRoleIncluded.java +++ b/org.adempiere.base/src/org/compiere/model/MRoleIncluded.java @@ -25,6 +25,16 @@ public class MRoleIncluded extends X_AD_Role_Included */ private static final long serialVersionUID = -3284165639631581484L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Role_Included_UU UUID key + * @param trxName Transaction + */ + public MRoleIncluded(Properties ctx, String AD_Role_Included_UU, String trxName) { + super(ctx, AD_Role_Included_UU, trxName); + } + public MRoleIncluded(Properties ctx, int AD_Role_Included_ID, String trxName) { super(ctx, AD_Role_Included_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MRoleMenu.java b/org.adempiere.base/src/org/compiere/model/MRoleMenu.java index 0ffa764d8c..01e18955a0 100644 --- a/org.adempiere.base/src/org/compiere/model/MRoleMenu.java +++ b/org.adempiere.base/src/org/compiere/model/MRoleMenu.java @@ -32,6 +32,16 @@ public class MRoleMenu extends X_U_RoleMenu */ private static final long serialVersionUID = 9022716123964882452L; + /** + * UUID based Constructor + * @param ctx Context + * @param U_RoleMenu_UU UUID key + * @param trxName Transaction + */ + public MRoleMenu(Properties ctx, String U_RoleMenu_UU, String trxName) { + super(ctx, U_RoleMenu_UU, trxName); + } + public MRoleMenu(Properties ctx, int U_RoleMenu_ID, String trxName) { super(ctx, U_RoleMenu_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MRoleOrgAccess.java b/org.adempiere.base/src/org/compiere/model/MRoleOrgAccess.java index 3505218c7f..6299ec3d6d 100644 --- a/org.adempiere.base/src/org/compiere/model/MRoleOrgAccess.java +++ b/org.adempiere.base/src/org/compiere/model/MRoleOrgAccess.java @@ -25,6 +25,7 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Role Org Access Model @@ -145,6 +146,18 @@ public class MRoleOrgAccess extends X_AD_Role_OrgAccess super(ctx, rs, trxName); } // MRoleOrgAccess + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Role_OrgAccess_UU UUID key + * @param trxName Transaction + */ + public MRoleOrgAccess(Properties ctx, String AD_Role_OrgAccess_UU, String trxName) { + super(ctx, AD_Role_OrgAccess_UU, trxName); + if (Util.isEmpty(AD_Role_OrgAccess_UU)) + setInitialDefaults(); + } + /** * Persistency Constructor * @param ctx context @@ -156,9 +169,16 @@ public class MRoleOrgAccess extends X_AD_Role_OrgAccess super(ctx, 0, trxName); if (ignored != 0) throw new IllegalArgumentException("Multi-Key"); - setIsReadOnly(false); + setInitialDefaults(); } // MRoleOrgAccess + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsReadOnly(false); + } + /** * Organization Constructor * @param org org diff --git a/org.adempiere.base/src/org/compiere/model/MRule.java b/org.adempiere.base/src/org/compiere/model/MRule.java index 8ad729d832..073ce4de49 100644 --- a/org.adempiere.base/src/org/compiere/model/MRule.java +++ b/org.adempiere.base/src/org/compiere/model/MRule.java @@ -145,6 +145,16 @@ public class MRule extends X_AD_Rule implements ImmutablePOSupport /* The Engine */ ScriptEngine engine = null; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Rule_UU UUID key + * @param trxName Transaction + */ + public MRule(Properties ctx, String AD_Rule_UU, String trxName) { + super(ctx, AD_Rule_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MSLACriteria.java b/org.adempiere.base/src/org/compiere/model/MSLACriteria.java index b43b644f6d..53fa7635bf 100644 --- a/org.adempiere.base/src/org/compiere/model/MSLACriteria.java +++ b/org.adempiere.base/src/org/compiere/model/MSLACriteria.java @@ -89,6 +89,16 @@ public class MSLACriteria extends X_PA_SLA_Criteria implements ImmutablePOSuppor private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param PA_SLA_Criteria_UU UUID key + * @param trxName Transaction + */ + public MSLACriteria(Properties ctx, String PA_SLA_Criteria_UU, String trxName) { + super(ctx, PA_SLA_Criteria_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MSLAGoal.java b/org.adempiere.base/src/org/compiere/model/MSLAGoal.java index 1d26dc20b3..c1903c0fd0 100644 --- a/org.adempiere.base/src/org/compiere/model/MSLAGoal.java +++ b/org.adempiere.base/src/org/compiere/model/MSLAGoal.java @@ -25,6 +25,7 @@ import java.util.logging.Level; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Service Level Agreement Goals @@ -40,6 +41,18 @@ public class MSLAGoal extends X_PA_SLA_Goal */ private static final long serialVersionUID = -5165579804502911120L; + /** + * UUID based Constructor + * @param ctx Context + * @param PA_SLA_Goal_UU UUID key + * @param trxName Transaction + */ + public MSLAGoal(Properties ctx, String PA_SLA_Goal_UU, String trxName) { + super(ctx, PA_SLA_Goal_UU, trxName); + if (Util.isEmpty(PA_SLA_Goal_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -50,13 +63,18 @@ public class MSLAGoal extends X_PA_SLA_Goal { super (ctx, PA_SLA_Goal_ID, trxName); if (PA_SLA_Goal_ID == 0) - { - setMeasureActual (Env.ZERO); - setMeasureTarget (Env.ZERO); - setProcessed (false); - } + setInitialDefaults(); } // MSLAGoal + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setMeasureActual (Env.ZERO); + setMeasureTarget (Env.ZERO); + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MSLAMeasure.java b/org.adempiere.base/src/org/compiere/model/MSLAMeasure.java index 3d3b60cdab..4573a97423 100644 --- a/org.adempiere.base/src/org/compiere/model/MSLAMeasure.java +++ b/org.adempiere.base/src/org/compiere/model/MSLAMeasure.java @@ -22,6 +22,7 @@ import java.sql.Timestamp; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Service Level Agreement Measure @@ -37,6 +38,18 @@ public class MSLAMeasure extends X_PA_SLA_Measure */ private static final long serialVersionUID = -2844941499854811255L; + /** + * UUID based Constructor + * @param ctx Context + * @param PA_SLA_Measure_UU UUID key + * @param trxName Transaction + */ + public MSLAMeasure(Properties ctx, String PA_SLA_Measure_UU, String trxName) { + super(ctx, PA_SLA_Measure_UU, trxName); + if (Util.isEmpty(PA_SLA_Measure_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -47,13 +60,18 @@ public class MSLAMeasure extends X_PA_SLA_Measure { super (ctx, PA_SLA_Measure_ID, trxName); if (PA_SLA_Measure_ID == 0) - { - setDateTrx (new Timestamp(System.currentTimeMillis())); - setMeasureActual (Env.ZERO); - setProcessed (false); - } + setInitialDefaults(); } // MSLAMeasure + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDateTrx (new Timestamp(System.currentTimeMillis())); + setMeasureActual (Env.ZERO); + setProcessed (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MSMTP.java b/org.adempiere.base/src/org/compiere/model/MSMTP.java index 51767180f1..3a052f4312 100644 --- a/org.adempiere.base/src/org/compiere/model/MSMTP.java +++ b/org.adempiere.base/src/org/compiere/model/MSMTP.java @@ -44,14 +44,24 @@ public class MSMTP extends X_AD_SMTP implements ImmutablePOSupport { /** Cache */ private static ImmutablePOCache s_cache = new ImmutablePOCache(Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_SMTP_UU UUID key + * @param trxName Transaction + */ + public MSMTP(Properties ctx, String AD_SMTP_UU, String trxName) { + super(ctx, AD_SMTP_UU, trxName); + } + /** * SMTP constructor * @param ctx context - * @param X_AD_SMTP_ID ID + * @param AD_SMTP_ID ID * @param trxName transaction */ - public MSMTP(Properties ctx, int X_AD_SMTP_ID, String trxName) { - super(ctx, X_AD_SMTP_ID, trxName); + public MSMTP(Properties ctx, int AD_SMTP_ID, String trxName) { + super(ctx, AD_SMTP_ID, trxName); } // MSMTP /** diff --git a/org.adempiere.base/src/org/compiere/model/MSalesRegion.java b/org.adempiere.base/src/org/compiere/model/MSalesRegion.java index dd32fb2b1a..110b9622eb 100644 --- a/org.adempiere.base/src/org/compiere/model/MSalesRegion.java +++ b/org.adempiere.base/src/org/compiere/model/MSalesRegion.java @@ -73,6 +73,16 @@ public class MSalesRegion extends X_C_SalesRegion implements ImmutablePOSupport private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 10); + /** + * UUID based Constructor + * @param ctx Context + * @param C_SalesRegion_UU UUID key + * @param trxName Transaction + */ + public MSalesRegion(Properties ctx, String C_SalesRegion_UU, String trxName) { + super(ctx, C_SalesRegion_UU, trxName); + } + /************************************************************************** * Default Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MSchedule.java b/org.adempiere.base/src/org/compiere/model/MSchedule.java index 472cc80f22..87e9762f0a 100644 --- a/org.adempiere.base/src/org/compiere/model/MSchedule.java +++ b/org.adempiere.base/src/org/compiere/model/MSchedule.java @@ -49,14 +49,22 @@ public class MSchedule extends X_AD_Schedule implements ImmutablePOSupport private static final String ipv4Pattern = "(([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.){3}([01]?\\d\\d?|2[0-4]\\d|25[0-5])"; private static final String ipv6Pattern = "([0-9a-f]{1,4}:){7}([0-9a-f]){1,4}"; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Schedule_UU UUID key + * @param trxName Transaction + */ + public MSchedule(Properties ctx, String AD_Schedule_UU, String trxName) { + super(ctx, AD_Schedule_UU, trxName); + } + public MSchedule(Properties ctx, int AD_Schedule_ID, String trxName) { super(ctx, AD_Schedule_ID, trxName); - // TODO Auto-generated constructor stub } public MSchedule(Properties ctx, ResultSet rs, String trxName) { super(ctx, rs, trxName); - // TODO Auto-generated constructor stub } /** diff --git a/org.adempiere.base/src/org/compiere/model/MScheduler.java b/org.adempiere.base/src/org/compiere/model/MScheduler.java index 8b80688d62..9224c09b81 100644 --- a/org.adempiere.base/src/org/compiere/model/MScheduler.java +++ b/org.adempiere.base/src/org/compiere/model/MScheduler.java @@ -64,6 +64,18 @@ public class MScheduler extends X_AD_Scheduler return retValue; } // getActive + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Scheduler_UU UUID key + * @param trxName Transaction + */ + public MScheduler(Properties ctx, String AD_Scheduler_UU, String trxName) { + super(ctx, AD_Scheduler_UU, trxName); + if (Util.isEmpty(AD_Scheduler_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -74,11 +86,16 @@ public class MScheduler extends X_AD_Scheduler { super (ctx, AD_Scheduler_ID, trxName); if (AD_Scheduler_ID == 0) - { - setKeepLogDays (7); - } + setInitialDefaults(); } // MScheduler + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setKeepLogDays (7); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MSchedulerLog.java b/org.adempiere.base/src/org/compiere/model/MSchedulerLog.java index fc0577c3dc..cf0d28e381 100644 --- a/org.adempiere.base/src/org/compiere/model/MSchedulerLog.java +++ b/org.adempiere.base/src/org/compiere/model/MSchedulerLog.java @@ -19,6 +19,8 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; +import org.compiere.util.Util; + /** * Scheduler Log @@ -34,6 +36,18 @@ public class MSchedulerLog extends X_AD_SchedulerLog */ private static final long serialVersionUID = -8105976307507562851L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_SchedulerLog_UU UUID key + * @param trxName Transaction + */ + public MSchedulerLog(Properties ctx, String AD_SchedulerLog_UU, String trxName) { + super(ctx, AD_SchedulerLog_UU, trxName); + if (Util.isEmpty(AD_SchedulerLog_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -44,9 +58,16 @@ public class MSchedulerLog extends X_AD_SchedulerLog { super (ctx, AD_SchedulerLog_ID, trxName); if (AD_SchedulerLog_ID == 0) - setIsError(false); + setInitialDefaults(); } // MSchedulerLog + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsError(false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MSchedulerPara.java b/org.adempiere.base/src/org/compiere/model/MSchedulerPara.java index fd4a6d878d..fd753fbc67 100644 --- a/org.adempiere.base/src/org/compiere/model/MSchedulerPara.java +++ b/org.adempiere.base/src/org/compiere/model/MSchedulerPara.java @@ -36,14 +36,23 @@ public class MSchedulerPara extends X_AD_Scheduler_Para implements ImmutablePOSu */ private static final long serialVersionUID = -9178948165437974600L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Scheduler_Para_UU UUID key + * @param trxName Transaction + */ + public MSchedulerPara(Properties ctx, String AD_Scheduler_Para_UU, String trxName) { + super(ctx, AD_Scheduler_Para_UU, trxName); + } + /** * Standard Constructor * @param ctx context * @param AD_Scheduler_Para_ID id * @param trxName transaction */ - public MSchedulerPara (Properties ctx, int AD_Scheduler_Para_ID, - String trxName) + public MSchedulerPara (Properties ctx, int AD_Scheduler_Para_ID, String trxName) { super (ctx, AD_Scheduler_Para_ID, trxName); } // MSchedulerPara diff --git a/org.adempiere.base/src/org/compiere/model/MSchedulerRecipient.java b/org.adempiere.base/src/org/compiere/model/MSchedulerRecipient.java index 3a7509d52a..eca1515167 100644 --- a/org.adempiere.base/src/org/compiere/model/MSchedulerRecipient.java +++ b/org.adempiere.base/src/org/compiere/model/MSchedulerRecipient.java @@ -35,14 +35,23 @@ public class MSchedulerRecipient extends X_AD_SchedulerRecipient implements Immu */ private static final long serialVersionUID = -4928359768598663557L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_SchedulerRecipient_UU UUID key + * @param trxName Transaction + */ + public MSchedulerRecipient(Properties ctx, String AD_SchedulerRecipient_UU, String trxName) { + super(ctx, AD_SchedulerRecipient_UU, trxName); + } + /** * Standard Constructor * @param ctx context * @param AD_SchedulerRecipient_ID id * @param trxName transaction */ - public MSchedulerRecipient (Properties ctx, int AD_SchedulerRecipient_ID, - String trxName) + public MSchedulerRecipient (Properties ctx, int AD_SchedulerRecipient_ID, String trxName) { super (ctx, AD_SchedulerRecipient_ID, trxName); } // MSchedulerRecipient diff --git a/org.adempiere.base/src/org/compiere/model/MSearchDefinition.java b/org.adempiere.base/src/org/compiere/model/MSearchDefinition.java index 45d0591068..1359584acb 100644 --- a/org.adempiere.base/src/org/compiere/model/MSearchDefinition.java +++ b/org.adempiere.base/src/org/compiere/model/MSearchDefinition.java @@ -58,6 +58,16 @@ public class MSearchDefinition extends X_AD_SearchDefinition { public static final String DATATYPE_INTEGER = "I"; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_SearchDefinition_UU UUID key + * @param trxName Transaction + */ + public MSearchDefinition(Properties ctx, String AD_SearchDefinition_UU, String trxName) { + super(ctx, AD_SearchDefinition_UU, trxName); + } + /** * @param ctx * @param AD_SearchDefinition_ID diff --git a/org.adempiere.base/src/org/compiere/model/MSequence.java b/org.adempiere.base/src/org/compiere/model/MSequence.java index 59573aedbe..538e1a0872 100644 --- a/org.adempiere.base/src/org/compiere/model/MSequence.java +++ b/org.adempiere.base/src/org/compiere/model/MSequence.java @@ -816,6 +816,18 @@ public class MSequence extends X_AD_Sequence private static CLogger s_log = CLogger.getCLogger(MSequence.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Sequence_UU UUID key + * @param trxName Transaction + */ + public MSequence(Properties ctx, String AD_Sequence_UU, String trxName) { + super(ctx, AD_Sequence_UU, trxName); + if (Util.isEmpty(AD_Sequence_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -826,18 +838,23 @@ public class MSequence extends X_AD_Sequence { super(ctx, AD_Sequence_ID, trxName); if (AD_Sequence_ID == 0) - { - setIsTableID(false); - setStartNo (INIT_NO); - setCurrentNext (INIT_NO); - setCurrentNextSys (INIT_SYS_NO); - setIncrementNo (1); - setIsAutoSequence (true); - setIsAudited(false); - setStartNewYear(false); - } + setInitialDefaults(); } // MSequence + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsTableID(false); + setStartNo (INIT_NO); + setCurrentNext (INIT_NO); + setCurrentNextSys (INIT_SYS_NO); + setIncrementNo (1); + setIsAutoSequence (true); + setIsAudited(false); + setStartNewYear(false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MSerNoCtl.java b/org.adempiere.base/src/org/compiere/model/MSerNoCtl.java index 38b2e39155..9f81901efc 100644 --- a/org.adempiere.base/src/org/compiere/model/MSerNoCtl.java +++ b/org.adempiere.base/src/org/compiere/model/MSerNoCtl.java @@ -19,6 +19,8 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; +import org.compiere.util.Util; + /** * Serial Number Control Model * @@ -32,6 +34,18 @@ public class MSerNoCtl extends X_M_SerNoCtl */ private static final long serialVersionUID = -6746210722573475011L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_SerNoCtl_UU UUID key + * @param trxName Transaction + */ + public MSerNoCtl(Properties ctx, String M_SerNoCtl_UU, String trxName) { + super(ctx, M_SerNoCtl_UU, trxName); + if (Util.isEmpty(M_SerNoCtl_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -42,13 +56,18 @@ public class MSerNoCtl extends X_M_SerNoCtl { super(ctx, M_SerNoCtl_ID, trxName); if (M_SerNoCtl_ID == 0) - { - setStartNo (1); - setCurrentNext (1); - setIncrementNo (1); - } + setInitialDefaults(); } // MSerNoCtl + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setStartNo (1); + setCurrentNext (1); + setIncrementNo (1); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MSerNoCtlExclude.java b/org.adempiere.base/src/org/compiere/model/MSerNoCtlExclude.java index 54ba060172..64c6e58556 100644 --- a/org.adempiere.base/src/org/compiere/model/MSerNoCtlExclude.java +++ b/org.adempiere.base/src/org/compiere/model/MSerNoCtlExclude.java @@ -37,6 +37,16 @@ public class MSerNoCtlExclude extends X_M_SerNoCtlExclude { */ private static final long serialVersionUID = -5338323423136199056L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_SerNoCtlExclude_UU UUID key + * @param trxName Transaction + */ + public MSerNoCtlExclude(Properties ctx, String M_SerNoCtlExclude_UU, String trxName) { + super(ctx, M_SerNoCtlExclude_UU, trxName); + } + /** * * @param ctx diff --git a/org.adempiere.base/src/org/compiere/model/MSession.java b/org.adempiere.base/src/org/compiere/model/MSession.java index 21db4ec7ed..975c4f3883 100644 --- a/org.adempiere.base/src/org/compiere/model/MSession.java +++ b/org.adempiere.base/src/org/compiere/model/MSession.java @@ -25,6 +25,7 @@ import java.util.logging.Level; import org.compiere.Adempiere; import org.compiere.util.Env; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; import org.compiere.util.WebUtil; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -133,6 +134,18 @@ public class MSession extends X_AD_Session implements ImmutablePOSupport private static ImmutableIntPOCache s_sessions = new ImmutableIntPOCache(Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Session_UU UUID key + * @param trxName Transaction + */ + public MSession(Properties ctx, String AD_Session_UU, String trxName) { + super(ctx, AD_Session_UU, trxName); + if (Util.isEmpty(AD_Session_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -143,11 +156,16 @@ public class MSession extends X_AD_Session implements ImmutablePOSupport { super(ctx, AD_Session_ID, trxName); if (AD_Session_ID == 0) - { - setProcessed (false); - } + setInitialDefaults(); } // MSession + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setProcessed (false); + } + /** * Load Costructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MShipper.java b/org.adempiere.base/src/org/compiere/model/MShipper.java index 1fa414ae7a..73bf0074bc 100644 --- a/org.adempiere.base/src/org/compiere/model/MShipper.java +++ b/org.adempiere.base/src/org/compiere/model/MShipper.java @@ -37,6 +37,16 @@ public class MShipper extends X_M_Shipper private static final long serialVersionUID = -4026295839866634739L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_Shipper_UU UUID key + * @param trxName Transaction + */ + public MShipper(Properties ctx, String M_Shipper_UU, String trxName) { + super(ctx, M_Shipper_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MShipperLabels.java b/org.adempiere.base/src/org/compiere/model/MShipperLabels.java index 1c0287fde3..949e464cdb 100644 --- a/org.adempiere.base/src/org/compiere/model/MShipperLabels.java +++ b/org.adempiere.base/src/org/compiere/model/MShipperLabels.java @@ -12,6 +12,16 @@ public class MShipperLabels extends X_M_ShipperLabels */ private static final long serialVersionUID = 3903237243862044930L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_ShipperLabels_UU UUID key + * @param trxName Transaction + */ + public MShipperLabels(Properties ctx, String M_ShipperLabels_UU, String trxName) { + super(ctx, M_ShipperLabels_UU, trxName); + } + public MShipperLabels(Properties ctx, int M_ShipperLabels_ID, String trxName) { super(ctx, M_ShipperLabels_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MShipperPackaging.java b/org.adempiere.base/src/org/compiere/model/MShipperPackaging.java index 46bbcdc78b..b9ffeb92e0 100644 --- a/org.adempiere.base/src/org/compiere/model/MShipperPackaging.java +++ b/org.adempiere.base/src/org/compiere/model/MShipperPackaging.java @@ -11,6 +11,16 @@ public class MShipperPackaging extends X_M_ShipperPackaging */ private static final long serialVersionUID = 6403993556547324865L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_ShipperPackaging_UU UUID key + * @param trxName Transaction + */ + public MShipperPackaging(Properties ctx, String M_ShipperPackaging_UU, String trxName) { + super(ctx, M_ShipperPackaging_UU, trxName); + } + public MShipperPackaging(Properties ctx, int M_ShipperPackaging_ID, String trxName) { super(ctx, M_ShipperPackaging_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MShipperPickupTypes.java b/org.adempiere.base/src/org/compiere/model/MShipperPickupTypes.java index 382db8dbc7..99a1d7f640 100644 --- a/org.adempiere.base/src/org/compiere/model/MShipperPickupTypes.java +++ b/org.adempiere.base/src/org/compiere/model/MShipperPickupTypes.java @@ -11,6 +11,16 @@ public class MShipperPickupTypes extends X_M_ShipperPickupTypes */ private static final long serialVersionUID = 2836350317204286835L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_ShipperPickupTypes_UU UUID key + * @param trxName Transaction + */ + public MShipperPickupTypes(Properties ctx, String M_ShipperPickupTypes_UU, String trxName) { + super(ctx, M_ShipperPickupTypes_UU, trxName); + } + public MShipperPickupTypes(Properties ctx, int M_ShipperPickupTypes_ID, String trxName) { super(ctx, M_ShipperPickupTypes_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MShippingProcessor.java b/org.adempiere.base/src/org/compiere/model/MShippingProcessor.java index 95b38a9d16..d708748bda 100644 --- a/org.adempiere.base/src/org/compiere/model/MShippingProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/MShippingProcessor.java @@ -11,6 +11,16 @@ public class MShippingProcessor extends X_M_ShippingProcessor */ private static final long serialVersionUID = -7635817773750467895L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_ShippingProcessor_UU UUID key + * @param trxName Transaction + */ + public MShippingProcessor(Properties ctx, String M_ShippingProcessor_UU, String trxName) { + super(ctx, M_ShippingProcessor_UU, trxName); + } + public MShippingProcessor(Properties ctx, int M_ShippingProcessor_ID, String trxName) { super(ctx, M_ShippingProcessor_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MShippingTransaction.java b/org.adempiere.base/src/org/compiere/model/MShippingTransaction.java index 67302038fc..1d3f282299 100644 --- a/org.adempiere.base/src/org/compiere/model/MShippingTransaction.java +++ b/org.adempiere.base/src/org/compiere/model/MShippingTransaction.java @@ -22,6 +22,16 @@ public class MShippingTransaction extends X_M_ShippingTransaction */ private static final long serialVersionUID = -2444841696998774096L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_ShippingTransaction_UU UUID key + * @param trxName Transaction + */ + public MShippingTransaction(Properties ctx, String M_ShippingTransaction_UU, String trxName) { + super(ctx, M_ShippingTransaction_UU, trxName); + } + public MShippingTransaction(Properties ctx, int M_ShippingTransaction_ID, String trxName) { super(ctx, M_ShippingTransaction_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MShippingTransactionLine.java b/org.adempiere.base/src/org/compiere/model/MShippingTransactionLine.java index 11de258164..3eb1efe75a 100644 --- a/org.adempiere.base/src/org/compiere/model/MShippingTransactionLine.java +++ b/org.adempiere.base/src/org/compiere/model/MShippingTransactionLine.java @@ -11,6 +11,16 @@ public class MShippingTransactionLine extends X_M_ShippingTransactionLine */ private static final long serialVersionUID = -8148869412130244360L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_ShippingTransactionLine_UU UUID key + * @param trxName Transaction + */ + public MShippingTransactionLine(Properties ctx, String M_ShippingTransactionLine_UU, String trxName) { + super(ctx, M_ShippingTransactionLine_UU, trxName); + } + public MShippingTransactionLine(Properties ctx, int M_ShippingTransactionLine_ID, String trxName) { super(ctx, M_ShippingTransactionLine_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MStatus.java b/org.adempiere.base/src/org/compiere/model/MStatus.java index 2b5ccb2288..882045a1f9 100644 --- a/org.adempiere.base/src/org/compiere/model/MStatus.java +++ b/org.adempiere.base/src/org/compiere/model/MStatus.java @@ -26,6 +26,7 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -185,6 +186,18 @@ public class MStatus extends X_R_Status implements ImmutablePOSupport = new ImmutableIntPOCache(Table_Name, "R_Status_Default", 10); + /** + * UUID based Constructor + * @param ctx Context + * @param R_Status_UU UUID key + * @param trxName Transaction + */ + public MStatus(Properties ctx, String R_Status_UU, String trxName) { + super(ctx, R_Status_UU, trxName); + if (Util.isEmpty(R_Status_UU)) + setInitialDefaults(); + } + /************************************************************************** * Default Constructor * @param ctx context @@ -195,16 +208,21 @@ public class MStatus extends X_R_Status implements ImmutablePOSupport { super (ctx, R_Status_ID, trxName); if (R_Status_ID == 0) - { + setInitialDefaults(); + } // MStatus + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { // setValue (null); // setName (null); - setIsClosed (false); // N - setIsDefault (false); - setIsFinalClose (false); // N - setIsOpen (false); - setIsWebCanUpdate (true); - } - } // MStatus + setIsClosed (false); // N + setIsDefault (false); + setIsFinalClose (false); // N + setIsOpen (false); + setIsWebCanUpdate (true); + } /** * Load Constructor diff --git a/org.adempiere.base/src/org/compiere/model/MStatusCategory.java b/org.adempiere.base/src/org/compiere/model/MStatusCategory.java index 7e11791f82..4c8083160d 100644 --- a/org.adempiere.base/src/org/compiere/model/MStatusCategory.java +++ b/org.adempiere.base/src/org/compiere/model/MStatusCategory.java @@ -27,6 +27,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -137,6 +138,18 @@ public class MStatusCategory extends X_R_StatusCategory implements ImmutablePOSu private static CLogger s_log = CLogger.getCLogger (MStatusCategory.class); + /** + * UUID based Constructor + * @param ctx Context + * @param R_StatusCategory_UU UUID key + * @param trxName Transaction + */ + public MStatusCategory(Properties ctx, String R_StatusCategory_UU, String trxName) { + super(ctx, R_StatusCategory_UU, trxName); + if (Util.isEmpty(R_StatusCategory_UU)) + setInitialDefaults(); + } + /************************************************************************** * Default Constructor * @param ctx context @@ -147,11 +160,16 @@ public class MStatusCategory extends X_R_StatusCategory implements ImmutablePOSu { super (ctx, R_StatusCategory_ID, trxName); if (R_StatusCategory_ID == 0) - { - setIsDefault (false); - } + setInitialDefaults(); } // RStatusCategory + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsDefault (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MStatusLine.java b/org.adempiere.base/src/org/compiere/model/MStatusLine.java index 367ff77c6e..76d0ddaf6e 100644 --- a/org.adempiere.base/src/org/compiere/model/MStatusLine.java +++ b/org.adempiere.base/src/org/compiere/model/MStatusLine.java @@ -61,6 +61,16 @@ public class MStatusLine extends X_AD_StatusLine implements ImmutablePOSupport public static final String BEFORE_PARSE_STATUS_LINE = "idempiere/statusLine/beforeParse"; public static final String EVENT_WINDOWNO = "event.windowno"; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_StatusLine_UU UUID key + * @param trxName Transaction + */ + public MStatusLine(Properties ctx, String AD_StatusLine_UU, String trxName) { + super(ctx, AD_StatusLine_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MStatusLineUsedIn.java b/org.adempiere.base/src/org/compiere/model/MStatusLineUsedIn.java index 10667e3972..90d50018f4 100644 --- a/org.adempiere.base/src/org/compiere/model/MStatusLineUsedIn.java +++ b/org.adempiere.base/src/org/compiere/model/MStatusLineUsedIn.java @@ -34,6 +34,16 @@ public class MStatusLineUsedIn extends X_AD_StatusLineUsedIn */ private static final long serialVersionUID = -6341924761622666560L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_StatusLineUsedIn_UU UUID key + * @param trxName Transaction + */ + public MStatusLineUsedIn(Properties ctx, String AD_StatusLineUsedIn_UU, String trxName) { + super(ctx, AD_StatusLineUsedIn_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MStorageOnHand.java b/org.adempiere.base/src/org/compiere/model/MStorageOnHand.java index aa9cc47fd2..40210b868b 100644 --- a/org.adempiere.base/src/org/compiere/model/MStorageOnHand.java +++ b/org.adempiere.base/src/org/compiere/model/MStorageOnHand.java @@ -938,6 +938,18 @@ public class MStorageOnHand extends X_M_StorageOnHand return firstM_Locator_ID; } // getM_Locator_ID + /** + * UUID based Constructor + * @param ctx Context + * @param M_StorageOnHand_UU UUID key + * @param trxName Transaction + */ + public MStorageOnHand(Properties ctx, String M_StorageOnHand_UU, String trxName) { + super(ctx, M_StorageOnHand_UU, trxName); + if (Util.isEmpty(M_StorageOnHand_UU)) + setInitialDefaults(); + } + /************************************************************************** * Persistency Constructor * @param ctx context @@ -949,11 +961,16 @@ public class MStorageOnHand extends X_M_StorageOnHand super(ctx, 0, trxName); if (ignored != 0) throw new IllegalArgumentException("Multi-Key"); - // - setQtyOnHand (Env.ZERO); - + setInitialDefaults(); } // MStorageOnHand + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setQtyOnHand (Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MStorageProvider.java b/org.adempiere.base/src/org/compiere/model/MStorageProvider.java index a02631a85e..bb302d96b6 100644 --- a/org.adempiere.base/src/org/compiere/model/MStorageProvider.java +++ b/org.adempiere.base/src/org/compiere/model/MStorageProvider.java @@ -86,6 +86,16 @@ public class MStorageProvider extends X_AD_StorageProvider implements ImmutableP return rt; } + /** + * UUID based Constructor + * @param ctx Context + * @param AD_StorageProvider_UU UUID key + * @param trxName Transaction + */ + public MStorageProvider(Properties ctx, String AD_StorageProvider_UU, String trxName) { + super(ctx, AD_StorageProvider_UU, trxName); + } + public MStorageProvider(Properties ctx, int AD_StorageProvider_ID, String trxName) { super(ctx, AD_StorageProvider_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MStorageReservation.java b/org.adempiere.base/src/org/compiere/model/MStorageReservation.java index 8cc2686fd1..7a622c038d 100644 --- a/org.adempiere.base/src/org/compiere/model/MStorageReservation.java +++ b/org.adempiere.base/src/org/compiere/model/MStorageReservation.java @@ -87,13 +87,21 @@ public class MStorageReservation extends X_M_StorageReservation { private static CLogger s_log = CLogger.getCLogger(MStorageReservation.class); - public MStorageReservation(Properties ctx, int M_StorageReservation_ID, - String trxName) { + /** + * UUID based Constructor + * @param ctx Context + * @param M_StorageReservation_UU UUID key + * @param trxName Transaction + */ + public MStorageReservation(Properties ctx, String M_StorageReservation_UU, String trxName) { + super(ctx, M_StorageReservation_UU, trxName); + } + + public MStorageReservation(Properties ctx, int M_StorageReservation_ID, String trxName) { super(ctx, M_StorageReservation_ID, trxName); } - public MStorageReservation(Properties ctx, ResultSet rs, - String trxName) { + public MStorageReservation(Properties ctx, ResultSet rs, String trxName) { super(ctx, rs, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MStorageReservationLog.java b/org.adempiere.base/src/org/compiere/model/MStorageReservationLog.java index 2ed0d3dcc3..6cfc856e9f 100644 --- a/org.adempiere.base/src/org/compiere/model/MStorageReservationLog.java +++ b/org.adempiere.base/src/org/compiere/model/MStorageReservationLog.java @@ -39,6 +39,16 @@ public class MStorageReservationLog extends X_M_StorageReservationLog { */ private static final long serialVersionUID = 4527538966135474314L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_StorageReservationLog_UU UUID key + * @param trxName Transaction + */ + public MStorageReservationLog(Properties ctx, String M_StorageReservationLog_UU, String trxName) { + super(ctx, M_StorageReservationLog_UU, trxName); + } + /** * * @param ctx diff --git a/org.adempiere.base/src/org/compiere/model/MStyle.java b/org.adempiere.base/src/org/compiere/model/MStyle.java index fb6a558924..f990797c4a 100644 --- a/org.adempiere.base/src/org/compiere/model/MStyle.java +++ b/org.adempiere.base/src/org/compiere/model/MStyle.java @@ -31,6 +31,16 @@ public class MStyle extends X_AD_Style implements ImmutablePOSupport { public static final String SCLASS_PREFIX = "@sclass="; public static final String ZCLASS_PREFIX = "@zclass="; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Style_UU UUID key + * @param trxName Transaction + */ + public MStyle(Properties ctx, String AD_Style_UU, String trxName) { + super(ctx, AD_Style_UU, trxName); + } + public MStyle(Properties ctx, int AD_Style_ID, String trxName) { super(ctx, AD_Style_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MStyleLine.java b/org.adempiere.base/src/org/compiere/model/MStyleLine.java index 56fbaf2008..9535eaa446 100644 --- a/org.adempiere.base/src/org/compiere/model/MStyleLine.java +++ b/org.adempiere.base/src/org/compiere/model/MStyleLine.java @@ -42,6 +42,16 @@ public class MStyleLine extends X_AD_StyleLine implements ImmutablePOSupport { */ private static final long serialVersionUID = -5884961214171382581L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_StyleLine_UU UUID key + * @param trxName Transaction + */ + public MStyleLine(Properties ctx, String AD_StyleLine_UU, String trxName) { + super(ctx, AD_StyleLine_UU, trxName); + } + /** * @param ctx * @param AD_StyleLine_ID diff --git a/org.adempiere.base/src/org/compiere/model/MSysConfig.java b/org.adempiere.base/src/org/compiere/model/MSysConfig.java index 0522a10cbb..945733dfd7 100644 --- a/org.adempiere.base/src/org/compiere/model/MSysConfig.java +++ b/org.adempiere.base/src/org/compiere/model/MSysConfig.java @@ -248,6 +248,16 @@ public class MSysConfig extends X_AD_SysConfig public static final String ZK_USE_PDF_JS_VIEWER = "ZK_USE_PDF_JS_VIEWER"; public static final String ZOOM_ACROSS_QUERY_TIMEOUT = "ZOOM_ACROSS_QUERY_TIMEOUT"; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_SysConfig_UU UUID key + * @param trxName Transaction + */ + public MSysConfig(Properties ctx, String AD_SysConfig_UU, String trxName) { + super(ctx, AD_SysConfig_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MSystem.java b/org.adempiere.base/src/org/compiere/model/MSystem.java index 405199094f..2a606c3888 100644 --- a/org.adempiere.base/src/org/compiere/model/MSystem.java +++ b/org.adempiere.base/src/org/compiere/model/MSystem.java @@ -90,6 +90,16 @@ public class MSystem extends X_AD_System /** System - cached */ private static CCache s_system = new CCache(Table_Name, 1, -1); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_System_UU UUID key + * @param trxName Transaction + */ + public MSystem(Properties ctx, String AD_System_UU, String trxName) { + super(ctx, AD_System_UU, trxName); + } + /************************************************************************** * Default Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTab.java b/org.adempiere.base/src/org/compiere/model/MTab.java index a4721643e4..effbff2df7 100644 --- a/org.adempiere.base/src/org/compiere/model/MTab.java +++ b/org.adempiere.base/src/org/compiere/model/MTab.java @@ -28,6 +28,7 @@ import org.adempiere.exceptions.FillMandatoryException; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -70,6 +71,18 @@ public class MTab extends X_AD_Tab implements ImmutablePOSupport return null; } + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Tab_UU UUID key + * @param trxName Transaction + */ + public MTab(Properties ctx, String AD_Tab_UU, String trxName) { + super(ctx, AD_Tab_UU, trxName); + if (Util.isEmpty(AD_Tab_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -80,20 +93,25 @@ public class MTab extends X_AD_Tab implements ImmutablePOSupport { super (ctx, AD_Tab_ID, trxName); if (AD_Tab_ID == 0) - { - setEntityType (ENTITYTYPE_UserMaintained); // U - setHasTree (false); - setIsReadOnly (false); - setIsSingleRow (false); - setIsSortTab (false); // N - setIsTranslationTab (false); - setSeqNo (0); - setTabLevel (0); - setIsInsertRecord(true); - setIsAdvancedTab(false); - } + setInitialDefaults(); } // M_Tab + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setEntityType (ENTITYTYPE_UserMaintained); // U + setHasTree (false); + setIsReadOnly (false); + setIsSingleRow (false); + setIsSortTab (false); // N + setIsTranslationTab (false); + setSeqNo (0); + setTabLevel (0); + setIsInsertRecord(true); + setIsAdvancedTab(false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTable.java b/org.adempiere.base/src/org/compiere/model/MTable.java index c27518352b..4b2862421c 100644 --- a/org.adempiere.base/src/org/compiere/model/MTable.java +++ b/org.adempiere.base/src/org/compiere/model/MTable.java @@ -246,6 +246,18 @@ public class MTable extends X_AD_Table implements ImmutablePOSupport return null; } // getClass + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Table_UU UUID key + * @param trxName Transaction + */ + public MTable(Properties ctx, String AD_Table_UU, String trxName) { + super(ctx, AD_Table_UU, trxName); + if (Util.isEmpty(AD_Table_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -256,18 +268,23 @@ public class MTable extends X_AD_Table implements ImmutablePOSupport { super (ctx, AD_Table_ID, trxName); if (AD_Table_ID == 0) - { - setAccessLevel (ACCESSLEVEL_SystemOnly); // 4 - setEntityType (ENTITYTYPE_UserMaintained); // U - setIsChangeLog (false); - setIsDeleteable (false); - setIsHighVolume (false); - setIsSecurityEnabled (false); - setIsView (false); // N - setReplicationType (REPLICATIONTYPE_Local); - } + setInitialDefaults(); } // MTable + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setAccessLevel (ACCESSLEVEL_SystemOnly); // 4 + setEntityType (ENTITYTYPE_UserMaintained); // U + setIsChangeLog (false); + setIsDeleteable (false); + setIsHighVolume (false); + setIsSecurityEnabled (false); + setIsView (false); // N + setReplicationType (REPLICATIONTYPE_Local); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTableAccess.java b/org.adempiere.base/src/org/compiere/model/MTableAccess.java index d574ab328d..0a854c332e 100644 --- a/org.adempiere.base/src/org/compiere/model/MTableAccess.java +++ b/org.adempiere.base/src/org/compiere/model/MTableAccess.java @@ -37,6 +37,16 @@ public class MTableAccess extends X_AD_Table_Access */ private static final long serialVersionUID = -3747261579266442904L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Table_Access_UU UUID key + * @param trxName Transaction + */ + public MTableAccess(Properties ctx, String AD_Table_Access_UU, String trxName) { + super(ctx, AD_Table_Access_UU, trxName); + } + /** * Persistency Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTableIndex.java b/org.adempiere.base/src/org/compiere/model/MTableIndex.java index 5294fd71aa..c9ce91b68f 100644 --- a/org.adempiere.base/src/org/compiere/model/MTableIndex.java +++ b/org.adempiere.base/src/org/compiere/model/MTableIndex.java @@ -61,6 +61,18 @@ public class MTableIndex extends X_AD_TableIndex { return list; } + /** + * UUID based Constructor + * @param ctx Context + * @param AD_TableIndex_UU UUID key + * @param trxName Transaction + */ + public MTableIndex(Properties ctx, String AD_TableIndex_UU, String trxName) { + super(ctx, AD_TableIndex_UU, trxName); + if (Util.isEmpty(AD_TableIndex_UU)) + setInitialDefaults(); + } + /** * Standard constructor * @param ctx context @@ -71,13 +83,18 @@ public class MTableIndex extends X_AD_TableIndex { { super(ctx, AD_TableIndex_ID, trxName); if (AD_TableIndex_ID == 0) - { - setEntityType(ENTITYTYPE_UserMaintained); - setIsUnique(false); - setIsCreateConstraint(false); - } + setInitialDefaults(); } + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setEntityType(ENTITYTYPE_UserMaintained); + setIsUnique(false); + setIsCreateConstraint(false); + } + /** * Load constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTableScriptValidator.java b/org.adempiere.base/src/org/compiere/model/MTableScriptValidator.java index d1cf7d4467..03a4a2c06d 100644 --- a/org.adempiere.base/src/org/compiere/model/MTableScriptValidator.java +++ b/org.adempiere.base/src/org/compiere/model/MTableScriptValidator.java @@ -130,6 +130,16 @@ public class MTableScriptValidator extends X_AD_Table_ScriptValidator implements private static CCache> s_cacheTableEvent = new CCache>(null, Table_Name+"_TableEvent", 20, false); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Table_ScriptValidator_UU UUID key + * @param trxName Transaction + */ + public MTableScriptValidator(Properties ctx, String AD_Table_ScriptValidator_UU, String trxName) { + super(ctx, AD_Table_ScriptValidator_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTask.java b/org.adempiere.base/src/org/compiere/model/MTask.java index 1a185e483c..e83b55539c 100644 --- a/org.adempiere.base/src/org/compiere/model/MTask.java +++ b/org.adempiere.base/src/org/compiere/model/MTask.java @@ -37,6 +37,16 @@ public class MTask extends X_AD_Task */ private static final long serialVersionUID = 5286481246615520755L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Task_UU UUID key + * @param trxName Transaction + */ + public MTask(Properties ctx, String AD_Task_UU, String trxName) { + super(ctx, AD_Task_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTax.java b/org.adempiere.base/src/org/compiere/model/MTax.java index 9bf1fab48b..83d9a37a58 100644 --- a/org.adempiere.base/src/org/compiere/model/MTax.java +++ b/org.adempiere.base/src/org/compiere/model/MTax.java @@ -28,6 +28,7 @@ import org.compiere.util.CCache; import org.compiere.util.Env; import org.compiere.util.Msg; import org.compiere.util.TimeUtil; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -139,6 +140,18 @@ public class MTax extends X_C_Tax implements ImmutablePOSupport return tax; } + /** + * UUID based Constructor + * @param ctx Context + * @param C_Tax_UU UUID key + * @param trxName Transaction + */ + public MTax(Properties ctx, String C_Tax_UU, String trxName) { + super(ctx, C_Tax_UU, trxName); + if (Util.isEmpty(C_Tax_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -149,19 +162,24 @@ public class MTax extends X_C_Tax implements ImmutablePOSupport { super (ctx, C_Tax_ID, trxName); if (C_Tax_ID == 0) - { - setIsDefault (false); - setIsDocumentLevel (true); - setIsSummary (false); - setIsTaxExempt (false); - setRate (Env.ZERO); - setRequiresTaxCertificate (false); - setSOPOType (SOPOTYPE_Both); - setValidFrom (TimeUtil.getDay(1990,1,1)); - setIsSalesTax(false); - } + setInitialDefaults(); } // MTax + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsDefault (false); + setIsDocumentLevel (true); + setIsSummary (false); + setIsTaxExempt (false); + setRate (Env.ZERO); + setRequiresTaxCertificate (false); + setSOPOType (SOPOTYPE_Both); + setValidFrom (TimeUtil.getDay(1990,1,1)); + setIsSalesTax(false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTaxCategory.java b/org.adempiere.base/src/org/compiere/model/MTaxCategory.java index 9a563870a0..bd946c3dd9 100644 --- a/org.adempiere.base/src/org/compiere/model/MTaxCategory.java +++ b/org.adempiere.base/src/org/compiere/model/MTaxCategory.java @@ -17,10 +17,11 @@ package org.compiere.model; import java.sql.ResultSet; -import java.util.Properties; import java.util.List; +import java.util.Properties; import org.adempiere.exceptions.AdempiereException; +import org.compiere.util.Util; /** * Tax Category Model @@ -35,6 +36,18 @@ public class MTaxCategory extends X_C_TaxCategory */ private static final long serialVersionUID = -5521670797405300136L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_TaxCategory_UU UUID key + * @param trxName Transaction + */ + public MTaxCategory(Properties ctx, String C_TaxCategory_UU, String trxName) { + super(ctx, C_TaxCategory_UU, trxName); + if (Util.isEmpty(C_TaxCategory_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -45,11 +58,16 @@ public class MTaxCategory extends X_C_TaxCategory { super (ctx, C_TaxCategory_ID, trxName); if (C_TaxCategory_ID == 0) - { - setIsDefault (false); - } + setInitialDefaults(); } // MTaxCategory + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsDefault (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTaxDeclaration.java b/org.adempiere.base/src/org/compiere/model/MTaxDeclaration.java index db36166b6d..404e72b5ff 100644 --- a/org.adempiere.base/src/org/compiere/model/MTaxDeclaration.java +++ b/org.adempiere.base/src/org/compiere/model/MTaxDeclaration.java @@ -34,6 +34,16 @@ public class MTaxDeclaration extends X_C_TaxDeclaration */ private static final long serialVersionUID = 560499885058913281L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_TaxDeclaration_UU UUID key + * @param trxName Transaction + */ + public MTaxDeclaration(Properties ctx, String C_TaxDeclaration_UU, String trxName) { + super(ctx, C_TaxDeclaration_UU, trxName); + } + /** * Standard Constructors * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTaxDeclarationAcct.java b/org.adempiere.base/src/org/compiere/model/MTaxDeclarationAcct.java index 0b1fef4db9..4a892dfd57 100644 --- a/org.adempiere.base/src/org/compiere/model/MTaxDeclarationAcct.java +++ b/org.adempiere.base/src/org/compiere/model/MTaxDeclarationAcct.java @@ -32,6 +32,16 @@ public class MTaxDeclarationAcct extends X_C_TaxDeclarationAcct */ private static final long serialVersionUID = -840113412342364029L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_TaxDeclarationAcct_UU UUID key + * @param trxName Transaction + */ + public MTaxDeclarationAcct(Properties ctx, String C_TaxDeclarationAcct_UU, String trxName) { + super(ctx, C_TaxDeclarationAcct_UU, trxName); + } + /** * Standard Constructor * @param ctx ctx diff --git a/org.adempiere.base/src/org/compiere/model/MTaxDeclarationLine.java b/org.adempiere.base/src/org/compiere/model/MTaxDeclarationLine.java index f4f79ed722..135fc365c7 100644 --- a/org.adempiere.base/src/org/compiere/model/MTaxDeclarationLine.java +++ b/org.adempiere.base/src/org/compiere/model/MTaxDeclarationLine.java @@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Tax Declaration Line Model @@ -34,6 +35,18 @@ public class MTaxDeclarationLine extends X_C_TaxDeclarationLine */ private static final long serialVersionUID = 2723299110241208689L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_TaxDeclarationLine_UU UUID key + * @param trxName Transaction + */ + public MTaxDeclarationLine(Properties ctx, String C_TaxDeclarationLine_UU, String trxName) { + super(ctx, C_TaxDeclarationLine_UU, trxName); + if (Util.isEmpty(C_TaxDeclarationLine_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx ctx @@ -44,13 +57,18 @@ public class MTaxDeclarationLine extends X_C_TaxDeclarationLine { super (ctx, C_TaxDeclarationLine_ID, trxName); if (C_TaxDeclarationLine_ID == 0) - { - setIsManual(true); - setTaxAmt (Env.ZERO); - setTaxBaseAmt (Env.ZERO); - } + setInitialDefaults(); } // MTaxDeclarationLine + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsManual(true); + setTaxAmt (Env.ZERO); + setTaxBaseAmt (Env.ZERO); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTaxPostal.java b/org.adempiere.base/src/org/compiere/model/MTaxPostal.java index cc8b8867c8..c6f52dcb53 100644 --- a/org.adempiere.base/src/org/compiere/model/MTaxPostal.java +++ b/org.adempiere.base/src/org/compiere/model/MTaxPostal.java @@ -36,6 +36,16 @@ public class MTaxPostal extends X_C_TaxPostal implements ImmutablePOSupport */ private static final long serialVersionUID = 2517717028191578304L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_TaxPostal_UU UUID key + * @param trxName Transaction + */ + public MTaxPostal(Properties ctx, String C_TaxPostal_UU, String trxName) { + super(ctx, C_TaxPostal_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTaxProvider.java b/org.adempiere.base/src/org/compiere/model/MTaxProvider.java index 85d1ad8862..87ac68859f 100644 --- a/org.adempiere.base/src/org/compiere/model/MTaxProvider.java +++ b/org.adempiere.base/src/org/compiere/model/MTaxProvider.java @@ -28,6 +28,16 @@ public class MTaxProvider extends X_C_TaxProvider */ private static final long serialVersionUID = 6621828279540899973L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_TaxProvider_UU UUID key + * @param trxName Transaction + */ + public MTaxProvider(Properties ctx, String C_TaxProvider_UU, String trxName) { + super(ctx, C_TaxProvider_UU, trxName); + } + public MTaxProvider(Properties ctx, int C_TaxProvider_ID, String trxName) { super(ctx, C_TaxProvider_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MTest.java b/org.adempiere.base/src/org/compiere/model/MTest.java index a83b349785..f722529af5 100644 --- a/org.adempiere.base/src/org/compiere/model/MTest.java +++ b/org.adempiere.base/src/org/compiere/model/MTest.java @@ -37,8 +37,7 @@ public class MTest extends X_Test /** * */ - private static final long serialVersionUID = 5750690186875693958L; - + private static final long serialVersionUID = -5390179651635427303L; /** * Constructor @@ -62,6 +61,17 @@ public class MTest extends X_Test super(ctx, rs, trxName); } // MTest + /** + * Constructor + * @param ctx context + * @param Test_UU + * @param trxName transaction + */ + public MTest(Properties ctx, String Test_UU, String trxName) + { + super (ctx, Test_UU, trxName); + } // MTest + /** * Test Object Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTimeExpense.java b/org.adempiere.base/src/org/compiere/model/MTimeExpense.java index e2f1d81bce..764530a51d 100644 --- a/org.adempiere.base/src/org/compiere/model/MTimeExpense.java +++ b/org.adempiere.base/src/org/compiere/model/MTimeExpense.java @@ -31,6 +31,7 @@ import org.compiere.process.DocumentEngine; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Time + Expense Model @@ -50,6 +51,18 @@ public class MTimeExpense extends X_S_TimeExpense implements DocAction private static final long serialVersionUID = 1567303438502090279L; + /** + * UUID based Constructor + * @param ctx Context + * @param S_TimeExpense_UU UUID key + * @param trxName Transaction + */ + public MTimeExpense(Properties ctx, String S_TimeExpense_UU, String trxName) { + super(ctx, S_TimeExpense_UU, trxName); + if (Util.isEmpty(S_TimeExpense_UU)) + setInitialDefaults(); + } + /** * Default Constructor * @param ctx context @@ -60,14 +73,19 @@ public class MTimeExpense extends X_S_TimeExpense implements DocAction { super (ctx, S_TimeExpense_ID, trxName); if (S_TimeExpense_ID == 0) - { - setDateReport (new Timestamp (System.currentTimeMillis ())); - setIsApproved (false); - super.setProcessed (false); - setProcessing(false); - } + setInitialDefaults(); } // MTimeExpense + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDateReport (new Timestamp (System.currentTimeMillis ())); + setIsApproved (false); + super.setProcessed (false); + setProcessing(false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTimeExpenseLine.java b/org.adempiere.base/src/org/compiere/model/MTimeExpenseLine.java index ced956d0ca..08d4d9c21f 100644 --- a/org.adempiere.base/src/org/compiere/model/MTimeExpenseLine.java +++ b/org.adempiere.base/src/org/compiere/model/MTimeExpenseLine.java @@ -24,6 +24,7 @@ import java.util.Properties; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Time + Expense Line Model @@ -38,6 +39,18 @@ public class MTimeExpenseLine extends X_S_TimeExpenseLine */ private static final long serialVersionUID = -815975460880303779L; + /** + * UUID based Constructor + * @param ctx Context + * @param S_TimeExpenseLine_UU UUID key + * @param trxName Transaction + */ + public MTimeExpenseLine(Properties ctx, String S_TimeExpenseLine_UU, String trxName) { + super(ctx, S_TimeExpenseLine_UU, trxName); + if (Util.isEmpty(S_TimeExpenseLine_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -48,25 +61,30 @@ public class MTimeExpenseLine extends X_S_TimeExpenseLine { super (ctx, S_TimeExpenseLine_ID, trxName); if (S_TimeExpenseLine_ID == 0) - { - setQty(Env.ONE); - setQtyInvoiced(Env.ZERO); - setQtyReimbursed(Env.ZERO); - // - setExpenseAmt(Env.ZERO); - setConvertedAmt(Env.ZERO); - setPriceReimbursed(Env.ZERO); - setInvoicePrice(Env.ZERO); - setPriceInvoiced(Env.ZERO); - // - setDateExpense (new Timestamp(System.currentTimeMillis())); - setIsInvoiced (false); - setIsTimeReport (false); - setLine (10); - setProcessed(false); - } + setInitialDefaults(); } // MTimeExpenseLine + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setQty(Env.ONE); + setQtyInvoiced(Env.ZERO); + setQtyReimbursed(Env.ZERO); + // + setExpenseAmt(Env.ZERO); + setConvertedAmt(Env.ZERO); + setPriceReimbursed(Env.ZERO); + setInvoicePrice(Env.ZERO); + setPriceInvoiced(Env.ZERO); + // + setDateExpense (new Timestamp(System.currentTimeMillis())); + setIsInvoiced (false); + setIsTimeReport (false); + setLine (10); + setProcessed(false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MToolBarButton.java b/org.adempiere.base/src/org/compiere/model/MToolBarButton.java index 5045d4e155..b5838e4df2 100644 --- a/org.adempiere.base/src/org/compiere/model/MToolBarButton.java +++ b/org.adempiere.base/src/org/compiere/model/MToolBarButton.java @@ -29,13 +29,22 @@ public class MToolBarButton extends X_AD_ToolBarButton { */ private static final long serialVersionUID = -7909388573996489685L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_ToolBarButton_UU UUID key + * @param trxName Transaction + */ + public MToolBarButton(Properties ctx, String AD_ToolBarButton_UU, String trxName) { + super(ctx, AD_ToolBarButton_UU, trxName); + } + /** * @param ctx * @param AD_ToolBarButton_ID * @param trxName */ - public MToolBarButton(Properties ctx, int AD_ToolBarButton_ID, - String trxName) { + public MToolBarButton(Properties ctx, int AD_ToolBarButton_ID, String trxName) { super(ctx, AD_ToolBarButton_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MToolBarButtonRestrict.java b/org.adempiere.base/src/org/compiere/model/MToolBarButtonRestrict.java index b43581a28c..4f42d63e33 100644 --- a/org.adempiere.base/src/org/compiere/model/MToolBarButtonRestrict.java +++ b/org.adempiere.base/src/org/compiere/model/MToolBarButtonRestrict.java @@ -83,6 +83,16 @@ public class MToolBarButtonRestrict extends X_AD_ToolBarButtonRestrict private static CLogger s_log = CLogger.getCLogger(MToolBarButtonRestrict.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_ToolBarButtonRestrict_UU UUID key + * @param trxName Transaction + */ + public MToolBarButtonRestrict(Properties ctx, String AD_ToolBarButtonRestrict_UU, String trxName) { + super(ctx, AD_ToolBarButtonRestrict_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTransaction.java b/org.adempiere.base/src/org/compiere/model/MTransaction.java index 941d7a0b70..0ac2eb372f 100644 --- a/org.adempiere.base/src/org/compiere/model/MTransaction.java +++ b/org.adempiere.base/src/org/compiere/model/MTransaction.java @@ -22,6 +22,7 @@ import java.sql.Timestamp; import java.util.Properties; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Material Transaction Model @@ -37,6 +38,18 @@ public class MTransaction extends X_M_Transaction private static final long serialVersionUID = 3411351000865493212L; + /** + * UUID based Constructor + * @param ctx Context + * @param M_Transaction_UU UUID key + * @param trxName Transaction + */ + public MTransaction(Properties ctx, String M_Transaction_UU, String trxName) { + super(ctx, M_Transaction_UU, trxName); + if (Util.isEmpty(M_Transaction_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -51,10 +64,15 @@ public class MTransaction extends X_M_Transaction public MTransaction(Properties ctx, int M_Transaction_ID, String trxName, String... virtualColumns) { super(ctx, M_Transaction_ID, trxName, virtualColumns); if (M_Transaction_ID == 0) - { - setMovementDate (new Timestamp(System.currentTimeMillis())); - setMovementQty (Env.ZERO); - } + setInitialDefaults(); + } + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setMovementDate (new Timestamp(System.currentTimeMillis())); + setMovementQty (Env.ZERO); } /** diff --git a/org.adempiere.base/src/org/compiere/model/MTreeFavorite.java b/org.adempiere.base/src/org/compiere/model/MTreeFavorite.java index 5ca79beac9..c336037329 100644 --- a/org.adempiere.base/src/org/compiere/model/MTreeFavorite.java +++ b/org.adempiere.base/src/org/compiere/model/MTreeFavorite.java @@ -20,6 +20,7 @@ import org.adempiere.exceptions.AdempiereException; import org.compiere.util.CCache; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; /** * Favorite Tree Model @@ -47,6 +48,18 @@ public class MTreeFavorite extends X_AD_Tree_Favorite private ArrayList m_buffer = new ArrayList(); private MTreeNode root = null; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Tree_Favorite_UU UUID key + * @param trxName Transaction + */ + public MTreeFavorite(Properties ctx, String AD_Tree_Favorite_UU, String trxName) { + super(ctx, AD_Tree_Favorite_UU, trxName); + if (! Util.isEmpty(AD_Tree_Favorite_UU)) + loadNode(); + } + /** * Construct Tree Favorite Model * @@ -59,9 +72,7 @@ public class MTreeFavorite extends X_AD_Tree_Favorite super(ctx, AD_Tree_Favorite_ID, trxName); if (AD_Tree_Favorite_ID > 0) - { loadNode(); - } } public MTreeFavorite(Properties ctx, ResultSet rs, String trxName) diff --git a/org.adempiere.base/src/org/compiere/model/MTreeFavoriteNode.java b/org.adempiere.base/src/org/compiere/model/MTreeFavoriteNode.java index 3414b4e24e..078611c5c4 100644 --- a/org.adempiere.base/src/org/compiere/model/MTreeFavoriteNode.java +++ b/org.adempiere.base/src/org/compiere/model/MTreeFavoriteNode.java @@ -33,6 +33,16 @@ public class MTreeFavoriteNode extends X_AD_Tree_Favorite_Node public static final String SQL_CHECK_MENU_EXISTS = "SELECT CASE WHEN COUNT(AD_Menu_ID) > 0 THEN 'Y' ELSE 'N' END FROM AD_Tree_Favorite_Node WHERE AD_Tree_Favorite_ID=? AND NVL(Parent_ID, 0)=? AND AD_Menu_ID=?"; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Tree_Favorite_Node_UU UUID key + * @param trxName Transaction + */ + public MTreeFavoriteNode(Properties ctx, String AD_Tree_Favorite_Node_UU, String trxName) { + super(ctx, AD_Tree_Favorite_Node_UU, trxName); + } + /** * @param ctx * @param AD_Tree_Favorite_Node_ID diff --git a/org.adempiere.base/src/org/compiere/model/MTree_Base.java b/org.adempiere.base/src/org/compiere/model/MTree_Base.java index 1254cf9080..7eacc5b41b 100644 --- a/org.adempiere.base/src/org/compiere/model/MTree_Base.java +++ b/org.adempiere.base/src/org/compiere/model/MTree_Base.java @@ -21,6 +21,7 @@ import java.util.Properties; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -243,6 +244,18 @@ public class MTree_Base extends X_AD_Tree implements ImmutablePOSupport private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 10); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Tree_UU UUID key + * @param trxName Transaction + */ + public MTree_Base(Properties ctx, String AD_Tree_UU, String trxName) { + super(ctx, AD_Tree_UU, trxName); + if (Util.isEmpty(AD_Tree_UU)) + setInitialDefaults(); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -253,12 +266,17 @@ public class MTree_Base extends X_AD_Tree implements ImmutablePOSupport { super(ctx, AD_Tree_ID, trxName); if (AD_Tree_ID == 0) - { - setIsAllNodes (true); // complete tree - setIsDefault(false); - } + setInitialDefaults(); } // MTree_Base + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsAllNodes (true); // complete tree + setIsDefault(false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTree_Node.java b/org.adempiere.base/src/org/compiere/model/MTree_Node.java index abd8070904..31cadd5b1f 100644 --- a/org.adempiere.base/src/org/compiere/model/MTree_Node.java +++ b/org.adempiere.base/src/org/compiere/model/MTree_Node.java @@ -74,6 +74,16 @@ public class MTree_Node extends X_AD_TreeNode /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MTree_Node.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_TreeNode_UU UUID key + * @param trxName Transaction + */ + public MTree_Node(Properties ctx, String AD_TreeNode_UU, String trxName) { + super(ctx, AD_TreeNode_UU, trxName); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTree_NodeBP.java b/org.adempiere.base/src/org/compiere/model/MTree_NodeBP.java index dcc50dce1f..ce05adce33 100644 --- a/org.adempiere.base/src/org/compiere/model/MTree_NodeBP.java +++ b/org.adempiere.base/src/org/compiere/model/MTree_NodeBP.java @@ -74,6 +74,16 @@ public class MTree_NodeBP extends X_AD_TreeNodeBP /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MTree_NodeBP.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_TreeNodeBP_UU UUID key + * @param trxName Transaction + */ + public MTree_NodeBP(Properties ctx, String AD_TreeNodeBP_UU, String trxName) { + super(ctx, AD_TreeNodeBP_UU, trxName); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTree_NodeCMC.java b/org.adempiere.base/src/org/compiere/model/MTree_NodeCMC.java index 25b17f5316..803c611b68 100644 --- a/org.adempiere.base/src/org/compiere/model/MTree_NodeCMC.java +++ b/org.adempiere.base/src/org/compiere/model/MTree_NodeCMC.java @@ -115,6 +115,16 @@ public class MTree_NodeCMC extends X_AD_TreeNodeCMC /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MTree_NodeCMC.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_TreeNodeCMC_UU UUID key + * @param trxName Transaction + */ + public MTree_NodeCMC(Properties ctx, String AD_TreeNodeCMC_UU, String trxName) { + super(ctx, AD_TreeNodeCMC_UU, trxName); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTree_NodeCMS.java b/org.adempiere.base/src/org/compiere/model/MTree_NodeCMS.java index 3755569434..43820a63b2 100644 --- a/org.adempiere.base/src/org/compiere/model/MTree_NodeCMS.java +++ b/org.adempiere.base/src/org/compiere/model/MTree_NodeCMS.java @@ -114,6 +114,16 @@ public class MTree_NodeCMS extends X_AD_TreeNodeCMS /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MTree_NodeCMS.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_TreeNodeCMS_UU UUID key + * @param trxName Transaction + */ + public MTree_NodeCMS(Properties ctx, String AD_TreeNodeCMS_UU, String trxName) { + super(ctx, AD_TreeNodeCMS_UU, trxName); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTree_NodeMM.java b/org.adempiere.base/src/org/compiere/model/MTree_NodeMM.java index 202c73a9fd..49b41f9ea7 100644 --- a/org.adempiere.base/src/org/compiere/model/MTree_NodeMM.java +++ b/org.adempiere.base/src/org/compiere/model/MTree_NodeMM.java @@ -74,6 +74,16 @@ public class MTree_NodeMM extends X_AD_TreeNodeMM /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MTree_NodeMM.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_TreeNodeMM_UU UUID key + * @param trxName Transaction + */ + public MTree_NodeMM(Properties ctx, String AD_TreeNodeMM_UU, String trxName) { + super(ctx, AD_TreeNodeMM_UU, trxName); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MTree_NodePR.java b/org.adempiere.base/src/org/compiere/model/MTree_NodePR.java index e7ea9d93ca..5ca9f926a9 100644 --- a/org.adempiere.base/src/org/compiere/model/MTree_NodePR.java +++ b/org.adempiere.base/src/org/compiere/model/MTree_NodePR.java @@ -74,6 +74,16 @@ public class MTree_NodePR extends X_AD_TreeNodePR /** Static Logger */ private static CLogger s_log = CLogger.getCLogger (MTree_NodePR.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_TreeNodePR_UU UUID key + * @param trxName Transaction + */ + public MTree_NodePR(Properties ctx, String AD_TreeNodePR_UU, String trxName) { + super(ctx, AD_TreeNodePR_UU, trxName); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MUOM.java b/org.adempiere.base/src/org/compiere/model/MUOM.java index 26a4629758..41862b8898 100644 --- a/org.adempiere.base/src/org/compiere/model/MUOM.java +++ b/org.adempiere.base/src/org/compiere/model/MUOM.java @@ -25,6 +25,7 @@ import java.util.Properties; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -177,6 +178,18 @@ public class MUOM extends X_C_UOM implements ImmutablePOSupport } // loadUOMs + /** + * UUID based Constructor + * @param ctx Context + * @param C_UOM_UU UUID key + * @param trxName Transaction + */ + public MUOM(Properties ctx, String C_UOM_UU, String trxName) { + super(ctx, C_UOM_UU, trxName); + if (Util.isEmpty(C_UOM_UU)) + setInitialDefaults(); + } + /************************************************************************** * Constructor. * @param ctx context @@ -187,14 +200,19 @@ public class MUOM extends X_C_UOM implements ImmutablePOSupport { super (ctx, C_UOM_ID, trxName); if (C_UOM_ID == 0) - { + setInitialDefaults(); + } // UOM + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { // setName (null); // setX12DE355 (null); - setIsDefault (false); - setStdPrecision (2); - setCostingPrecision (6); - } - } // UOM + setIsDefault (false); + setStdPrecision (2); + setCostingPrecision (6); + } /** * Load Constructor. diff --git a/org.adempiere.base/src/org/compiere/model/MUOMConversion.java b/org.adempiere.base/src/org/compiere/model/MUOMConversion.java index 2e8fec24ba..9c76dd6234 100644 --- a/org.adempiere.base/src/org/compiere/model/MUOMConversion.java +++ b/org.adempiere.base/src/org/compiere/model/MUOMConversion.java @@ -711,6 +711,16 @@ public class MUOMConversion extends X_C_UOM_Conversion implements ImmutablePOSup = new CCache(Table_Name, Table_Name+"_Of_Product", 20); + /** + * UUID based Constructor + * @param ctx Context + * @param C_UOM_Conversion_UU UUID key + * @param trxName Transaction + */ + public MUOMConversion(Properties ctx, String C_UOM_Conversion_UU, String trxName) { + super(ctx, C_UOM_Conversion_UU, trxName); + } + /************************************************************************** * Default Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MUser.java b/org.adempiere.base/src/org/compiere/model/MUser.java index 2fc0a18318..14a40ba81c 100644 --- a/org.adempiere.base/src/org/compiere/model/MUser.java +++ b/org.adempiere.base/src/org/compiere/model/MUser.java @@ -305,6 +305,18 @@ public class MUser extends X_AD_User implements ImmutablePOSupport private static CLogger s_log = CLogger.getCLogger (MUser.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_User_UU UUID key + * @param trxName Transaction + */ + public MUser(Properties ctx, String AD_User_UU, String trxName) { + super(ctx, AD_User_UU, trxName); + if (Util.isEmpty(AD_User_UU)) + setInitialDefaults(); + } + /************************************************************************** * Default Constructor * @param ctx context @@ -315,12 +327,17 @@ public class MUser extends X_AD_User implements ImmutablePOSupport { super (ctx, AD_User_ID, trxName); // 0 is also System if (AD_User_ID == 0) - { - setIsFullBPAccess (true); - setNotificationType(NOTIFICATIONTYPE_None); - } + setInitialDefaults(); } // MUser + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsFullBPAccess (true); + setNotificationType(NOTIFICATIONTYPE_None); + } + /** * Parent Constructor * @param partner partner diff --git a/org.adempiere.base/src/org/compiere/model/MUserBPAccess.java b/org.adempiere.base/src/org/compiere/model/MUserBPAccess.java index 275de42c7b..be73633336 100644 --- a/org.adempiere.base/src/org/compiere/model/MUserBPAccess.java +++ b/org.adempiere.base/src/org/compiere/model/MUserBPAccess.java @@ -41,6 +41,16 @@ public class MUserBPAccess extends X_AD_UserBPAccess implements ImmutablePOSuppo */ private static final long serialVersionUID = 4549943360035715233L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_UserBPAccess_UU UUID key + * @param trxName Transaction + */ + public MUserBPAccess(Properties ctx, String AD_UserBPAccess_UU, String trxName) { + super(ctx, AD_UserBPAccess_UU, trxName); + } + /** * @param ctx * @param AD_UserBPAccess_ID diff --git a/org.adempiere.base/src/org/compiere/model/MUserDefField.java b/org.adempiere.base/src/org/compiere/model/MUserDefField.java index f64a866c68..0ab4059d0f 100644 --- a/org.adempiere.base/src/org/compiere/model/MUserDefField.java +++ b/org.adempiere.base/src/org/compiere/model/MUserDefField.java @@ -45,6 +45,16 @@ public class MUserDefField extends X_AD_UserDef_Field implements ImmutablePOSupp /** Cache of selected MUserDefField entries **/ private static ImmutablePOCache s_cache = new ImmutablePOCache(Table_Name, 10); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_UserDef_Field_UU UUID key + * @param trxName Transaction + */ + public MUserDefField(Properties ctx, String AD_UserDef_Field_UU, String trxName) { + super(ctx, AD_UserDef_Field_UU, trxName); + } + /** * Standard constructor. * You must implement this constructor for Adempiere Persistency diff --git a/org.adempiere.base/src/org/compiere/model/MUserDefInfo.java b/org.adempiere.base/src/org/compiere/model/MUserDefInfo.java index a9ff3bac6f..e035949f73 100644 --- a/org.adempiere.base/src/org/compiere/model/MUserDefInfo.java +++ b/org.adempiere.base/src/org/compiere/model/MUserDefInfo.java @@ -49,6 +49,16 @@ public class MUserDefInfo extends X_AD_UserDef_Info { private static final Map> m_fullMap = new HashMap>(); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_UserDef_Info_UU UUID key + * @param trxName Transaction + */ + public MUserDefInfo(Properties ctx, String AD_UserDef_Info_UU, String trxName) { + super(ctx, AD_UserDef_Info_UU, trxName); + } + /** * Standard constructor. * You must implement this constructor for Adempiere Persistency diff --git a/org.adempiere.base/src/org/compiere/model/MUserDefInfoColumn.java b/org.adempiere.base/src/org/compiere/model/MUserDefInfoColumn.java index e6493f6b6b..825bab7dd8 100644 --- a/org.adempiere.base/src/org/compiere/model/MUserDefInfoColumn.java +++ b/org.adempiere.base/src/org/compiere/model/MUserDefInfoColumn.java @@ -45,6 +45,16 @@ public class MUserDefInfoColumn extends X_AD_UserDef_Info_Column { */ private static final long serialVersionUID = -4381444937794716616L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_UserDef_Info_Column_UU UUID key + * @param trxName Transaction + */ + public MUserDefInfoColumn(Properties ctx, String AD_UserDef_Info_Column_UU, String trxName) { + super(ctx, AD_UserDef_Info_Column_UU, trxName); + } + /** * Standard constructor. * You must implement this constructor for Adempiere Persistency diff --git a/org.adempiere.base/src/org/compiere/model/MUserDefInfoRelated.java b/org.adempiere.base/src/org/compiere/model/MUserDefInfoRelated.java index 18b3ab54b5..12a989e8a6 100644 --- a/org.adempiere.base/src/org/compiere/model/MUserDefInfoRelated.java +++ b/org.adempiere.base/src/org/compiere/model/MUserDefInfoRelated.java @@ -45,6 +45,16 @@ public class MUserDefInfoRelated extends X_AD_UserDef_Info_Related { */ private static final long serialVersionUID = -2317004482077725245L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_UserDef_Info_Related_UU UUID key + * @param trxName Transaction + */ + public MUserDefInfoRelated(Properties ctx, String AD_UserDef_Info_Related_UU, String trxName) { + super(ctx, AD_UserDef_Info_Related_UU, trxName); + } + public MUserDefInfoRelated(Properties ctx, int AD_UserDef_Info_Related_ID, String trxName) { super(ctx, AD_UserDef_Info_Related_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MUserDefProc.java b/org.adempiere.base/src/org/compiere/model/MUserDefProc.java index 984109db5b..1d2374008c 100644 --- a/org.adempiere.base/src/org/compiere/model/MUserDefProc.java +++ b/org.adempiere.base/src/org/compiere/model/MUserDefProc.java @@ -37,6 +37,16 @@ public class MUserDefProc extends X_AD_UserDef_Proc implements ImmutablePOSuppor private static final long serialVersionUID = 1599140293008534080L; private static final Map> m_fullMap = new HashMap>(); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_UserDef_Proc_UU UUID key + * @param trxName Transaction + */ + public MUserDefProc(Properties ctx, String AD_UserDef_Proc_UU, String trxName) { + super(ctx, AD_UserDef_Proc_UU, trxName); + } + /** * @param ctx * @param AD_UserDef_Proc_ID @@ -44,7 +54,6 @@ public class MUserDefProc extends X_AD_UserDef_Proc implements ImmutablePOSuppor */ public MUserDefProc(Properties ctx, int AD_UserDef_Proc_ID, String trxName) { super(ctx, AD_UserDef_Proc_ID, trxName); - // TODO Auto-generated constructor stub } /** diff --git a/org.adempiere.base/src/org/compiere/model/MUserDefProcParameter.java b/org.adempiere.base/src/org/compiere/model/MUserDefProcParameter.java index bb75b6dcaf..fcb629f65d 100644 --- a/org.adempiere.base/src/org/compiere/model/MUserDefProcParameter.java +++ b/org.adempiere.base/src/org/compiere/model/MUserDefProcParameter.java @@ -34,6 +34,16 @@ public class MUserDefProcParameter extends X_AD_UserDef_Proc_Parameter { */ private static final long serialVersionUID = -203142278687451678L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_UserDef_Proc_Parameter_UU UUID key + * @param trxName Transaction + */ + public MUserDefProcParameter(Properties ctx, String AD_UserDef_Proc_Parameter_UU, String trxName) { + super(ctx, AD_UserDef_Proc_Parameter_UU, trxName); + } + /** * @param ctx * @param AD_UserDef_Proc_Parameter_ID @@ -41,7 +51,6 @@ public class MUserDefProcParameter extends X_AD_UserDef_Proc_Parameter { */ public MUserDefProcParameter(Properties ctx, int AD_UserDef_Proc_Parameter_ID, String trxName) { super(ctx, AD_UserDef_Proc_Parameter_ID, trxName); - // TODO Auto-generated constructor stub } /** diff --git a/org.adempiere.base/src/org/compiere/model/MUserDefTab.java b/org.adempiere.base/src/org/compiere/model/MUserDefTab.java index 257ca4fb1d..4a37452bc3 100644 --- a/org.adempiere.base/src/org/compiere/model/MUserDefTab.java +++ b/org.adempiere.base/src/org/compiere/model/MUserDefTab.java @@ -43,6 +43,16 @@ public class MUserDefTab extends X_AD_UserDef_Tab implements ImmutablePOSupport /** Cache of selected MUserDefTab entries **/ private static ImmutablePOCache s_cache = new ImmutablePOCache(Table_Name, 10); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_UserDef_Tab_UU UUID key + * @param trxName Transaction + */ + public MUserDefTab(Properties ctx, String AD_UserDef_Tab_UU, String trxName) { + super(ctx, AD_UserDef_Tab_UU, trxName); + } + /** * Standard constructor. * You must implement this constructor for Adempiere Persistency diff --git a/org.adempiere.base/src/org/compiere/model/MUserDefWin.java b/org.adempiere.base/src/org/compiere/model/MUserDefWin.java index 644f7b9564..6a1b734929 100644 --- a/org.adempiere.base/src/org/compiere/model/MUserDefWin.java +++ b/org.adempiere.base/src/org/compiere/model/MUserDefWin.java @@ -39,6 +39,16 @@ public class MUserDefWin extends X_AD_UserDef_Win implements ImmutablePOSupport private static final long serialVersionUID = -7542708120229671875L; private static final Map> m_fullMap = new HashMap>(); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_UserDef_Win_UU UUID key + * @param trxName Transaction + */ + public MUserDefWin(Properties ctx, String AD_UserDef_Win_UU, String trxName) { + super(ctx, AD_UserDef_Win_UU, trxName); + } + /** * Standard constructor. * You must implement this constructor for Adempiere Persistency diff --git a/org.adempiere.base/src/org/compiere/model/MUserMail.java b/org.adempiere.base/src/org/compiere/model/MUserMail.java index 80a3b8eeac..b26dd72418 100644 --- a/org.adempiere.base/src/org/compiere/model/MUserMail.java +++ b/org.adempiere.base/src/org/compiere/model/MUserMail.java @@ -36,6 +36,16 @@ public class MUserMail extends X_AD_UserMail */ private static final long serialVersionUID = 925597416692485382L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_UserMail_UU UUID key + * @param trxName Transaction + */ + public MUserMail(Properties ctx, String AD_UserMail_UU, String trxName) { + super(ctx, AD_UserMail_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MUserOrgAccess.java b/org.adempiere.base/src/org/compiere/model/MUserOrgAccess.java index 9500093c07..5d2c36a293 100644 --- a/org.adempiere.base/src/org/compiere/model/MUserOrgAccess.java +++ b/org.adempiere.base/src/org/compiere/model/MUserOrgAccess.java @@ -25,6 +25,7 @@ import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Msg; +import org.compiere.util.Util; /** @@ -102,6 +103,18 @@ public class MUserOrgAccess extends X_AD_User_OrgAccess super(ctx, rs, trxName); } // MUserOrgAccess + /** + * UUID based Constructor + * @param ctx Context + * @param AD_User_OrgAccess_UU UUID key + * @param trxName Transaction + */ + public MUserOrgAccess(Properties ctx, String AD_User_OrgAccess_UU, String trxName) { + super(ctx, AD_User_OrgAccess_UU, trxName); + if (Util.isEmpty(AD_User_OrgAccess_UU)) + setInitialDefaults(); + } + /** * Persistency Constructor * @param ctx context @@ -113,9 +126,16 @@ public class MUserOrgAccess extends X_AD_User_OrgAccess super(ctx, 0, trxName); if (ignored != 0) throw new IllegalArgumentException("Multi-Key"); - setIsReadOnly(false); + setInitialDefaults(); } // MUserOrgAccess + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsReadOnly(false); + } + /** * Organization Constructor * @param org org diff --git a/org.adempiere.base/src/org/compiere/model/MUserPreference.java b/org.adempiere.base/src/org/compiere/model/MUserPreference.java index b20d817969..9e35aa4aed 100644 --- a/org.adempiere.base/src/org/compiere/model/MUserPreference.java +++ b/org.adempiere.base/src/org/compiere/model/MUserPreference.java @@ -30,14 +30,23 @@ import java.util.Properties; import org.compiere.util.Env; -public class MUserPreference extends X_AD_UserPreference{ +public class MUserPreference extends X_AD_UserPreference { /** * */ private static final long serialVersionUID = -5816348717625872665L; - public MUserPreference(Properties ctx, int AD_UserPreference_ID, - String trxName) { + /** + * UUID based Constructor + * @param ctx Context + * @param AD_UserPreference_UU UUID key + * @param trxName Transaction + */ + public MUserPreference(Properties ctx, String AD_UserPreference_UU, String trxName) { + super(ctx, AD_UserPreference_UU, trxName); + } + + public MUserPreference(Properties ctx, int AD_UserPreference_ID, String trxName) { super(ctx, AD_UserPreference_ID, trxName); } //MUserPreference diff --git a/org.adempiere.base/src/org/compiere/model/MUserQuery.java b/org.adempiere.base/src/org/compiere/model/MUserQuery.java index 4ce6bea992..9873114a04 100644 --- a/org.adempiere.base/src/org/compiere/model/MUserQuery.java +++ b/org.adempiere.base/src/org/compiere/model/MUserQuery.java @@ -284,6 +284,16 @@ public class MUserQuery extends X_AD_UserQuery /** Logger */ private static CLogger s_log = CLogger.getCLogger (MUserQuery.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_UserQuery_UU UUID key + * @param trxName Transaction + */ + public MUserQuery(Properties ctx, String AD_UserQuery_UU, String trxName) { + super(ctx, AD_UserQuery_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MUserRoles.java b/org.adempiere.base/src/org/compiere/model/MUserRoles.java index 49d4d9d80b..b760c87f31 100644 --- a/org.adempiere.base/src/org/compiere/model/MUserRoles.java +++ b/org.adempiere.base/src/org/compiere/model/MUserRoles.java @@ -76,6 +76,16 @@ public class MUserRoles extends X_AD_User_Roles private static CLogger s_log = CLogger.getCLogger (MUserRoles.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_User_Roles_UU UUID key + * @param trxName Transaction + */ + public MUserRoles(Properties ctx, String AD_User_Roles_UU, String trxName) { + super(ctx, AD_User_Roles_UU, trxName); + } + /************************************************************************** * Persistence Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MValRule.java b/org.adempiere.base/src/org/compiere/model/MValRule.java index 4abfafa859..92d066186b 100644 --- a/org.adempiere.base/src/org/compiere/model/MValRule.java +++ b/org.adempiere.base/src/org/compiere/model/MValRule.java @@ -109,6 +109,16 @@ public class MValRule extends X_AD_Val_Rule implements ImmutablePOSupport @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger (MValRule.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Val_Rule_UU UUID key + * @param trxName Transaction + */ + public MValRule(Properties ctx, String AD_Val_Rule_UU, String trxName) { + super(ctx, AD_Val_Rule_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MVerifyMigration.java b/org.adempiere.base/src/org/compiere/model/MVerifyMigration.java index ce9161e9e9..caf2a4ec9b 100644 --- a/org.adempiere.base/src/org/compiere/model/MVerifyMigration.java +++ b/org.adempiere.base/src/org/compiere/model/MVerifyMigration.java @@ -41,6 +41,16 @@ public class MVerifyMigration extends X_AD_VerifyMigration { */ private static final long serialVersionUID = 3950930035070040881L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_VerifyMigration_UU UUID key + * @param trxName Transaction + */ + public MVerifyMigration(Properties ctx, String AD_VerifyMigration_UU, String trxName) { + super(ctx, AD_VerifyMigration_UU, trxName); + } + /** * Read/Create empty Verify Migration * diff --git a/org.adempiere.base/src/org/compiere/model/MViewColumn.java b/org.adempiere.base/src/org/compiere/model/MViewColumn.java index c534dedfa3..70b41818bf 100644 --- a/org.adempiere.base/src/org/compiere/model/MViewColumn.java +++ b/org.adempiere.base/src/org/compiere/model/MViewColumn.java @@ -32,6 +32,16 @@ public class MViewColumn extends X_AD_ViewColumn implements ImmutablePOSupport { */ private static final long serialVersionUID = 4049071242637196213L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_ViewColumn_UU UUID key + * @param trxName Transaction + */ + public MViewColumn(Properties ctx, String AD_ViewColumn_UU, String trxName) { + super(ctx, AD_ViewColumn_UU, trxName); + } + /** * Standard constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MViewComponent.java b/org.adempiere.base/src/org/compiere/model/MViewComponent.java index 25a01b58d5..93ddbd1410 100644 --- a/org.adempiere.base/src/org/compiere/model/MViewComponent.java +++ b/org.adempiere.base/src/org/compiere/model/MViewComponent.java @@ -33,6 +33,16 @@ public class MViewComponent extends X_AD_ViewComponent implements ImmutablePOSup */ private static final long serialVersionUID = 1580063310233871896L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_ViewComponent_UU UUID key + * @param trxName Transaction + */ + public MViewComponent(Properties ctx, String AD_ViewComponent_UU, String trxName) { + super(ctx, AD_ViewComponent_UU, trxName); + } + /** * Standard constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MWFActivityApprover.java b/org.adempiere.base/src/org/compiere/model/MWFActivityApprover.java index 233ce8e764..7063756b2b 100644 --- a/org.adempiere.base/src/org/compiere/model/MWFActivityApprover.java +++ b/org.adempiere.base/src/org/compiere/model/MWFActivityApprover.java @@ -8,6 +8,16 @@ public class MWFActivityApprover extends X_AD_WF_ActivityApprover { private static final long serialVersionUID = -7135169624317070006L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_WF_ActivityApprover_UU UUID key + * @param trxName Transaction + */ + public MWFActivityApprover(Properties ctx, String AD_WF_ActivityApprover_UU, String trxName) { + super(ctx, AD_WF_ActivityApprover_UU, trxName); + } + public MWFActivityApprover(Properties ctx, int AD_WF_ActivityApprover_ID, String trxName) { super(ctx, AD_WF_ActivityApprover_ID, trxName); } diff --git a/org.adempiere.base/src/org/compiere/model/MWarehouse.java b/org.adempiere.base/src/org/compiere/model/MWarehouse.java index 94d843ae71..aed22cf2ed 100644 --- a/org.adempiere.base/src/org/compiere/model/MWarehouse.java +++ b/org.adempiere.base/src/org/compiere/model/MWarehouse.java @@ -25,6 +25,7 @@ import java.util.logging.Level; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -126,6 +127,18 @@ public class MWarehouse extends X_M_Warehouse implements ImmutablePOSupport /** Cache */ protected static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 50 ); + /** + * UUID based Constructor + * @param ctx Context + * @param M_Warehouse_UU UUID key + * @param trxName Transaction + */ + public MWarehouse(Properties ctx, String M_Warehouse_UU, String trxName) { + super(ctx, M_Warehouse_UU, trxName); + if (Util.isEmpty(M_Warehouse_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -136,11 +149,16 @@ public class MWarehouse extends X_M_Warehouse implements ImmutablePOSupport { super(ctx, M_Warehouse_ID, trxName); if (M_Warehouse_ID == 0) - { - setSeparator ("*"); // * - } + setInitialDefaults(); } // MWarehouse + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setSeparator ("*"); // * + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MWarehousePrice.java b/org.adempiere.base/src/org/compiere/model/MWarehousePrice.java index 068f7e9b2a..69d32c7c7b 100644 --- a/org.adempiere.base/src/org/compiere/model/MWarehousePrice.java +++ b/org.adempiere.base/src/org/compiere/model/MWarehousePrice.java @@ -213,6 +213,16 @@ public class MWarehousePrice extends X_RV_WarehousePrice private static CLogger s_log = CLogger.getCLogger(MWarehousePrice.class); + /** + * UUID based Constructor + * @param ctx Context + * @param RV_WarehousePrice_UU UUID key + * @param trxName Transaction + */ + public MWarehousePrice(Properties ctx, String RV_WarehousePrice_UU, String trxName) { + super(ctx, RV_WarehousePrice_UU, trxName); + } + /************************************************************************* * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MWebMenu.java b/org.adempiere.base/src/org/compiere/model/MWebMenu.java index fa358b79b6..4293bb9ed9 100644 --- a/org.adempiere.base/src/org/compiere/model/MWebMenu.java +++ b/org.adempiere.base/src/org/compiere/model/MWebMenu.java @@ -30,6 +30,16 @@ public class MWebMenu extends X_U_WebMenu */ private static final long serialVersionUID = -7370745711964160621L; + /** + * UUID based Constructor + * @param ctx Context + * @param U_WebMenu_UU UUID key + * @param trxName Transaction + */ + public MWebMenu(Properties ctx, String U_WebMenu_UU, String trxName) { + super(ctx, U_WebMenu_UU, trxName); + } + public MWebMenu(Properties ctx, int U_WebMenu_ID, String trxName) { super(ctx, U_WebMenu_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MWebProperties.java b/org.adempiere.base/src/org/compiere/model/MWebProperties.java index fd1d14ab71..7a9a74f8fc 100644 --- a/org.adempiere.base/src/org/compiere/model/MWebProperties.java +++ b/org.adempiere.base/src/org/compiere/model/MWebProperties.java @@ -34,6 +34,16 @@ public class MWebProperties extends X_U_Web_Properties */ private static final long serialVersionUID = -4051314529871227830L; + /** + * UUID based Constructor + * @param ctx Context + * @param U_Web_Properties_UU UUID key + * @param trxName Transaction + */ + public MWebProperties(Properties ctx, String U_Web_Properties_UU, String trxName) { + super(ctx, U_Web_Properties_UU, trxName); + } + public MWebProperties(Properties ctx, int uWebProperties , String trxName) { super(ctx,uWebProperties,trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MWindow.java b/org.adempiere.base/src/org/compiere/model/MWindow.java index 7600095ada..47658d7631 100644 --- a/org.adempiere.base/src/org/compiere/model/MWindow.java +++ b/org.adempiere.base/src/org/compiere/model/MWindow.java @@ -111,6 +111,18 @@ public class MWindow extends X_AD_Window implements ImmutablePOSupport return retValue; } + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Window_UU UUID key + * @param trxName Transaction + */ + public MWindow(Properties ctx, String AD_Window_UU, String trxName) { + super(ctx, AD_Window_UU, trxName); + if (Util.isEmpty(AD_Window_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -121,16 +133,22 @@ public class MWindow extends X_AD_Window implements ImmutablePOSupport { super (ctx, AD_Window_ID, trxName); if (AD_Window_ID == 0) - { - setWindowType (WINDOWTYPE_Maintain); // M - setEntityType (ENTITYTYPE_UserMaintained); // U - setIsBetaFunctionality (false); - setIsDefault (false); - setIsSOTrx (true); // Y - } } // M_Window + setInitialDefaults(); + } // M_Window /** - * Koad Constructor + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setWindowType (WINDOWTYPE_Maintain); // M + setEntityType (ENTITYTYPE_UserMaintained); // U + setIsBetaFunctionality (false); + setIsDefault (false); + setIsSOTrx (true); // Y + } + + /** + * Load Constructor * @param ctx context * @param rs result set * @param trxName transaction diff --git a/org.adempiere.base/src/org/compiere/model/MWindowAccess.java b/org.adempiere.base/src/org/compiere/model/MWindowAccess.java index 9ed32607cb..4dc19eaf81 100644 --- a/org.adempiere.base/src/org/compiere/model/MWindowAccess.java +++ b/org.adempiere.base/src/org/compiere/model/MWindowAccess.java @@ -19,6 +19,8 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; +import org.compiere.util.Util; + /** * @@ -34,6 +36,18 @@ public class MWindowAccess extends X_AD_Window_Access */ private static final long serialVersionUID = -1236781018671637481L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Window_Access_UU UUID key + * @param trxName Transaction + */ + public MWindowAccess(Properties ctx, String AD_Window_Access_UU, String trxName) { + super(ctx, AD_Window_Access_UU, trxName); + if (Util.isEmpty(AD_Window_Access_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -46,11 +60,16 @@ public class MWindowAccess extends X_AD_Window_Access if (ignored != 0) throw new IllegalArgumentException("Multi-Key"); else - { - setIsReadWrite (true); - } + setInitialDefaults(); } // MWindowAccess + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsReadWrite (true); + } + /** * MWindowAccess * @param ctx diff --git a/org.adempiere.base/src/org/compiere/model/MWithholding.java b/org.adempiere.base/src/org/compiere/model/MWithholding.java index 825a6869ca..8dec58631a 100644 --- a/org.adempiere.base/src/org/compiere/model/MWithholding.java +++ b/org.adempiere.base/src/org/compiere/model/MWithholding.java @@ -33,6 +33,16 @@ public class MWithholding extends X_C_Withholding */ private static final long serialVersionUID = 6368597644089198711L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_Withholding_UU UUID key + * @param trxName Transaction + */ + public MWithholding(Properties ctx, String C_Withholding_UU, String trxName) { + super(ctx, C_Withholding_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MXIFAJournal.java b/org.adempiere.base/src/org/compiere/model/MXIFAJournal.java index 2e51e04ad9..ec2e4e0a88 100644 --- a/org.adempiere.base/src/org/compiere/model/MXIFAJournal.java +++ b/org.adempiere.base/src/org/compiere/model/MXIFAJournal.java @@ -13,6 +13,16 @@ public class MXIFAJournal extends X_I_FAJournal * */ private static final long serialVersionUID = -1173588601522240768L; + /** + * UUID based Constructor + * @param ctx Context + * @param I_FAJournal_UU UUID key + * @param trxName Transaction + */ + public MXIFAJournal(Properties ctx, String I_FAJournal_UU, String trxName) { + super(ctx, I_FAJournal_UU, trxName); + } + public MXIFAJournal (Properties ctx, int I_FAJournal_ID, String trxName) { super (ctx, I_FAJournal_ID, trxName); diff --git a/org.adempiere.base/src/org/compiere/model/MYear.java b/org.adempiere.base/src/org/compiere/model/MYear.java index 56938b06fc..12e4db2d22 100644 --- a/org.adempiere.base/src/org/compiere/model/MYear.java +++ b/org.adempiere.base/src/org/compiere/model/MYear.java @@ -30,6 +30,7 @@ import org.adempiere.exceptions.FillMandatoryException; import org.adempiere.util.IProcessUI; import org.compiere.util.Env; import org.compiere.util.Language; +import org.compiere.util.Util; /** @@ -49,6 +50,18 @@ public class MYear extends X_C_Year */ private static final long serialVersionUID = 2110541427179611810L; + /** + * UUID based Constructor + * @param ctx Context + * @param C_Year_UU UUID key + * @param trxName Transaction + */ + public MYear(Properties ctx, String C_Year_UU, String trxName) { + super(ctx, C_Year_UU, trxName); + if (Util.isEmpty(C_Year_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -59,11 +72,16 @@ public class MYear extends X_C_Year { super (ctx, C_Year_ID, trxName); if (C_Year_ID == 0) - { - setProcessing (false); // N - } + setInitialDefaults(); } // MYear + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setProcessing (false); // N + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/MZoomCondition.java b/org.adempiere.base/src/org/compiere/model/MZoomCondition.java index 62953336cd..990a4114e4 100644 --- a/org.adempiere.base/src/org/compiere/model/MZoomCondition.java +++ b/org.adempiere.base/src/org/compiere/model/MZoomCondition.java @@ -40,6 +40,16 @@ public class MZoomCondition extends X_AD_ZoomCondition implements ImmutablePOSup */ private static final long serialVersionUID = -2472970418557589702L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_ZoomCondition_UU UUID key + * @param trxName Transaction + */ + public MZoomCondition(Properties ctx, String AD_ZoomCondition_UU, String trxName) { + super(ctx, AD_ZoomCondition_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/M_Element.java b/org.adempiere.base/src/org/compiere/model/M_Element.java index ba44a294e8..ca0f462f7a 100644 --- a/org.adempiere.base/src/org/compiere/model/M_Element.java +++ b/org.adempiere.base/src/org/compiere/model/M_Element.java @@ -133,6 +133,16 @@ public class M_Element extends X_AD_Element return getOfColumn(ctx, AD_Column_ID, null); } // get + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Element_UU UUID key + * @param trxName Transaction + */ + public M_Element(Properties ctx, String AD_Element_UU, String trxName) { + super(ctx, AD_Element_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/model/M_Registration.java b/org.adempiere.base/src/org/compiere/model/M_Registration.java index dfc6c6ef49..dafd76dccd 100644 --- a/org.adempiere.base/src/org/compiere/model/M_Registration.java +++ b/org.adempiere.base/src/org/compiere/model/M_Registration.java @@ -34,6 +34,19 @@ public class M_Registration extends X_AD_Registration private static final long serialVersionUID = 7480114737626722067L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Registration_UU UUID key + * @param trxName Transaction + */ + public M_Registration(Properties ctx, String AD_Registration_UU, String trxName) { + super(ctx, AD_Registration_UU, trxName); + setAD_Client_ID(0); + setAD_Org_ID(0); + setAD_System_ID(0); + } + /** * Default Constructor * @param ctx context @@ -49,7 +62,7 @@ public class M_Registration extends X_AD_Registration } // M_Registration /** - * Load Cosntructor + * Load Constructor * @param ctx context * @param rs result set * @param trxName transaction diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_AccessLog.java b/org.adempiere.base/src/org/compiere/model/X_AD_AccessLog.java index 7d26fa3ed3..f7bc1c10bf 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_AccessLog.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_AccessLog.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_AccessLog - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_AccessLog") -public class X_AD_AccessLog extends PO implements I_AD_AccessLog, I_Persistent +public class X_AD_AccessLog extends PO implements I_AD_AccessLog, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_AccessLog (Properties ctx, int AD_AccessLog_ID, String trxName) @@ -53,6 +53,26 @@ public class X_AD_AccessLog extends PO implements I_AD_AccessLog, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_AccessLog (Properties ctx, String AD_AccessLog_UU, String trxName) + { + super (ctx, AD_AccessLog_UU, trxName); + /** if (AD_AccessLog_UU == null) + { + setAD_AccessLog_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_AccessLog (Properties ctx, String AD_AccessLog_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_AccessLog_UU, trxName, virtualColumns); + /** if (AD_AccessLog_UU == null) + { + setAD_AccessLog_ID (0); + } */ + } + /** Load Constructor */ public X_AD_AccessLog (Properties ctx, ResultSet rs, String trxName) { @@ -60,7 +80,7 @@ public class X_AD_AccessLog extends PO implements I_AD_AccessLog, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -106,7 +126,7 @@ public class X_AD_AccessLog extends PO implements I_AD_AccessLog, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_AccessLog_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Alert.java b/org.adempiere.base/src/org/compiere/model/X_AD_Alert.java index 1381d42f75..6e97837c49 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Alert.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Alert.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Alert - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Alert") -public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent +public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Alert (Properties ctx, int AD_Alert_ID, String trxName) @@ -73,6 +73,46 @@ public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Alert (Properties ctx, String AD_Alert_UU, String trxName) + { + super (ctx, AD_Alert_UU, trxName); + /** if (AD_Alert_UU == null) + { + setAD_Alert_ID (0); + setAD_AlertProcessor_ID (0); + setAlertMessage (null); + setAlertSubject (null); + setEnforceClientSecurity (true); +// Y + setEnforceRoleSecurity (true); +// Y + setIsValid (true); +// Y + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Alert (Properties ctx, String AD_Alert_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Alert_UU, trxName, virtualColumns); + /** if (AD_Alert_UU == null) + { + setAD_Alert_ID (0); + setAD_AlertProcessor_ID (0); + setAlertMessage (null); + setAlertSubject (null); + setEnforceClientSecurity (true); +// Y + setEnforceRoleSecurity (true); +// Y + setIsValid (true); +// Y + setName (null); + } */ + } + /** Load Constructor */ public X_AD_Alert (Properties ctx, ResultSet rs, String trxName) { @@ -80,7 +120,7 @@ public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -228,10 +268,10 @@ public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent public boolean isEnforceClientSecurity() { Object oo = get_Value(COLUMNNAME_EnforceClientSecurity); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -251,10 +291,10 @@ public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent public boolean isEnforceRoleSecurity() { Object oo = get_Value(COLUMNNAME_EnforceRoleSecurity); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -290,10 +330,10 @@ public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent public boolean isValid() { Object oo = get_Value(COLUMNNAME_IsValid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -318,7 +358,7 @@ public class X_AD_Alert extends PO implements I_AD_Alert, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_AlertProcessor.java b/org.adempiere.base/src/org/compiere/model/X_AD_AlertProcessor.java index f2a1cb6342..c34faec266 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_AlertProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_AlertProcessor.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_AlertProcessor - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_AlertProcessor") -public class X_AD_AlertProcessor extends PO implements I_AD_AlertProcessor, I_Persistent +public class X_AD_AlertProcessor extends PO implements I_AD_AlertProcessor, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_AlertProcessor (Properties ctx, int AD_AlertProcessor_ID, String trxName) @@ -64,6 +64,36 @@ public class X_AD_AlertProcessor extends PO implements I_AD_AlertProcessor, I_Pe } */ } + /** Standard Constructor */ + public X_AD_AlertProcessor (Properties ctx, String AD_AlertProcessor_UU, String trxName) + { + super (ctx, AD_AlertProcessor_UU, trxName); + /** if (AD_AlertProcessor_UU == null) + { + setAD_AlertProcessor_ID (0); + setAD_Schedule_ID (0); + setKeepLogDays (0); +// 7 + setName (null); + setSupervisor_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_AlertProcessor (Properties ctx, String AD_AlertProcessor_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_AlertProcessor_UU, trxName, virtualColumns); + /** if (AD_AlertProcessor_UU == null) + { + setAD_AlertProcessor_ID (0); + setAD_Schedule_ID (0); + setKeepLogDays (0); +// 7 + setName (null); + setSupervisor_ID (0); + } */ + } + /** Load Constructor */ public X_AD_AlertProcessor (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +101,7 @@ public class X_AD_AlertProcessor extends PO implements I_AD_AlertProcessor, I_Pe } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -242,7 +272,7 @@ public class X_AD_AlertProcessor extends PO implements I_AD_AlertProcessor, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -260,10 +290,10 @@ public class X_AD_AlertProcessor extends PO implements I_AD_AlertProcessor, I_Pe public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_AlertProcessorLog.java b/org.adempiere.base/src/org/compiere/model/X_AD_AlertProcessorLog.java index 11f92f528d..7e1595527f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_AlertProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_AlertProcessorLog.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_AlertProcessorLog - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_AlertProcessorLog") -public class X_AD_AlertProcessorLog extends PO implements I_AD_AlertProcessorLog, I_Persistent +public class X_AD_AlertProcessorLog extends PO implements I_AD_AlertProcessorLog, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_AlertProcessorLog (Properties ctx, int AD_AlertProcessorLog_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_AlertProcessorLog extends PO implements I_AD_AlertProcessorLog } */ } + /** Standard Constructor */ + public X_AD_AlertProcessorLog (Properties ctx, String AD_AlertProcessorLog_UU, String trxName) + { + super (ctx, AD_AlertProcessorLog_UU, trxName); + /** if (AD_AlertProcessorLog_UU == null) + { + setAD_AlertProcessor_ID (0); + setAD_AlertProcessorLog_ID (0); + setIsError (false); + } */ + } + + /** Standard Constructor */ + public X_AD_AlertProcessorLog (Properties ctx, String AD_AlertProcessorLog_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_AlertProcessorLog_UU, trxName, virtualColumns); + /** if (AD_AlertProcessorLog_UU == null) + { + setAD_AlertProcessor_ID (0); + setAD_AlertProcessorLog_ID (0); + setIsError (false); + } */ + } + /** Load Constructor */ public X_AD_AlertProcessorLog (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_AlertProcessorLog extends PO implements I_AD_AlertProcessorLog } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -195,10 +219,10 @@ public class X_AD_AlertProcessorLog extends PO implements I_AD_AlertProcessorLog public boolean isError() { Object oo = get_Value(COLUMNNAME_IsError); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_AlertRecipient.java b/org.adempiere.base/src/org/compiere/model/X_AD_AlertRecipient.java index 4ccb5a6395..5cb4431ed4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_AlertRecipient.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_AlertRecipient.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_AlertRecipient - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_AlertRecipient") -public class X_AD_AlertRecipient extends PO implements I_AD_AlertRecipient, I_Persistent +public class X_AD_AlertRecipient extends PO implements I_AD_AlertRecipient, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_AlertRecipient (Properties ctx, int AD_AlertRecipient_ID, String trxName) @@ -55,6 +55,28 @@ public class X_AD_AlertRecipient extends PO implements I_AD_AlertRecipient, I_Pe } */ } + /** Standard Constructor */ + public X_AD_AlertRecipient (Properties ctx, String AD_AlertRecipient_UU, String trxName) + { + super (ctx, AD_AlertRecipient_UU, trxName); + /** if (AD_AlertRecipient_UU == null) + { + setAD_Alert_ID (0); + setAD_AlertRecipient_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_AlertRecipient (Properties ctx, String AD_AlertRecipient_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_AlertRecipient_UU, trxName, virtualColumns); + /** if (AD_AlertRecipient_UU == null) + { + setAD_Alert_ID (0); + setAD_AlertRecipient_ID (0); + } */ + } + /** Load Constructor */ public X_AD_AlertRecipient (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_AD_AlertRecipient extends PO implements I_AD_AlertRecipient, I_Pe } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -207,7 +229,7 @@ public class X_AD_AlertRecipient extends PO implements I_AD_AlertRecipient, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_User_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_AlertRule.java b/org.adempiere.base/src/org/compiere/model/X_AD_AlertRule.java index b18a90b46a..2b6e0a054d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_AlertRule.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_AlertRule.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_AlertRule - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_AlertRule") -public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent +public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_AlertRule (Properties ctx, int AD_AlertRule_ID, String trxName) @@ -65,6 +65,38 @@ public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_AlertRule (Properties ctx, String AD_AlertRule_UU, String trxName) + { + super (ctx, AD_AlertRule_UU, trxName); + /** if (AD_AlertRule_UU == null) + { + setAD_Alert_ID (0); + setAD_AlertRule_ID (0); + setFromClause (null); + setIsValid (true); +// Y + setName (null); + setSelectClause (null); + } */ + } + + /** Standard Constructor */ + public X_AD_AlertRule (Properties ctx, String AD_AlertRule_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_AlertRule_UU, trxName, virtualColumns); + /** if (AD_AlertRule_UU == null) + { + setAD_Alert_ID (0); + setAD_AlertRule_ID (0); + setFromClause (null); + setIsValid (true); +// Y + setName (null); + setSelectClause (null); + } */ + } + /** Load Constructor */ public X_AD_AlertRule (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -231,10 +263,10 @@ public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent public boolean isValid() { Object oo = get_Value(COLUMNNAME_IsValid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -259,7 +291,7 @@ public class X_AD_AlertRule extends PO implements I_AD_AlertRule, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_AllClients_V.java b/org.adempiere.base/src/org/compiere/model/X_AD_AllClients_V.java index 8b215942f8..c0288fe828 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_AllClients_V.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_AllClients_V.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_AllClients_V - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_AllClients_V") -public class X_AD_AllClients_V extends PO implements I_AD_AllClients_V, I_Persistent +public class X_AD_AllClients_V extends PO implements I_AD_AllClients_V, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_AllClients_V (Properties ctx, int AD_AllClients_V_ID, String trxName) @@ -50,6 +50,24 @@ public class X_AD_AllClients_V extends PO implements I_AD_AllClients_V, I_Persis } */ } + /** Standard Constructor */ + public X_AD_AllClients_V (Properties ctx, String AD_AllClients_V_UU, String trxName) + { + super (ctx, AD_AllClients_V_UU, trxName); + /** if (AD_AllClients_V_UU == null) + { + } */ + } + + /** Standard Constructor */ + public X_AD_AllClients_V (Properties ctx, String AD_AllClients_V_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_AllClients_V_UU, trxName, virtualColumns); + /** if (AD_AllClients_V_UU == null) + { + } */ + } + /** Load Constructor */ public X_AD_AllClients_V (Properties ctx, ResultSet rs, String trxName) { @@ -57,7 +75,7 @@ public class X_AD_AllClients_V extends PO implements I_AD_AllClients_V, I_Persis } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_AllUsers_V.java b/org.adempiere.base/src/org/compiere/model/X_AD_AllUsers_V.java index e6e30623e2..fbaaa27680 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_AllUsers_V.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_AllUsers_V.java @@ -22,16 +22,16 @@ import java.sql.Timestamp; import java.util.Properties; /** Generated Model for AD_AllUsers_V - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_AllUsers_V") -public class X_AD_AllUsers_V extends PO implements I_AD_AllUsers_V, I_Persistent +public class X_AD_AllUsers_V extends PO implements I_AD_AllUsers_V, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_AllUsers_V (Properties ctx, int AD_AllUsers_V_ID, String trxName) @@ -51,6 +51,24 @@ public class X_AD_AllUsers_V extends PO implements I_AD_AllUsers_V, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_AllUsers_V (Properties ctx, String AD_AllUsers_V_UU, String trxName) + { + super (ctx, AD_AllUsers_V_UU, trxName); + /** if (AD_AllUsers_V_UU == null) + { + } */ + } + + /** Standard Constructor */ + public X_AD_AllUsers_V (Properties ctx, String AD_AllUsers_V_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_AllUsers_V_UU, trxName, virtualColumns); + /** if (AD_AllUsers_V_UU == null) + { + } */ + } + /** Load Constructor */ public X_AD_AllUsers_V (Properties ctx, ResultSet rs, String trxName) { @@ -58,7 +76,7 @@ public class X_AD_AllUsers_V extends PO implements I_AD_AllUsers_V, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -250,10 +268,10 @@ public class X_AD_AllUsers_V extends PO implements I_AD_AllUsers_V, I_Persistent public boolean isExpired() { Object oo = get_Value(COLUMNNAME_IsExpired); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -272,10 +290,10 @@ public class X_AD_AllUsers_V extends PO implements I_AD_AllUsers_V, I_Persistent public boolean isLocked() { Object oo = get_Value(COLUMNNAME_IsLocked); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -294,10 +312,10 @@ public class X_AD_AllUsers_V extends PO implements I_AD_AllUsers_V, I_Persistent public boolean isNoExpire() { Object oo = get_Value(COLUMNNAME_IsNoExpire); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -316,10 +334,10 @@ public class X_AD_AllUsers_V extends PO implements I_AD_AllUsers_V, I_Persistent public boolean isNoPasswordReset() { Object oo = get_Value(COLUMNNAME_IsNoPasswordReset); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -338,10 +356,10 @@ public class X_AD_AllUsers_V extends PO implements I_AD_AllUsers_V, I_Persistent public boolean isSupportUser() { Object oo = get_Value(COLUMNNAME_IsSupportUser); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Archive.java b/org.adempiere.base/src/org/compiere/model/X_AD_Archive.java index dfba8f98b0..3effdfd86b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Archive.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Archive.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Archive - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Archive") -public class X_AD_Archive extends PO implements I_AD_Archive, I_Persistent +public class X_AD_Archive extends PO implements I_AD_Archive, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Archive (Properties ctx, int AD_Archive_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_Archive extends PO implements I_AD_Archive, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Archive (Properties ctx, String AD_Archive_UU, String trxName) + { + super (ctx, AD_Archive_UU, trxName); + /** if (AD_Archive_UU == null) + { + setAD_Archive_ID (0); + setBinaryData (null); + setIsReport (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Archive (Properties ctx, String AD_Archive_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Archive_UU, trxName, virtualColumns); + /** if (AD_Archive_UU == null) + { + setAD_Archive_ID (0); + setBinaryData (null); + setIsReport (false); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_Archive (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_Archive extends PO implements I_AD_Archive, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -297,10 +323,10 @@ public class X_AD_Archive extends PO implements I_AD_Archive, I_Persistent public boolean isReport() { Object oo = get_Value(COLUMNNAME_IsReport); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -325,7 +351,7 @@ public class X_AD_Archive extends PO implements I_AD_Archive, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Attachment.java b/org.adempiere.base/src/org/compiere/model/X_AD_Attachment.java index bf67bb8db5..41820c87a8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Attachment.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Attachment.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Attachment - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Attachment") -public class X_AD_Attachment extends PO implements I_AD_Attachment, I_Persistent +public class X_AD_Attachment extends PO implements I_AD_Attachment, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Attachment (Properties ctx, int AD_Attachment_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_Attachment extends PO implements I_AD_Attachment, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Attachment (Properties ctx, String AD_Attachment_UU, String trxName) + { + super (ctx, AD_Attachment_UU, trxName); + /** if (AD_Attachment_UU == null) + { + setAD_Attachment_ID (0); + setAD_Table_ID (0); + setRecord_ID (0); + setTitle (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Attachment (Properties ctx, String AD_Attachment_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Attachment_UU, trxName, virtualColumns); + /** if (AD_Attachment_UU == null) + { + setAD_Attachment_ID (0); + setAD_Table_ID (0); + setRecord_ID (0); + setTitle (null); + } */ + } + /** Load Constructor */ public X_AD_Attachment (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_Attachment extends PO implements I_AD_Attachment, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -252,7 +278,7 @@ public class X_AD_Attachment extends PO implements I_AD_Attachment, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getTitle()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_AttachmentNote.java b/org.adempiere.base/src/org/compiere/model/X_AD_AttachmentNote.java index 83a8caabc5..35063dd3ce 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_AttachmentNote.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_AttachmentNote.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_AttachmentNote - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_AttachmentNote") -public class X_AD_AttachmentNote extends PO implements I_AD_AttachmentNote, I_Persistent +public class X_AD_AttachmentNote extends PO implements I_AD_AttachmentNote, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_AttachmentNote (Properties ctx, int AD_AttachmentNote_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_AttachmentNote extends PO implements I_AD_AttachmentNote, I_Pe } */ } + /** Standard Constructor */ + public X_AD_AttachmentNote (Properties ctx, String AD_AttachmentNote_UU, String trxName) + { + super (ctx, AD_AttachmentNote_UU, trxName); + /** if (AD_AttachmentNote_UU == null) + { + setAD_Attachment_ID (0); + setAD_AttachmentNote_ID (0); + setAD_User_ID (0); + setTextMsg (null); + setTitle (null); + } */ + } + + /** Standard Constructor */ + public X_AD_AttachmentNote (Properties ctx, String AD_AttachmentNote_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_AttachmentNote_UU, trxName, virtualColumns); + /** if (AD_AttachmentNote_UU == null) + { + setAD_Attachment_ID (0); + setAD_AttachmentNote_ID (0); + setAD_User_ID (0); + setTextMsg (null); + setTitle (null); + } */ + } + /** Load Constructor */ public X_AD_AttachmentNote (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_AttachmentNote extends PO implements I_AD_AttachmentNote, I_Pe } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -217,7 +245,7 @@ public class X_AD_AttachmentNote extends PO implements I_AD_AttachmentNote, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getTitle()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Attribute.java b/org.adempiere.base/src/org/compiere/model/X_AD_Attribute.java index 923836f5c2..a86073df81 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Attribute.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Attribute.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Attribute - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Attribute") -public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent +public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Attribute (Properties ctx, int AD_Attribute_ID, String trxName) @@ -73,6 +73,46 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Attribute (Properties ctx, String AD_Attribute_UU, String trxName) + { + super (ctx, AD_Attribute_UU, trxName); + /** if (AD_Attribute_UU == null) + { + setAD_Attribute_ID (0); + setAD_Reference_ID (0); + setAD_Table_ID (0); + setIsEncrypted (false); + setIsFieldOnly (false); + setIsHeading (false); + setIsMandatory (false); + setIsReadOnly (false); + setIsSameLine (false); + setIsUpdateable (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Attribute (Properties ctx, String AD_Attribute_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Attribute_UU, trxName, virtualColumns); + /** if (AD_Attribute_UU == null) + { + setAD_Attribute_ID (0); + setAD_Reference_ID (0); + setAD_Table_ID (0); + setIsEncrypted (false); + setIsFieldOnly (false); + setIsHeading (false); + setIsMandatory (false); + setIsReadOnly (false); + setIsSameLine (false); + setIsUpdateable (false); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_Attribute (Properties ctx, ResultSet rs, String trxName) { @@ -80,7 +120,7 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -381,10 +421,10 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent public boolean isEncrypted() { Object oo = get_Value(COLUMNNAME_IsEncrypted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -404,10 +444,10 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent public boolean isFieldOnly() { Object oo = get_Value(COLUMNNAME_IsFieldOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -427,10 +467,10 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent public boolean isHeading() { Object oo = get_Value(COLUMNNAME_IsHeading); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -450,10 +490,10 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent public boolean isMandatory() { Object oo = get_Value(COLUMNNAME_IsMandatory); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -473,10 +513,10 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent public boolean isReadOnly() { Object oo = get_Value(COLUMNNAME_IsReadOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -496,10 +536,10 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent public boolean isSameLine() { Object oo = get_Value(COLUMNNAME_IsSameLine); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -519,10 +559,10 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent public boolean isUpdateable() { Object oo = get_Value(COLUMNNAME_IsUpdateable); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -547,7 +587,7 @@ public class X_AD_Attribute extends PO implements I_AD_Attribute, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Attribute_Value.java b/org.adempiere.base/src/org/compiere/model/X_AD_Attribute_Value.java index fb18f519d6..383a1b44a9 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Attribute_Value.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Attribute_Value.java @@ -22,16 +22,16 @@ import java.sql.Timestamp; import java.util.Properties; /** Generated Model for AD_Attribute_Value - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Attribute_Value") -public class X_AD_Attribute_Value extends PO implements I_AD_Attribute_Value, I_Persistent +public class X_AD_Attribute_Value extends PO implements I_AD_Attribute_Value, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Attribute_Value (Properties ctx, int AD_Attribute_Value_ID, String trxName) @@ -55,6 +55,28 @@ public class X_AD_Attribute_Value extends PO implements I_AD_Attribute_Value, I_ } */ } + /** Standard Constructor */ + public X_AD_Attribute_Value (Properties ctx, String AD_Attribute_Value_UU, String trxName) + { + super (ctx, AD_Attribute_Value_UU, trxName); + /** if (AD_Attribute_Value_UU == null) + { + setAD_Attribute_ID (0); + setRecord_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Attribute_Value (Properties ctx, String AD_Attribute_Value_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Attribute_Value_UU, trxName, virtualColumns); + /** if (AD_Attribute_Value_UU == null) + { + setAD_Attribute_ID (0); + setRecord_ID (0); + } */ + } + /** Load Constructor */ public X_AD_Attribute_Value (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_AD_Attribute_Value extends PO implements I_AD_Attribute_Value, I_ } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -79,7 +101,7 @@ public class X_AD_Attribute_Value extends PO implements I_AD_Attribute_Value, I_ public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Attribute_Value[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_AuthorizationAccount.java b/org.adempiere.base/src/org/compiere/model/X_AD_AuthorizationAccount.java index 9ccb83d19c..ed172bbe3c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_AuthorizationAccount.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_AuthorizationAccount.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for AD_AuthorizationAccount - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_AuthorizationAccount") -public class X_AD_AuthorizationAccount extends PO implements I_AD_AuthorizationAccount, I_Persistent +public class X_AD_AuthorizationAccount extends PO implements I_AD_AuthorizationAccount, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_AuthorizationAccount (Properties ctx, int AD_AuthorizationAccount_ID, String trxName) @@ -63,6 +63,34 @@ public class X_AD_AuthorizationAccount extends PO implements I_AD_AuthorizationA } */ } + /** Standard Constructor */ + public X_AD_AuthorizationAccount (Properties ctx, String AD_AuthorizationAccount_UU, String trxName) + { + super (ctx, AD_AuthorizationAccount_UU, trxName); + /** if (AD_AuthorizationAccount_UU == null) + { + setAD_AuthorizationAccount_ID (0); + setIsAccessRevoked (false); +// N + setIsAuthorized (false); +// N + } */ + } + + /** Standard Constructor */ + public X_AD_AuthorizationAccount (Properties ctx, String AD_AuthorizationAccount_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_AuthorizationAccount_UU, trxName, virtualColumns); + /** if (AD_AuthorizationAccount_UU == null) + { + setAD_AuthorizationAccount_ID (0); + setIsAccessRevoked (false); +// N + setIsAuthorized (false); +// N + } */ + } + /** Load Constructor */ public X_AD_AuthorizationAccount (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +98,7 @@ public class X_AD_AuthorizationAccount extends PO implements I_AD_AuthorizationA } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -303,10 +331,10 @@ public class X_AD_AuthorizationAccount extends PO implements I_AD_AuthorizationA public boolean isAccessRevoked() { Object oo = get_Value(COLUMNNAME_IsAccessRevoked); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -325,10 +353,10 @@ public class X_AD_AuthorizationAccount extends PO implements I_AD_AuthorizationA public boolean isAuthorized() { Object oo = get_Value(COLUMNNAME_IsAuthorized); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_AuthorizationCredential.java b/org.adempiere.base/src/org/compiere/model/X_AD_AuthorizationCredential.java index 0d1acb4c25..012ee68617 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_AuthorizationCredential.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_AuthorizationCredential.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_AuthorizationCredential - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_AuthorizationCredential") -public class X_AD_AuthorizationCredential extends PO implements I_AD_AuthorizationCredential, I_Persistent +public class X_AD_AuthorizationCredential extends PO implements I_AD_AuthorizationCredential, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_AuthorizationCredential (Properties ctx, int AD_AuthorizationCredential_ID, String trxName) @@ -65,6 +65,38 @@ public class X_AD_AuthorizationCredential extends PO implements I_AD_Authorizati } */ } + /** Standard Constructor */ + public X_AD_AuthorizationCredential (Properties ctx, String AD_AuthorizationCredential_UU, String trxName) + { + super (ctx, AD_AuthorizationCredential_UU, trxName); + /** if (AD_AuthorizationCredential_UU == null) + { + setAD_AuthorizationCredential_ID (0); + setAD_AuthorizationProvider_ID (0); + setAD_AuthorizationScopeList (null); + setAuthorizationClientId (null); + setAuthorizationClientSecret (null); + setAuthorizationRedirectURL (null); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_AuthorizationCredential (Properties ctx, String AD_AuthorizationCredential_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_AuthorizationCredential_UU, trxName, virtualColumns); + /** if (AD_AuthorizationCredential_UU == null) + { + setAD_AuthorizationCredential_ID (0); + setAD_AuthorizationProvider_ID (0); + setAD_AuthorizationScopeList (null); + setAuthorizationClientId (null); + setAuthorizationClientSecret (null); + setAuthorizationRedirectURL (null); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_AuthorizationCredential (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_AD_AuthorizationCredential extends PO implements I_AD_Authorizati } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -264,7 +296,7 @@ public class X_AD_AuthorizationCredential extends PO implements I_AD_Authorizati /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_AuthorizationProvider.java b/org.adempiere.base/src/org/compiere/model/X_AD_AuthorizationProvider.java index 2bf34dae56..b5871480bd 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_AuthorizationProvider.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_AuthorizationProvider.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_AuthorizationProvider - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_AuthorizationProvider") -public class X_AD_AuthorizationProvider extends PO implements I_AD_AuthorizationProvider, I_Persistent +public class X_AD_AuthorizationProvider extends PO implements I_AD_AuthorizationProvider, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_AuthorizationProvider (Properties ctx, int AD_AuthorizationProvider_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_AuthorizationProvider extends PO implements I_AD_Authorization } */ } + /** Standard Constructor */ + public X_AD_AuthorizationProvider (Properties ctx, String AD_AuthorizationProvider_UU, String trxName) + { + super (ctx, AD_AuthorizationProvider_UU, trxName); + /** if (AD_AuthorizationProvider_UU == null) + { + setAD_AuthorizationProvider_ID (0); + setAD_AuthorizationType (null); + setAuthorizationEndpoint (null); + setName (null); + setTokenEndpoint (null); + } */ + } + + /** Standard Constructor */ + public X_AD_AuthorizationProvider (Properties ctx, String AD_AuthorizationProvider_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_AuthorizationProvider_UU, trxName, virtualColumns); + /** if (AD_AuthorizationProvider_UU == null) + { + setAD_AuthorizationProvider_ID (0); + setAD_AuthorizationType (null); + setAuthorizationEndpoint (null); + setName (null); + setTokenEndpoint (null); + } */ + } + /** Load Constructor */ public X_AD_AuthorizationProvider (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_AuthorizationProvider extends PO implements I_AD_Authorization } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -213,7 +241,7 @@ public class X_AD_AuthorizationProvider extends PO implements I_AD_Authorization /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_AuthorizationScopeProv.java b/org.adempiere.base/src/org/compiere/model/X_AD_AuthorizationScopeProv.java index 962e1abd2a..e67bcbcce4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_AuthorizationScopeProv.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_AuthorizationScopeProv.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_AuthorizationScopeProv - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_AuthorizationScopeProv") -public class X_AD_AuthorizationScopeProv extends PO implements I_AD_AuthorizationScopeProv, I_Persistent +public class X_AD_AuthorizationScopeProv extends PO implements I_AD_AuthorizationScopeProv, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_AuthorizationScopeProv (Properties ctx, int AD_AuthorizationScopeProv_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_AuthorizationScopeProv extends PO implements I_AD_Authorizatio } */ } + /** Standard Constructor */ + public X_AD_AuthorizationScopeProv (Properties ctx, String AD_AuthorizationScopeProv_UU, String trxName) + { + super (ctx, AD_AuthorizationScopeProv_UU, trxName); + /** if (AD_AuthorizationScopeProv_UU == null) + { + setAD_AuthorizationScope (null); + setAD_AuthorizationScopeProv_ID (0); + setScopeURL (null); + } */ + } + + /** Standard Constructor */ + public X_AD_AuthorizationScopeProv (Properties ctx, String AD_AuthorizationScopeProv_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_AuthorizationScopeProv_UU, trxName, virtualColumns); + /** if (AD_AuthorizationScopeProv_UU == null) + { + setAD_AuthorizationScope (null); + setAD_AuthorizationScopeProv_ID (0); + setScopeURL (null); + } */ + } + /** Load Constructor */ public X_AD_AuthorizationScopeProv (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_AuthorizationScopeProv extends PO implements I_AD_Authorizatio } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_BroadcastMessage.java b/org.adempiere.base/src/org/compiere/model/X_AD_BroadcastMessage.java index a785c7f2e6..b7aeb66c70 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_BroadcastMessage.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_BroadcastMessage.java @@ -22,16 +22,16 @@ import java.sql.Timestamp; import java.util.Properties; /** Generated Model for AD_BroadcastMessage - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_BroadcastMessage") -public class X_AD_BroadcastMessage extends PO implements I_AD_BroadcastMessage, I_Persistent +public class X_AD_BroadcastMessage extends PO implements I_AD_BroadcastMessage, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_BroadcastMessage (Properties ctx, int AD_BroadcastMessage_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_BroadcastMessage extends PO implements I_AD_BroadcastMessage, } */ } + /** Standard Constructor */ + public X_AD_BroadcastMessage (Properties ctx, String AD_BroadcastMessage_UU, String trxName) + { + super (ctx, AD_BroadcastMessage_UU, trxName); + /** if (AD_BroadcastMessage_UU == null) + { + setAD_BroadcastMessage_ID (0); + setBroadcastFrequency (null); + setBroadcastMessage (null); + setBroadcastType (null); + setTarget (null); + } */ + } + + /** Standard Constructor */ + public X_AD_BroadcastMessage (Properties ctx, String AD_BroadcastMessage_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_BroadcastMessage_UU, trxName, virtualColumns); + /** if (AD_BroadcastMessage_UU == null) + { + setAD_BroadcastMessage_ID (0); + setBroadcastFrequency (null); + setBroadcastMessage (null); + setBroadcastType (null); + setTarget (null); + } */ + } + /** Load Constructor */ public X_AD_BroadcastMessage (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_BroadcastMessage extends PO implements I_AD_BroadcastMessage, } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -279,10 +307,10 @@ public class X_AD_BroadcastMessage extends PO implements I_AD_BroadcastMessage, public boolean isExpired() { Object oo = get_Value(COLUMNNAME_Expired); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -318,10 +346,10 @@ public class X_AD_BroadcastMessage extends PO implements I_AD_BroadcastMessage, public boolean isPublished() { Object oo = get_Value(COLUMNNAME_IsPublished); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -341,10 +369,10 @@ public class X_AD_BroadcastMessage extends PO implements I_AD_BroadcastMessage, public boolean isLogAcknowledge() { Object oo = get_Value(COLUMNNAME_LogAcknowledge); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -386,10 +414,10 @@ public class X_AD_BroadcastMessage extends PO implements I_AD_BroadcastMessage, public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ChangeLog.java b/org.adempiere.base/src/org/compiere/model/X_AD_ChangeLog.java index a6f0d35e13..61952c1a50 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ChangeLog.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ChangeLog.java @@ -19,19 +19,19 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for AD_ChangeLog - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ChangeLog") -public class X_AD_ChangeLog extends PO implements I_AD_ChangeLog, I_Persistent +public class X_AD_ChangeLog extends PO implements I_AD_ChangeLog, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ChangeLog (Properties ctx, int AD_ChangeLog_ID, String trxName) @@ -63,6 +63,36 @@ public class X_AD_ChangeLog extends PO implements I_AD_ChangeLog, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_ChangeLog (Properties ctx, String AD_ChangeLog_UU, String trxName) + { + super (ctx, AD_ChangeLog_UU, trxName); + /** if (AD_ChangeLog_UU == null) + { + setAD_ChangeLog_ID (0); + setAD_Column_ID (0); + setAD_Session_ID (0); + setAD_Table_ID (0); + setIsCustomization (false); + setRecord_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_ChangeLog (Properties ctx, String AD_ChangeLog_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ChangeLog_UU, trxName, virtualColumns); + /** if (AD_ChangeLog_UU == null) + { + setAD_ChangeLog_ID (0); + setAD_Column_ID (0); + setAD_Session_ID (0); + setAD_Table_ID (0); + setIsCustomization (false); + setRecord_ID (0); + } */ + } + /** Load Constructor */ public X_AD_ChangeLog (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_AD_ChangeLog extends PO implements I_AD_ChangeLog, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -87,7 +117,7 @@ public class X_AD_ChangeLog extends PO implements I_AD_ChangeLog, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_AD_ChangeLog[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -184,12 +214,12 @@ public class X_AD_ChangeLog extends PO implements I_AD_ChangeLog, I_Persistent return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getAD_Session_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getAD_Session_ID())); } public org.compiere.model.I_AD_Table getAD_Table() throws RuntimeException @@ -275,10 +305,10 @@ public class X_AD_ChangeLog extends PO implements I_AD_ChangeLog, I_Persistent public boolean isCustomization() { Object oo = get_Value(COLUMNNAME_IsCustomization); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Chart.java b/org.adempiere.base/src/org/compiere/model/X_AD_Chart.java index a3a158aee1..91d6a59a47 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Chart.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Chart.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Chart - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Chart") -public class X_AD_Chart extends PO implements I_AD_Chart, I_Persistent +public class X_AD_Chart extends PO implements I_AD_Chart, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Chart (Properties ctx, int AD_Chart_ID, String trxName) @@ -72,6 +72,46 @@ public class X_AD_Chart extends PO implements I_AD_Chart, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Chart (Properties ctx, String AD_Chart_UU, String trxName) + { + super (ctx, AD_Chart_UU, trxName); + /** if (AD_Chart_UU == null) + { + setAD_Chart_ID (0); + setChartOrientation (null); +// V + setChartType (null); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsDisplayLegend (true); +// 'Y' + setIsTimeSeries (false); +// N + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Chart (Properties ctx, String AD_Chart_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Chart_UU, trxName, virtualColumns); + /** if (AD_Chart_UU == null) + { + setAD_Chart_ID (0); + setChartOrientation (null); +// V + setChartType (null); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsDisplayLegend (true); +// 'Y' + setIsTimeSeries (false); +// N + setName (null); + } */ + } + /** Load Constructor */ public X_AD_Chart (Properties ctx, ResultSet rs, String trxName) { @@ -79,7 +119,7 @@ public class X_AD_Chart extends PO implements I_AD_Chart, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -267,10 +307,10 @@ public class X_AD_Chart extends PO implements I_AD_Chart, I_Persistent public boolean isDisplayLegend() { Object oo = get_Value(COLUMNNAME_IsDisplayLegend); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -290,10 +330,10 @@ public class X_AD_Chart extends PO implements I_AD_Chart, I_Persistent public boolean isTimeSeries() { Object oo = get_Value(COLUMNNAME_IsTimeSeries); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ChartDatasource.java b/org.adempiere.base/src/org/compiere/model/X_AD_ChartDatasource.java index d1bf197e20..6bd68c7391 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ChartDatasource.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ChartDatasource.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_ChartDatasource - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ChartDatasource") -public class X_AD_ChartDatasource extends PO implements I_AD_ChartDatasource, I_Persistent +public class X_AD_ChartDatasource extends PO implements I_AD_ChartDatasource, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ChartDatasource (Properties ctx, int AD_ChartDatasource_ID, String trxName) @@ -65,6 +65,38 @@ public class X_AD_ChartDatasource extends PO implements I_AD_ChartDatasource, I_ } */ } + /** Standard Constructor */ + public X_AD_ChartDatasource (Properties ctx, String AD_ChartDatasource_UU, String trxName) + { + super (ctx, AD_ChartDatasource_UU, trxName); + /** if (AD_ChartDatasource_UU == null) + { + setAD_ChartDatasource_ID (0); + setAD_Chart_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setFromClause (null); + setName (null); + setValueColumn (null); + } */ + } + + /** Standard Constructor */ + public X_AD_ChartDatasource (Properties ctx, String AD_ChartDatasource_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ChartDatasource_UU, trxName, virtualColumns); + /** if (AD_ChartDatasource_UU == null) + { + setAD_ChartDatasource_ID (0); + setAD_Chart_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setFromClause (null); + setName (null); + setValueColumn (null); + } */ + } + /** Load Constructor */ public X_AD_ChartDatasource (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_AD_ChartDatasource extends PO implements I_AD_ChartDatasource, I_ } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -302,7 +334,7 @@ public class X_AD_ChartDatasource extends PO implements I_AD_ChartDatasource, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Client.java b/org.adempiere.base/src/org/compiere/model/X_AD_Client.java index 17dbc6f05b..15a82f6bcf 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Client.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Client.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Client - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Client") -public class X_AD_Client extends PO implements I_AD_Client, I_Persistent +public class X_AD_Client extends PO implements I_AD_Client, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Client (Properties ctx, int AD_Client_ID, String trxName) @@ -85,6 +85,58 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Client (Properties ctx, String AD_Client_UU, String trxName) + { + super (ctx, AD_Client_UU, trxName); + /** if (AD_Client_UU == null) + { + setAutoArchive (null); +// N + setIsMultiLingualDocument (false); + setIsPostImmediate (false); +// N + setIsSecureSMTP (false); +// N + setIsSmtpAuthorization (false); +// N + setIsUseASP (false); +// N + setIsUseBetaFunctions (true); +// Y + setMMPolicy (null); +// F + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Client (Properties ctx, String AD_Client_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Client_UU, trxName, virtualColumns); + /** if (AD_Client_UU == null) + { + setAutoArchive (null); +// N + setIsMultiLingualDocument (false); + setIsPostImmediate (false); +// N + setIsSecureSMTP (false); +// N + setIsSmtpAuthorization (false); +// N + setIsUseASP (false); +// N + setIsUseBetaFunctions (true); +// Y + setMMPolicy (null); +// F + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_AD_Client (Properties ctx, ResultSet rs, String trxName) { @@ -92,7 +144,7 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -291,10 +343,10 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent public boolean isMultiLingualDocument() { Object oo = get_Value(COLUMNNAME_IsMultiLingualDocument); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -314,10 +366,10 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent public boolean isPostImmediate() { Object oo = get_Value(COLUMNNAME_IsPostImmediate); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -337,10 +389,10 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent public boolean isSecureSMTP() { Object oo = get_Value(COLUMNNAME_IsSecureSMTP); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -360,10 +412,10 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent public boolean isSmtpAuthorization() { Object oo = get_Value(COLUMNNAME_IsSmtpAuthorization); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -382,10 +434,10 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent public boolean isUseASP() { Object oo = get_Value(COLUMNNAME_IsUseASP); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -405,10 +457,10 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent public boolean isUseBetaFunctions() { Object oo = get_Value(COLUMNNAME_IsUseBetaFunctions); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -487,7 +539,7 @@ public class X_AD_Client extends PO implements I_AD_Client, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ClientInfo.java b/org.adempiere.base/src/org/compiere/model/X_AD_ClientInfo.java index 0b88b923be..4f41f51fa3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ClientInfo.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ClientInfo.java @@ -22,16 +22,16 @@ import java.sql.Timestamp; import java.util.Properties; /** Generated Model for AD_ClientInfo - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ClientInfo") -public class X_AD_ClientInfo extends PO implements I_AD_ClientInfo, I_Persistent +public class X_AD_ClientInfo extends PO implements I_AD_ClientInfo, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ClientInfo (Properties ctx, int AD_ClientInfo_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_ClientInfo extends PO implements I_AD_ClientInfo, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_ClientInfo (Properties ctx, String AD_ClientInfo_UU, String trxName) + { + super (ctx, AD_ClientInfo_UU, trxName); + /** if (AD_ClientInfo_UU == null) + { + setIsConfirmOnDocClose (false); +// N + setIsConfirmOnDocVoid (false); +// N + setIsDiscountLineAmt (false); + } */ + } + + /** Standard Constructor */ + public X_AD_ClientInfo (Properties ctx, String AD_ClientInfo_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ClientInfo_UU, trxName, virtualColumns); + /** if (AD_ClientInfo_UU == null) + { + setIsConfirmOnDocClose (false); +// N + setIsConfirmOnDocVoid (false); +// N + setIsDiscountLineAmt (false); + } */ + } + /** Load Constructor */ public X_AD_ClientInfo (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_ClientInfo extends PO implements I_AD_ClientInfo, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -85,7 +113,7 @@ public class X_AD_ClientInfo extends PO implements I_AD_ClientInfo, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_AD_ClientInfo[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -606,10 +634,10 @@ public class X_AD_ClientInfo extends PO implements I_AD_ClientInfo, I_Persistent public boolean isConfirmOnDocClose() { Object oo = get_Value(COLUMNNAME_IsConfirmOnDocClose); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -628,10 +656,10 @@ public class X_AD_ClientInfo extends PO implements I_AD_ClientInfo, I_Persistent public boolean isConfirmOnDocVoid() { Object oo = get_Value(COLUMNNAME_IsConfirmOnDocVoid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -651,10 +679,10 @@ public class X_AD_ClientInfo extends PO implements I_AD_ClientInfo, I_Persistent public boolean isDiscountLineAmt() { Object oo = get_Value(COLUMNNAME_IsDiscountLineAmt); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ClientShare.java b/org.adempiere.base/src/org/compiere/model/X_AD_ClientShare.java index 9a1805f14a..e153b2e361 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ClientShare.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ClientShare.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_ClientShare - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ClientShare") -public class X_AD_ClientShare extends PO implements I_AD_ClientShare, I_Persistent +public class X_AD_ClientShare extends PO implements I_AD_ClientShare, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ClientShare (Properties ctx, int AD_ClientShare_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_ClientShare extends PO implements I_AD_ClientShare, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_ClientShare (Properties ctx, String AD_ClientShare_UU, String trxName) + { + super (ctx, AD_ClientShare_UU, trxName); + /** if (AD_ClientShare_UU == null) + { + setAD_ClientShare_ID (0); + setAD_Table_ID (0); + setName (null); + setShareType (null); + } */ + } + + /** Standard Constructor */ + public X_AD_ClientShare (Properties ctx, String AD_ClientShare_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ClientShare_UU, trxName, virtualColumns); + /** if (AD_ClientShare_UU == null) + { + setAD_ClientShare_ID (0); + setAD_Table_ID (0); + setName (null); + setShareType (null); + } */ + } + /** Load Constructor */ public X_AD_ClientShare (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_ClientShare extends PO implements I_AD_ClientShare, I_Persiste } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -187,7 +213,7 @@ public class X_AD_ClientShare extends PO implements I_AD_ClientShare, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Color.java b/org.adempiere.base/src/org/compiere/model/X_AD_Color.java index 0a6ef66f55..dd2ecfdbe2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Color.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Color.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Color - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Color") -public class X_AD_Color extends PO implements I_AD_Color, I_Persistent +public class X_AD_Color extends PO implements I_AD_Color, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Color (Properties ctx, int AD_Color_ID, String trxName) @@ -71,6 +71,42 @@ public class X_AD_Color extends PO implements I_AD_Color, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Color (Properties ctx, String AD_Color_UU, String trxName) + { + super (ctx, AD_Color_UU, trxName); + /** if (AD_Color_UU == null) + { + setAD_Color_ID (0); + setAlpha (0); + setBlue (0); + setColorType (null); + setGreen (0); + setImageAlpha (Env.ZERO); + setIsDefault (false); + setName (null); + setRed (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Color (Properties ctx, String AD_Color_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Color_UU, trxName, virtualColumns); + /** if (AD_Color_UU == null) + { + setAD_Color_ID (0); + setAlpha (0); + setBlue (0); + setColorType (null); + setGreen (0); + setImageAlpha (Env.ZERO); + setIsDefault (false); + setName (null); + setRed (0); + } */ + } + /** Load Constructor */ public X_AD_Color (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +114,7 @@ public class X_AD_Color extends PO implements I_AD_Color, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -338,10 +374,10 @@ public class X_AD_Color extends PO implements I_AD_Color, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -404,7 +440,7 @@ public class X_AD_Color extends PO implements I_AD_Color, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Column.java b/org.adempiere.base/src/org/compiere/model/X_AD_Column.java index b85a55dbf2..21e0b9cdb3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Column.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Column.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Column - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Column") -public class X_AD_Column extends PO implements I_AD_Column, I_Persistent +public class X_AD_Column extends PO implements I_AD_Column, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Column (Properties ctx, int AD_Column_ID, String trxName) @@ -111,6 +111,82 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Column (Properties ctx, String AD_Column_UU, String trxName) + { + super (ctx, AD_Column_UU, trxName); + /** if (AD_Column_UU == null) + { + setAD_Column_ID (0); + setAD_Element_ID (0); + setAD_Reference_ID (0); + setAD_Table_ID (0); + setColumnName (null); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsAllowCopy (true); +// Y + setIsAlwaysUpdateable (false); +// N + setIsAutocomplete (false); +// N + setIsEncrypted (null); +// N + setIsIdentifier (false); + setIsKey (false); + setIsMandatory (false); + setIsParent (false); + setIsSecure (false); +// N + setIsSelectionColumn (false); + setIsToolbarButton (null); +// Y + setIsTranslated (false); + setIsUpdateable (true); +// Y + setName (null); + setVersion (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_AD_Column (Properties ctx, String AD_Column_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Column_UU, trxName, virtualColumns); + /** if (AD_Column_UU == null) + { + setAD_Column_ID (0); + setAD_Element_ID (0); + setAD_Reference_ID (0); + setAD_Table_ID (0); + setColumnName (null); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsAllowCopy (true); +// Y + setIsAlwaysUpdateable (false); +// N + setIsAutocomplete (false); +// N + setIsEncrypted (null); +// N + setIsIdentifier (false); + setIsKey (false); + setIsMandatory (false); + setIsParent (false); + setIsSecure (false); +// N + setIsSelectionColumn (false); + setIsToolbarButton (null); +// Y + setIsTranslated (false); + setIsUpdateable (true); +// Y + setName (null); + setVersion (Env.ZERO); + } */ + } + /** Load Constructor */ public X_AD_Column (Properties ctx, ResultSet rs, String trxName) { @@ -118,7 +194,7 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -478,7 +554,7 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getColumnName()); } @@ -658,10 +734,10 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent public boolean isAllowCopy() { Object oo = get_Value(COLUMNNAME_IsAllowCopy); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -681,10 +757,10 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent public boolean isAllowLogging() { Object oo = get_Value(COLUMNNAME_IsAllowLogging); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -704,10 +780,10 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent public boolean isAlwaysUpdateable() { Object oo = get_Value(COLUMNNAME_IsAlwaysUpdateable); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -727,10 +803,10 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent public boolean isAutocomplete() { Object oo = get_Value(COLUMNNAME_IsAutocomplete); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -773,10 +849,10 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent public boolean isHtml() { Object oo = get_Value(COLUMNNAME_IsHtml); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -796,10 +872,10 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent public boolean isIdentifier() { Object oo = get_Value(COLUMNNAME_IsIdentifier); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -819,10 +895,10 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent public boolean isKey() { Object oo = get_Value(COLUMNNAME_IsKey); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -842,10 +918,10 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent public boolean isMandatory() { Object oo = get_Value(COLUMNNAME_IsMandatory); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -865,10 +941,10 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent public boolean isParent() { Object oo = get_Value(COLUMNNAME_IsParent); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -888,10 +964,10 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent public boolean isSecure() { Object oo = get_Value(COLUMNNAME_IsSecure); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -911,10 +987,10 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent public boolean isSelectionColumn() { Object oo = get_Value(COLUMNNAME_IsSelectionColumn); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -975,10 +1051,10 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent public boolean isTranslated() { Object oo = get_Value(COLUMNNAME_IsTranslated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -998,10 +1074,10 @@ public class X_AD_Column extends PO implements I_AD_Column, I_Persistent public boolean isUpdateable() { Object oo = get_Value(COLUMNNAME_IsUpdateable); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Column_Access.java b/org.adempiere.base/src/org/compiere/model/X_AD_Column_Access.java index 9751aca88d..892eb24701 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Column_Access.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Column_Access.java @@ -19,19 +19,19 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for AD_Column_Access - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Column_Access") -public class X_AD_Column_Access extends PO implements I_AD_Column_Access, I_Persistent +public class X_AD_Column_Access extends PO implements I_AD_Column_Access, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Column_Access (Properties ctx, int AD_Column_Access_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_Column_Access extends PO implements I_AD_Column_Access, I_Pers } */ } + /** Standard Constructor */ + public X_AD_Column_Access (Properties ctx, String AD_Column_Access_UU, String trxName) + { + super (ctx, AD_Column_Access_UU, trxName); + /** if (AD_Column_Access_UU == null) + { + setAD_Column_ID (0); + setAD_Role_ID (0); + setIsExclude (true); +// Y + setIsReadOnly (false); + } */ + } + + /** Standard Constructor */ + public X_AD_Column_Access (Properties ctx, String AD_Column_Access_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Column_Access_UU, trxName, virtualColumns); + /** if (AD_Column_Access_UU == null) + { + setAD_Column_ID (0); + setAD_Role_ID (0); + setIsExclude (true); +// Y + setIsReadOnly (false); + } */ + } + /** Load Constructor */ public X_AD_Column_Access (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_Column_Access extends PO implements I_AD_Column_Access, I_Pers } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -85,7 +113,7 @@ public class X_AD_Column_Access extends PO implements I_AD_Column_Access, I_Pers public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Column_Access[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -132,12 +160,12 @@ public class X_AD_Column_Access extends PO implements I_AD_Column_Access, I_Pers return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getAD_Column_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getAD_Column_ID())); } public org.compiere.model.I_AD_Role getAD_Role() throws RuntimeException @@ -210,10 +238,10 @@ public class X_AD_Column_Access extends PO implements I_AD_Column_Access, I_Pers public boolean isExclude() { Object oo = get_Value(COLUMNNAME_IsExclude); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -233,10 +261,10 @@ public class X_AD_Column_Access extends PO implements I_AD_Column_Access, I_Pers public boolean isReadOnly() { Object oo = get_Value(COLUMNNAME_IsReadOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_CtxHelp.java b/org.adempiere.base/src/org/compiere/model/X_AD_CtxHelp.java index 24d936ecaf..fab227a430 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_CtxHelp.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_CtxHelp.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_CtxHelp - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_CtxHelp") -public class X_AD_CtxHelp extends PO implements I_AD_CtxHelp, I_Persistent +public class X_AD_CtxHelp extends PO implements I_AD_CtxHelp, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_CtxHelp (Properties ctx, int AD_CtxHelp_ID, String trxName) @@ -54,6 +54,28 @@ public class X_AD_CtxHelp extends PO implements I_AD_CtxHelp, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_CtxHelp (Properties ctx, String AD_CtxHelp_UU, String trxName) + { + super (ctx, AD_CtxHelp_UU, trxName); + /** if (AD_CtxHelp_UU == null) + { + setAD_CtxHelp_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_CtxHelp (Properties ctx, String AD_CtxHelp_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_CtxHelp_UU, trxName, virtualColumns); + /** if (AD_CtxHelp_UU == null) + { + setAD_CtxHelp_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_CtxHelp (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_AD_CtxHelp extends PO implements I_AD_CtxHelp, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_CtxHelpMsg.java b/org.adempiere.base/src/org/compiere/model/X_AD_CtxHelpMsg.java index 51124d5356..4c82bc1898 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_CtxHelpMsg.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_CtxHelpMsg.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_CtxHelpMsg - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_CtxHelpMsg") -public class X_AD_CtxHelpMsg extends PO implements I_AD_CtxHelpMsg, I_Persistent +public class X_AD_CtxHelpMsg extends PO implements I_AD_CtxHelpMsg, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_CtxHelpMsg (Properties ctx, int AD_CtxHelpMsg_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_CtxHelpMsg extends PO implements I_AD_CtxHelpMsg, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_CtxHelpMsg (Properties ctx, String AD_CtxHelpMsg_UU, String trxName) + { + super (ctx, AD_CtxHelpMsg_UU, trxName); + /** if (AD_CtxHelpMsg_UU == null) + { + setAD_CtxHelp_ID (0); + setAD_CtxHelpMsg_ID (0); + setMsgText (null); + } */ + } + + /** Standard Constructor */ + public X_AD_CtxHelpMsg (Properties ctx, String AD_CtxHelpMsg_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_CtxHelpMsg_UU, trxName, virtualColumns); + /** if (AD_CtxHelpMsg_UU == null) + { + setAD_CtxHelp_ID (0); + setAD_CtxHelpMsg_ID (0); + setMsgText (null); + } */ + } + /** Load Constructor */ public X_AD_CtxHelpMsg (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_CtxHelpMsg extends PO implements I_AD_CtxHelpMsg, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_CtxHelpSuggestion.java b/org.adempiere.base/src/org/compiere/model/X_AD_CtxHelpSuggestion.java index 8e15011c68..1a38afa3a0 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_CtxHelpSuggestion.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_CtxHelpSuggestion.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_CtxHelpSuggestion - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_CtxHelpSuggestion") -public class X_AD_CtxHelpSuggestion extends PO implements I_AD_CtxHelpSuggestion, I_Persistent +public class X_AD_CtxHelpSuggestion extends PO implements I_AD_CtxHelpSuggestion, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_CtxHelpSuggestion (Properties ctx, int AD_CtxHelpSuggestion_ID, String trxName) @@ -78,6 +78,52 @@ public class X_AD_CtxHelpSuggestion extends PO implements I_AD_CtxHelpSuggestion } */ } + /** Standard Constructor */ + public X_AD_CtxHelpSuggestion (Properties ctx, String AD_CtxHelpSuggestion_UU, String trxName) + { + super (ctx, AD_CtxHelpSuggestion_UU, trxName); + /** if (AD_CtxHelpSuggestion_UU == null) + { + setAD_CtxHelp_ID (0); + setAD_CtxHelpMsg_ID (0); + setAD_CtxHelpSuggestion_ID (0); + setAD_CtxHelpSuggestion_UU (null); + setAD_Language (null); + setAD_UserClient_ID (0); + setAD_User_ID (0); + setIsApproved (false); +// N + setIsSaveAsTenantCustomization (false); +// N + setMsgText (null); + setProcessed (false); +// N + } */ + } + + /** Standard Constructor */ + public X_AD_CtxHelpSuggestion (Properties ctx, String AD_CtxHelpSuggestion_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_CtxHelpSuggestion_UU, trxName, virtualColumns); + /** if (AD_CtxHelpSuggestion_UU == null) + { + setAD_CtxHelp_ID (0); + setAD_CtxHelpMsg_ID (0); + setAD_CtxHelpSuggestion_ID (0); + setAD_CtxHelpSuggestion_UU (null); + setAD_Language (null); + setAD_UserClient_ID (0); + setAD_User_ID (0); + setIsApproved (false); +// N + setIsSaveAsTenantCustomization (false); +// N + setMsgText (null); + setProcessed (false); +// N + } */ + } + /** Load Constructor */ public X_AD_CtxHelpSuggestion (Properties ctx, ResultSet rs, String trxName) { @@ -85,7 +131,7 @@ public class X_AD_CtxHelpSuggestion extends PO implements I_AD_CtxHelpSuggestion } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -316,10 +362,10 @@ public class X_AD_CtxHelpSuggestion extends PO implements I_AD_CtxHelpSuggestion public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -339,10 +385,10 @@ public class X_AD_CtxHelpSuggestion extends PO implements I_AD_CtxHelpSuggestion public boolean isSaveAsTenantCustomization() { Object oo = get_Value(COLUMNNAME_IsSaveAsTenantCustomization); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -378,10 +424,10 @@ public class X_AD_CtxHelpSuggestion extends PO implements I_AD_CtxHelpSuggestion public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Document_Action_Access.java b/org.adempiere.base/src/org/compiere/model/X_AD_Document_Action_Access.java index b11e9d214f..41666b0434 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Document_Action_Access.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Document_Action_Access.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Document_Action_Access - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Document_Action_Access") -public class X_AD_Document_Action_Access extends PO implements I_AD_Document_Action_Access, I_Persistent +public class X_AD_Document_Action_Access extends PO implements I_AD_Document_Action_Access, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Document_Action_Access (Properties ctx, int AD_Document_Action_Access_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_Document_Action_Access extends PO implements I_AD_Document_Act } */ } + /** Standard Constructor */ + public X_AD_Document_Action_Access (Properties ctx, String AD_Document_Action_Access_UU, String trxName) + { + super (ctx, AD_Document_Action_Access_UU, trxName); + /** if (AD_Document_Action_Access_UU == null) + { + setAD_Ref_List_ID (0); + setAD_Role_ID (0); + setC_DocType_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Document_Action_Access (Properties ctx, String AD_Document_Action_Access_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Document_Action_Access_UU, trxName, virtualColumns); + /** if (AD_Document_Action_Access_UU == null) + { + setAD_Ref_List_ID (0); + setAD_Role_ID (0); + setC_DocType_ID (0); + } */ + } + /** Load Constructor */ public X_AD_Document_Action_Access (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_Document_Action_Access extends PO implements I_AD_Document_Act } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_AD_Document_Action_Access extends PO implements I_AD_Document_Act public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Document_Action_Access[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Element.java b/org.adempiere.base/src/org/compiere/model/X_AD_Element.java index ebd2447a33..757bbd41d2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Element.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Element.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Element - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Element") -public class X_AD_Element extends PO implements I_AD_Element, I_Persistent +public class X_AD_Element extends PO implements I_AD_Element, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Element (Properties ctx, int AD_Element_ID, String trxName) @@ -63,6 +63,36 @@ public class X_AD_Element extends PO implements I_AD_Element, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Element (Properties ctx, String AD_Element_UU, String trxName) + { + super (ctx, AD_Element_UU, trxName); + /** if (AD_Element_UU == null) + { + setAD_Element_ID (0); + setColumnName (null); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setPrintName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Element (Properties ctx, String AD_Element_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Element_UU, trxName, virtualColumns); + /** if (AD_Element_UU == null) + { + setAD_Element_ID (0); + setColumnName (null); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setPrintName (null); + } */ + } + /** Load Constructor */ public X_AD_Element (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_AD_Element extends PO implements I_AD_Element, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -147,7 +177,7 @@ public class X_AD_Element extends PO implements I_AD_Element, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getColumnName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_EntityType.java b/org.adempiere.base/src/org/compiere/model/X_AD_EntityType.java index e634a9dded..0128bd3f14 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_EntityType.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_EntityType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_EntityType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_EntityType") -public class X_AD_EntityType extends PO implements I_AD_EntityType, I_Persistent +public class X_AD_EntityType extends PO implements I_AD_EntityType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_EntityType (Properties ctx, int AD_EntityType_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_EntityType extends PO implements I_AD_EntityType, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_EntityType (Properties ctx, String AD_EntityType_UU, String trxName) + { + super (ctx, AD_EntityType_UU, trxName); + /** if (AD_EntityType_UU == null) + { + setAD_EntityType_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_EntityType (Properties ctx, String AD_EntityType_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_EntityType_UU, trxName, virtualColumns); + /** if (AD_EntityType_UU == null) + { + setAD_EntityType_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + } */ + } + /** Load Constructor */ public X_AD_EntityType (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_EntityType extends PO implements I_AD_EntityType, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -223,7 +249,7 @@ public class X_AD_EntityType extends PO implements I_AD_EntityType, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -241,10 +267,10 @@ public class X_AD_EntityType extends PO implements I_AD_EntityType, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Error.java b/org.adempiere.base/src/org/compiere/model/X_AD_Error.java index 6253a889a6..4ff62c947d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Error.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Error.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Error - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Error") -public class X_AD_Error extends PO implements I_AD_Error, I_Persistent +public class X_AD_Error extends PO implements I_AD_Error, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Error (Properties ctx, int AD_Error_ID, String trxName) @@ -55,6 +55,28 @@ public class X_AD_Error extends PO implements I_AD_Error, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Error (Properties ctx, String AD_Error_UU, String trxName) + { + super (ctx, AD_Error_UU, trxName); + /** if (AD_Error_UU == null) + { + setAD_Error_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Error (Properties ctx, String AD_Error_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Error_UU, trxName, virtualColumns); + /** if (AD_Error_UU == null) + { + setAD_Error_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_Error (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_AD_Error extends PO implements I_AD_Error, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -173,7 +195,7 @@ public class X_AD_Error extends PO implements I_AD_Error, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Field.java b/org.adempiere.base/src/org/compiere/model/X_AD_Field.java index 6c8b96116e..77f7162c8e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Field.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Field.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Field - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Field") -public class X_AD_Field extends PO implements I_AD_Field, I_Persistent +public class X_AD_Field extends PO implements I_AD_Field, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Field (Properties ctx, int AD_Field_ID, String trxName) @@ -95,6 +95,66 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Field (Properties ctx, String AD_Field_UU, String trxName) + { + super (ctx, AD_Field_UU, trxName); + /** if (AD_Field_UU == null) + { + setAD_Column_ID (0); + setAD_Field_ID (0); + setAD_Tab_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsCentrallyMaintained (true); +// Y + setIsDefaultFocus (false); +// N + setIsDisplayed (true); +// Y + setIsEncrypted (false); + setIsFieldOnly (false); + setIsHeading (false); + setIsQuickEntry (false); +// N + setIsQuickForm (false); +// N + setIsReadOnly (false); + setIsSameLine (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Field (Properties ctx, String AD_Field_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Field_UU, trxName, virtualColumns); + /** if (AD_Field_UU == null) + { + setAD_Column_ID (0); + setAD_Field_ID (0); + setAD_Tab_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsCentrallyMaintained (true); +// Y + setIsDefaultFocus (false); +// N + setIsDisplayed (true); +// Y + setIsEncrypted (false); + setIsFieldOnly (false); + setIsHeading (false); + setIsQuickEntry (false); +// N + setIsQuickForm (false); +// N + setIsReadOnly (false); + setIsSameLine (false); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_Field (Properties ctx, ResultSet rs, String trxName) { @@ -102,7 +162,7 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -633,10 +693,10 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent public boolean isAdvancedField() { Object oo = get_Value(COLUMNNAME_IsAdvancedField); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -702,10 +762,10 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent public boolean isCentrallyMaintained() { Object oo = get_Value(COLUMNNAME_IsCentrallyMaintained); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -724,10 +784,10 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent public boolean isDefaultFocus() { Object oo = get_Value(COLUMNNAME_IsDefaultFocus); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -747,10 +807,10 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent public boolean isDisplayed() { Object oo = get_Value(COLUMNNAME_IsDisplayed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -769,10 +829,10 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent public boolean isDisplayedGrid() { Object oo = get_Value(COLUMNNAME_IsDisplayedGrid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -792,10 +852,10 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent public boolean isEncrypted() { Object oo = get_Value(COLUMNNAME_IsEncrypted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -815,10 +875,10 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent public boolean isFieldOnly() { Object oo = get_Value(COLUMNNAME_IsFieldOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -838,10 +898,10 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent public boolean isHeading() { Object oo = get_Value(COLUMNNAME_IsHeading); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -883,10 +943,10 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent public boolean isQuickEntry() { Object oo = get_Value(COLUMNNAME_IsQuickEntry); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -906,10 +966,10 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent public boolean isQuickForm() { Object oo = get_Value(COLUMNNAME_IsQuickForm); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -929,10 +989,10 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent public boolean isReadOnly() { Object oo = get_Value(COLUMNNAME_IsReadOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -952,10 +1012,10 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent public boolean isSameLine() { Object oo = get_Value(COLUMNNAME_IsSameLine); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1066,7 +1126,7 @@ public class X_AD_Field extends PO implements I_AD_Field, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_FieldGroup.java b/org.adempiere.base/src/org/compiere/model/X_AD_FieldGroup.java index a9d9677827..21941bc965 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_FieldGroup.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_FieldGroup.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_FieldGroup - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_FieldGroup") -public class X_AD_FieldGroup extends PO implements I_AD_FieldGroup, I_Persistent +public class X_AD_FieldGroup extends PO implements I_AD_FieldGroup, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_FieldGroup (Properties ctx, int AD_FieldGroup_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_FieldGroup extends PO implements I_AD_FieldGroup, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_FieldGroup (Properties ctx, String AD_FieldGroup_UU, String trxName) + { + super (ctx, AD_FieldGroup_UU, trxName); + /** if (AD_FieldGroup_UU == null) + { + setAD_FieldGroup_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_FieldGroup (Properties ctx, String AD_FieldGroup_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_FieldGroup_UU, trxName, virtualColumns); + /** if (AD_FieldGroup_UU == null) + { + setAD_FieldGroup_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + } */ + } + /** Load Constructor */ public X_AD_FieldGroup (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_FieldGroup extends PO implements I_AD_FieldGroup, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -181,10 +207,10 @@ public class X_AD_FieldGroup extends PO implements I_AD_FieldGroup, I_Persistent public boolean isCollapsedByDefault() { Object oo = get_Value(COLUMNNAME_IsCollapsedByDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -209,7 +235,7 @@ public class X_AD_FieldGroup extends PO implements I_AD_FieldGroup, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_FieldSuggestion.java b/org.adempiere.base/src/org/compiere/model/X_AD_FieldSuggestion.java index 8fa3985dc4..e83e55e274 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_FieldSuggestion.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_FieldSuggestion.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_FieldSuggestion - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_FieldSuggestion") -public class X_AD_FieldSuggestion extends PO implements I_AD_FieldSuggestion, I_Persistent +public class X_AD_FieldSuggestion extends PO implements I_AD_FieldSuggestion, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_FieldSuggestion (Properties ctx, int AD_FieldSuggestion_ID, String trxName) @@ -78,6 +78,52 @@ public class X_AD_FieldSuggestion extends PO implements I_AD_FieldSuggestion, I_ } */ } + /** Standard Constructor */ + public X_AD_FieldSuggestion (Properties ctx, String AD_FieldSuggestion_UU, String trxName) + { + super (ctx, AD_FieldSuggestion_UU, trxName); + /** if (AD_FieldSuggestion_UU == null) + { + setAD_Field_ID (0); + setAD_FieldSuggestion_ID (0); + setAD_FieldSuggestion_UU (null); + setAD_Language (null); + setAD_UserClient_ID (0); + setAD_User_ID (0); + setFieldSuggestionTarget (null); +// E + setIsApproved (false); +// N + setIsUpdateBaseLanguage (true); +// Y + setProcessed (false); +// N + } */ + } + + /** Standard Constructor */ + public X_AD_FieldSuggestion (Properties ctx, String AD_FieldSuggestion_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_FieldSuggestion_UU, trxName, virtualColumns); + /** if (AD_FieldSuggestion_UU == null) + { + setAD_Field_ID (0); + setAD_FieldSuggestion_ID (0); + setAD_FieldSuggestion_UU (null); + setAD_Language (null); + setAD_UserClient_ID (0); + setAD_User_ID (0); + setFieldSuggestionTarget (null); +// E + setIsApproved (false); +// N + setIsUpdateBaseLanguage (true); +// Y + setProcessed (false); +// N + } */ + } + /** Load Constructor */ public X_AD_FieldSuggestion (Properties ctx, ResultSet rs, String trxName) { @@ -85,7 +131,7 @@ public class X_AD_FieldSuggestion extends PO implements I_AD_FieldSuggestion, I_ } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -392,10 +438,10 @@ public class X_AD_FieldSuggestion extends PO implements I_AD_FieldSuggestion, I_ public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -414,10 +460,10 @@ public class X_AD_FieldSuggestion extends PO implements I_AD_FieldSuggestion, I_ public boolean isUpdateBaseLanguage() { Object oo = get_Value(COLUMNNAME_IsUpdateBaseLanguage); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -453,10 +499,10 @@ public class X_AD_FieldSuggestion extends PO implements I_AD_FieldSuggestion, I_ public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Find.java b/org.adempiere.base/src/org/compiere/model/X_AD_Find.java index 10d995a975..6b3866a829 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Find.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Find.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Find - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Find") -public class X_AD_Find extends PO implements I_AD_Find, I_Persistent +public class X_AD_Find extends PO implements I_AD_Find, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Find (Properties ctx, int AD_Find_ID, String trxName) @@ -69,6 +69,40 @@ public class X_AD_Find extends PO implements I_AD_Find, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Find (Properties ctx, String AD_Find_UU, String trxName) + { + super (ctx, AD_Find_UU, trxName); + /** if (AD_Find_UU == null) + { + setAD_Column_ID (0); + setAD_Find_ID (0); + setAndOr (null); +// A + setFind_ID (Env.ZERO); + setOperation (null); +// == + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Find (Properties ctx, String AD_Find_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Find_UU, trxName, virtualColumns); + /** if (AD_Find_UU == null) + { + setAD_Column_ID (0); + setAD_Find_ID (0); + setAndOr (null); +// A + setFind_ID (Env.ZERO); + setOperation (null); +// == + setValue (null); + } */ + } + /** Load Constructor */ public X_AD_Find (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +110,7 @@ public class X_AD_Find extends PO implements I_AD_Find, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -149,7 +183,7 @@ public class X_AD_Find extends PO implements I_AD_Find, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_Find_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Form.java b/org.adempiere.base/src/org/compiere/model/X_AD_Form.java index 3654acde05..9a5c8a28f8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Form.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Form.java @@ -31,7 +31,7 @@ public class X_AD_Form extends PO implements I_AD_Form, I_Persistent /** * */ - private static final long serialVersionUID = 20230324L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Form (Properties ctx, int AD_Form_ID, String trxName) @@ -288,7 +288,7 @@ public class X_AD_Form extends PO implements I_AD_Form, I_Persistent */ public void setImageURL (String ImageURL) { - set_ValueNoCheck (COLUMNNAME_ImageURL, ImageURL); + set_Value (COLUMNNAME_ImageURL, ImageURL); } /** Get Image URL. diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Form_Access.java b/org.adempiere.base/src/org/compiere/model/X_AD_Form_Access.java index c429881b3b..4d0381de79 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Form_Access.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Form_Access.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Form_Access - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Form_Access") -public class X_AD_Form_Access extends PO implements I_AD_Form_Access, I_Persistent +public class X_AD_Form_Access extends PO implements I_AD_Form_Access, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Form_Access (Properties ctx, int AD_Form_Access_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_Form_Access extends PO implements I_AD_Form_Access, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_Form_Access (Properties ctx, String AD_Form_Access_UU, String trxName) + { + super (ctx, AD_Form_Access_UU, trxName); + /** if (AD_Form_Access_UU == null) + { + setAD_Form_ID (0); + setAD_Role_ID (0); + setIsReadWrite (false); + } */ + } + + /** Standard Constructor */ + public X_AD_Form_Access (Properties ctx, String AD_Form_Access_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Form_Access_UU, trxName, virtualColumns); + /** if (AD_Form_Access_UU == null) + { + setAD_Form_ID (0); + setAD_Role_ID (0); + setIsReadWrite (false); + } */ + } + /** Load Constructor */ public X_AD_Form_Access (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_Form_Access extends PO implements I_AD_Form_Access, I_Persiste } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_AD_Form_Access extends PO implements I_AD_Form_Access, I_Persiste public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Form_Access[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -169,10 +193,10 @@ public class X_AD_Form_Access extends PO implements I_AD_Form_Access, I_Persiste public boolean isReadWrite() { Object oo = get_Value(COLUMNNAME_IsReadWrite); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_HouseKeeping.java b/org.adempiere.base/src/org/compiere/model/X_AD_HouseKeeping.java index b6ed31ee66..bd48a1f293 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_HouseKeeping.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_HouseKeeping.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_HouseKeeping - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_HouseKeeping") -public class X_AD_HouseKeeping extends PO implements I_AD_HouseKeeping, I_Persistent +public class X_AD_HouseKeeping extends PO implements I_AD_HouseKeeping, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_HouseKeeping (Properties ctx, int AD_HouseKeeping_ID, String trxName) @@ -58,6 +58,30 @@ public class X_AD_HouseKeeping extends PO implements I_AD_HouseKeeping, I_Persis } */ } + /** Standard Constructor */ + public X_AD_HouseKeeping (Properties ctx, String AD_HouseKeeping_UU, String trxName) + { + super (ctx, AD_HouseKeeping_UU, trxName); + /** if (AD_HouseKeeping_UU == null) + { + setAD_HouseKeeping_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_AD_HouseKeeping (Properties ctx, String AD_HouseKeeping_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_HouseKeeping_UU, trxName, virtualColumns); + /** if (AD_HouseKeeping_UU == null) + { + setAD_HouseKeeping_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_AD_HouseKeeping (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +89,7 @@ public class X_AD_HouseKeeping extends PO implements I_AD_HouseKeeping, I_Persis } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -211,10 +235,10 @@ public class X_AD_HouseKeeping extends PO implements I_AD_HouseKeeping, I_Persis public boolean isExportXMLBackup() { Object oo = get_Value(COLUMNNAME_IsExportXMLBackup); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -233,10 +257,10 @@ public class X_AD_HouseKeeping extends PO implements I_AD_HouseKeeping, I_Persis public boolean isSaveInHistoric() { Object oo = get_Value(COLUMNNAME_IsSaveInHistoric); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -294,7 +318,7 @@ public class X_AD_HouseKeeping extends PO implements I_AD_HouseKeeping, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -312,10 +336,10 @@ public class X_AD_HouseKeeping extends PO implements I_AD_HouseKeeping, I_Persis public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Image.java b/org.adempiere.base/src/org/compiere/model/X_AD_Image.java index 84c07624d8..ff6c806292 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Image.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Image.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Image - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Image") -public class X_AD_Image extends PO implements I_AD_Image, I_Persistent +public class X_AD_Image extends PO implements I_AD_Image, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Image (Properties ctx, int AD_Image_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_Image extends PO implements I_AD_Image, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Image (Properties ctx, String AD_Image_UU, String trxName) + { + super (ctx, AD_Image_UU, trxName); + /** if (AD_Image_UU == null) + { + setAD_Image_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Image (Properties ctx, String AD_Image_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Image_UU, trxName, virtualColumns); + /** if (AD_Image_UU == null) + { + setAD_Image_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + } */ + } + /** Load Constructor */ public X_AD_Image (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_Image extends PO implements I_AD_Image, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -237,7 +263,7 @@ public class X_AD_Image extends PO implements I_AD_Image, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ImpFormat.java b/org.adempiere.base/src/org/compiere/model/X_AD_ImpFormat.java index 6ae03b8618..e1773f26b1 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ImpFormat.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ImpFormat.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_ImpFormat - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ImpFormat") -public class X_AD_ImpFormat extends PO implements I_AD_ImpFormat, I_Persistent +public class X_AD_ImpFormat extends PO implements I_AD_ImpFormat, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ImpFormat (Properties ctx, int AD_ImpFormat_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_ImpFormat extends PO implements I_AD_ImpFormat, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_ImpFormat (Properties ctx, String AD_ImpFormat_UU, String trxName) + { + super (ctx, AD_ImpFormat_UU, trxName); + /** if (AD_ImpFormat_UU == null) + { + setAD_ImpFormat_ID (0); + setAD_Table_ID (0); + setFormatType (null); + setName (null); + setProcessing (false); + } */ + } + + /** Standard Constructor */ + public X_AD_ImpFormat (Properties ctx, String AD_ImpFormat_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ImpFormat_UU, trxName, virtualColumns); + /** if (AD_ImpFormat_UU == null) + { + setAD_ImpFormat_ID (0); + setAD_Table_ID (0); + setFormatType (null); + setName (null); + setProcessing (false); + } */ + } + /** Load Constructor */ public X_AD_ImpFormat (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_ImpFormat extends PO implements I_AD_ImpFormat, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -217,7 +245,7 @@ public class X_AD_ImpFormat extends PO implements I_AD_ImpFormat, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -235,10 +263,10 @@ public class X_AD_ImpFormat extends PO implements I_AD_ImpFormat, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ImpFormat_Row.java b/org.adempiere.base/src/org/compiere/model/X_AD_ImpFormat_Row.java index 9fd583af10..f648f213e3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ImpFormat_Row.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ImpFormat_Row.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_ImpFormat_Row - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ImpFormat_Row") -public class X_AD_ImpFormat_Row extends PO implements I_AD_ImpFormat_Row, I_Persistent +public class X_AD_ImpFormat_Row extends PO implements I_AD_ImpFormat_Row, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ImpFormat_Row (Properties ctx, int AD_ImpFormat_Row_ID, String trxName) @@ -71,6 +71,44 @@ public class X_AD_ImpFormat_Row extends PO implements I_AD_ImpFormat_Row, I_Pers } */ } + /** Standard Constructor */ + public X_AD_ImpFormat_Row (Properties ctx, String AD_ImpFormat_Row_UU, String trxName) + { + super (ctx, AD_ImpFormat_Row_UU, trxName); + /** if (AD_ImpFormat_Row_UU == null) + { + setAD_Column_ID (0); + setAD_ImpFormat_ID (0); + setAD_ImpFormat_Row_ID (0); + setDataType (null); + setDecimalPoint (null); +// . + setDivideBy100 (false); + setName (null); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_ImpFormat_Row WHERE AD_ImpFormat_ID=@AD_ImpFormat_ID@ + } */ + } + + /** Standard Constructor */ + public X_AD_ImpFormat_Row (Properties ctx, String AD_ImpFormat_Row_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ImpFormat_Row_UU, trxName, virtualColumns); + /** if (AD_ImpFormat_Row_UU == null) + { + setAD_Column_ID (0); + setAD_ImpFormat_ID (0); + setAD_ImpFormat_Row_ID (0); + setDataType (null); + setDecimalPoint (null); +// . + setDivideBy100 (false); + setName (null); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_ImpFormat_Row WHERE AD_ImpFormat_ID=@AD_ImpFormat_ID@ + } */ + } + /** Load Constructor */ public X_AD_ImpFormat_Row (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +116,7 @@ public class X_AD_ImpFormat_Row extends PO implements I_AD_ImpFormat_Row, I_Pers } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -295,10 +333,10 @@ public class X_AD_ImpFormat_Row extends PO implements I_AD_ImpFormat_Row, I_Pers public boolean isDivideBy100() { Object oo = get_Value(COLUMNNAME_DivideBy100); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -357,7 +395,7 @@ public class X_AD_ImpFormat_Row extends PO implements I_AD_ImpFormat_Row, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ImportTemplate.java b/org.adempiere.base/src/org/compiere/model/X_AD_ImportTemplate.java index 29fbd15f3a..6815f94e41 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ImportTemplate.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ImportTemplate.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_ImportTemplate - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ImportTemplate") -public class X_AD_ImportTemplate extends PO implements I_AD_ImportTemplate, I_Persistent +public class X_AD_ImportTemplate extends PO implements I_AD_ImportTemplate, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ImportTemplate (Properties ctx, int AD_ImportTemplate_ID, String trxName) @@ -63,6 +63,36 @@ public class X_AD_ImportTemplate extends PO implements I_AD_ImportTemplate, I_Pe } */ } + /** Standard Constructor */ + public X_AD_ImportTemplate (Properties ctx, String AD_ImportTemplate_UU, String trxName) + { + super (ctx, AD_ImportTemplate_UU, trxName); + /** if (AD_ImportTemplate_UU == null) + { + setAD_ImportTemplate_ID (0); + setAD_Tab_ID (0); + setAD_Window_ID (0); + setCharacterSet (null); + setCSVHeader (null); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_ImportTemplate (Properties ctx, String AD_ImportTemplate_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ImportTemplate_UU, trxName, virtualColumns); + /** if (AD_ImportTemplate_UU == null) + { + setAD_ImportTemplate_ID (0); + setAD_Tab_ID (0); + setAD_Window_ID (0); + setCharacterSet (null); + setCSVHeader (null); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_ImportTemplate (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_AD_ImportTemplate extends PO implements I_AD_ImportTemplate, I_Pe } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -263,7 +293,7 @@ public class X_AD_ImportTemplate extends PO implements I_AD_ImportTemplate, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ImportTemplateAccess.java b/org.adempiere.base/src/org/compiere/model/X_AD_ImportTemplateAccess.java index 3b09b9bcfe..0db0b6c718 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ImportTemplateAccess.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ImportTemplateAccess.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_ImportTemplateAccess - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ImportTemplateAccess") -public class X_AD_ImportTemplateAccess extends PO implements I_AD_ImportTemplateAccess, I_Persistent +public class X_AD_ImportTemplateAccess extends PO implements I_AD_ImportTemplateAccess, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ImportTemplateAccess (Properties ctx, int AD_ImportTemplateAccess_ID, String trxName) @@ -52,6 +52,26 @@ public class X_AD_ImportTemplateAccess extends PO implements I_AD_ImportTemplate } */ } + /** Standard Constructor */ + public X_AD_ImportTemplateAccess (Properties ctx, String AD_ImportTemplateAccess_UU, String trxName) + { + super (ctx, AD_ImportTemplateAccess_UU, trxName); + /** if (AD_ImportTemplateAccess_UU == null) + { + setAD_ImportTemplateAccess_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_ImportTemplateAccess (Properties ctx, String AD_ImportTemplateAccess_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ImportTemplateAccess_UU, trxName, virtualColumns); + /** if (AD_ImportTemplateAccess_UU == null) + { + setAD_ImportTemplateAccess_ID (0); + } */ + } + /** Load Constructor */ public X_AD_ImportTemplateAccess (Properties ctx, ResultSet rs, String trxName) { @@ -59,7 +79,7 @@ public class X_AD_ImportTemplateAccess extends PO implements I_AD_ImportTemplate } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -184,10 +204,10 @@ public class X_AD_ImportTemplateAccess extends PO implements I_AD_ImportTemplate public boolean isAllowInsert() { Object oo = get_Value(COLUMNNAME_IsAllowInsert); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -206,10 +226,10 @@ public class X_AD_ImportTemplateAccess extends PO implements I_AD_ImportTemplate public boolean isAllowMerge() { Object oo = get_Value(COLUMNNAME_IsAllowMerge); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -228,10 +248,10 @@ public class X_AD_ImportTemplateAccess extends PO implements I_AD_ImportTemplate public boolean isAllowUpdate() { Object oo = get_Value(COLUMNNAME_IsAllowUpdate); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_IndexColumn.java b/org.adempiere.base/src/org/compiere/model/X_AD_IndexColumn.java index c1977f3d84..ea7b73ce61 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_IndexColumn.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_IndexColumn.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_IndexColumn - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_IndexColumn") -public class X_AD_IndexColumn extends PO implements I_AD_IndexColumn, I_Persistent +public class X_AD_IndexColumn extends PO implements I_AD_IndexColumn, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_IndexColumn (Properties ctx, int AD_IndexColumn_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_IndexColumn extends PO implements I_AD_IndexColumn, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_IndexColumn (Properties ctx, String AD_IndexColumn_UU, String trxName) + { + super (ctx, AD_IndexColumn_UU, trxName); + /** if (AD_IndexColumn_UU == null) + { + setAD_IndexColumn_ID (0); + setAD_TableIndex_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + } */ + } + + /** Standard Constructor */ + public X_AD_IndexColumn (Properties ctx, String AD_IndexColumn_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_IndexColumn_UU, trxName, virtualColumns); + /** if (AD_IndexColumn_UU == null) + { + setAD_IndexColumn_ID (0); + setAD_TableIndex_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + } */ + } + /** Load Constructor */ public X_AD_IndexColumn (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_IndexColumn extends PO implements I_AD_IndexColumn, I_Persiste } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_InfoColumn.java b/org.adempiere.base/src/org/compiere/model/X_AD_InfoColumn.java index c29d91b0b3..455121587e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_InfoColumn.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_InfoColumn.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_InfoColumn - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_InfoColumn") -public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent +public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_InfoColumn (Properties ctx, int AD_InfoColumn_ID, String trxName) @@ -105,6 +105,78 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_InfoColumn (Properties ctx, String AD_InfoColumn_UU, String trxName) + { + super (ctx, AD_InfoColumn_UU, trxName); + /** if (AD_InfoColumn_UU == null) + { + setAD_InfoColumn_ID (0); + setAD_InfoWindow_ID (0); + setAD_Reference_ID (0); + setColumnName (null); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsAutocomplete (false); +// N + setIsCentrallyMaintained (true); +// Y + setIsDisplayed (true); +// Y + setIsIdentifier (false); +// N + setIsMandatory (false); +// N + setIsQueryAfterChange (false); +// N + setIsQueryCriteria (false); + setIsRange (false); +// N + setIsReadOnly (true); +// Y + setName (null); + setSelectClause (null); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_InfoColumn WHERE AD_InfoWindow_ID=@AD_InfoWindow_ID@ + } */ + } + + /** Standard Constructor */ + public X_AD_InfoColumn (Properties ctx, String AD_InfoColumn_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_InfoColumn_UU, trxName, virtualColumns); + /** if (AD_InfoColumn_UU == null) + { + setAD_InfoColumn_ID (0); + setAD_InfoWindow_ID (0); + setAD_Reference_ID (0); + setColumnName (null); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsAutocomplete (false); +// N + setIsCentrallyMaintained (true); +// Y + setIsDisplayed (true); +// Y + setIsIdentifier (false); +// N + setIsMandatory (false); +// N + setIsQueryAfterChange (false); +// N + setIsQueryCriteria (false); + setIsRange (false); +// N + setIsReadOnly (true); +// Y + setName (null); + setSelectClause (null); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_InfoColumn WHERE AD_InfoWindow_ID=@AD_InfoWindow_ID@ + } */ + } + /** Load Constructor */ public X_AD_InfoColumn (Properties ctx, ResultSet rs, String trxName) { @@ -112,7 +184,7 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -483,10 +555,10 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent public boolean isAutocomplete() { Object oo = get_Value(COLUMNNAME_IsAutocomplete); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -506,10 +578,10 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent public boolean isCentrallyMaintained() { Object oo = get_Value(COLUMNNAME_IsCentrallyMaintained); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -529,10 +601,10 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent public boolean isDisplayed() { Object oo = get_Value(COLUMNNAME_IsDisplayed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -552,10 +624,10 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent public boolean isIdentifier() { Object oo = get_Value(COLUMNNAME_IsIdentifier); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -575,10 +647,10 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent public boolean isKey() { Object oo = get_Value(COLUMNNAME_IsKey); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -598,10 +670,10 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent public boolean isMandatory() { Object oo = get_Value(COLUMNNAME_IsMandatory); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -621,10 +693,10 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent public boolean isQueryAfterChange() { Object oo = get_Value(COLUMNNAME_IsQueryAfterChange); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -644,10 +716,10 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent public boolean isQueryCriteria() { Object oo = get_Value(COLUMNNAME_IsQueryCriteria); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -667,10 +739,10 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent public boolean isRange() { Object oo = get_Value(COLUMNNAME_IsRange); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -690,10 +762,10 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent public boolean isReadOnly() { Object oo = get_Value(COLUMNNAME_IsReadOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -718,7 +790,7 @@ public class X_AD_InfoColumn extends PO implements I_AD_InfoColumn, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_InfoProcess.java b/org.adempiere.base/src/org/compiere/model/X_AD_InfoProcess.java index 4e817045f1..8fa864391a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_InfoProcess.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_InfoProcess.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_InfoProcess - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_InfoProcess") -public class X_AD_InfoProcess extends PO implements I_AD_InfoProcess, I_Persistent +public class X_AD_InfoProcess extends PO implements I_AD_InfoProcess, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_InfoProcess (Properties ctx, int AD_InfoProcess_ID, String trxName) @@ -69,6 +69,42 @@ public class X_AD_InfoProcess extends PO implements I_AD_InfoProcess, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_InfoProcess (Properties ctx, String AD_InfoProcess_UU, String trxName) + { + super (ctx, AD_InfoProcess_UU, trxName); + /** if (AD_InfoProcess_UU == null) + { + setAD_InfoProcess_ID (0); + setAD_InfoProcess_UU (null); + setAD_Process_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setLayoutType (null); +// B + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_InfoProcess WHERE AD_InfoWindow_ID=@AD_InfoWindow_ID@ + } */ + } + + /** Standard Constructor */ + public X_AD_InfoProcess (Properties ctx, String AD_InfoProcess_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_InfoProcess_UU, trxName, virtualColumns); + /** if (AD_InfoProcess_UU == null) + { + setAD_InfoProcess_ID (0); + setAD_InfoProcess_UU (null); + setAD_Process_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setLayoutType (null); +// B + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_InfoProcess WHERE AD_InfoWindow_ID=@AD_InfoWindow_ID@ + } */ + } + /** Load Constructor */ public X_AD_InfoProcess (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +112,7 @@ public class X_AD_InfoProcess extends PO implements I_AD_InfoProcess, I_Persiste } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -220,7 +256,7 @@ public class X_AD_InfoProcess extends PO implements I_AD_InfoProcess, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_Process_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_InfoRelated.java b/org.adempiere.base/src/org/compiere/model/X_AD_InfoRelated.java index bf2af2226c..78048faaa8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_InfoRelated.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_InfoRelated.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_InfoRelated - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_InfoRelated") -public class X_AD_InfoRelated extends PO implements I_AD_InfoRelated, I_Persistent +public class X_AD_InfoRelated extends PO implements I_AD_InfoRelated, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_InfoRelated (Properties ctx, int AD_InfoRelated_ID, String trxName) @@ -71,6 +71,44 @@ public class X_AD_InfoRelated extends PO implements I_AD_InfoRelated, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_InfoRelated (Properties ctx, String AD_InfoRelated_UU, String trxName) + { + super (ctx, AD_InfoRelated_UU, trxName); + /** if (AD_InfoRelated_UU == null) + { + setAD_InfoRelated_ID (0); + setAD_InfoWindow_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setRelatedColumn_ID (0); +// 0 + setRelatedInfo_ID (0); +// 0 + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_AD_InfoRelated (Properties ctx, String AD_InfoRelated_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_InfoRelated_UU, trxName, virtualColumns); + /** if (AD_InfoRelated_UU == null) + { + setAD_InfoRelated_ID (0); + setAD_InfoWindow_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setRelatedColumn_ID (0); +// 0 + setRelatedInfo_ID (0); +// 0 + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_AD_InfoRelated (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +116,7 @@ public class X_AD_InfoRelated extends PO implements I_AD_InfoRelated, I_Persiste } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -249,7 +287,7 @@ public class X_AD_InfoRelated extends PO implements I_AD_InfoRelated, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_InfoWindow.java b/org.adempiere.base/src/org/compiere/model/X_AD_InfoWindow.java index 5e43632f2e..bc03a83fc6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_InfoWindow.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_InfoWindow.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_InfoWindow - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_InfoWindow") -public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent +public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_InfoWindow (Properties ctx, int AD_InfoWindow_ID, String trxName) @@ -87,6 +87,60 @@ public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_InfoWindow (Properties ctx, String AD_InfoWindow_UU, String trxName) + { + super (ctx, AD_InfoWindow_UU, trxName); + /** if (AD_InfoWindow_UU == null) + { + setAD_InfoWindow_ID (0); + setAD_Table_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setFromClause (null); + setIsDefault (false); +// N + setIsDistinct (false); +// N + setIsShowInDashboard (true); +// Y + setIsValid (false); +// N + setMaxQueryRecords (0); +// 0 + setName (null); + setPagingSize (0); +// 0 + } */ + } + + /** Standard Constructor */ + public X_AD_InfoWindow (Properties ctx, String AD_InfoWindow_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_InfoWindow_UU, trxName, virtualColumns); + /** if (AD_InfoWindow_UU == null) + { + setAD_InfoWindow_ID (0); + setAD_Table_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setFromClause (null); + setIsDefault (false); +// N + setIsDistinct (false); +// N + setIsShowInDashboard (true); +// Y + setIsValid (false); +// N + setMaxQueryRecords (0); +// 0 + setName (null); + setPagingSize (0); +// 0 + } */ + } + /** Load Constructor */ public X_AD_InfoWindow (Properties ctx, ResultSet rs, String trxName) { @@ -94,7 +148,7 @@ public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -332,10 +386,10 @@ public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -355,10 +409,10 @@ public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent public boolean isDistinct() { Object oo = get_Value(COLUMNNAME_IsDistinct); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -378,10 +432,10 @@ public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent public boolean isLoadPageNum() { Object oo = get_Value(COLUMNNAME_isLoadPageNum); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -401,10 +455,10 @@ public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent public boolean isShowInDashboard() { Object oo = get_Value(COLUMNNAME_IsShowInDashboard); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -424,10 +478,10 @@ public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent public boolean isValid() { Object oo = get_Value(COLUMNNAME_IsValid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -471,7 +525,7 @@ public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -567,10 +621,10 @@ public class X_AD_InfoWindow extends PO implements I_AD_InfoWindow, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_InfoWindow_Access.java b/org.adempiere.base/src/org/compiere/model/X_AD_InfoWindow_Access.java index 5df9bfd97f..ecba308385 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_InfoWindow_Access.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_InfoWindow_Access.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_InfoWindow_Access - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_InfoWindow_Access") -public class X_AD_InfoWindow_Access extends PO implements I_AD_InfoWindow_Access, I_Persistent +public class X_AD_InfoWindow_Access extends PO implements I_AD_InfoWindow_Access, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_InfoWindow_Access (Properties ctx, int AD_InfoWindow_Access_ID, String trxName) @@ -54,6 +54,28 @@ public class X_AD_InfoWindow_Access extends PO implements I_AD_InfoWindow_Access } */ } + /** Standard Constructor */ + public X_AD_InfoWindow_Access (Properties ctx, String AD_InfoWindow_Access_UU, String trxName) + { + super (ctx, AD_InfoWindow_Access_UU, trxName); + /** if (AD_InfoWindow_Access_UU == null) + { + setAD_InfoWindow_ID (0); + setAD_Role_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_InfoWindow_Access (Properties ctx, String AD_InfoWindow_Access_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_InfoWindow_Access_UU, trxName, virtualColumns); + /** if (AD_InfoWindow_Access_UU == null) + { + setAD_InfoWindow_ID (0); + setAD_Role_ID (0); + } */ + } + /** Load Constructor */ public X_AD_InfoWindow_Access (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_AD_InfoWindow_Access extends PO implements I_AD_InfoWindow_Access } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -78,7 +100,7 @@ public class X_AD_InfoWindow_Access extends PO implements I_AD_InfoWindow_Access public String toString() { StringBuilder sb = new StringBuilder ("X_AD_InfoWindow_Access[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Issue.java b/org.adempiere.base/src/org/compiere/model/X_AD_Issue.java index f2bc7b6c95..2a62825df1 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Issue.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Issue.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Issue - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Issue") -public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent +public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Issue (Properties ctx, int AD_Issue_ID, String trxName) @@ -79,6 +79,52 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Issue (Properties ctx, String AD_Issue_UU, String trxName) + { + super (ctx, AD_Issue_UU, trxName); + /** if (AD_Issue_UU == null) + { + setAD_Issue_ID (0); + setIssueSummary (null); + setName (null); +// . + setProcessed (false); +// N + setReleaseNo (null); +// . + setSystemStatus (null); +// E + setUserName (null); +// . + setVersion (null); +// . + } */ + } + + /** Standard Constructor */ + public X_AD_Issue (Properties ctx, String AD_Issue_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Issue_UU, trxName, virtualColumns); + /** if (AD_Issue_UU == null) + { + setAD_Issue_ID (0); + setIssueSummary (null); + setName (null); +// . + setProcessed (false); +// N + setReleaseNo (null); +// . + setSystemStatus (null); +// E + setUserName (null); +// . + setVersion (null); +// . + } */ + } + /** Load Constructor */ public X_AD_Issue (Properties ctx, ResultSet rs, String trxName) { @@ -86,7 +132,7 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -399,7 +445,7 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getIssueSummary()); } @@ -540,10 +586,10 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -562,10 +608,10 @@ public class X_AD_Issue extends PO implements I_AD_Issue, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Label.java b/org.adempiere.base/src/org/compiere/model/X_AD_Label.java index 9830d141a0..498a0915f2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Label.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Label.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Label - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Label") -public class X_AD_Label extends PO implements I_AD_Label, I_Persistent +public class X_AD_Label extends PO implements I_AD_Label, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Label (Properties ctx, int AD_Label_ID, String trxName) @@ -52,6 +52,26 @@ public class X_AD_Label extends PO implements I_AD_Label, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Label (Properties ctx, String AD_Label_UU, String trxName) + { + super (ctx, AD_Label_UU, trxName); + /** if (AD_Label_UU == null) + { + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Label (Properties ctx, String AD_Label_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Label_UU, trxName, virtualColumns); + /** if (AD_Label_UU == null) + { + setName (null); + } */ + } + /** Load Constructor */ public X_AD_Label (Properties ctx, ResultSet rs, String trxName) { @@ -59,7 +79,7 @@ public class X_AD_Label extends PO implements I_AD_Label, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_LabelAssignment.java b/org.adempiere.base/src/org/compiere/model/X_AD_LabelAssignment.java index 9a49b9dbe5..8a4b9d89b4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_LabelAssignment.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_LabelAssignment.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_LabelAssignment - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_LabelAssignment") -public class X_AD_LabelAssignment extends PO implements I_AD_LabelAssignment, I_Persistent +public class X_AD_LabelAssignment extends PO implements I_AD_LabelAssignment, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_LabelAssignment (Properties ctx, int AD_LabelAssignment_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_LabelAssignment extends PO implements I_AD_LabelAssignment, I_ } */ } + /** Standard Constructor */ + public X_AD_LabelAssignment (Properties ctx, String AD_LabelAssignment_UU, String trxName) + { + super (ctx, AD_LabelAssignment_UU, trxName); + /** if (AD_LabelAssignment_UU == null) + { + setAD_Label_ID (0); + setAD_Table_ID (0); + setRecord_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_LabelAssignment (Properties ctx, String AD_LabelAssignment_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_LabelAssignment_UU, trxName, virtualColumns); + /** if (AD_LabelAssignment_UU == null) + { + setAD_Label_ID (0); + setAD_Table_ID (0); + setRecord_ID (0); + } */ + } + /** Load Constructor */ public X_AD_LabelAssignment (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_LabelAssignment extends PO implements I_AD_LabelAssignment, I_ } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_LabelCategory.java b/org.adempiere.base/src/org/compiere/model/X_AD_LabelCategory.java index 663e7683a6..8107559388 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_LabelCategory.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_LabelCategory.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_LabelCategory - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_LabelCategory") -public class X_AD_LabelCategory extends PO implements I_AD_LabelCategory, I_Persistent +public class X_AD_LabelCategory extends PO implements I_AD_LabelCategory, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_LabelCategory (Properties ctx, int AD_LabelCategory_ID, String trxName) @@ -52,6 +52,26 @@ public class X_AD_LabelCategory extends PO implements I_AD_LabelCategory, I_Pers } */ } + /** Standard Constructor */ + public X_AD_LabelCategory (Properties ctx, String AD_LabelCategory_UU, String trxName) + { + super (ctx, AD_LabelCategory_UU, trxName); + /** if (AD_LabelCategory_UU == null) + { + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_LabelCategory (Properties ctx, String AD_LabelCategory_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_LabelCategory_UU, trxName, virtualColumns); + /** if (AD_LabelCategory_UU == null) + { + setName (null); + } */ + } + /** Load Constructor */ public X_AD_LabelCategory (Properties ctx, ResultSet rs, String trxName) { @@ -59,7 +79,7 @@ public class X_AD_LabelCategory extends PO implements I_AD_LabelCategory, I_Pers } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -175,10 +195,10 @@ public class X_AD_LabelCategory extends PO implements I_AD_LabelCategory, I_Pers public boolean isCanBeUsedInAllTables() { Object oo = get_Value(COLUMNNAME_IsCanBeUsedInAllTables); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_LabelCategoryTable.java b/org.adempiere.base/src/org/compiere/model/X_AD_LabelCategoryTable.java index 67bdf4b2d1..8c1b05687f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_LabelCategoryTable.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_LabelCategoryTable.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_LabelCategoryTable - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_LabelCategoryTable") -public class X_AD_LabelCategoryTable extends PO implements I_AD_LabelCategoryTable, I_Persistent +public class X_AD_LabelCategoryTable extends PO implements I_AD_LabelCategoryTable, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_LabelCategoryTable (Properties ctx, int AD_LabelCategoryTable_ID, String trxName) @@ -54,6 +54,28 @@ public class X_AD_LabelCategoryTable extends PO implements I_AD_LabelCategoryTab } */ } + /** Standard Constructor */ + public X_AD_LabelCategoryTable (Properties ctx, String AD_LabelCategoryTable_UU, String trxName) + { + super (ctx, AD_LabelCategoryTable_UU, trxName); + /** if (AD_LabelCategoryTable_UU == null) + { + setAD_LabelCategory_ID (0); + setAD_Table_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_LabelCategoryTable (Properties ctx, String AD_LabelCategoryTable_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_LabelCategoryTable_UU, trxName, virtualColumns); + /** if (AD_LabelCategoryTable_UU == null) + { + setAD_LabelCategory_ID (0); + setAD_Table_ID (0); + } */ + } + /** Load Constructor */ public X_AD_LabelCategoryTable (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_AD_LabelCategoryTable extends PO implements I_AD_LabelCategoryTab } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_LabelPrinter.java b/org.adempiere.base/src/org/compiere/model/X_AD_LabelPrinter.java index eb09f288f4..b8498b39dd 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_LabelPrinter.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_LabelPrinter.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_LabelPrinter - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_LabelPrinter") -public class X_AD_LabelPrinter extends PO implements I_AD_LabelPrinter, I_Persistent +public class X_AD_LabelPrinter extends PO implements I_AD_LabelPrinter, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_LabelPrinter (Properties ctx, int AD_LabelPrinter_ID, String trxName) @@ -55,6 +55,28 @@ public class X_AD_LabelPrinter extends PO implements I_AD_LabelPrinter, I_Persis } */ } + /** Standard Constructor */ + public X_AD_LabelPrinter (Properties ctx, String AD_LabelPrinter_UU, String trxName) + { + super (ctx, AD_LabelPrinter_UU, trxName); + /** if (AD_LabelPrinter_UU == null) + { + setAD_LabelPrinter_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_LabelPrinter (Properties ctx, String AD_LabelPrinter_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_LabelPrinter_UU, trxName, virtualColumns); + /** if (AD_LabelPrinter_UU == null) + { + setAD_LabelPrinter_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_LabelPrinter (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_AD_LabelPrinter extends PO implements I_AD_LabelPrinter, I_Persis } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -155,7 +177,7 @@ public class X_AD_LabelPrinter extends PO implements I_AD_LabelPrinter, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_LabelPrinterFunction.java b/org.adempiere.base/src/org/compiere/model/X_AD_LabelPrinterFunction.java index 01cee91b71..14bbcd4b40 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_LabelPrinterFunction.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_LabelPrinterFunction.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_LabelPrinterFunction - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_LabelPrinterFunction") -public class X_AD_LabelPrinterFunction extends PO implements I_AD_LabelPrinterFunction, I_Persistent +public class X_AD_LabelPrinterFunction extends PO implements I_AD_LabelPrinterFunction, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_LabelPrinterFunction (Properties ctx, int AD_LabelPrinterFunction_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_LabelPrinterFunction extends PO implements I_AD_LabelPrinterFu } */ } + /** Standard Constructor */ + public X_AD_LabelPrinterFunction (Properties ctx, String AD_LabelPrinterFunction_UU, String trxName) + { + super (ctx, AD_LabelPrinterFunction_UU, trxName); + /** if (AD_LabelPrinterFunction_UU == null) + { + setAD_LabelPrinterFunction_ID (0); + setAD_LabelPrinter_ID (0); + setIsXYPosition (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_LabelPrinterFunction (Properties ctx, String AD_LabelPrinterFunction_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_LabelPrinterFunction_UU, trxName, virtualColumns); + /** if (AD_LabelPrinterFunction_UU == null) + { + setAD_LabelPrinterFunction_ID (0); + setAD_LabelPrinter_ID (0); + setIsXYPosition (false); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_LabelPrinterFunction (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_LabelPrinterFunction extends PO implements I_AD_LabelPrinterFu } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -214,10 +240,10 @@ public class X_AD_LabelPrinterFunction extends PO implements I_AD_LabelPrinterFu public boolean isXYPosition() { Object oo = get_Value(COLUMNNAME_IsXYPosition); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -242,7 +268,7 @@ public class X_AD_LabelPrinterFunction extends PO implements I_AD_LabelPrinterFu /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Language.java b/org.adempiere.base/src/org/compiere/model/X_AD_Language.java index 6464cf0b3a..2fbd60d4da 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Language.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Language.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Language - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Language") -public class X_AD_Language extends PO implements I_AD_Language, I_Persistent +public class X_AD_Language extends PO implements I_AD_Language, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Language (Properties ctx, int AD_Language_ID, String trxName) @@ -67,6 +67,40 @@ public class X_AD_Language extends PO implements I_AD_Language, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Language (Properties ctx, String AD_Language_UU, String trxName) + { + super (ctx, AD_Language_UU, trxName); + /** if (AD_Language_UU == null) + { + setAD_Language (null); + setAD_Language_ID (0); +// @SQL=SELECT NVL(MAX(AD_Language_ID),0)+1 AS DefaultValue FROM AD_Language + setIsBaseLanguage (false); +// N + setIsSystemLanguage (false); + setName (null); + setPrintName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Language (Properties ctx, String AD_Language_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Language_UU, trxName, virtualColumns); + /** if (AD_Language_UU == null) + { + setAD_Language (null); + setAD_Language_ID (0); +// @SQL=SELECT NVL(MAX(AD_Language_ID),0)+1 AS DefaultValue FROM AD_Language + setIsBaseLanguage (false); +// N + setIsSystemLanguage (false); + setName (null); + setPrintName (null); + } */ + } + /** Load Constructor */ public X_AD_Language (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +108,7 @@ public class X_AD_Language extends PO implements I_AD_Language, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -221,10 +255,10 @@ public class X_AD_Language extends PO implements I_AD_Language, I_Persistent public boolean isBaseLanguage() { Object oo = get_Value(COLUMNNAME_IsBaseLanguage); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -244,10 +278,10 @@ public class X_AD_Language extends PO implements I_AD_Language, I_Persistent public boolean isDecimalPoint() { Object oo = get_Value(COLUMNNAME_IsDecimalPoint); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -266,10 +300,10 @@ public class X_AD_Language extends PO implements I_AD_Language, I_Persistent public boolean isLoginLocale() { Object oo = get_Value(COLUMNNAME_IsLoginLocale); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -289,10 +323,10 @@ public class X_AD_Language extends PO implements I_AD_Language, I_Persistent public boolean isSystemLanguage() { Object oo = get_Value(COLUMNNAME_IsSystemLanguage); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -333,7 +367,7 @@ public class X_AD_Language extends PO implements I_AD_Language, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -367,10 +401,10 @@ public class X_AD_Language extends PO implements I_AD_Language, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_LdapAccess.java b/org.adempiere.base/src/org/compiere/model/X_AD_LdapAccess.java index 8800df3759..763c787b2a 100755 --- a/org.adempiere.base/src/org/compiere/model/X_AD_LdapAccess.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_LdapAccess.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_LdapAccess - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_LdapAccess") -public class X_AD_LdapAccess extends PO implements I_AD_LdapAccess, I_Persistent +public class X_AD_LdapAccess extends PO implements I_AD_LdapAccess, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_LdapAccess (Properties ctx, int AD_LdapAccess_ID, String trxName) @@ -57,6 +57,30 @@ public class X_AD_LdapAccess extends PO implements I_AD_LdapAccess, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_LdapAccess (Properties ctx, String AD_LdapAccess_UU, String trxName) + { + super (ctx, AD_LdapAccess_UU, trxName); + /** if (AD_LdapAccess_UU == null) + { + setAD_LdapAccess_ID (0); + setAD_LdapProcessor_ID (0); + setIsError (false); + } */ + } + + /** Standard Constructor */ + public X_AD_LdapAccess (Properties ctx, String AD_LdapAccess_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_LdapAccess_UU, trxName, virtualColumns); + /** if (AD_LdapAccess_UU == null) + { + setAD_LdapAccess_ID (0); + setAD_LdapProcessor_ID (0); + setIsError (false); + } */ + } + /** Load Constructor */ public X_AD_LdapAccess (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_AD_LdapAccess extends PO implements I_AD_LdapAccess, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -181,7 +205,7 @@ public class X_AD_LdapAccess extends PO implements I_AD_LdapAccess, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_User_ID())); } @@ -216,10 +240,10 @@ public class X_AD_LdapAccess extends PO implements I_AD_LdapAccess, I_Persistent public boolean isError() { Object oo = get_Value(COLUMNNAME_IsError); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_LdapProcessor.java b/org.adempiere.base/src/org/compiere/model/X_AD_LdapProcessor.java index 7b3fa657d7..ff59369344 100755 --- a/org.adempiere.base/src/org/compiere/model/X_AD_LdapProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_LdapProcessor.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_LdapProcessor - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_LdapProcessor") -public class X_AD_LdapProcessor extends PO implements I_AD_LdapProcessor, I_Persistent +public class X_AD_LdapProcessor extends PO implements I_AD_LdapProcessor, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_LdapProcessor (Properties ctx, int AD_LdapProcessor_ID, String trxName) @@ -66,6 +66,38 @@ public class X_AD_LdapProcessor extends PO implements I_AD_LdapProcessor, I_Pers } */ } + /** Standard Constructor */ + public X_AD_LdapProcessor (Properties ctx, String AD_LdapProcessor_UU, String trxName) + { + super (ctx, AD_LdapProcessor_UU, trxName); + /** if (AD_LdapProcessor_UU == null) + { + setAD_LdapProcessor_ID (0); + setKeepLogDays (0); +// 7 + setLdapPort (0); +// 389 + setName (null); + setSupervisor_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_LdapProcessor (Properties ctx, String AD_LdapProcessor_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_LdapProcessor_UU, trxName, virtualColumns); + /** if (AD_LdapProcessor_UU == null) + { + setAD_LdapProcessor_ID (0); + setKeepLogDays (0); +// 7 + setLdapPort (0); +// 389 + setName (null); + setSupervisor_ID (0); + } */ + } + /** Load Constructor */ public X_AD_LdapProcessor (Properties ctx, ResultSet rs, String trxName) { @@ -73,7 +105,7 @@ public class X_AD_LdapProcessor extends PO implements I_AD_LdapProcessor, I_Pers } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -236,7 +268,7 @@ public class X_AD_LdapProcessor extends PO implements I_AD_LdapProcessor, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -254,10 +286,10 @@ public class X_AD_LdapProcessor extends PO implements I_AD_LdapProcessor, I_Pers public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_LdapProcessorLog.java b/org.adempiere.base/src/org/compiere/model/X_AD_LdapProcessorLog.java index 57d8bd145d..1df62ee2a4 100755 --- a/org.adempiere.base/src/org/compiere/model/X_AD_LdapProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_LdapProcessorLog.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_LdapProcessorLog - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_LdapProcessorLog") -public class X_AD_LdapProcessorLog extends PO implements I_AD_LdapProcessorLog, I_Persistent +public class X_AD_LdapProcessorLog extends PO implements I_AD_LdapProcessorLog, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_LdapProcessorLog (Properties ctx, int AD_LdapProcessorLog_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_LdapProcessorLog extends PO implements I_AD_LdapProcessorLog, } */ } + /** Standard Constructor */ + public X_AD_LdapProcessorLog (Properties ctx, String AD_LdapProcessorLog_UU, String trxName) + { + super (ctx, AD_LdapProcessorLog_UU, trxName); + /** if (AD_LdapProcessorLog_UU == null) + { + setAD_LdapProcessor_ID (0); + setAD_LdapProcessorLog_ID (0); + setIsError (false); + } */ + } + + /** Standard Constructor */ + public X_AD_LdapProcessorLog (Properties ctx, String AD_LdapProcessorLog_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_LdapProcessorLog_UU, trxName, virtualColumns); + /** if (AD_LdapProcessorLog_UU == null) + { + setAD_LdapProcessor_ID (0); + setAD_LdapProcessorLog_ID (0); + setIsError (false); + } */ + } + /** Load Constructor */ public X_AD_LdapProcessorLog (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_LdapProcessorLog extends PO implements I_AD_LdapProcessorLog, } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -195,10 +219,10 @@ public class X_AD_LdapProcessorLog extends PO implements I_AD_LdapProcessorLog, public boolean isError() { Object oo = get_Value(COLUMNNAME_IsError); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Menu.java b/org.adempiere.base/src/org/compiere/model/X_AD_Menu.java index 70a2ea481f..0ae6d9879f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Menu.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Menu.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Menu - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Menu") -public class X_AD_Menu extends PO implements I_AD_Menu, I_Persistent +public class X_AD_Menu extends PO implements I_AD_Menu, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Menu (Properties ctx, int AD_Menu_ID, String trxName) @@ -69,6 +69,42 @@ public class X_AD_Menu extends PO implements I_AD_Menu, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Menu (Properties ctx, String AD_Menu_UU, String trxName) + { + super (ctx, AD_Menu_UU, trxName); + /** if (AD_Menu_UU == null) + { + setAD_Menu_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsReadOnly (false); +// N + setIsSOTrx (true); +// Y + setIsSummary (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Menu (Properties ctx, String AD_Menu_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Menu_UU, trxName, virtualColumns); + /** if (AD_Menu_UU == null) + { + setAD_Menu_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsReadOnly (false); +// N + setIsSOTrx (true); +// Y + setIsSummary (false); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_Menu (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +112,7 @@ public class X_AD_Menu extends PO implements I_AD_Menu, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -388,10 +424,10 @@ public class X_AD_Menu extends PO implements I_AD_Menu, I_Persistent public boolean isCentrallyMaintained() { Object oo = get_Value(COLUMNNAME_IsCentrallyMaintained); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -411,10 +447,10 @@ public class X_AD_Menu extends PO implements I_AD_Menu, I_Persistent public boolean isReadOnly() { Object oo = get_Value(COLUMNNAME_IsReadOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -434,10 +470,10 @@ public class X_AD_Menu extends PO implements I_AD_Menu, I_Persistent public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -457,10 +493,10 @@ public class X_AD_Menu extends PO implements I_AD_Menu, I_Persistent public boolean isSummary() { Object oo = get_Value(COLUMNNAME_IsSummary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -485,7 +521,7 @@ public class X_AD_Menu extends PO implements I_AD_Menu, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Message.java b/org.adempiere.base/src/org/compiere/model/X_AD_Message.java index db9485b80f..50b5072592 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Message.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Message.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Message - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Message") -public class X_AD_Message extends PO implements I_AD_Message, I_Persistent +public class X_AD_Message extends PO implements I_AD_Message, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Message (Properties ctx, int AD_Message_ID, String trxName) @@ -65,6 +65,38 @@ public class X_AD_Message extends PO implements I_AD_Message, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Message (Properties ctx, String AD_Message_UU, String trxName) + { + super (ctx, AD_Message_UU, trxName); + /** if (AD_Message_UU == null) + { + setAD_Message_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setMsgText (null); + setMsgType (null); +// I + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Message (Properties ctx, String AD_Message_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Message_UU, trxName, virtualColumns); + /** if (AD_Message_UU == null) + { + setAD_Message_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setMsgText (null); + setMsgType (null); +// I + setValue (null); + } */ + } + /** Load Constructor */ public X_AD_Message (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_AD_Message extends PO implements I_AD_Message, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -225,7 +257,7 @@ public class X_AD_Message extends PO implements I_AD_Message, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getValue()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_MigrationScript.java b/org.adempiere.base/src/org/compiere/model/X_AD_MigrationScript.java index 4c14ff2fce..dd2504a42c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_MigrationScript.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_MigrationScript.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_MigrationScript - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_MigrationScript") -public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_Persistent +public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_MigrationScript (Properties ctx, int AD_MigrationScript_ID, String trxName) @@ -65,6 +65,38 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ } */ } + /** Standard Constructor */ + public X_AD_MigrationScript (Properties ctx, String AD_MigrationScript_UU, String trxName) + { + super (ctx, AD_MigrationScript_UU, trxName); + /** if (AD_MigrationScript_UU == null) + { + setAD_MigrationScript_ID (0); + setFileName (null); + setisApply (false); + setName (null); + setProjectName (null); + setReleaseNo (null); + setStatus (null); + } */ + } + + /** Standard Constructor */ + public X_AD_MigrationScript (Properties ctx, String AD_MigrationScript_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_MigrationScript_UU, trxName, virtualColumns); + /** if (AD_MigrationScript_UU == null) + { + setAD_MigrationScript_ID (0); + setFileName (null); + setisApply (false); + setName (null); + setProjectName (null); + setReleaseNo (null); + setStatus (null); + } */ + } + /** Load Constructor */ public X_AD_MigrationScript (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -190,10 +222,10 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ public boolean isApply() { Object oo = get_Value(COLUMNNAME_isApply); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -218,7 +250,7 @@ public class X_AD_MigrationScript extends PO implements I_AD_MigrationScript, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ModelValidator.java b/org.adempiere.base/src/org/compiere/model/X_AD_ModelValidator.java index 585d0c9b7f..75336b41e5 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ModelValidator.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ModelValidator.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_ModelValidator - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ModelValidator") -public class X_AD_ModelValidator extends PO implements I_AD_ModelValidator, I_Persistent +public class X_AD_ModelValidator extends PO implements I_AD_ModelValidator, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ModelValidator (Properties ctx, int AD_ModelValidator_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_ModelValidator extends PO implements I_AD_ModelValidator, I_Pe } */ } + /** Standard Constructor */ + public X_AD_ModelValidator (Properties ctx, String AD_ModelValidator_UU, String trxName) + { + super (ctx, AD_ModelValidator_UU, trxName); + /** if (AD_ModelValidator_UU == null) + { + setAD_ModelValidator_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setModelValidationClass (null); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_ModelValidator (Properties ctx, String AD_ModelValidator_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ModelValidator_UU, trxName, virtualColumns); + /** if (AD_ModelValidator_UU == null) + { + setAD_ModelValidator_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setModelValidationClass (null); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_ModelValidator (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_ModelValidator extends PO implements I_AD_ModelValidator, I_Pe } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -210,7 +238,7 @@ public class X_AD_ModelValidator extends PO implements I_AD_ModelValidator, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Modification.java b/org.adempiere.base/src/org/compiere/model/X_AD_Modification.java index b42afc7c6e..61647230da 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Modification.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Modification.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Modification - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Modification") -public class X_AD_Modification extends PO implements I_AD_Modification, I_Persistent +public class X_AD_Modification extends PO implements I_AD_Modification, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Modification (Properties ctx, int AD_Modification_ID, String trxName) @@ -63,6 +63,36 @@ public class X_AD_Modification extends PO implements I_AD_Modification, I_Persis } */ } + /** Standard Constructor */ + public X_AD_Modification (Properties ctx, String AD_Modification_UU, String trxName) + { + super (ctx, AD_Modification_UU, trxName); + /** if (AD_Modification_UU == null) + { + setAD_Modification_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setSeqNo (0); +// @SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_Modification WHERE EntityType='@EntityType@' + } */ + } + + /** Standard Constructor */ + public X_AD_Modification (Properties ctx, String AD_Modification_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Modification_UU, trxName, virtualColumns); + /** if (AD_Modification_UU == null) + { + setAD_Modification_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setSeqNo (0); +// @SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_Modification WHERE EntityType='@EntityType@' + } */ + } + /** Load Constructor */ public X_AD_Modification (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_AD_Modification extends PO implements I_AD_Modification, I_Persis } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -198,7 +228,7 @@ public class X_AD_Modification extends PO implements I_AD_Modification, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Note.java b/org.adempiere.base/src/org/compiere/model/X_AD_Note.java index a5560e4682..f123d6ed7f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Note.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Note.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Note - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Note") -public class X_AD_Note extends PO implements I_AD_Note, I_Persistent +public class X_AD_Note extends PO implements I_AD_Note, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Note (Properties ctx, int AD_Note_ID, String trxName) @@ -55,6 +55,28 @@ public class X_AD_Note extends PO implements I_AD_Note, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Note (Properties ctx, String AD_Note_UU, String trxName) + { + super (ctx, AD_Note_UU, trxName); + /** if (AD_Note_UU == null) + { + setAD_Message_ID (0); + setAD_Note_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Note (Properties ctx, String AD_Note_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Note_UU, trxName, virtualColumns); + /** if (AD_Note_UU == null) + { + setAD_Message_ID (0); + setAD_Note_ID (0); + } */ + } + /** Load Constructor */ public X_AD_Note (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_AD_Note extends PO implements I_AD_Note, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -142,7 +164,7 @@ public class X_AD_Note extends PO implements I_AD_Note, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_Message_ID())); } @@ -298,10 +320,10 @@ public class X_AD_Note extends PO implements I_AD_Note, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -320,10 +342,10 @@ public class X_AD_Note extends PO implements I_AD_Note, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Org.java b/org.adempiere.base/src/org/compiere/model/X_AD_Org.java index 617df585c3..c6d4e4f9b6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Org.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Org.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Org - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Org") -public class X_AD_Org extends PO implements I_AD_Org, I_Persistent +public class X_AD_Org extends PO implements I_AD_Org, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Org (Properties ctx, int AD_Org_ID, String trxName) @@ -57,6 +57,30 @@ public class X_AD_Org extends PO implements I_AD_Org, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Org (Properties ctx, String AD_Org_UU, String trxName) + { + super (ctx, AD_Org_UU, trxName); + /** if (AD_Org_UU == null) + { + setIsSummary (false); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Org (Properties ctx, String AD_Org_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Org_UU, trxName, virtualColumns); + /** if (AD_Org_UU == null) + { + setIsSummary (false); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_AD_Org (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_AD_Org extends PO implements I_AD_Org, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -158,10 +182,10 @@ public class X_AD_Org extends PO implements I_AD_Org, I_Persistent public boolean isSummary() { Object oo = get_Value(COLUMNNAME_IsSummary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -186,7 +210,7 @@ public class X_AD_Org extends PO implements I_AD_Org, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_OrgInfo.java b/org.adempiere.base/src/org/compiere/model/X_AD_OrgInfo.java index 63839a3b26..86ccb60aa0 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_OrgInfo.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_OrgInfo.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_OrgInfo - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_OrgInfo") -public class X_AD_OrgInfo extends PO implements I_AD_OrgInfo, I_Persistent +public class X_AD_OrgInfo extends PO implements I_AD_OrgInfo, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_OrgInfo (Properties ctx, int AD_OrgInfo_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_OrgInfo extends PO implements I_AD_OrgInfo, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_OrgInfo (Properties ctx, String AD_OrgInfo_UU, String trxName) + { + super (ctx, AD_OrgInfo_UU, trxName); + /** if (AD_OrgInfo_UU == null) + { + setDUNS (null); + setReceiptFooterMsg (null); +// 1 + setTaxID (null); + } */ + } + + /** Standard Constructor */ + public X_AD_OrgInfo (Properties ctx, String AD_OrgInfo_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_OrgInfo_UU, trxName, virtualColumns); + /** if (AD_OrgInfo_UU == null) + { + setDUNS (null); + setReceiptFooterMsg (null); +// 1 + setTaxID (null); + } */ + } + /** Load Constructor */ public X_AD_OrgInfo (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_OrgInfo extends PO implements I_AD_OrgInfo, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -82,7 +108,7 @@ public class X_AD_OrgInfo extends PO implements I_AD_OrgInfo, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_AD_OrgInfo[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -494,4 +520,4 @@ public class X_AD_OrgInfo extends PO implements I_AD_OrgInfo, I_Persistent return 0; return ii.intValue(); } -} +} \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_OrgType.java b/org.adempiere.base/src/org/compiere/model/X_AD_OrgType.java index 1350ddcaa8..df228bf7d9 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_OrgType.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_OrgType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_OrgType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_OrgType") -public class X_AD_OrgType extends PO implements I_AD_OrgType, I_Persistent +public class X_AD_OrgType extends PO implements I_AD_OrgType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_OrgType (Properties ctx, int AD_OrgType_ID, String trxName) @@ -55,6 +55,28 @@ public class X_AD_OrgType extends PO implements I_AD_OrgType, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_OrgType (Properties ctx, String AD_OrgType_UU, String trxName) + { + super (ctx, AD_OrgType_UU, trxName); + /** if (AD_OrgType_UU == null) + { + setAD_OrgType_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_OrgType (Properties ctx, String AD_OrgType_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_OrgType_UU, trxName, virtualColumns); + /** if (AD_OrgType_UU == null) + { + setAD_OrgType_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_OrgType (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_AD_OrgType extends PO implements I_AD_OrgType, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -183,7 +205,7 @@ public class X_AD_OrgType extends PO implements I_AD_OrgType, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_PInstance.java b/org.adempiere.base/src/org/compiere/model/X_AD_PInstance.java index 8c0856fd04..b365ec2a18 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_PInstance.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_PInstance.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_PInstance - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_PInstance") -public class X_AD_PInstance extends PO implements I_AD_PInstance, I_Persistent +public class X_AD_PInstance extends PO implements I_AD_PInstance, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_PInstance (Properties ctx, int AD_PInstance_ID, String trxName) @@ -63,6 +63,36 @@ public class X_AD_PInstance extends PO implements I_AD_PInstance, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_PInstance (Properties ctx, String AD_PInstance_UU, String trxName) + { + super (ctx, AD_PInstance_UU, trxName); + /** if (AD_PInstance_UU == null) + { + setAD_PInstance_ID (0); + setAD_Process_ID (0); + setIsProcessing (false); + setIsRunAsJob (false); +// N + setRecord_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_PInstance (Properties ctx, String AD_PInstance_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_PInstance_UU, trxName, virtualColumns); + /** if (AD_PInstance_UU == null) + { + setAD_PInstance_ID (0); + setAD_Process_ID (0); + setIsProcessing (false); + setIsRunAsJob (false); +// N + setRecord_ID (0); + } */ + } + /** Load Constructor */ public X_AD_PInstance (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_AD_PInstance extends PO implements I_AD_PInstance, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -143,7 +173,7 @@ public class X_AD_PInstance extends PO implements I_AD_PInstance, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_PInstance_ID())); } @@ -303,10 +333,10 @@ public class X_AD_PInstance extends PO implements I_AD_PInstance, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_IsProcessing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -325,10 +355,10 @@ public class X_AD_PInstance extends PO implements I_AD_PInstance, I_Persistent public boolean isRunAsJob() { Object oo = get_Value(COLUMNNAME_IsRunAsJob); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -348,10 +378,10 @@ public class X_AD_PInstance extends PO implements I_AD_PInstance, I_Persistent public boolean isSummary() { Object oo = get_Value(COLUMNNAME_IsSummary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_PInstance_Log.java b/org.adempiere.base/src/org/compiere/model/X_AD_PInstance_Log.java index ee1b1adcec..da8d010d09 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_PInstance_Log.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_PInstance_Log.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for AD_PInstance_Log - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_PInstance_Log") -public class X_AD_PInstance_Log extends PO implements I_AD_PInstance_Log, I_Persistent +public class X_AD_PInstance_Log extends PO implements I_AD_PInstance_Log, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_PInstance_Log (Properties ctx, int AD_PInstance_Log_ID, String trxName) @@ -57,6 +57,28 @@ public class X_AD_PInstance_Log extends PO implements I_AD_PInstance_Log, I_Pers } */ } + /** Standard Constructor */ + public X_AD_PInstance_Log (Properties ctx, String AD_PInstance_Log_UU, String trxName) + { + super (ctx, AD_PInstance_Log_UU, trxName); + /** if (AD_PInstance_Log_UU == null) + { + setAD_PInstance_ID (0); + setLog_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_PInstance_Log (Properties ctx, String AD_PInstance_Log_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_PInstance_Log_UU, trxName, virtualColumns); + /** if (AD_PInstance_Log_UU == null) + { + setAD_PInstance_ID (0); + setLog_ID (0); + } */ + } + /** Load Constructor */ public X_AD_PInstance_Log (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +86,7 @@ public class X_AD_PInstance_Log extends PO implements I_AD_PInstance_Log, I_Pers } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_PInstance_Para.java b/org.adempiere.base/src/org/compiere/model/X_AD_PInstance_Para.java index 54c3276952..07ae7a6054 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_PInstance_Para.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_PInstance_Para.java @@ -22,19 +22,19 @@ import java.sql.ResultSet; import java.sql.Timestamp; import java.util.Properties; import org.compiere.util.Env; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for AD_PInstance_Para - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_PInstance_Para") -public class X_AD_PInstance_Para extends PO implements I_AD_PInstance_Para, I_Persistent +public class X_AD_PInstance_Para extends PO implements I_AD_PInstance_Para, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_PInstance_Para (Properties ctx, int AD_PInstance_Para_ID, String trxName) @@ -62,6 +62,32 @@ public class X_AD_PInstance_Para extends PO implements I_AD_PInstance_Para, I_Pe } */ } + /** Standard Constructor */ + public X_AD_PInstance_Para (Properties ctx, String AD_PInstance_Para_UU, String trxName) + { + super (ctx, AD_PInstance_Para_UU, trxName); + /** if (AD_PInstance_Para_UU == null) + { + setAD_PInstance_ID (0); + setIsNotClause (false); +// N + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_AD_PInstance_Para (Properties ctx, String AD_PInstance_Para_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_PInstance_Para_UU, trxName, virtualColumns); + /** if (AD_PInstance_Para_UU == null) + { + setAD_PInstance_ID (0); + setIsNotClause (false); +// N + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_AD_PInstance_Para (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +95,7 @@ public class X_AD_PInstance_Para extends PO implements I_AD_PInstance_Para, I_Pe } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -86,7 +112,7 @@ public class X_AD_PInstance_Para extends PO implements I_AD_PInstance_Para, I_Pe public String toString() { StringBuilder sb = new StringBuilder ("X_AD_PInstance_Para[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -178,10 +204,10 @@ public class X_AD_PInstance_Para extends PO implements I_AD_PInstance_Para, I_Pe public boolean isNotClause() { Object oo = get_Value(COLUMNNAME_IsNotClause); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -202,12 +228,12 @@ public class X_AD_PInstance_Para extends PO implements I_AD_PInstance_Para, I_Pe return (String)get_Value(COLUMNNAME_ParameterName); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), getParameterName()); + return new ValueNamePair(get_UUID(), getParameterName()); } /** Set Process Date. diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Package_Exp.java b/org.adempiere.base/src/org/compiere/model/X_AD_Package_Exp.java index c33f48fa20..74baf97567 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Package_Exp.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Package_Exp.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Package_Exp - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Package_Exp") -public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persistent +public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Package_Exp (Properties ctx, int AD_Package_Exp_ID, String trxName) @@ -64,6 +64,36 @@ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_Package_Exp (Properties ctx, String AD_Package_Exp_UU, String trxName) + { + super (ctx, AD_Package_Exp_UU, trxName); + /** if (AD_Package_Exp_UU == null) + { + setAD_Package_Exp_ID (0); + setIsExportDictionaryEntity (false); +// N + setName (null); + setPK_Version (null); + setProcessing (false); + } */ + } + + /** Standard Constructor */ + public X_AD_Package_Exp (Properties ctx, String AD_Package_Exp_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Package_Exp_UU, trxName, virtualColumns); + /** if (AD_Package_Exp_UU == null) + { + setAD_Package_Exp_ID (0); + setIsExportDictionaryEntity (false); +// N + setName (null); + setPK_Version (null); + setProcessing (false); + } */ + } + /** Load Constructor */ public X_AD_Package_Exp (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +101,7 @@ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persiste } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -243,10 +273,10 @@ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persiste public boolean isExportDictionaryEntity() { Object oo = get_Value(COLUMNNAME_IsExportDictionaryEntity); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -271,7 +301,7 @@ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -305,10 +335,10 @@ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -327,10 +357,10 @@ public class X_AD_Package_Exp extends PO implements I_AD_Package_Exp, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Package_Exp_Detail.java b/org.adempiere.base/src/org/compiere/model/X_AD_Package_Exp_Detail.java index 09af22b3a3..9af23a88dc 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Package_Exp_Detail.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Package_Exp_Detail.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Package_Exp_Detail - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Package_Exp_Detail") -public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Detail, I_Persistent +public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Detail, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Package_Exp_Detail (Properties ctx, int AD_Package_Exp_Detail_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta } */ } + /** Standard Constructor */ + public X_AD_Package_Exp_Detail (Properties ctx, String AD_Package_Exp_Detail_UU, String trxName) + { + super (ctx, AD_Package_Exp_Detail_UU, trxName); + /** if (AD_Package_Exp_Detail_UU == null) + { + setAD_Package_Exp_Detail_ID (0); + setAD_Package_Exp_ID (0); + setProcessing (false); + setType (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Package_Exp_Detail (Properties ctx, String AD_Package_Exp_Detail_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Package_Exp_Detail_UU, trxName, virtualColumns); + /** if (AD_Package_Exp_Detail_UU == null) + { + setAD_Package_Exp_Detail_ID (0); + setAD_Package_Exp_ID (0); + setProcessing (false); + setType (null); + } */ + } + /** Load Constructor */ public X_AD_Package_Exp_Detail (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -335,7 +361,7 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_Package_Exp_Detail_ID())); } @@ -809,10 +835,10 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -831,10 +857,10 @@ public class X_AD_Package_Exp_Detail extends PO implements I_AD_Package_Exp_Deta public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp.java b/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp.java index cb45cb626f..df9613032b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Package_Imp - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Package_Imp") -public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persistent +public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Package_Imp (Properties ctx, int AD_Package_Imp_ID, String trxName) @@ -57,6 +57,30 @@ public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_Package_Imp (Properties ctx, String AD_Package_Imp_UU, String trxName) + { + super (ctx, AD_Package_Imp_UU, trxName); + /** if (AD_Package_Imp_UU == null) + { + setAD_Package_Imp_ID (0); + setName (null); + setProcessing (false); + } */ + } + + /** Standard Constructor */ + public X_AD_Package_Imp (Properties ctx, String AD_Package_Imp_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Package_Imp_UU, trxName, virtualColumns); + /** if (AD_Package_Imp_UU == null) + { + setAD_Package_Imp_ID (0); + setName (null); + setProcessing (false); + } */ + } + /** Load Constructor */ public X_AD_Package_Imp (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persiste } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -109,7 +133,7 @@ public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_Package_Imp_ID())); } @@ -293,10 +317,10 @@ public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -315,10 +339,10 @@ public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -353,10 +377,10 @@ public class X_AD_Package_Imp extends PO implements I_AD_Package_Imp, I_Persiste public boolean isUninstall() { Object oo = get_Value(COLUMNNAME_Uninstall); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp_Backup.java b/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp_Backup.java index 8dba4d753c..15682ec586 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp_Backup.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp_Backup.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Package_Imp_Backup - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Package_Imp_Backup") -public class X_AD_Package_Imp_Backup extends PO implements I_AD_Package_Imp_Backup, I_Persistent +public class X_AD_Package_Imp_Backup extends PO implements I_AD_Package_Imp_Backup, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Package_Imp_Backup (Properties ctx, int AD_Package_Imp_Backup_ID, String trxName) @@ -57,6 +57,30 @@ public class X_AD_Package_Imp_Backup extends PO implements I_AD_Package_Imp_Back } */ } + /** Standard Constructor */ + public X_AD_Package_Imp_Backup (Properties ctx, String AD_Package_Imp_Backup_UU, String trxName) + { + super (ctx, AD_Package_Imp_Backup_UU, trxName); + /** if (AD_Package_Imp_Backup_UU == null) + { + setAD_Package_Imp_Backup_ID (0); + setAD_Package_Imp_Detail_ID (0); + setAD_Package_Imp_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Package_Imp_Backup (Properties ctx, String AD_Package_Imp_Backup_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Package_Imp_Backup_UU, trxName, virtualColumns); + /** if (AD_Package_Imp_Backup_UU == null) + { + setAD_Package_Imp_Backup_ID (0); + setAD_Package_Imp_Detail_ID (0); + setAD_Package_Imp_ID (0); + } */ + } + /** Load Constructor */ public X_AD_Package_Imp_Backup (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_AD_Package_Imp_Backup extends PO implements I_AD_Package_Imp_Back } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -137,7 +161,7 @@ public class X_AD_Package_Imp_Backup extends PO implements I_AD_Package_Imp_Back /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_Package_Imp_Backup_ID())); } @@ -307,10 +331,10 @@ public class X_AD_Package_Imp_Backup extends PO implements I_AD_Package_Imp_Back public boolean isUninstall() { Object oo = get_Value(COLUMNNAME_Uninstall); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp_Detail.java b/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp_Detail.java index 62c44f2d1c..cddb146f1e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp_Detail.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp_Detail.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Package_Imp_Detail - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Package_Imp_Detail") -public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Detail, I_Persistent +public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Detail, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Package_Imp_Detail (Properties ctx, int AD_Package_Imp_Detail_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Deta } */ } + /** Standard Constructor */ + public X_AD_Package_Imp_Detail (Properties ctx, String AD_Package_Imp_Detail_UU, String trxName) + { + super (ctx, AD_Package_Imp_Detail_UU, trxName); + /** if (AD_Package_Imp_Detail_UU == null) + { + setAD_Package_Imp_Detail_ID (0); + setAD_Package_Imp_ID (0); + setRecord_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Package_Imp_Detail (Properties ctx, String AD_Package_Imp_Detail_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Package_Imp_Detail_UU, trxName, virtualColumns); + /** if (AD_Package_Imp_Detail_UU == null) + { + setAD_Package_Imp_Detail_ID (0); + setAD_Package_Imp_ID (0); + setRecord_ID (0); + } */ + } + /** Load Constructor */ public X_AD_Package_Imp_Detail (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Deta } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -341,10 +365,10 @@ public class X_AD_Package_Imp_Detail extends PO implements I_AD_Package_Imp_Deta public boolean isUninstall() { Object oo = get_Value(COLUMNNAME_Uninstall); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp_Inst.java b/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp_Inst.java index e3e3682663..53c999771f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp_Inst.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp_Inst.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Package_Imp_Inst - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Package_Imp_Inst") -public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, I_Persistent +public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Package_Imp_Inst (Properties ctx, int AD_Package_Imp_Inst_ID, String trxName) @@ -53,6 +53,26 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, } */ } + /** Standard Constructor */ + public X_AD_Package_Imp_Inst (Properties ctx, String AD_Package_Imp_Inst_UU, String trxName) + { + super (ctx, AD_Package_Imp_Inst_UU, trxName); + /** if (AD_Package_Imp_Inst_UU == null) + { + setAD_Package_Imp_Inst_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Package_Imp_Inst (Properties ctx, String AD_Package_Imp_Inst_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Package_Imp_Inst_UU, trxName, virtualColumns); + /** if (AD_Package_Imp_Inst_UU == null) + { + setAD_Package_Imp_Inst_ID (0); + } */ + } + /** Load Constructor */ public X_AD_Package_Imp_Inst (Properties ctx, ResultSet rs, String trxName) { @@ -60,7 +80,7 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -213,7 +233,7 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -262,10 +282,10 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -284,10 +304,10 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -322,10 +342,10 @@ public class X_AD_Package_Imp_Inst extends PO implements I_AD_Package_Imp_Inst, public boolean isUninstall() { Object oo = get_Value(COLUMNNAME_Uninstall); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp_Proc.java b/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp_Proc.java index c41c213198..51dee57c0c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp_Proc.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Package_Imp_Proc.java @@ -22,16 +22,16 @@ import java.sql.Timestamp; import java.util.Properties; /** Generated Model for AD_Package_Imp_Proc - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Package_Imp_Proc") -public class X_AD_Package_Imp_Proc extends PO implements I_AD_Package_Imp_Proc, I_Persistent +public class X_AD_Package_Imp_Proc extends PO implements I_AD_Package_Imp_Proc, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Package_Imp_Proc (Properties ctx, int AD_Package_Imp_Proc_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_Package_Imp_Proc extends PO implements I_AD_Package_Imp_Proc, } */ } + /** Standard Constructor */ + public X_AD_Package_Imp_Proc (Properties ctx, String AD_Package_Imp_Proc_UU, String trxName) + { + super (ctx, AD_Package_Imp_Proc_UU, trxName); + /** if (AD_Package_Imp_Proc_UU == null) + { + setAD_Package_Imp_Proc_ID (0); + setAD_Package_Source_Type (null); +// 'File' + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Package_Imp_Proc (Properties ctx, String AD_Package_Imp_Proc_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Package_Imp_Proc_UU, trxName, virtualColumns); + /** if (AD_Package_Imp_Proc_UU == null) + { + setAD_Package_Imp_Proc_ID (0); + setAD_Package_Source_Type (null); +// 'File' + setName (null); + } */ + } + /** Load Constructor */ public X_AD_Package_Imp_Proc (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_Package_Imp_Proc extends PO implements I_AD_Package_Imp_Proc, } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -100,10 +126,10 @@ public class X_AD_Package_Imp_Proc extends PO implements I_AD_Package_Imp_Proc, public boolean isAD_Override_Dict() { Object oo = get_Value(COLUMNNAME_AD_Override_Dict); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -259,10 +285,10 @@ public class X_AD_Package_Imp_Proc extends PO implements I_AD_Package_Imp_Proc, public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Package_UUID_Map.java b/org.adempiere.base/src/org/compiere/model/X_AD_Package_UUID_Map.java index 8274ac3d68..7368eae97a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Package_UUID_Map.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Package_UUID_Map.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Package_UUID_Map - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Package_UUID_Map") -public class X_AD_Package_UUID_Map extends PO implements I_AD_Package_UUID_Map, I_Persistent +public class X_AD_Package_UUID_Map extends PO implements I_AD_Package_UUID_Map, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Package_UUID_Map (Properties ctx, int AD_Package_UUID_Map_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_Package_UUID_Map extends PO implements I_AD_Package_UUID_Map, } */ } + /** Standard Constructor */ + public X_AD_Package_UUID_Map (Properties ctx, String AD_Package_UUID_Map_UU, String trxName) + { + super (ctx, AD_Package_UUID_Map_UU, trxName); + /** if (AD_Package_UUID_Map_UU == null) + { + setAD_Package_UUID_Map_ID (0); + setAD_Package_UUID_Map_UU (null); + setAD_Table_ID (0); + setSource_UUID (null); + setTarget_UUID (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Package_UUID_Map (Properties ctx, String AD_Package_UUID_Map_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Package_UUID_Map_UU, trxName, virtualColumns); + /** if (AD_Package_UUID_Map_UU == null) + { + setAD_Package_UUID_Map_ID (0); + setAD_Package_UUID_Map_UU (null); + setAD_Table_ID (0); + setSource_UUID (null); + setTarget_UUID (null); + } */ + } + /** Load Constructor */ public X_AD_Package_UUID_Map (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_Package_UUID_Map extends PO implements I_AD_Package_UUID_Map, } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -173,7 +201,7 @@ public class X_AD_Package_UUID_Map extends PO implements I_AD_Package_UUID_Map, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getSource_UUID()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_PasswordRule.java b/org.adempiere.base/src/org/compiere/model/X_AD_PasswordRule.java index ec6f96b5b7..e6b2a95ea3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_PasswordRule.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_PasswordRule.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_PasswordRule - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_PasswordRule") -public class X_AD_PasswordRule extends PO implements I_AD_PasswordRule, I_Persistent +public class X_AD_PasswordRule extends PO implements I_AD_PasswordRule, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_PasswordRule (Properties ctx, int AD_PasswordRule_ID, String trxName) @@ -71,6 +71,44 @@ public class X_AD_PasswordRule extends PO implements I_AD_PasswordRule, I_Persis } */ } + /** Standard Constructor */ + public X_AD_PasswordRule (Properties ctx, String AD_PasswordRule_UU, String trxName) + { + super (ctx, AD_PasswordRule_UU, trxName); + /** if (AD_PasswordRule_UU == null) + { + setAD_PasswordRule_ID (0); + setIsDictMatchBackwards (false); +// N + setIsUserNameRule (false); +// N + setIsUsingDictionary (false); +// N + setIsWhitespace (false); +// N + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_PasswordRule (Properties ctx, String AD_PasswordRule_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_PasswordRule_UU, trxName, virtualColumns); + /** if (AD_PasswordRule_UU == null) + { + setAD_PasswordRule_ID (0); + setIsDictMatchBackwards (false); +// N + setIsUserNameRule (false); +// N + setIsUsingDictionary (false); +// N + setIsWhitespace (false); +// N + setName (null); + } */ + } + /** Load Constructor */ public X_AD_PasswordRule (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +116,7 @@ public class X_AD_PasswordRule extends PO implements I_AD_PasswordRule, I_Persis } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -225,10 +263,10 @@ public class X_AD_PasswordRule extends PO implements I_AD_PasswordRule, I_Persis public boolean isDictMatchBackwards() { Object oo = get_Value(COLUMNNAME_IsDictMatchBackwards); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -248,10 +286,10 @@ public class X_AD_PasswordRule extends PO implements I_AD_PasswordRule, I_Persis public boolean isUserNameRule() { Object oo = get_Value(COLUMNNAME_IsUserNameRule); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -270,10 +308,10 @@ public class X_AD_PasswordRule extends PO implements I_AD_PasswordRule, I_Persis public boolean isUsingDictionary() { Object oo = get_Value(COLUMNNAME_IsUsingDictionary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -293,10 +331,10 @@ public class X_AD_PasswordRule extends PO implements I_AD_PasswordRule, I_Persis public boolean isWhitespace() { Object oo = get_Value(COLUMNNAME_IsWhitespace); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -377,7 +415,7 @@ public class X_AD_PasswordRule extends PO implements I_AD_PasswordRule, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Password_History.java b/org.adempiere.base/src/org/compiere/model/X_AD_Password_History.java index a07c3ca20e..57f8ef3a9d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Password_History.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Password_History.java @@ -22,16 +22,16 @@ import java.sql.Timestamp; import java.util.Properties; /** Generated Model for AD_Password_History - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Password_History") -public class X_AD_Password_History extends PO implements I_AD_Password_History, I_Persistent +public class X_AD_Password_History extends PO implements I_AD_Password_History, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Password_History (Properties ctx, int AD_Password_History_ID, String trxName) @@ -53,6 +53,26 @@ public class X_AD_Password_History extends PO implements I_AD_Password_History, } */ } + /** Standard Constructor */ + public X_AD_Password_History (Properties ctx, String AD_Password_History_UU, String trxName) + { + super (ctx, AD_Password_History_UU, trxName); + /** if (AD_Password_History_UU == null) + { + setAD_Password_History_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Password_History (Properties ctx, String AD_Password_History_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Password_History_UU, trxName, virtualColumns); + /** if (AD_Password_History_UU == null) + { + setAD_Password_History_ID (0); + } */ + } + /** Load Constructor */ public X_AD_Password_History (Properties ctx, ResultSet rs, String trxName) { @@ -60,7 +80,7 @@ public class X_AD_Password_History extends PO implements I_AD_Password_History, } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_PostIt.java b/org.adempiere.base/src/org/compiere/model/X_AD_PostIt.java index ad875a0bba..ee719c76e5 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_PostIt.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_PostIt.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_PostIt - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_PostIt") -public class X_AD_PostIt extends PO implements I_AD_PostIt, I_Persistent +public class X_AD_PostIt extends PO implements I_AD_PostIt, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_PostIt (Properties ctx, int AD_PostIt_ID, String trxName) @@ -52,6 +52,26 @@ public class X_AD_PostIt extends PO implements I_AD_PostIt, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_PostIt (Properties ctx, String AD_PostIt_UU, String trxName) + { + super (ctx, AD_PostIt_UU, trxName); + /** if (AD_PostIt_UU == null) + { + setAD_PostIt_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_PostIt (Properties ctx, String AD_PostIt_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_PostIt_UU, trxName, virtualColumns); + /** if (AD_PostIt_UU == null) + { + setAD_PostIt_ID (0); + } */ + } + /** Load Constructor */ public X_AD_PostIt (Properties ctx, ResultSet rs, String trxName) { @@ -59,7 +79,7 @@ public class X_AD_PostIt extends PO implements I_AD_PostIt, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Preference.java b/org.adempiere.base/src/org/compiere/model/X_AD_Preference.java index 88bb83f7d2..d881c67e6f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Preference.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Preference.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Preference - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Preference") -public class X_AD_Preference extends PO implements I_AD_Preference, I_Persistent +public class X_AD_Preference extends PO implements I_AD_Preference, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Preference (Properties ctx, int AD_Preference_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_Preference extends PO implements I_AD_Preference, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Preference (Properties ctx, String AD_Preference_UU, String trxName) + { + super (ctx, AD_Preference_UU, trxName); + /** if (AD_Preference_UU == null) + { + setAD_Preference_ID (0); + setAttribute (null); + setPreferenceFor (null); +// W + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Preference (Properties ctx, String AD_Preference_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Preference_UU, trxName, virtualColumns); + /** if (AD_Preference_UU == null) + { + setAD_Preference_ID (0); + setAttribute (null); + setPreferenceFor (null); +// W + setValue (null); + } */ + } + /** Load Constructor */ public X_AD_Preference (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_Preference extends PO implements I_AD_Preference, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -256,7 +284,7 @@ public class X_AD_Preference extends PO implements I_AD_Preference, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getAttribute()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_PrintColor.java b/org.adempiere.base/src/org/compiere/model/X_AD_PrintColor.java index a1647dac14..2b0e5ae122 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_PrintColor.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_PrintColor.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintColor - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_PrintColor") -public class X_AD_PrintColor extends PO implements I_AD_PrintColor, I_Persistent +public class X_AD_PrintColor extends PO implements I_AD_PrintColor, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_PrintColor (Properties ctx, int AD_PrintColor_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_PrintColor extends PO implements I_AD_PrintColor, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_PrintColor (Properties ctx, String AD_PrintColor_UU, String trxName) + { + super (ctx, AD_PrintColor_UU, trxName); + /** if (AD_PrintColor_UU == null) + { + setAD_PrintColor_ID (0); + setCode (null); + setIsDefault (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_PrintColor (Properties ctx, String AD_PrintColor_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_PrintColor_UU, trxName, virtualColumns); + /** if (AD_PrintColor_UU == null) + { + setAD_PrintColor_ID (0); + setCode (null); + setIsDefault (false); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_PrintColor (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_PrintColor extends PO implements I_AD_PrintColor, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -154,10 +180,10 @@ public class X_AD_PrintColor extends PO implements I_AD_PrintColor, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -182,7 +208,7 @@ public class X_AD_PrintColor extends PO implements I_AD_PrintColor, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_PrintFont.java b/org.adempiere.base/src/org/compiere/model/X_AD_PrintFont.java index 2d89b608ef..055bb4ff0b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_PrintFont.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_PrintFont.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintFont - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_PrintFont") -public class X_AD_PrintFont extends PO implements I_AD_PrintFont, I_Persistent +public class X_AD_PrintFont extends PO implements I_AD_PrintFont, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_PrintFont (Properties ctx, int AD_PrintFont_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_PrintFont extends PO implements I_AD_PrintFont, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_PrintFont (Properties ctx, String AD_PrintFont_UU, String trxName) + { + super (ctx, AD_PrintFont_UU, trxName); + /** if (AD_PrintFont_UU == null) + { + setAD_PrintFont_ID (0); + setCode (null); + setIsDefault (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_PrintFont (Properties ctx, String AD_PrintFont_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_PrintFont_UU, trxName, virtualColumns); + /** if (AD_PrintFont_UU == null) + { + setAD_PrintFont_ID (0); + setCode (null); + setIsDefault (false); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_PrintFont (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_PrintFont extends PO implements I_AD_PrintFont, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -154,10 +180,10 @@ public class X_AD_PrintFont extends PO implements I_AD_PrintFont, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -182,7 +208,7 @@ public class X_AD_PrintFont extends PO implements I_AD_PrintFont, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_PrintForm.java b/org.adempiere.base/src/org/compiere/model/X_AD_PrintForm.java index 2d06b0fbc1..ffca087482 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_PrintForm.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_PrintForm.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintForm - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_PrintForm") -public class X_AD_PrintForm extends PO implements I_AD_PrintForm, I_Persistent +public class X_AD_PrintForm extends PO implements I_AD_PrintForm, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_PrintForm (Properties ctx, int AD_PrintForm_ID, String trxName) @@ -55,6 +55,28 @@ public class X_AD_PrintForm extends PO implements I_AD_PrintForm, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_PrintForm (Properties ctx, String AD_PrintForm_UU, String trxName) + { + super (ctx, AD_PrintForm_UU, trxName); + /** if (AD_PrintForm_UU == null) + { + setAD_PrintForm_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_PrintForm (Properties ctx, String AD_PrintForm_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_PrintForm_UU, trxName, virtualColumns); + /** if (AD_PrintForm_UU == null) + { + setAD_PrintForm_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_PrintForm (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_AD_PrintForm extends PO implements I_AD_PrintForm, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -323,7 +345,7 @@ public class X_AD_PrintForm extends PO implements I_AD_PrintForm, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_PrintFormat.java b/org.adempiere.base/src/org/compiere/model/X_AD_PrintFormat.java index 46bd545225..a25e5b99e7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_PrintFormat.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_PrintFormat.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintFormat - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_PrintFormat") -public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persistent +public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_PrintFormat (Properties ctx, int AD_PrintFormat_ID, String trxName) @@ -85,6 +85,58 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_PrintFormat (Properties ctx, String AD_PrintFormat_UU, String trxName) + { + super (ctx, AD_PrintFormat_UU, trxName); + /** if (AD_PrintFormat_UU == null) + { + setAD_PrintColor_ID (0); + setAD_PrintFont_ID (0); + setAD_PrintFormat_ID (0); +// 0 + setAD_PrintPaper_ID (0); + setAD_Table_ID (0); + setFooterMargin (0); + setHeaderMargin (0); + setIsBreakPagePerRecord (false); +// N + setIsDefault (false); + setIsForm (false); + setIsStandardHeaderFooter (true); +// Y + setIsTableBased (true); +// Y + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_PrintFormat (Properties ctx, String AD_PrintFormat_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_PrintFormat_UU, trxName, virtualColumns); + /** if (AD_PrintFormat_UU == null) + { + setAD_PrintColor_ID (0); + setAD_PrintFont_ID (0); + setAD_PrintFormat_ID (0); +// 0 + setAD_PrintPaper_ID (0); + setAD_Table_ID (0); + setFooterMargin (0); + setHeaderMargin (0); + setIsBreakPagePerRecord (false); +// N + setIsDefault (false); + setIsForm (false); + setIsStandardHeaderFooter (true); +// Y + setIsTableBased (true); +// Y + setName (null); + } */ + } + /** Load Constructor */ public X_AD_PrintFormat (Properties ctx, ResultSet rs, String trxName) { @@ -92,7 +144,7 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -471,10 +523,10 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste public boolean isBreakPagePerRecord() { Object oo = get_Value(COLUMNNAME_IsBreakPagePerRecord); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -494,10 +546,10 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -517,10 +569,10 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste public boolean isForm() { Object oo = get_Value(COLUMNNAME_IsForm); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -540,10 +592,10 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste public boolean isStandardHeaderFooter() { Object oo = get_Value(COLUMNNAME_IsStandardHeaderFooter); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -563,10 +615,10 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste public boolean isTableBased() { Object oo = get_Value(COLUMNNAME_IsTableBased); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -619,7 +671,7 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_PrintFormatItem.java b/org.adempiere.base/src/org/compiere/model/X_AD_PrintFormatItem.java index 76be39bab4..813c80c3bf 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_PrintFormatItem.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_PrintFormatItem.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintFormatItem - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_PrintFormatItem") -public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_Persistent +public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_PrintFormatItem (Properties ctx, int AD_PrintFormatItem_ID, String trxName) @@ -165,6 +165,138 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ } */ } + /** Standard Constructor */ + public X_AD_PrintFormatItem (Properties ctx, String AD_PrintFormatItem_UU, String trxName) + { + super (ctx, AD_PrintFormatItem_UU, trxName); + /** if (AD_PrintFormatItem_UU == null) + { + setAD_PrintFormatChild_ID (0); + setAD_PrintFormat_ID (0); + setAD_PrintFormatItem_ID (0); + setFieldAlignmentType (null); +// D + setImageIsAttached (false); + setIsAveraged (false); + setIsCentrallyMaintained (false); + setIsCounted (false); + setIsDesc (false); +// N + setIsDeviationCalc (false); + setIsFilledRectangle (false); +// N + setIsFixedWidth (false); + setIsGroupBy (false); + setIsHeightOneLine (true); +// Y + setIsImageField (false); + setIsMaxCalc (false); + setIsMinCalc (false); + setIsNextLine (true); +// Y + setIsNextPage (false); + setIsOrderBy (false); + setIsPageBreak (false); + setIsPrintBarcodeText (true); +// Y + setIsPrinted (true); +// Y + setIsPrintInstanceAttributes (false); +// N + setIsRelativePosition (true); +// Y + setIsRunningTotal (false); + setIsSetNLPosition (false); + setIsSummarized (false); + setIsSuppressNull (false); + setIsSuppressRepeats (false); +// N + setIsVarianceCalc (false); + setLineAlignmentType (null); +// X + setMaxHeight (0); + setMaxWidth (0); + setName (null); + setPrintAreaType (null); +// C + setPrintFormatType (null); +// F + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_PrintFormatItem WHERE AD_PrintFormat_ID=@AD_PrintFormat_ID@ + setSortNo (0); + setXPosition (0); + setXSpace (0); + setYPosition (0); + setYSpace (0); + } */ + } + + /** Standard Constructor */ + public X_AD_PrintFormatItem (Properties ctx, String AD_PrintFormatItem_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_PrintFormatItem_UU, trxName, virtualColumns); + /** if (AD_PrintFormatItem_UU == null) + { + setAD_PrintFormatChild_ID (0); + setAD_PrintFormat_ID (0); + setAD_PrintFormatItem_ID (0); + setFieldAlignmentType (null); +// D + setImageIsAttached (false); + setIsAveraged (false); + setIsCentrallyMaintained (false); + setIsCounted (false); + setIsDesc (false); +// N + setIsDeviationCalc (false); + setIsFilledRectangle (false); +// N + setIsFixedWidth (false); + setIsGroupBy (false); + setIsHeightOneLine (true); +// Y + setIsImageField (false); + setIsMaxCalc (false); + setIsMinCalc (false); + setIsNextLine (true); +// Y + setIsNextPage (false); + setIsOrderBy (false); + setIsPageBreak (false); + setIsPrintBarcodeText (true); +// Y + setIsPrinted (true); +// Y + setIsPrintInstanceAttributes (false); +// N + setIsRelativePosition (true); +// Y + setIsRunningTotal (false); + setIsSetNLPosition (false); + setIsSummarized (false); + setIsSuppressNull (false); + setIsSuppressRepeats (false); +// N + setIsVarianceCalc (false); + setLineAlignmentType (null); +// X + setMaxHeight (0); + setMaxWidth (0); + setName (null); + setPrintAreaType (null); +// C + setPrintFormatType (null); +// F + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_PrintFormatItem WHERE AD_PrintFormat_ID=@AD_PrintFormat_ID@ + setSortNo (0); + setXPosition (0); + setXSpace (0); + setYPosition (0); + setYSpace (0); + } */ + } + /** Load Constructor */ public X_AD_PrintFormatItem (Properties ctx, ResultSet rs, String trxName) { @@ -172,7 +304,7 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -614,10 +746,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isImageIsAttached() { Object oo = get_Value(COLUMNNAME_ImageIsAttached); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -653,10 +785,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isAveraged() { Object oo = get_Value(COLUMNNAME_IsAveraged); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -676,10 +808,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isCentrallyMaintained() { Object oo = get_Value(COLUMNNAME_IsCentrallyMaintained); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -699,10 +831,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isCounted() { Object oo = get_Value(COLUMNNAME_IsCounted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -722,10 +854,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isDesc() { Object oo = get_Value(COLUMNNAME_IsDesc); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -745,10 +877,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isDeviationCalc() { Object oo = get_Value(COLUMNNAME_IsDeviationCalc); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -768,10 +900,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isFilledRectangle() { Object oo = get_Value(COLUMNNAME_IsFilledRectangle); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -791,10 +923,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isFixedWidth() { Object oo = get_Value(COLUMNNAME_IsFixedWidth); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -814,10 +946,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isGroupBy() { Object oo = get_Value(COLUMNNAME_IsGroupBy); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -837,10 +969,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isHeightOneLine() { Object oo = get_Value(COLUMNNAME_IsHeightOneLine); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -860,10 +992,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isImageField() { Object oo = get_Value(COLUMNNAME_IsImageField); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -883,10 +1015,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isMaxCalc() { Object oo = get_Value(COLUMNNAME_IsMaxCalc); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -906,10 +1038,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isMinCalc() { Object oo = get_Value(COLUMNNAME_IsMinCalc); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -929,10 +1061,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isNextLine() { Object oo = get_Value(COLUMNNAME_IsNextLine); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -952,10 +1084,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isNextPage() { Object oo = get_Value(COLUMNNAME_IsNextPage); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -975,10 +1107,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isOrderBy() { Object oo = get_Value(COLUMNNAME_IsOrderBy); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -998,10 +1130,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isPageBreak() { Object oo = get_Value(COLUMNNAME_IsPageBreak); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1021,10 +1153,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isPrintBarcodeText() { Object oo = get_Value(COLUMNNAME_IsPrintBarcodeText); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1044,10 +1176,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1067,10 +1199,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isPrintInstanceAttributes() { Object oo = get_Value(COLUMNNAME_IsPrintInstanceAttributes); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1090,10 +1222,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isRelativePosition() { Object oo = get_Value(COLUMNNAME_IsRelativePosition); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1113,10 +1245,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isRunningTotal() { Object oo = get_Value(COLUMNNAME_IsRunningTotal); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1136,10 +1268,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isSetNLPosition() { Object oo = get_Value(COLUMNNAME_IsSetNLPosition); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1159,10 +1291,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isSummarized() { Object oo = get_Value(COLUMNNAME_IsSummarized); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1182,10 +1314,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isSuppressNull() { Object oo = get_Value(COLUMNNAME_IsSuppressNull); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1205,10 +1337,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isSuppressRepeats() { Object oo = get_Value(COLUMNNAME_IsSuppressRepeats); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1228,10 +1360,10 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ public boolean isVarianceCalc() { Object oo = get_Value(COLUMNNAME_IsVarianceCalc); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1340,7 +1472,7 @@ public class X_AD_PrintFormatItem extends PO implements I_AD_PrintFormatItem, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_PrintGraph.java b/org.adempiere.base/src/org/compiere/model/X_AD_PrintGraph.java index e997cefea5..3806a8d574 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_PrintGraph.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_PrintGraph.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintGraph - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_PrintGraph") -public class X_AD_PrintGraph extends PO implements I_AD_PrintGraph, I_Persistent +public class X_AD_PrintGraph extends PO implements I_AD_PrintGraph, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_PrintGraph (Properties ctx, int AD_PrintGraph_ID, String trxName) @@ -65,6 +65,38 @@ public class X_AD_PrintGraph extends PO implements I_AD_PrintGraph, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_PrintGraph (Properties ctx, String AD_PrintGraph_UU, String trxName) + { + super (ctx, AD_PrintGraph_UU, trxName); + /** if (AD_PrintGraph_UU == null) + { + setAD_PrintFormat_ID (0); +// 0 + setAD_PrintGraph_ID (0); + setData_PrintFormatItem_ID (0); + setDescription_PrintFormatItem_ID (0); + setGraphType (null); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_PrintGraph (Properties ctx, String AD_PrintGraph_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_PrintGraph_UU, trxName, virtualColumns); + /** if (AD_PrintGraph_UU == null) + { + setAD_PrintFormat_ID (0); +// 0 + setAD_PrintGraph_ID (0); + setData_PrintFormatItem_ID (0); + setDescription_PrintFormatItem_ID (0); + setGraphType (null); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_PrintGraph (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_AD_PrintGraph extends PO implements I_AD_PrintGraph, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -386,7 +418,7 @@ public class X_AD_PrintGraph extends PO implements I_AD_PrintGraph, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_PrintHeaderFooter.java b/org.adempiere.base/src/org/compiere/model/X_AD_PrintHeaderFooter.java index 4a0ff10fca..b40467aa18 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_PrintHeaderFooter.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_PrintHeaderFooter.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintHeaderFooter - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_PrintHeaderFooter") -public class X_AD_PrintHeaderFooter extends PO implements I_AD_PrintHeaderFooter, I_Persistent +public class X_AD_PrintHeaderFooter extends PO implements I_AD_PrintHeaderFooter, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_PrintHeaderFooter (Properties ctx, int AD_PrintHeaderFooter_ID, String trxName) @@ -57,6 +57,30 @@ public class X_AD_PrintHeaderFooter extends PO implements I_AD_PrintHeaderFooter } */ } + /** Standard Constructor */ + public X_AD_PrintHeaderFooter (Properties ctx, String AD_PrintHeaderFooter_UU, String trxName) + { + super (ctx, AD_PrintHeaderFooter_UU, trxName); + /** if (AD_PrintHeaderFooter_UU == null) + { + setAD_PrintHeaderFooter_ID (0); + setName (null); + setSourceClassName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_PrintHeaderFooter (Properties ctx, String AD_PrintHeaderFooter_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_PrintHeaderFooter_UU, trxName, virtualColumns); + /** if (AD_PrintHeaderFooter_UU == null) + { + setAD_PrintHeaderFooter_ID (0); + setName (null); + setSourceClassName (null); + } */ + } + /** Load Constructor */ public X_AD_PrintHeaderFooter (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_AD_PrintHeaderFooter extends PO implements I_AD_PrintHeaderFooter } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -140,7 +164,7 @@ public class X_AD_PrintHeaderFooter extends PO implements I_AD_PrintHeaderFooter /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_PrintLabel.java b/org.adempiere.base/src/org/compiere/model/X_AD_PrintLabel.java index b65a944e8e..6e4bb28c39 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_PrintLabel.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_PrintLabel.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintLabel - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_PrintLabel") -public class X_AD_PrintLabel extends PO implements I_AD_PrintLabel, I_Persistent +public class X_AD_PrintLabel extends PO implements I_AD_PrintLabel, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_PrintLabel (Properties ctx, int AD_PrintLabel_ID, String trxName) @@ -65,6 +65,38 @@ public class X_AD_PrintLabel extends PO implements I_AD_PrintLabel, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_PrintLabel (Properties ctx, String AD_PrintLabel_UU, String trxName) + { + super (ctx, AD_PrintLabel_UU, trxName); + /** if (AD_PrintLabel_UU == null) + { + setAD_LabelPrinter_ID (0); + setAD_PrintLabel_ID (0); + setAD_Table_ID (0); + setIsLandscape (false); + setLabelHeight (0); + setLabelWidth (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_PrintLabel (Properties ctx, String AD_PrintLabel_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_PrintLabel_UU, trxName, virtualColumns); + /** if (AD_PrintLabel_UU == null) + { + setAD_LabelPrinter_ID (0); + setAD_PrintLabel_ID (0); + setAD_Table_ID (0); + setIsLandscape (false); + setLabelHeight (0); + setLabelWidth (0); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_PrintLabel (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_AD_PrintLabel extends PO implements I_AD_PrintLabel, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -216,10 +248,10 @@ public class X_AD_PrintLabel extends PO implements I_AD_PrintLabel, I_Persistent public boolean isLandscape() { Object oo = get_Value(COLUMNNAME_IsLandscape); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -282,7 +314,7 @@ public class X_AD_PrintLabel extends PO implements I_AD_PrintLabel, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_PrintLabelLine.java b/org.adempiere.base/src/org/compiere/model/X_AD_PrintLabelLine.java index 4df3a4a1ae..3f200ad346 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_PrintLabelLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_PrintLabelLine.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintLabelLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_PrintLabelLine") -public class X_AD_PrintLabelLine extends PO implements I_AD_PrintLabelLine, I_Persistent +public class X_AD_PrintLabelLine extends PO implements I_AD_PrintLabelLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_PrintLabelLine (Properties ctx, int AD_PrintLabelLine_ID, String trxName) @@ -69,6 +69,42 @@ public class X_AD_PrintLabelLine extends PO implements I_AD_PrintLabelLine, I_Pe } */ } + /** Standard Constructor */ + public X_AD_PrintLabelLine (Properties ctx, String AD_PrintLabelLine_UU, String trxName) + { + super (ctx, AD_PrintLabelLine_UU, trxName); + /** if (AD_PrintLabelLine_UU == null) + { + setAD_LabelPrinterFunction_ID (0); + setAD_PrintLabel_ID (0); + setAD_PrintLabelLine_ID (0); + setLabelFormatType (null); +// F + setName (null); + setSeqNo (0); + setXPosition (0); + setYPosition (0); + } */ + } + + /** Standard Constructor */ + public X_AD_PrintLabelLine (Properties ctx, String AD_PrintLabelLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_PrintLabelLine_UU, trxName, virtualColumns); + /** if (AD_PrintLabelLine_UU == null) + { + setAD_LabelPrinterFunction_ID (0); + setAD_PrintLabel_ID (0); + setAD_PrintLabelLine_ID (0); + setLabelFormatType (null); +// F + setName (null); + setSeqNo (0); + setXPosition (0); + setYPosition (0); + } */ + } + /** Load Constructor */ public X_AD_PrintLabelLine (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +112,7 @@ public class X_AD_PrintLabelLine extends PO implements I_AD_PrintLabelLine, I_Pe } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -295,7 +331,7 @@ public class X_AD_PrintLabelLine extends PO implements I_AD_PrintLabelLine, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getSeqNo())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_PrintPaper.java b/org.adempiere.base/src/org/compiere/model/X_AD_PrintPaper.java index 268de950cc..8b283f1df0 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_PrintPaper.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_PrintPaper.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintPaper - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_PrintPaper") -public class X_AD_PrintPaper extends PO implements I_AD_PrintPaper, I_Persistent +public class X_AD_PrintPaper extends PO implements I_AD_PrintPaper, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_PrintPaper (Properties ctx, int AD_PrintPaper_ID, String trxName) @@ -83,6 +83,54 @@ public class X_AD_PrintPaper extends PO implements I_AD_PrintPaper, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_PrintPaper (Properties ctx, String AD_PrintPaper_UU, String trxName) + { + super (ctx, AD_PrintPaper_UU, trxName); + /** if (AD_PrintPaper_UU == null) + { + setAD_PrintPaper_ID (0); + setCode (null); +// iso-a4 + setIsDefault (false); + setIsLandscape (true); +// Y + setMarginBottom (0); +// 36 + setMarginLeft (0); +// 36 + setMarginRight (0); +// 36 + setMarginTop (0); +// 36 + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_PrintPaper (Properties ctx, String AD_PrintPaper_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_PrintPaper_UU, trxName, virtualColumns); + /** if (AD_PrintPaper_UU == null) + { + setAD_PrintPaper_ID (0); + setCode (null); +// iso-a4 + setIsDefault (false); + setIsLandscape (true); +// Y + setMarginBottom (0); +// 36 + setMarginLeft (0); +// 36 + setMarginRight (0); +// 36 + setMarginTop (0); +// 36 + setName (null); + } */ + } + /** Load Constructor */ public X_AD_PrintPaper (Properties ctx, ResultSet rs, String trxName) { @@ -90,7 +138,7 @@ public class X_AD_PrintPaper extends PO implements I_AD_PrintPaper, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -217,10 +265,10 @@ public class X_AD_PrintPaper extends PO implements I_AD_PrintPaper, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -240,10 +288,10 @@ public class X_AD_PrintPaper extends PO implements I_AD_PrintPaper, I_Persistent public boolean isLandscape() { Object oo = get_Value(COLUMNNAME_IsLandscape); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -344,7 +392,7 @@ public class X_AD_PrintPaper extends PO implements I_AD_PrintPaper, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -362,10 +410,10 @@ public class X_AD_PrintPaper extends PO implements I_AD_PrintPaper, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_PrintTableFormat.java b/org.adempiere.base/src/org/compiere/model/X_AD_PrintTableFormat.java index e70285872f..8b1b51b2b6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_PrintTableFormat.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_PrintTableFormat.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for AD_PrintTableFormat - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_PrintTableFormat") -public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, I_Persistent +public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_PrintTableFormat (Properties ctx, int AD_PrintTableFormat_ID, String trxName) @@ -75,6 +75,46 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, } */ } + /** Standard Constructor */ + public X_AD_PrintTableFormat (Properties ctx, String AD_PrintTableFormat_UU, String trxName) + { + super (ctx, AD_PrintTableFormat_UU, trxName); + /** if (AD_PrintTableFormat_UU == null) + { + setAD_PrintTableFormat_ID (0); + setIsDefault (false); + setIsMultiLineHeader (false); +// N + setIsPaintBoundaryLines (false); + setIsPaintHeaderLines (true); +// Y + setIsPaintHLines (false); + setIsPaintVLines (false); + setIsPrintFunctionSymbols (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_PrintTableFormat (Properties ctx, String AD_PrintTableFormat_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_PrintTableFormat_UU, trxName, virtualColumns); + /** if (AD_PrintTableFormat_UU == null) + { + setAD_PrintTableFormat_ID (0); + setIsDefault (false); + setIsMultiLineHeader (false); +// N + setIsPaintBoundaryLines (false); + setIsPaintHeaderLines (true); +// Y + setIsPaintHLines (false); + setIsPaintVLines (false); + setIsPrintFunctionSymbols (false); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_PrintTableFormat (Properties ctx, ResultSet rs, String trxName) { @@ -82,7 +122,7 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -536,10 +576,10 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, public boolean isImageIsAttached() { Object oo = get_Value(COLUMNNAME_ImageIsAttached); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -575,10 +615,10 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -598,10 +638,10 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, public boolean isMultiLineHeader() { Object oo = get_Value(COLUMNNAME_IsMultiLineHeader); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -621,10 +661,10 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, public boolean isPaintBoundaryLines() { Object oo = get_Value(COLUMNNAME_IsPaintBoundaryLines); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -644,10 +684,10 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, public boolean isPaintHeaderLines() { Object oo = get_Value(COLUMNNAME_IsPaintHeaderLines); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -667,10 +707,10 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, public boolean isPaintHLines() { Object oo = get_Value(COLUMNNAME_IsPaintHLines); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -690,10 +730,10 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, public boolean isPaintVLines() { Object oo = get_Value(COLUMNNAME_IsPaintVLines); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -713,10 +753,10 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, public boolean isPrintFunctionSymbols() { Object oo = get_Value(COLUMNNAME_IsPrintFunctionSymbols); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -815,7 +855,7 @@ public class X_AD_PrintTableFormat extends PO implements I_AD_PrintTableFormat, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Private_Access.java b/org.adempiere.base/src/org/compiere/model/X_AD_Private_Access.java index 7c176a93e1..308187854d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Private_Access.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Private_Access.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Private_Access - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Private_Access") -public class X_AD_Private_Access extends PO implements I_AD_Private_Access, I_Persistent +public class X_AD_Private_Access extends PO implements I_AD_Private_Access, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Private_Access (Properties ctx, int AD_Private_Access_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_Private_Access extends PO implements I_AD_Private_Access, I_Pe } */ } + /** Standard Constructor */ + public X_AD_Private_Access (Properties ctx, String AD_Private_Access_UU, String trxName) + { + super (ctx, AD_Private_Access_UU, trxName); + /** if (AD_Private_Access_UU == null) + { + setAD_Table_ID (0); + setAD_User_ID (0); + setRecord_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Private_Access (Properties ctx, String AD_Private_Access_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Private_Access_UU, trxName, virtualColumns); + /** if (AD_Private_Access_UU == null) + { + setAD_Table_ID (0); + setAD_User_ID (0); + setRecord_ID (0); + } */ + } + /** Load Constructor */ public X_AD_Private_Access (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_Private_Access extends PO implements I_AD_Private_Access, I_Pe } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_AD_Private_Access extends PO implements I_AD_Private_Access, I_Pe public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Private_Access[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Process.java b/org.adempiere.base/src/org/compiere/model/X_AD_Process.java index af520cd68e..c2021647d5 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Process.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Process.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Process - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Process") -public class X_AD_Process extends PO implements I_AD_Process, I_Persistent +public class X_AD_Process extends PO implements I_AD_Process, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Process (Properties ctx, int AD_Process_ID, String trxName) @@ -67,6 +67,40 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Process (Properties ctx, String AD_Process_UU, String trxName) + { + super (ctx, AD_Process_UU, trxName); + /** if (AD_Process_UU == null) + { + setAccessLevel (null); + setAD_Process_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsBetaFunctionality (false); + setIsReport (false); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Process (Properties ctx, String AD_Process_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Process_UU, trxName, virtualColumns); + /** if (AD_Process_UU == null) + { + setAccessLevel (null); + setAD_Process_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsBetaFunctionality (false); + setIsReport (false); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_AD_Process (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +108,7 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -460,10 +494,10 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent public boolean isBetaFunctionality() { Object oo = get_Value(COLUMNNAME_IsBetaFunctionality); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -483,10 +517,10 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent public boolean isDirectPrint() { Object oo = get_Value(COLUMNNAME_IsDirectPrint); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -506,10 +540,10 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent public boolean isReport() { Object oo = get_Value(COLUMNNAME_IsReport); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -549,7 +583,7 @@ public class X_AD_Process extends PO implements I_AD_Process, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Process_Access.java b/org.adempiere.base/src/org/compiere/model/X_AD_Process_Access.java index c8afd53ecd..d18c841b3f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Process_Access.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Process_Access.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Process_Access - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Process_Access") -public class X_AD_Process_Access extends PO implements I_AD_Process_Access, I_Persistent +public class X_AD_Process_Access extends PO implements I_AD_Process_Access, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Process_Access (Properties ctx, int AD_Process_Access_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_Process_Access extends PO implements I_AD_Process_Access, I_Pe } */ } + /** Standard Constructor */ + public X_AD_Process_Access (Properties ctx, String AD_Process_Access_UU, String trxName) + { + super (ctx, AD_Process_Access_UU, trxName); + /** if (AD_Process_Access_UU == null) + { + setAD_Process_ID (0); + setAD_Role_ID (0); + setIsReadWrite (false); + } */ + } + + /** Standard Constructor */ + public X_AD_Process_Access (Properties ctx, String AD_Process_Access_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Process_Access_UU, trxName, virtualColumns); + /** if (AD_Process_Access_UU == null) + { + setAD_Process_ID (0); + setAD_Role_ID (0); + setIsReadWrite (false); + } */ + } + /** Load Constructor */ public X_AD_Process_Access (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_Process_Access extends PO implements I_AD_Process_Access, I_Pe } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_AD_Process_Access extends PO implements I_AD_Process_Access, I_Pe public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Process_Access[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -169,10 +193,10 @@ public class X_AD_Process_Access extends PO implements I_AD_Process_Access, I_Pe public boolean isReadWrite() { Object oo = get_Value(COLUMNNAME_IsReadWrite); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Process_DrillRule.java b/org.adempiere.base/src/org/compiere/model/X_AD_Process_DrillRule.java index 1aa4e8007c..49dcbc0d0e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Process_DrillRule.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Process_DrillRule.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Process_DrillRule - * @author iDempiere (generated) + * @author iDempiere (generated) * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Process_DrillRule") -public class X_AD_Process_DrillRule extends PO implements I_AD_Process_DrillRule, I_Persistent +public class X_AD_Process_DrillRule extends PO implements I_AD_Process_DrillRule, I_Persistent { /** * */ - private static final long serialVersionUID = 20230109L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Process_DrillRule (Properties ctx, int AD_Process_DrillRule_ID, String trxName) @@ -62,6 +62,36 @@ public class X_AD_Process_DrillRule extends PO implements I_AD_Process_DrillRule } */ } + /** Standard Constructor */ + public X_AD_Process_DrillRule (Properties ctx, String AD_Process_DrillRule_UU, String trxName) + { + super (ctx, AD_Process_DrillRule_UU, trxName); + /** if (AD_Process_DrillRule_UU == null) + { + setAD_Process_DrillRule_ID (0); + setAD_Process_ID (0); + setAD_Process_Para_ID (0); + setIsValid (false); +// N + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Process_DrillRule (Properties ctx, String AD_Process_DrillRule_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Process_DrillRule_UU, trxName, virtualColumns); + /** if (AD_Process_DrillRule_UU == null) + { + setAD_Process_DrillRule_ID (0); + setAD_Process_ID (0); + setAD_Process_Para_ID (0); + setIsValid (false); +// N + setName (null); + } */ + } + /** Load Constructor */ public X_AD_Process_DrillRule (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +99,7 @@ public class X_AD_Process_DrillRule extends PO implements I_AD_Process_DrillRule } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -166,9 +196,9 @@ public class X_AD_Process_DrillRule extends PO implements I_AD_Process_DrillRule public void setAD_Process_ID (int AD_Process_ID) { if (AD_Process_ID < 1) - set_Value (COLUMNNAME_AD_Process_ID, null); + set_ValueNoCheck (COLUMNNAME_AD_Process_ID, null); else - set_Value (COLUMNNAME_AD_Process_ID, Integer.valueOf(AD_Process_ID)); + set_ValueNoCheck (COLUMNNAME_AD_Process_ID, Integer.valueOf(AD_Process_ID)); } /** Get Process. @@ -295,10 +325,10 @@ public class X_AD_Process_DrillRule extends PO implements I_AD_Process_DrillRule public boolean isValid() { Object oo = get_Value(COLUMNNAME_IsValid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Process_DrillRule_Para.java b/org.adempiere.base/src/org/compiere/model/X_AD_Process_DrillRule_Para.java index 193cc6c7c0..3b38d1847d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Process_DrillRule_Para.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Process_DrillRule_Para.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Process_DrillRule_Para - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Process_DrillRule_Para") -public class X_AD_Process_DrillRule_Para extends PO implements I_AD_Process_DrillRule_Para, I_Persistent +public class X_AD_Process_DrillRule_Para extends PO implements I_AD_Process_DrillRule_Para, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Process_DrillRule_Para (Properties ctx, int AD_Process_DrillRule_Para_ID, String trxName) @@ -54,6 +54,28 @@ public class X_AD_Process_DrillRule_Para extends PO implements I_AD_Process_Dril } */ } + /** Standard Constructor */ + public X_AD_Process_DrillRule_Para (Properties ctx, String AD_Process_DrillRule_Para_UU, String trxName) + { + super (ctx, AD_Process_DrillRule_Para_UU, trxName); + /** if (AD_Process_DrillRule_Para_UU == null) + { + setAD_Process_DrillRule_ID (0); + setAD_Process_Para_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Process_DrillRule_Para (Properties ctx, String AD_Process_DrillRule_Para_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Process_DrillRule_Para_UU, trxName, virtualColumns); + /** if (AD_Process_DrillRule_Para_UU == null) + { + setAD_Process_DrillRule_ID (0); + setAD_Process_Para_ID (0); + } */ + } + /** Load Constructor */ public X_AD_Process_DrillRule_Para (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_AD_Process_DrillRule_Para extends PO implements I_AD_Process_Dril } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -78,7 +100,7 @@ public class X_AD_Process_DrillRule_Para extends PO implements I_AD_Process_Dril public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Process_DrillRule_Para[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Process_Para.java b/org.adempiere.base/src/org/compiere/model/X_AD_Process_Para.java index 9081aa3c39..b13ae24deb 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Process_Para.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Process_Para.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Process_Para - * @author iDempiere (generated) + * @author iDempiere (generated) * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Process_Para") -public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persistent +public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persistent { /** * */ - private static final long serialVersionUID = 20230302L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Process_Para (Properties ctx, int AD_Process_Para_ID, String trxName) @@ -95,6 +95,68 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis } */ } + /** Standard Constructor */ + public X_AD_Process_Para (Properties ctx, String AD_Process_Para_UU, String trxName) + { + super (ctx, AD_Process_Para_UU, trxName); + /** if (AD_Process_Para_UU == null) + { + setAD_Process_ID (0); + setAD_Process_Para_ID (0); + setAD_Reference_ID (0); + setColumnName (null); + setDateRangeOption (null); +// D + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setFieldLength (0); + setIsAutocomplete (false); +// N + setIsCentrallyMaintained (true); +// Y + setIsEncrypted (false); +// N + setIsMandatory (false); + setIsRange (false); + setIsShowNegateButton (false); +// N + setName (null); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_Process_Para WHERE AD_Process_ID=@AD_Process_ID@ + } */ + } + + /** Standard Constructor */ + public X_AD_Process_Para (Properties ctx, String AD_Process_Para_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Process_Para_UU, trxName, virtualColumns); + /** if (AD_Process_Para_UU == null) + { + setAD_Process_ID (0); + setAD_Process_Para_ID (0); + setAD_Reference_ID (0); + setColumnName (null); + setDateRangeOption (null); +// D + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setFieldLength (0); + setIsAutocomplete (false); +// N + setIsCentrallyMaintained (true); +// Y + setIsEncrypted (false); +// N + setIsMandatory (false); + setIsRange (false); + setIsShowNegateButton (false); +// N + setName (null); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_Process_Para WHERE AD_Process_ID=@AD_Process_ID@ + } */ + } + /** Load Constructor */ public X_AD_Process_Para (Properties ctx, ResultSet rs, String trxName) { @@ -102,7 +164,7 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -498,10 +560,10 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis public boolean isAutocomplete() { Object oo = get_Value(COLUMNNAME_IsAutocomplete); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -521,10 +583,10 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis public boolean isCentrallyMaintained() { Object oo = get_Value(COLUMNNAME_IsCentrallyMaintained); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -544,10 +606,10 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis public boolean isEncrypted() { Object oo = get_Value(COLUMNNAME_IsEncrypted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -567,10 +629,10 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis public boolean isMandatory() { Object oo = get_Value(COLUMNNAME_IsMandatory); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -590,10 +652,10 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis public boolean isRange() { Object oo = get_Value(COLUMNNAME_IsRange); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -613,10 +675,10 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis public boolean isShowNegateButton() { Object oo = get_Value(COLUMNNAME_IsShowNegateButton); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -656,7 +718,7 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -742,22 +804,6 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis return ii.intValue(); } - /** Set Value Format. - @param VFormat Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public void setVFormat (String VFormat) - { - set_Value (COLUMNNAME_VFormat, VFormat); - } - - /** Get Value Format. - @return Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public String getVFormat() - { - return (String)get_Value(COLUMNNAME_VFormat); - } - /** Set Max. Value. @param ValueMax Maximum Value for a field */ @@ -789,4 +835,20 @@ public class X_AD_Process_Para extends PO implements I_AD_Process_Para, I_Persis { return (String)get_Value(COLUMNNAME_ValueMin); } + + /** Set Value Format. + @param VFormat Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" + */ + public void setVFormat (String VFormat) + { + set_Value (COLUMNNAME_VFormat, VFormat); + } + + /** Get Value Format. + @return Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" + */ + public String getVFormat() + { + return (String)get_Value(COLUMNNAME_VFormat); + } } \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_RecentItem.java b/org.adempiere.base/src/org/compiere/model/X_AD_RecentItem.java index cdf22b3092..fa182616eb 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_RecentItem.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_RecentItem.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_RecentItem - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_RecentItem") -public class X_AD_RecentItem extends PO implements I_AD_RecentItem, I_Persistent +public class X_AD_RecentItem extends PO implements I_AD_RecentItem, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_RecentItem (Properties ctx, int AD_RecentItem_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_RecentItem extends PO implements I_AD_RecentItem, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_RecentItem (Properties ctx, String AD_RecentItem_UU, String trxName) + { + super (ctx, AD_RecentItem_UU, trxName); + /** if (AD_RecentItem_UU == null) + { + setAD_RecentItem_ID (0); + setAD_Role_ID (0); + setAD_Table_ID (0); + setRecord_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_RecentItem (Properties ctx, String AD_RecentItem_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_RecentItem_UU, trxName, virtualColumns); + /** if (AD_RecentItem_UU == null) + { + setAD_RecentItem_ID (0); + setAD_Role_ID (0); + setAD_Table_ID (0); + setRecord_ID (0); + } */ + } + /** Load Constructor */ public X_AD_RecentItem (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_RecentItem extends PO implements I_AD_RecentItem, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Record_Access.java b/org.adempiere.base/src/org/compiere/model/X_AD_Record_Access.java index ee32248a37..03569f5920 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Record_Access.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Record_Access.java @@ -19,19 +19,19 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for AD_Record_Access - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Record_Access") -public class X_AD_Record_Access extends PO implements I_AD_Record_Access, I_Persistent +public class X_AD_Record_Access extends PO implements I_AD_Record_Access, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Record_Access (Properties ctx, int AD_Record_Access_ID, String trxName) @@ -67,6 +67,40 @@ public class X_AD_Record_Access extends PO implements I_AD_Record_Access, I_Pers } */ } + /** Standard Constructor */ + public X_AD_Record_Access (Properties ctx, String AD_Record_Access_UU, String trxName) + { + super (ctx, AD_Record_Access_UU, trxName); + /** if (AD_Record_Access_UU == null) + { + setAD_Role_ID (0); + setAD_Table_ID (0); + setIsDependentEntities (false); +// N + setIsExclude (true); +// Y + setIsReadOnly (false); + setRecord_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Record_Access (Properties ctx, String AD_Record_Access_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Record_Access_UU, trxName, virtualColumns); + /** if (AD_Record_Access_UU == null) + { + setAD_Role_ID (0); + setAD_Table_ID (0); + setIsDependentEntities (false); +// N + setIsExclude (true); +// Y + setIsReadOnly (false); + setRecord_ID (0); + } */ + } + /** Load Constructor */ public X_AD_Record_Access (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +108,7 @@ public class X_AD_Record_Access extends PO implements I_AD_Record_Access, I_Pers } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -91,7 +125,7 @@ public class X_AD_Record_Access extends PO implements I_AD_Record_Access, I_Pers public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Record_Access[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -166,12 +200,12 @@ public class X_AD_Record_Access extends PO implements I_AD_Record_Access, I_Pers return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getAD_Table_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getAD_Table_ID())); } /** Set Dependent Entities. @@ -188,10 +222,10 @@ public class X_AD_Record_Access extends PO implements I_AD_Record_Access, I_Pers public boolean isDependentEntities() { Object oo = get_Value(COLUMNNAME_IsDependentEntities); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -211,10 +245,10 @@ public class X_AD_Record_Access extends PO implements I_AD_Record_Access, I_Pers public boolean isExclude() { Object oo = get_Value(COLUMNNAME_IsExclude); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -234,10 +268,10 @@ public class X_AD_Record_Access extends PO implements I_AD_Record_Access, I_Pers public boolean isReadOnly() { Object oo = get_Value(COLUMNNAME_IsReadOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Ref_List.java b/org.adempiere.base/src/org/compiere/model/X_AD_Ref_List.java index 638f3083da..2283841187 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Ref_List.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Ref_List.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Ref_List - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Ref_List") -public class X_AD_Ref_List extends PO implements I_AD_Ref_List, I_Persistent +public class X_AD_Ref_List extends PO implements I_AD_Ref_List, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Ref_List (Properties ctx, int AD_Ref_List_ID, String trxName) @@ -64,6 +64,36 @@ public class X_AD_Ref_List extends PO implements I_AD_Ref_List, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Ref_List (Properties ctx, String AD_Ref_List_UU, String trxName) + { + super (ctx, AD_Ref_List_UU, trxName); + /** if (AD_Ref_List_UU == null) + { + setAD_Reference_ID (0); + setAD_Ref_List_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Ref_List (Properties ctx, String AD_Ref_List_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Ref_List_UU, trxName, virtualColumns); + /** if (AD_Ref_List_UU == null) + { + setAD_Reference_ID (0); + setAD_Ref_List_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_AD_Ref_List (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +101,7 @@ public class X_AD_Ref_List extends PO implements I_AD_Ref_List, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -211,7 +241,7 @@ public class X_AD_Ref_List extends PO implements I_AD_Ref_List, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Ref_Table.java b/org.adempiere.base/src/org/compiere/model/X_AD_Ref_Table.java index fa933b1ac0..229f683743 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Ref_Table.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Ref_Table.java @@ -19,19 +19,19 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for AD_Ref_Table - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Ref_Table") -public class X_AD_Ref_Table extends PO implements I_AD_Ref_Table, I_Persistent +public class X_AD_Ref_Table extends PO implements I_AD_Ref_Table, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Ref_Table (Properties ctx, int AD_Ref_Table_ID, String trxName) @@ -65,6 +65,38 @@ public class X_AD_Ref_Table extends PO implements I_AD_Ref_Table, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Ref_Table (Properties ctx, String AD_Ref_Table_UU, String trxName) + { + super (ctx, AD_Ref_Table_UU, trxName); + /** if (AD_Ref_Table_UU == null) + { + setAD_Display (0); + setAD_Key (0); + setAD_Reference_ID (0); + setAD_Table_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsValueDisplayed (false); + } */ + } + + /** Standard Constructor */ + public X_AD_Ref_Table (Properties ctx, String AD_Ref_Table_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Ref_Table_UU, trxName, virtualColumns); + /** if (AD_Ref_Table_UU == null) + { + setAD_Display (0); + setAD_Key (0); + setAD_Reference_ID (0); + setAD_Table_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsValueDisplayed (false); + } */ + } + /** Load Constructor */ public X_AD_Ref_Table (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_AD_Ref_Table extends PO implements I_AD_Ref_Table, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -89,7 +121,7 @@ public class X_AD_Ref_Table extends PO implements I_AD_Ref_Table, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Ref_Table[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -199,12 +231,12 @@ public class X_AD_Ref_Table extends PO implements I_AD_Ref_Table, I_Persistent return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getAD_Reference_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getAD_Reference_ID())); } /** Set AD_Ref_Table_UU. @@ -311,10 +343,10 @@ public class X_AD_Ref_Table extends PO implements I_AD_Ref_Table, I_Persistent public boolean isValueDisplayed() { Object oo = get_Value(COLUMNNAME_IsValueDisplayed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Reference.java b/org.adempiere.base/src/org/compiere/model/X_AD_Reference.java index c650d42015..0ce025d4e1 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Reference.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Reference.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Reference - * @author iDempiere (generated) + * @author iDempiere (generated) * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Reference") -public class X_AD_Reference extends PO implements I_AD_Reference, I_Persistent +public class X_AD_Reference extends PO implements I_AD_Reference, I_Persistent { /** * */ - private static final long serialVersionUID = 20230213L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Reference (Properties ctx, int AD_Reference_ID, String trxName) @@ -65,6 +65,38 @@ public class X_AD_Reference extends PO implements I_AD_Reference, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Reference (Properties ctx, String AD_Reference_UU, String trxName) + { + super (ctx, AD_Reference_UU, trxName); + /** if (AD_Reference_UU == null) + { + setAD_Reference_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setShowInactive (null); +// N + setValidationType (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Reference (Properties ctx, String AD_Reference_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Reference_UU, trxName, virtualColumns); + /** if (AD_Reference_UU == null) + { + setAD_Reference_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setShowInactive (null); +// N + setValidationType (null); + } */ + } + /** Load Constructor */ public X_AD_Reference (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_AD_Reference extends PO implements I_AD_Reference, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -223,10 +255,10 @@ public class X_AD_Reference extends PO implements I_AD_Reference, I_Persistent public boolean isOrderByValue() { Object oo = get_Value(COLUMNNAME_IsOrderByValue); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -251,7 +283,7 @@ public class X_AD_Reference extends PO implements I_AD_Reference, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -279,22 +311,6 @@ public class X_AD_Reference extends PO implements I_AD_Reference, I_Persistent return (String)get_Value(COLUMNNAME_ShowInactive); } - /** Set Value Format. - @param VFormat Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public void setVFormat (String VFormat) - { - set_Value (COLUMNNAME_VFormat, VFormat); - } - - /** Get Value Format. - @return Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" - */ - public String getVFormat() - { - return (String)get_Value(COLUMNNAME_VFormat); - } - /** ValidationType AD_Reference_ID=2 */ public static final int VALIDATIONTYPE_AD_Reference_ID=2; /** DataType = D */ @@ -319,4 +335,20 @@ public class X_AD_Reference extends PO implements I_AD_Reference, I_Persistent { return (String)get_Value(COLUMNNAME_ValidationType); } + + /** Set Value Format. + @param VFormat Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" + */ + public void setVFormat (String VFormat) + { + set_Value (COLUMNNAME_VFormat, VFormat); + } + + /** Get Value Format. + @return Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09" + */ + public String getVFormat() + { + return (String)get_Value(COLUMNNAME_VFormat); + } } \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Registration.java b/org.adempiere.base/src/org/compiere/model/X_AD_Registration.java index b9ab344484..8d04a2bb16 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Registration.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Registration.java @@ -22,16 +22,16 @@ import java.sql.Timestamp; import java.util.Properties; /** Generated Model for AD_Registration - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Registration") -public class X_AD_Registration extends PO implements I_AD_Registration, I_Persistent +public class X_AD_Registration extends PO implements I_AD_Registration, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Registration (Properties ctx, int AD_Registration_ID, String trxName) @@ -73,6 +73,46 @@ public class X_AD_Registration extends PO implements I_AD_Registration, I_Persis } */ } + /** Standard Constructor */ + public X_AD_Registration (Properties ctx, String AD_Registration_UU, String trxName) + { + super (ctx, AD_Registration_UU, trxName); + /** if (AD_Registration_UU == null) + { + setAD_Registration_ID (0); +// 0 + setAD_System_ID (0); +// 0 + setIsAllowPublish (true); +// Y + setIsAllowStatistics (true); +// Y + setIsInProduction (false); + setIsRegistered (false); +// N + } */ + } + + /** Standard Constructor */ + public X_AD_Registration (Properties ctx, String AD_Registration_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Registration_UU, trxName, virtualColumns); + /** if (AD_Registration_UU == null) + { + setAD_Registration_ID (0); +// 0 + setAD_System_ID (0); +// 0 + setIsAllowPublish (true); +// Y + setIsAllowStatistics (true); +// Y + setIsInProduction (false); + setIsRegistered (false); +// N + } */ + } + /** Load Constructor */ public X_AD_Registration (Properties ctx, ResultSet rs, String trxName) { @@ -80,7 +120,7 @@ public class X_AD_Registration extends PO implements I_AD_Registration, I_Persis } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -268,10 +308,10 @@ public class X_AD_Registration extends PO implements I_AD_Registration, I_Persis public boolean isAllowPublish() { Object oo = get_Value(COLUMNNAME_IsAllowPublish); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -291,10 +331,10 @@ public class X_AD_Registration extends PO implements I_AD_Registration, I_Persis public boolean isAllowStatistics() { Object oo = get_Value(COLUMNNAME_IsAllowStatistics); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -314,10 +354,10 @@ public class X_AD_Registration extends PO implements I_AD_Registration, I_Persis public boolean isInProduction() { Object oo = get_Value(COLUMNNAME_IsInProduction); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -337,10 +377,10 @@ public class X_AD_Registration extends PO implements I_AD_Registration, I_Persis public boolean isRegistered() { Object oo = get_Value(COLUMNNAME_IsRegistered); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -394,10 +434,10 @@ public class X_AD_Registration extends PO implements I_AD_Registration, I_Persis public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_RelationType.java b/org.adempiere.base/src/org/compiere/model/X_AD_RelationType.java index 33cc4bc4fa..624623ed0c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_RelationType.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_RelationType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_RelationType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_RelationType") -public class X_AD_RelationType extends PO implements I_AD_RelationType, I_Persistent +public class X_AD_RelationType extends PO implements I_AD_RelationType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_RelationType (Properties ctx, int AD_RelationType_ID, String trxName) @@ -67,6 +67,40 @@ public class X_AD_RelationType extends PO implements I_AD_RelationType, I_Persis } */ } + /** Standard Constructor */ + public X_AD_RelationType (Properties ctx, String AD_RelationType_UU, String trxName) + { + super (ctx, AD_RelationType_UU, trxName); + /** if (AD_RelationType_UU == null) + { + setAD_RelationType_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsDirected (false); +// N + setName (null); + setType (null); +// I + } */ + } + + /** Standard Constructor */ + public X_AD_RelationType (Properties ctx, String AD_RelationType_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_RelationType_UU, trxName, virtualColumns); + /** if (AD_RelationType_UU == null) + { + setAD_RelationType_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsDirected (false); +// N + setName (null); + setType (null); +// I + } */ + } + /** Load Constructor */ public X_AD_RelationType (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +108,7 @@ public class X_AD_RelationType extends PO implements I_AD_RelationType, I_Persis } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -234,10 +268,10 @@ public class X_AD_RelationType extends PO implements I_AD_RelationType, I_Persis public boolean isDirected() { Object oo = get_Value(COLUMNNAME_IsDirected); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -262,7 +296,7 @@ public class X_AD_RelationType extends PO implements I_AD_RelationType, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Replication.java b/org.adempiere.base/src/org/compiere/model/X_AD_Replication.java index 0a529de7c6..d81a1c1719 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Replication.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Replication.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Replication - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Replication") -public class X_AD_Replication extends PO implements I_AD_Replication, I_Persistent +public class X_AD_Replication extends PO implements I_AD_Replication, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Replication (Properties ctx, int AD_Replication_ID, String trxName) @@ -74,6 +74,44 @@ public class X_AD_Replication extends PO implements I_AD_Replication, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_Replication (Properties ctx, String AD_Replication_UU, String trxName) + { + super (ctx, AD_Replication_UU, trxName); + /** if (AD_Replication_UU == null) + { + setAD_Replication_ID (0); + setAD_ReplicationStrategy_ID (0); + setHostAddress (null); + setHostPort (0); +// 80 + setIsRMIoverHTTP (true); +// Y + setName (null); + setRemote_Client_ID (0); + setRemote_Org_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Replication (Properties ctx, String AD_Replication_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Replication_UU, trxName, virtualColumns); + /** if (AD_Replication_UU == null) + { + setAD_Replication_ID (0); + setAD_ReplicationStrategy_ID (0); + setHostAddress (null); + setHostPort (0); +// 80 + setIsRMIoverHTTP (true); +// Y + setName (null); + setRemote_Client_ID (0); + setRemote_Org_ID (0); + } */ + } + /** Load Constructor */ public X_AD_Replication (Properties ctx, ResultSet rs, String trxName) { @@ -81,7 +119,7 @@ public class X_AD_Replication extends PO implements I_AD_Replication, I_Persiste } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -302,10 +340,10 @@ public class X_AD_Replication extends PO implements I_AD_Replication, I_Persiste public boolean isRMIoverHTTP() { Object oo = get_Value(COLUMNNAME_IsRMIoverHTTP); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -330,7 +368,7 @@ public class X_AD_Replication extends PO implements I_AD_Replication, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -364,10 +402,10 @@ public class X_AD_Replication extends PO implements I_AD_Replication, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ReplicationDocument.java b/org.adempiere.base/src/org/compiere/model/X_AD_ReplicationDocument.java index 81ac23501a..1423437120 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ReplicationDocument.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ReplicationDocument.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_ReplicationDocument - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ReplicationDocument") -public class X_AD_ReplicationDocument extends PO implements I_AD_ReplicationDocument, I_Persistent +public class X_AD_ReplicationDocument extends PO implements I_AD_ReplicationDocument, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ReplicationDocument (Properties ctx, int AD_ReplicationDocument_ID, String trxName) @@ -60,6 +60,34 @@ public class X_AD_ReplicationDocument extends PO implements I_AD_ReplicationDocu } */ } + /** Standard Constructor */ + public X_AD_ReplicationDocument (Properties ctx, String AD_ReplicationDocument_UU, String trxName) + { + super (ctx, AD_ReplicationDocument_UU, trxName); + /** if (AD_ReplicationDocument_UU == null) + { + setAD_ReplicationDocument_ID (0); + setAD_ReplicationStrategy_ID (0); + setAD_Table_ID (0); + setC_DocType_ID (0); + setReplicationType (null); + } */ + } + + /** Standard Constructor */ + public X_AD_ReplicationDocument (Properties ctx, String AD_ReplicationDocument_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ReplicationDocument_UU, trxName, virtualColumns); + /** if (AD_ReplicationDocument_UU == null) + { + setAD_ReplicationDocument_ID (0); + setAD_ReplicationStrategy_ID (0); + setAD_Table_ID (0); + setC_DocType_ID (0); + setReplicationType (null); + } */ + } + /** Load Constructor */ public X_AD_ReplicationDocument (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +95,7 @@ public class X_AD_ReplicationDocument extends PO implements I_AD_ReplicationDocu } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ReplicationStrategy.java b/org.adempiere.base/src/org/compiere/model/X_AD_ReplicationStrategy.java index 007707736d..c16cb8e558 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ReplicationStrategy.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ReplicationStrategy.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_ReplicationStrategy - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ReplicationStrategy") -public class X_AD_ReplicationStrategy extends PO implements I_AD_ReplicationStrategy, I_Persistent +public class X_AD_ReplicationStrategy extends PO implements I_AD_ReplicationStrategy, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ReplicationStrategy (Properties ctx, int AD_ReplicationStrategy_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_ReplicationStrategy extends PO implements I_AD_ReplicationStra } */ } + /** Standard Constructor */ + public X_AD_ReplicationStrategy (Properties ctx, String AD_ReplicationStrategy_UU, String trxName) + { + super (ctx, AD_ReplicationStrategy_UU, trxName); + /** if (AD_ReplicationStrategy_UU == null) + { + setAD_ReplicationStrategy_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_ReplicationStrategy (Properties ctx, String AD_ReplicationStrategy_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ReplicationStrategy_UU, trxName, virtualColumns); + /** if (AD_ReplicationStrategy_UU == null) + { + setAD_ReplicationStrategy_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + } */ + } + /** Load Constructor */ public X_AD_ReplicationStrategy (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_ReplicationStrategy extends PO implements I_AD_ReplicationStra } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -221,7 +247,7 @@ public class X_AD_ReplicationStrategy extends PO implements I_AD_ReplicationStra /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ReplicationTable.java b/org.adempiere.base/src/org/compiere/model/X_AD_ReplicationTable.java index 9a0802d900..fcefaf0657 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ReplicationTable.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ReplicationTable.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_ReplicationTable - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ReplicationTable") -public class X_AD_ReplicationTable extends PO implements I_AD_ReplicationTable, I_Persistent +public class X_AD_ReplicationTable extends PO implements I_AD_ReplicationTable, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ReplicationTable (Properties ctx, int AD_ReplicationTable_ID, String trxName) @@ -63,6 +63,36 @@ public class X_AD_ReplicationTable extends PO implements I_AD_ReplicationTable, } */ } + /** Standard Constructor */ + public X_AD_ReplicationTable (Properties ctx, String AD_ReplicationTable_UU, String trxName) + { + super (ctx, AD_ReplicationTable_UU, trxName); + /** if (AD_ReplicationTable_UU == null) + { + setAD_ReplicationStrategy_ID (0); + setAD_ReplicationTable_ID (0); + setAD_Table_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setReplicationType (null); + } */ + } + + /** Standard Constructor */ + public X_AD_ReplicationTable (Properties ctx, String AD_ReplicationTable_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ReplicationTable_UU, trxName, virtualColumns); + /** if (AD_ReplicationTable_UU == null) + { + setAD_ReplicationStrategy_ID (0); + setAD_ReplicationTable_ID (0); + setAD_Table_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setReplicationType (null); + } */ + } + /** Load Constructor */ public X_AD_ReplicationTable (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_AD_ReplicationTable extends PO implements I_AD_ReplicationTable, } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -122,7 +152,7 @@ public class X_AD_ReplicationTable extends PO implements I_AD_ReplicationTable, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_ReplicationStrategy_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Replication_Log.java b/org.adempiere.base/src/org/compiere/model/X_AD_Replication_Log.java index d66e42bb81..4e65e1a6a8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Replication_Log.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Replication_Log.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Replication_Log - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Replication_Log") -public class X_AD_Replication_Log extends PO implements I_AD_Replication_Log, I_Persistent +public class X_AD_Replication_Log extends PO implements I_AD_Replication_Log, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Replication_Log (Properties ctx, int AD_Replication_Log_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_Replication_Log extends PO implements I_AD_Replication_Log, I_ } */ } + /** Standard Constructor */ + public X_AD_Replication_Log (Properties ctx, String AD_Replication_Log_UU, String trxName) + { + super (ctx, AD_Replication_Log_UU, trxName); + /** if (AD_Replication_Log_UU == null) + { + setAD_Replication_Log_ID (0); + setAD_Replication_Run_ID (0); + setIsReplicated (false); +// N + } */ + } + + /** Standard Constructor */ + public X_AD_Replication_Log (Properties ctx, String AD_Replication_Log_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Replication_Log_UU, trxName, virtualColumns); + /** if (AD_Replication_Log_UU == null) + { + setAD_Replication_Log_ID (0); + setAD_Replication_Run_ID (0); + setIsReplicated (false); +// N + } */ + } + /** Load Constructor */ public X_AD_Replication_Log (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_Replication_Log extends PO implements I_AD_Replication_Log, I_ } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -155,7 +181,7 @@ public class X_AD_Replication_Log extends PO implements I_AD_Replication_Log, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_Replication_Run_ID())); } @@ -202,10 +228,10 @@ public class X_AD_Replication_Log extends PO implements I_AD_Replication_Log, I_ public boolean isReplicated() { Object oo = get_Value(COLUMNNAME_IsReplicated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Replication_Run.java b/org.adempiere.base/src/org/compiere/model/X_AD_Replication_Run.java index 472e86c14b..a6a300d0ee 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Replication_Run.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Replication_Run.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Replication_Run - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Replication_Run") -public class X_AD_Replication_Run extends PO implements I_AD_Replication_Run, I_Persistent +public class X_AD_Replication_Run extends PO implements I_AD_Replication_Run, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Replication_Run (Properties ctx, int AD_Replication_Run_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_Replication_Run extends PO implements I_AD_Replication_Run, I_ } */ } + /** Standard Constructor */ + public X_AD_Replication_Run (Properties ctx, String AD_Replication_Run_UU, String trxName) + { + super (ctx, AD_Replication_Run_UU, trxName); + /** if (AD_Replication_Run_UU == null) + { + setAD_Replication_ID (0); + setAD_Replication_Run_ID (0); + setIsReplicated (false); +// N + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Replication_Run (Properties ctx, String AD_Replication_Run_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Replication_Run_UU, trxName, virtualColumns); + /** if (AD_Replication_Run_UU == null) + { + setAD_Replication_ID (0); + setAD_Replication_Run_ID (0); + setIsReplicated (false); +// N + setName (null); + } */ + } + /** Load Constructor */ public X_AD_Replication_Run (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_Replication_Run extends PO implements I_AD_Replication_Run, I_ } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -184,10 +212,10 @@ public class X_AD_Replication_Run extends PO implements I_AD_Replication_Run, I_ public boolean isReplicated() { Object oo = get_Value(COLUMNNAME_IsReplicated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -212,7 +240,7 @@ public class X_AD_Replication_Run extends PO implements I_AD_Replication_Run, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ReportView.java b/org.adempiere.base/src/org/compiere/model/X_AD_ReportView.java index d6496e0044..45375032e8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ReportView.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ReportView.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_ReportView - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ReportView") -public class X_AD_ReportView extends PO implements I_AD_ReportView, I_Persistent +public class X_AD_ReportView extends PO implements I_AD_ReportView, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ReportView (Properties ctx, int AD_ReportView_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_ReportView extends PO implements I_AD_ReportView, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_ReportView (Properties ctx, String AD_ReportView_UU, String trxName) + { + super (ctx, AD_ReportView_UU, trxName); + /** if (AD_ReportView_UU == null) + { + setAD_ReportView_ID (0); + setAD_Table_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_ReportView (Properties ctx, String AD_ReportView_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ReportView_UU, trxName, virtualColumns); + /** if (AD_ReportView_UU == null) + { + setAD_ReportView_ID (0); + setAD_Table_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + } */ + } + /** Load Constructor */ public X_AD_ReportView (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_ReportView extends PO implements I_AD_ReportView, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -208,7 +236,7 @@ public class X_AD_ReportView extends PO implements I_AD_ReportView, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ReportView_Col.java b/org.adempiere.base/src/org/compiere/model/X_AD_ReportView_Col.java index 50ee9be7f1..8798ed4bf5 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ReportView_Col.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ReportView_Col.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_ReportView_Col - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ReportView_Col") -public class X_AD_ReportView_Col extends PO implements I_AD_ReportView_Col, I_Persistent +public class X_AD_ReportView_Col extends PO implements I_AD_ReportView_Col, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ReportView_Col (Properties ctx, int AD_ReportView_Col_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_ReportView_Col extends PO implements I_AD_ReportView_Col, I_Pe } */ } + /** Standard Constructor */ + public X_AD_ReportView_Col (Properties ctx, String AD_ReportView_Col_UU, String trxName) + { + super (ctx, AD_ReportView_Col_UU, trxName); + /** if (AD_ReportView_Col_UU == null) + { + setAD_ReportView_Col_ID (0); + setAD_ReportView_ID (0); + setFunctionColumn (null); + setIsGroupFunction (false); + } */ + } + + /** Standard Constructor */ + public X_AD_ReportView_Col (Properties ctx, String AD_ReportView_Col_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ReportView_Col_UU, trxName, virtualColumns); + /** if (AD_ReportView_Col_UU == null) + { + setAD_ReportView_Col_ID (0); + setAD_ReportView_ID (0); + setFunctionColumn (null); + setIsGroupFunction (false); + } */ + } + /** Load Constructor */ public X_AD_ReportView_Col (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_ReportView_Col extends PO implements I_AD_ReportView_Col, I_Pe } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -182,7 +208,7 @@ public class X_AD_ReportView_Col extends PO implements I_AD_ReportView_Col, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_ReportView_ID())); } @@ -217,10 +243,10 @@ public class X_AD_ReportView_Col extends PO implements I_AD_ReportView_Col, I_Pe public boolean isGroupFunction() { Object oo = get_Value(COLUMNNAME_IsGroupFunction); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ReportView_Column.java b/org.adempiere.base/src/org/compiere/model/X_AD_ReportView_Column.java index 3eb7335802..03f9ab8972 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ReportView_Column.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ReportView_Column.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_ReportView_Column - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ReportView_Column") -public class X_AD_ReportView_Column extends PO implements I_AD_ReportView_Column, I_Persistent +public class X_AD_ReportView_Column extends PO implements I_AD_ReportView_Column, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ReportView_Column (Properties ctx, int AD_ReportView_Column_ID, String trxName) @@ -54,6 +54,28 @@ public class X_AD_ReportView_Column extends PO implements I_AD_ReportView_Column } */ } + /** Standard Constructor */ + public X_AD_ReportView_Column (Properties ctx, String AD_ReportView_Column_UU, String trxName) + { + super (ctx, AD_ReportView_Column_UU, trxName); + /** if (AD_ReportView_Column_UU == null) + { + setAD_Column_ID (0); + setAD_ReportView_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_ReportView_Column (Properties ctx, String AD_ReportView_Column_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ReportView_Column_UU, trxName, virtualColumns); + /** if (AD_ReportView_Column_UU == null) + { + setAD_Column_ID (0); + setAD_ReportView_ID (0); + } */ + } + /** Load Constructor */ public X_AD_ReportView_Column (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_AD_ReportView_Column extends PO implements I_AD_ReportView_Column } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -78,7 +100,7 @@ public class X_AD_ReportView_Column extends PO implements I_AD_ReportView_Column public String toString() { StringBuilder sb = new StringBuilder ("X_AD_ReportView_Column[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Role.java b/org.adempiere.base/src/org/compiere/model/X_AD_Role.java index 484cf1adcc..b11b2b62ff 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Role.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Role.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Role - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Role") -public class X_AD_Role extends PO implements I_AD_Role, I_Persistent +public class X_AD_Role extends PO implements I_AD_Role, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Role (Properties ctx, int AD_Role_ID, String trxName) @@ -169,6 +169,140 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Role (Properties ctx, String AD_Role_UU, String trxName) + { + super (ctx, AD_Role_UU, trxName); + /** if (AD_Role_UU == null) + { + setAD_Role_ID (0); + setAllow_Info_Account (true); +// Y + setAllow_Info_Asset (true); +// Y + setAllow_Info_BPartner (true); +// Y + setAllow_Info_InOut (true); +// Y + setAllow_Info_Invoice (true); +// Y + setAllow_Info_Order (true); +// Y + setAllow_Info_Payment (true); +// Y + setAllow_Info_Product (true); +// Y + setAllow_Info_Resource (true); +// Y + setAllow_Info_Schedule (true); +// Y + setConfirmQueryRecords (0); +// 0 + setIsAccessAllOrgs (false); +// N + setIsCanApproveOwnDoc (false); + setIsCanExport (true); +// Y + setIsCanReport (true); +// Y + setIsChangeLog (false); +// N + setIsClientAdministrator (false); +// N + setIsDiscountAllowedOnTotal (false); + setIsDiscountUptoLimitPrice (false); + setIsManual (true); +// Y + setIsMasterRole (false); +// N + setIsMenuAutoExpand (false); +// N + setIsPersonalAccess (false); +// N + setIsPersonalLock (false); +// N + setIsShowAcct (false); +// N + setIsUseUserOrgAccess (false); +// N + setMaxQueryRecords (0); +// 0 + setName (null); + setOverwritePriceLimit (false); +// N + setPreferenceType (null); +// O + setUserLevel (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Role (Properties ctx, String AD_Role_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Role_UU, trxName, virtualColumns); + /** if (AD_Role_UU == null) + { + setAD_Role_ID (0); + setAllow_Info_Account (true); +// Y + setAllow_Info_Asset (true); +// Y + setAllow_Info_BPartner (true); +// Y + setAllow_Info_InOut (true); +// Y + setAllow_Info_Invoice (true); +// Y + setAllow_Info_Order (true); +// Y + setAllow_Info_Payment (true); +// Y + setAllow_Info_Product (true); +// Y + setAllow_Info_Resource (true); +// Y + setAllow_Info_Schedule (true); +// Y + setConfirmQueryRecords (0); +// 0 + setIsAccessAllOrgs (false); +// N + setIsCanApproveOwnDoc (false); + setIsCanExport (true); +// Y + setIsCanReport (true); +// Y + setIsChangeLog (false); +// N + setIsClientAdministrator (false); +// N + setIsDiscountAllowedOnTotal (false); + setIsDiscountUptoLimitPrice (false); + setIsManual (true); +// Y + setIsMasterRole (false); +// N + setIsMenuAutoExpand (false); +// N + setIsPersonalAccess (false); +// N + setIsPersonalLock (false); +// N + setIsShowAcct (false); +// N + setIsUseUserOrgAccess (false); +// N + setMaxQueryRecords (0); +// 0 + setName (null); + setOverwritePriceLimit (false); +// N + setPreferenceType (null); +// O + setUserLevel (null); + } */ + } + /** Load Constructor */ public X_AD_Role (Properties ctx, ResultSet rs, String trxName) { @@ -176,7 +310,7 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -303,10 +437,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isAllow_Info_Account() { Object oo = get_Value(COLUMNNAME_Allow_Info_Account); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -325,10 +459,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isAllow_Info_Asset() { Object oo = get_Value(COLUMNNAME_Allow_Info_Asset); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -347,10 +481,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isAllow_Info_BPartner() { Object oo = get_Value(COLUMNNAME_Allow_Info_BPartner); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -369,10 +503,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isAllow_Info_InOut() { Object oo = get_Value(COLUMNNAME_Allow_Info_InOut); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -391,10 +525,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isAllow_Info_Invoice() { Object oo = get_Value(COLUMNNAME_Allow_Info_Invoice); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -413,10 +547,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isAllow_Info_Order() { Object oo = get_Value(COLUMNNAME_Allow_Info_Order); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -435,10 +569,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isAllow_Info_Payment() { Object oo = get_Value(COLUMNNAME_Allow_Info_Payment); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -457,10 +591,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isAllow_Info_Product() { Object oo = get_Value(COLUMNNAME_Allow_Info_Product); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -479,10 +613,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isAllow_Info_Resource() { Object oo = get_Value(COLUMNNAME_Allow_Info_Resource); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -501,10 +635,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isAllow_Info_Schedule() { Object oo = get_Value(COLUMNNAME_Allow_Info_Schedule); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -643,10 +777,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isAccessAdvanced() { Object oo = get_Value(COLUMNNAME_IsAccessAdvanced); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -666,10 +800,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isAccessAllOrgs() { Object oo = get_Value(COLUMNNAME_IsAccessAllOrgs); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -689,10 +823,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isCanApproveOwnDoc() { Object oo = get_Value(COLUMNNAME_IsCanApproveOwnDoc); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -712,10 +846,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isCanExport() { Object oo = get_Value(COLUMNNAME_IsCanExport); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -735,10 +869,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isCanReport() { Object oo = get_Value(COLUMNNAME_IsCanReport); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -758,10 +892,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isChangeLog() { Object oo = get_Value(COLUMNNAME_IsChangeLog); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -781,10 +915,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isClientAdministrator() { Object oo = get_Value(COLUMNNAME_IsClientAdministrator); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -803,10 +937,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isDiscountAllowedOnTotal() { Object oo = get_Value(COLUMNNAME_IsDiscountAllowedOnTotal); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -825,10 +959,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isDiscountUptoLimitPrice() { Object oo = get_Value(COLUMNNAME_IsDiscountUptoLimitPrice); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -848,10 +982,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isManual() { Object oo = get_Value(COLUMNNAME_IsManual); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -871,10 +1005,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isMasterRole() { Object oo = get_Value(COLUMNNAME_IsMasterRole); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -894,10 +1028,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isMenuAutoExpand() { Object oo = get_Value(COLUMNNAME_IsMenuAutoExpand); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -917,10 +1051,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isPersonalAccess() { Object oo = get_Value(COLUMNNAME_IsPersonalAccess); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -940,10 +1074,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isPersonalLock() { Object oo = get_Value(COLUMNNAME_IsPersonalLock); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -963,10 +1097,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isShowAcct() { Object oo = get_Value(COLUMNNAME_IsShowAcct); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -986,10 +1120,10 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isUseUserOrgAccess() { Object oo = get_Value(COLUMNNAME_IsUseUserOrgAccess); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1033,7 +1167,7 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -1052,15 +1186,31 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent public boolean isOverwritePriceLimit() { Object oo = get_Value(COLUMNNAME_OverwritePriceLimit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; } + /** Set Predefined Context Variables. + @param PredefinedContextVariables Predefined context variables to inject when opening a menu entry or a window + */ + public void setPredefinedContextVariables (String PredefinedContextVariables) + { + set_Value (COLUMNNAME_PredefinedContextVariables, PredefinedContextVariables); + } + + /** Get Predefined Context Variables. + @return Predefined context variables to inject when opening a menu entry or a window + */ + public String getPredefinedContextVariables() + { + return (String)get_Value(COLUMNNAME_PredefinedContextVariables); + } + /** PreferenceType AD_Reference_ID=330 */ public static final int PREFERENCETYPE_AD_Reference_ID=330; /** Client = C */ @@ -1198,20 +1348,4 @@ public class X_AD_Role extends PO implements I_AD_Role, I_Persistent { return (String)get_Value(COLUMNNAME_UserLevel); } - - /** Set Predefined Context Variables. - @param PredefinedContextVariables Predefined context variables to inject when opening a menu entry or a window - */ - public void setPredefinedContextVariables (String PredefinedContextVariables) - { - set_Value (COLUMNNAME_PredefinedContextVariables, PredefinedContextVariables); - } - - /** Get Predefined Context Variables. - @return Predefined context variables to inject when opening a menu entry or a window - */ - public String getPredefinedContextVariables() - { - return (String)get_Value(COLUMNNAME_PredefinedContextVariables); - } } \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Role_Included.java b/org.adempiere.base/src/org/compiere/model/X_AD_Role_Included.java index 385da57208..6b7a920048 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Role_Included.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Role_Included.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Role_Included - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Role_Included") -public class X_AD_Role_Included extends PO implements I_AD_Role_Included, I_Persistent +public class X_AD_Role_Included extends PO implements I_AD_Role_Included, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Role_Included (Properties ctx, int AD_Role_Included_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_Role_Included extends PO implements I_AD_Role_Included, I_Pers } */ } + /** Standard Constructor */ + public X_AD_Role_Included (Properties ctx, String AD_Role_Included_UU, String trxName) + { + super (ctx, AD_Role_Included_UU, trxName); + /** if (AD_Role_Included_UU == null) + { + setAD_Role_ID (0); + setIncluded_Role_ID (0); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_Role_Included WHERE AD_Role_ID=@AD_Role_ID@ + } */ + } + + /** Standard Constructor */ + public X_AD_Role_Included (Properties ctx, String AD_Role_Included_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Role_Included_UU, trxName, virtualColumns); + /** if (AD_Role_Included_UU == null) + { + setAD_Role_ID (0); + setIncluded_Role_ID (0); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_Role_Included WHERE AD_Role_ID=@AD_Role_ID@ + } */ + } + /** Load Constructor */ public X_AD_Role_Included (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_Role_Included extends PO implements I_AD_Role_Included, I_Pers } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -82,7 +108,7 @@ public class X_AD_Role_Included extends PO implements I_AD_Role_Included, I_Pers public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Role_Included[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Role_OrgAccess.java b/org.adempiere.base/src/org/compiere/model/X_AD_Role_OrgAccess.java index b989eea945..2f372183d8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Role_OrgAccess.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Role_OrgAccess.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Role_OrgAccess - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Role_OrgAccess") -public class X_AD_Role_OrgAccess extends PO implements I_AD_Role_OrgAccess, I_Persistent +public class X_AD_Role_OrgAccess extends PO implements I_AD_Role_OrgAccess, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Role_OrgAccess (Properties ctx, int AD_Role_OrgAccess_ID, String trxName) @@ -54,6 +54,28 @@ public class X_AD_Role_OrgAccess extends PO implements I_AD_Role_OrgAccess, I_Pe } */ } + /** Standard Constructor */ + public X_AD_Role_OrgAccess (Properties ctx, String AD_Role_OrgAccess_UU, String trxName) + { + super (ctx, AD_Role_OrgAccess_UU, trxName); + /** if (AD_Role_OrgAccess_UU == null) + { + setAD_Role_ID (0); + setIsReadOnly (false); + } */ + } + + /** Standard Constructor */ + public X_AD_Role_OrgAccess (Properties ctx, String AD_Role_OrgAccess_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Role_OrgAccess_UU, trxName, virtualColumns); + /** if (AD_Role_OrgAccess_UU == null) + { + setAD_Role_ID (0); + setIsReadOnly (false); + } */ + } + /** Load Constructor */ public X_AD_Role_OrgAccess (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_AD_Role_OrgAccess extends PO implements I_AD_Role_OrgAccess, I_Pe } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -78,7 +100,7 @@ public class X_AD_Role_OrgAccess extends PO implements I_AD_Role_OrgAccess, I_Pe public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Role_OrgAccess[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -139,10 +161,10 @@ public class X_AD_Role_OrgAccess extends PO implements I_AD_Role_OrgAccess, I_Pe public boolean isReadOnly() { Object oo = get_Value(COLUMNNAME_IsReadOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Rule.java b/org.adempiere.base/src/org/compiere/model/X_AD_Rule.java index 89d0ce0f8b..5373f2c840 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Rule.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Rule.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Rule - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Rule") -public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent +public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Rule (Properties ctx, int AD_Rule_ID, String trxName) @@ -65,6 +65,38 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Rule (Properties ctx, String AD_Rule_UU, String trxName) + { + super (ctx, AD_Rule_UU, trxName); + /** if (AD_Rule_UU == null) + { + setAD_Rule_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setEventType (null); + setName (null); + setRuleType (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Rule (Properties ctx, String AD_Rule_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Rule_UU, trxName, virtualColumns); + /** if (AD_Rule_UU == null) + { + setAD_Rule_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setEventType (null); + setName (null); + setRuleType (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_AD_Rule (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -265,7 +297,7 @@ public class X_AD_Rule extends PO implements I_AD_Rule, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_SMTP.java b/org.adempiere.base/src/org/compiere/model/X_AD_SMTP.java index 90776499c9..d9837b2f97 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_SMTP.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_SMTP.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_SMTP - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_SMTP") -public class X_AD_SMTP extends PO implements I_AD_SMTP, I_Persistent +public class X_AD_SMTP extends PO implements I_AD_SMTP, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_SMTP (Properties ctx, int AD_SMTP_ID, String trxName) @@ -63,6 +63,36 @@ public class X_AD_SMTP extends PO implements I_AD_SMTP, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_SMTP (Properties ctx, String AD_SMTP_UU, String trxName) + { + super (ctx, AD_SMTP_UU, trxName); + /** if (AD_SMTP_UU == null) + { + setAD_SMTP_ID (0); + setIsSecureSMTP (false); +// N + setIsSmtpAuthorization (false); +// N + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_SMTP (Properties ctx, String AD_SMTP_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_SMTP_UU, trxName, virtualColumns); + /** if (AD_SMTP_UU == null) + { + setAD_SMTP_ID (0); + setIsSecureSMTP (false); +// N + setIsSmtpAuthorization (false); +// N + setName (null); + } */ + } + /** Load Constructor */ public X_AD_SMTP (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_AD_SMTP extends PO implements I_AD_SMTP, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -157,10 +187,10 @@ public class X_AD_SMTP extends PO implements I_AD_SMTP, I_Persistent public boolean isSecureSMTP() { Object oo = get_Value(COLUMNNAME_IsSecureSMTP); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -180,10 +210,10 @@ public class X_AD_SMTP extends PO implements I_AD_SMTP, I_Persistent public boolean isSmtpAuthorization() { Object oo = get_Value(COLUMNNAME_IsSmtpAuthorization); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -208,7 +238,7 @@ public class X_AD_SMTP extends PO implements I_AD_SMTP, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Schedule.java b/org.adempiere.base/src/org/compiere/model/X_AD_Schedule.java index 6b9403415e..cef820c9e0 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Schedule.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Schedule.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Schedule - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Schedule") -public class X_AD_Schedule extends PO implements I_AD_Schedule, I_Persistent +public class X_AD_Schedule extends PO implements I_AD_Schedule, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Schedule (Properties ctx, int AD_Schedule_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_Schedule extends PO implements I_AD_Schedule, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Schedule (Properties ctx, String AD_Schedule_UU, String trxName) + { + super (ctx, AD_Schedule_UU, trxName); + /** if (AD_Schedule_UU == null) + { + setIsIgnoreProcessingTime (false); +// N + setIsSystemSchedule (false); +// N + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Schedule (Properties ctx, String AD_Schedule_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Schedule_UU, trxName, virtualColumns); + /** if (AD_Schedule_UU == null) + { + setIsIgnoreProcessingTime (false); +// N + setIsSystemSchedule (false); +// N + setName (null); + } */ + } + /** Load Constructor */ public X_AD_Schedule (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_Schedule extends PO implements I_AD_Schedule, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -215,10 +243,10 @@ public class X_AD_Schedule extends PO implements I_AD_Schedule, I_Persistent public boolean isIgnoreProcessingTime() { Object oo = get_Value(COLUMNNAME_IsIgnoreProcessingTime); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -238,10 +266,10 @@ public class X_AD_Schedule extends PO implements I_AD_Schedule, I_Persistent public boolean isSystemSchedule() { Object oo = get_Value(COLUMNNAME_IsSystemSchedule); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -285,7 +313,7 @@ public class X_AD_Schedule extends PO implements I_AD_Schedule, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Scheduler.java b/org.adempiere.base/src/org/compiere/model/X_AD_Scheduler.java index d2b6d41eb0..2bdcd797f7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Scheduler.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Scheduler.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Scheduler - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Scheduler") -public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent +public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Scheduler (Properties ctx, int AD_Scheduler_ID, String trxName) @@ -66,6 +66,38 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Scheduler (Properties ctx, String AD_Scheduler_UU, String trxName) + { + super (ctx, AD_Scheduler_UU, trxName); + /** if (AD_Scheduler_UU == null) + { + setAD_Process_ID (0); + setAD_Schedule_ID (0); + setAD_Scheduler_ID (0); + setKeepLogDays (0); +// 7 + setName (null); + setSupervisor_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Scheduler (Properties ctx, String AD_Scheduler_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Scheduler_UU, trxName, virtualColumns); + /** if (AD_Scheduler_UU == null) + { + setAD_Process_ID (0); + setAD_Schedule_ID (0); + setAD_Scheduler_ID (0); + setKeepLogDays (0); +// 7 + setName (null); + setSupervisor_ID (0); + } */ + } + /** Load Constructor */ public X_AD_Scheduler (Properties ctx, ResultSet rs, String trxName) { @@ -73,7 +105,7 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -328,7 +360,7 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -346,10 +378,10 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_SchedulerLog.java b/org.adempiere.base/src/org/compiere/model/X_AD_SchedulerLog.java index d64fa27491..187f1740cf 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_SchedulerLog.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_SchedulerLog.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_SchedulerLog - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_SchedulerLog") -public class X_AD_SchedulerLog extends PO implements I_AD_SchedulerLog, I_Persistent +public class X_AD_SchedulerLog extends PO implements I_AD_SchedulerLog, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_SchedulerLog (Properties ctx, int AD_SchedulerLog_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_SchedulerLog extends PO implements I_AD_SchedulerLog, I_Persis } */ } + /** Standard Constructor */ + public X_AD_SchedulerLog (Properties ctx, String AD_SchedulerLog_UU, String trxName) + { + super (ctx, AD_SchedulerLog_UU, trxName); + /** if (AD_SchedulerLog_UU == null) + { + setAD_Scheduler_ID (0); + setAD_SchedulerLog_ID (0); + setIsError (false); + } */ + } + + /** Standard Constructor */ + public X_AD_SchedulerLog (Properties ctx, String AD_SchedulerLog_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_SchedulerLog_UU, trxName, virtualColumns); + /** if (AD_SchedulerLog_UU == null) + { + setAD_Scheduler_ID (0); + setAD_SchedulerLog_ID (0); + setIsError (false); + } */ + } + /** Load Constructor */ public X_AD_SchedulerLog (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_SchedulerLog extends PO implements I_AD_SchedulerLog, I_Persis } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -195,10 +219,10 @@ public class X_AD_SchedulerLog extends PO implements I_AD_SchedulerLog, I_Persis public boolean isError() { Object oo = get_Value(COLUMNNAME_IsError); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_SchedulerRecipient.java b/org.adempiere.base/src/org/compiere/model/X_AD_SchedulerRecipient.java index e79f4cbee5..2abbe23526 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_SchedulerRecipient.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_SchedulerRecipient.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_SchedulerRecipient - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_SchedulerRecipient") -public class X_AD_SchedulerRecipient extends PO implements I_AD_SchedulerRecipient, I_Persistent +public class X_AD_SchedulerRecipient extends PO implements I_AD_SchedulerRecipient, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_SchedulerRecipient (Properties ctx, int AD_SchedulerRecipient_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_SchedulerRecipient extends PO implements I_AD_SchedulerRecipie } */ } + /** Standard Constructor */ + public X_AD_SchedulerRecipient (Properties ctx, String AD_SchedulerRecipient_UU, String trxName) + { + super (ctx, AD_SchedulerRecipient_UU, trxName); + /** if (AD_SchedulerRecipient_UU == null) + { + setAD_Scheduler_ID (0); + setAD_SchedulerRecipient_ID (0); + setIsUpload (false); +// N + } */ + } + + /** Standard Constructor */ + public X_AD_SchedulerRecipient (Properties ctx, String AD_SchedulerRecipient_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_SchedulerRecipient_UU, trxName, virtualColumns); + /** if (AD_SchedulerRecipient_UU == null) + { + setAD_Scheduler_ID (0); + setAD_SchedulerRecipient_ID (0); + setIsUpload (false); +// N + } */ + } + /** Load Constructor */ public X_AD_SchedulerRecipient (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_SchedulerRecipient extends PO implements I_AD_SchedulerRecipie } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -238,7 +264,7 @@ public class X_AD_SchedulerRecipient extends PO implements I_AD_SchedulerRecipie /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_User_ID())); } @@ -272,10 +298,10 @@ public class X_AD_SchedulerRecipient extends PO implements I_AD_SchedulerRecipie public boolean isUpload() { Object oo = get_Value(COLUMNNAME_IsUpload); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Scheduler_Para.java b/org.adempiere.base/src/org/compiere/model/X_AD_Scheduler_Para.java index 12e33bdfb1..619ec9f4e2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Scheduler_Para.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Scheduler_Para.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Scheduler_Para - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Scheduler_Para") -public class X_AD_Scheduler_Para extends PO implements I_AD_Scheduler_Para, I_Persistent +public class X_AD_Scheduler_Para extends PO implements I_AD_Scheduler_Para, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Scheduler_Para (Properties ctx, int AD_Scheduler_Para_ID, String trxName) @@ -54,6 +54,28 @@ public class X_AD_Scheduler_Para extends PO implements I_AD_Scheduler_Para, I_Pe } */ } + /** Standard Constructor */ + public X_AD_Scheduler_Para (Properties ctx, String AD_Scheduler_Para_UU, String trxName) + { + super (ctx, AD_Scheduler_Para_UU, trxName); + /** if (AD_Scheduler_Para_UU == null) + { + setAD_Process_Para_ID (0); + setAD_Scheduler_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Scheduler_Para (Properties ctx, String AD_Scheduler_Para_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Scheduler_Para_UU, trxName, virtualColumns); + /** if (AD_Scheduler_Para_UU == null) + { + setAD_Process_Para_ID (0); + setAD_Scheduler_ID (0); + } */ + } + /** Load Constructor */ public X_AD_Scheduler_Para (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_AD_Scheduler_Para extends PO implements I_AD_Scheduler_Para, I_Pe } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -78,7 +100,7 @@ public class X_AD_Scheduler_Para extends PO implements I_AD_Scheduler_Para, I_Pe public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Scheduler_Para[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_SearchDefinition.java b/org.adempiere.base/src/org/compiere/model/X_AD_SearchDefinition.java index b58188b283..b8eddaf91a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_SearchDefinition.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_SearchDefinition.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_SearchDefinition - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_SearchDefinition") -public class X_AD_SearchDefinition extends PO implements I_AD_SearchDefinition, I_Persistent +public class X_AD_SearchDefinition extends PO implements I_AD_SearchDefinition, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_SearchDefinition (Properties ctx, int AD_SearchDefinition_ID, String trxName) @@ -68,6 +68,42 @@ public class X_AD_SearchDefinition extends PO implements I_AD_SearchDefinition, } */ } + /** Standard Constructor */ + public X_AD_SearchDefinition (Properties ctx, String AD_SearchDefinition_UU, String trxName) + { + super (ctx, AD_SearchDefinition_UU, trxName); + /** if (AD_SearchDefinition_UU == null) + { + setAD_SearchDefinition_ID (0); + setAD_Table_ID (0); + setAD_Window_ID (0); + setDataType (null); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsDefault (false); +// N + setSearchType (null); + } */ + } + + /** Standard Constructor */ + public X_AD_SearchDefinition (Properties ctx, String AD_SearchDefinition_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_SearchDefinition_UU, trxName, virtualColumns); + /** if (AD_SearchDefinition_UU == null) + { + setAD_SearchDefinition_ID (0); + setAD_Table_ID (0); + setAD_Window_ID (0); + setDataType (null); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsDefault (false); +// N + setSearchType (null); + } */ + } + /** Load Constructor */ public X_AD_SearchDefinition (Properties ctx, ResultSet rs, String trxName) { @@ -75,7 +111,7 @@ public class X_AD_SearchDefinition extends PO implements I_AD_SearchDefinition, } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -281,10 +317,10 @@ public class X_AD_SearchDefinition extends PO implements I_AD_SearchDefinition, public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Sequence.java b/org.adempiere.base/src/org/compiere/model/X_AD_Sequence.java index bf2d2dc36a..24b66b1140 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Sequence.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Sequence.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Sequence - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Sequence") -public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent +public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Sequence (Properties ctx, int AD_Sequence_ID, String trxName) @@ -81,6 +81,54 @@ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Sequence (Properties ctx, String AD_Sequence_UU, String trxName) + { + super (ctx, AD_Sequence_UU, trxName); + /** if (AD_Sequence_UU == null) + { + setAD_Sequence_ID (0); + setCurrentNext (0); +// 1000000 + setCurrentNextSys (0); +// 100 + setIncrementNo (0); +// 1 + setIsAutoSequence (false); + setIsOrgLevelSequence (false); +// N + setName (null); + setStartNewMonth (false); +// N + setStartNo (0); +// 1000000 + } */ + } + + /** Standard Constructor */ + public X_AD_Sequence (Properties ctx, String AD_Sequence_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Sequence_UU, trxName, virtualColumns); + /** if (AD_Sequence_UU == null) + { + setAD_Sequence_ID (0); + setCurrentNext (0); +// 1000000 + setCurrentNextSys (0); +// 100 + setIncrementNo (0); +// 1 + setIsAutoSequence (false); + setIsOrgLevelSequence (false); +// N + setName (null); + setStartNewMonth (false); +// N + setStartNo (0); +// 1000000 + } */ + } + /** Load Constructor */ public X_AD_Sequence (Properties ctx, ResultSet rs, String trxName) { @@ -88,7 +136,7 @@ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -265,10 +313,10 @@ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent public boolean isAudited() { Object oo = get_Value(COLUMNNAME_IsAudited); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -288,10 +336,10 @@ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent public boolean isAutoSequence() { Object oo = get_Value(COLUMNNAME_IsAutoSequence); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -311,10 +359,10 @@ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent public boolean isOrgLevelSequence() { Object oo = get_Value(COLUMNNAME_IsOrgLevelSequence); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -334,10 +382,10 @@ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent public boolean isTableID() { Object oo = get_Value(COLUMNNAME_IsTableID); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -362,7 +410,7 @@ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -412,10 +460,10 @@ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent public boolean isStartNewMonth() { Object oo = get_Value(COLUMNNAME_StartNewMonth); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -435,10 +483,10 @@ public class X_AD_Sequence extends PO implements I_AD_Sequence, I_Persistent public boolean isStartNewYear() { Object oo = get_Value(COLUMNNAME_StartNewYear); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Sequence_Audit.java b/org.adempiere.base/src/org/compiere/model/X_AD_Sequence_Audit.java index 0875cc356b..1ebee3832f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Sequence_Audit.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Sequence_Audit.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Sequence_Audit - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Sequence_Audit") -public class X_AD_Sequence_Audit extends PO implements I_AD_Sequence_Audit, I_Persistent +public class X_AD_Sequence_Audit extends PO implements I_AD_Sequence_Audit, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Sequence_Audit (Properties ctx, int AD_Sequence_Audit_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_Sequence_Audit extends PO implements I_AD_Sequence_Audit, I_Pe } */ } + /** Standard Constructor */ + public X_AD_Sequence_Audit (Properties ctx, String AD_Sequence_Audit_UU, String trxName) + { + super (ctx, AD_Sequence_Audit_UU, trxName); + /** if (AD_Sequence_Audit_UU == null) + { + setAD_Sequence_ID (0); + setAD_Table_ID (0); + setDocumentNo (null); + setRecord_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Sequence_Audit (Properties ctx, String AD_Sequence_Audit_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Sequence_Audit_UU, trxName, virtualColumns); + /** if (AD_Sequence_Audit_UU == null) + { + setAD_Sequence_ID (0); + setAD_Table_ID (0); + setDocumentNo (null); + setRecord_ID (0); + } */ + } + /** Load Constructor */ public X_AD_Sequence_Audit (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_Sequence_Audit extends PO implements I_AD_Sequence_Audit, I_Pe } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -82,7 +108,7 @@ public class X_AD_Sequence_Audit extends PO implements I_AD_Sequence_Audit, I_Pe public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Sequence_Audit[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Sequence_No.java b/org.adempiere.base/src/org/compiere/model/X_AD_Sequence_No.java index c0159617ae..947f1989fc 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Sequence_No.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Sequence_No.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Sequence_No - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Sequence_No") -public class X_AD_Sequence_No extends PO implements I_AD_Sequence_No, I_Persistent +public class X_AD_Sequence_No extends PO implements I_AD_Sequence_No, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Sequence_No (Properties ctx, int AD_Sequence_No_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_Sequence_No extends PO implements I_AD_Sequence_No, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_Sequence_No (Properties ctx, String AD_Sequence_No_UU, String trxName) + { + super (ctx, AD_Sequence_No_UU, trxName); + /** if (AD_Sequence_No_UU == null) + { + setAD_Sequence_ID (0); + setCalendarYearMonth (null); + setCurrentNext (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Sequence_No (Properties ctx, String AD_Sequence_No_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Sequence_No_UU, trxName, virtualColumns); + /** if (AD_Sequence_No_UU == null) + { + setAD_Sequence_ID (0); + setCalendarYearMonth (null); + setCurrentNext (0); + } */ + } + /** Load Constructor */ public X_AD_Sequence_No (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_Sequence_No extends PO implements I_AD_Sequence_No, I_Persiste } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_AD_Sequence_No extends PO implements I_AD_Sequence_No, I_Persiste public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Sequence_No[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Session.java b/org.adempiere.base/src/org/compiere/model/X_AD_Session.java index 269bbd5f3c..3f9aa0c8d2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Session.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Session.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Session - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Session") -public class X_AD_Session extends PO implements I_AD_Session, I_Persistent +public class X_AD_Session extends PO implements I_AD_Session, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Session (Properties ctx, int AD_Session_ID, String trxName) @@ -56,6 +56,28 @@ public class X_AD_Session extends PO implements I_AD_Session, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Session (Properties ctx, String AD_Session_UU, String trxName) + { + super (ctx, AD_Session_UU, trxName); + /** if (AD_Session_UU == null) + { + setAD_Session_ID (0); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_AD_Session (Properties ctx, String AD_Session_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Session_UU, trxName, virtualColumns); + /** if (AD_Session_UU == null) + { + setAD_Session_ID (0); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_AD_Session (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +85,7 @@ public class X_AD_Session extends PO implements I_AD_Session, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -137,7 +159,7 @@ public class X_AD_Session extends PO implements I_AD_Session, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_Session_ID())); } @@ -202,10 +224,10 @@ public class X_AD_Session extends PO implements I_AD_Session, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_StatusLine.java b/org.adempiere.base/src/org/compiere/model/X_AD_StatusLine.java index eb44b00b63..79852abc90 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_StatusLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_StatusLine.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_StatusLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_StatusLine") -public class X_AD_StatusLine extends PO implements I_AD_StatusLine, I_Persistent +public class X_AD_StatusLine extends PO implements I_AD_StatusLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_StatusLine (Properties ctx, int AD_StatusLine_ID, String trxName) @@ -63,6 +63,36 @@ public class X_AD_StatusLine extends PO implements I_AD_StatusLine, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_StatusLine (Properties ctx, String AD_StatusLine_UU, String trxName) + { + super (ctx, AD_StatusLine_UU, trxName); + /** if (AD_StatusLine_UU == null) + { + setAD_Message_ID (0); + setAD_StatusLine_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setSQLStatement (null); + } */ + } + + /** Standard Constructor */ + public X_AD_StatusLine (Properties ctx, String AD_StatusLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_StatusLine_UU, trxName, virtualColumns); + /** if (AD_StatusLine_UU == null) + { + setAD_Message_ID (0); + setAD_StatusLine_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setSQLStatement (null); + } */ + } + /** Load Constructor */ public X_AD_StatusLine (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_AD_StatusLine extends PO implements I_AD_StatusLine, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -193,7 +223,7 @@ public class X_AD_StatusLine extends PO implements I_AD_StatusLine, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_StatusLineUsedIn.java b/org.adempiere.base/src/org/compiere/model/X_AD_StatusLineUsedIn.java index a744a89590..64e5b67d0d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_StatusLineUsedIn.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_StatusLineUsedIn.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_StatusLineUsedIn - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_StatusLineUsedIn") -public class X_AD_StatusLineUsedIn extends PO implements I_AD_StatusLineUsedIn, I_Persistent +public class X_AD_StatusLineUsedIn extends PO implements I_AD_StatusLineUsedIn, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_StatusLineUsedIn (Properties ctx, int AD_StatusLineUsedIn_ID, String trxName) @@ -62,6 +62,36 @@ public class X_AD_StatusLineUsedIn extends PO implements I_AD_StatusLineUsedIn, } */ } + /** Standard Constructor */ + public X_AD_StatusLineUsedIn (Properties ctx, String AD_StatusLineUsedIn_UU, String trxName) + { + super (ctx, AD_StatusLineUsedIn_UU, trxName); + /** if (AD_StatusLineUsedIn_UU == null) + { + setAD_StatusLine_ID (0); + setAD_StatusLineUsedIn_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsStatusLine (true); +// Y + } */ + } + + /** Standard Constructor */ + public X_AD_StatusLineUsedIn (Properties ctx, String AD_StatusLineUsedIn_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_StatusLineUsedIn_UU, trxName, virtualColumns); + /** if (AD_StatusLineUsedIn_UU == null) + { + setAD_StatusLine_ID (0); + setAD_StatusLineUsedIn_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsStatusLine (true); +// Y + } */ + } + /** Load Constructor */ public X_AD_StatusLineUsedIn (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +99,7 @@ public class X_AD_StatusLineUsedIn extends PO implements I_AD_StatusLineUsedIn, } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -270,10 +300,10 @@ public class X_AD_StatusLineUsedIn extends PO implements I_AD_StatusLineUsedIn, public boolean isStatusLine() { Object oo = get_Value(COLUMNNAME_IsStatusLine); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_StorageProvider.java b/org.adempiere.base/src/org/compiere/model/X_AD_StorageProvider.java index 454a559ec0..d72f0a7651 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_StorageProvider.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_StorageProvider.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_StorageProvider - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_StorageProvider") -public class X_AD_StorageProvider extends PO implements I_AD_StorageProvider, I_Persistent +public class X_AD_StorageProvider extends PO implements I_AD_StorageProvider, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_StorageProvider (Properties ctx, int AD_StorageProvider_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_StorageProvider extends PO implements I_AD_StorageProvider, I_ } */ } + /** Standard Constructor */ + public X_AD_StorageProvider (Properties ctx, String AD_StorageProvider_UU, String trxName) + { + super (ctx, AD_StorageProvider_UU, trxName); + /** if (AD_StorageProvider_UU == null) + { + setAD_StorageProvider_ID (0); + setIsDefault (false); +// N + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_StorageProvider (Properties ctx, String AD_StorageProvider_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_StorageProvider_UU, trxName, virtualColumns); + /** if (AD_StorageProvider_UU == null) + { + setAD_StorageProvider_ID (0); + setIsDefault (false); +// N + setName (null); + } */ + } + /** Load Constructor */ public X_AD_StorageProvider (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_StorageProvider extends PO implements I_AD_StorageProvider, I_ } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -153,10 +179,10 @@ public class X_AD_StorageProvider extends PO implements I_AD_StorageProvider, I_ public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -203,7 +229,7 @@ public class X_AD_StorageProvider extends PO implements I_AD_StorageProvider, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_StyleLine.java b/org.adempiere.base/src/org/compiere/model/X_AD_StyleLine.java index e7a060cb3c..8d5ca52da8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_StyleLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_StyleLine.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_StyleLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_StyleLine") -public class X_AD_StyleLine extends PO implements I_AD_StyleLine, I_Persistent +public class X_AD_StyleLine extends PO implements I_AD_StyleLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_StyleLine (Properties ctx, int AD_StyleLine_ID, String trxName) @@ -67,6 +67,40 @@ public class X_AD_StyleLine extends PO implements I_AD_StyleLine, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_StyleLine (Properties ctx, String AD_StyleLine_UU, String trxName) + { + super (ctx, AD_StyleLine_UU, trxName); + /** if (AD_StyleLine_UU == null) + { + setAD_Style_ID (0); + setAD_StyleLine_ID (0); + setAD_StyleLine_UU (null); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setInlineStyle (null); + setLine (0); +// @SQL=SELECT COALESCE(MAX(Line),0)+10 FROM AD_StyleLine WHERE AD_Style_ID =@AD_Style_ID@ + } */ + } + + /** Standard Constructor */ + public X_AD_StyleLine (Properties ctx, String AD_StyleLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_StyleLine_UU, trxName, virtualColumns); + /** if (AD_StyleLine_UU == null) + { + setAD_Style_ID (0); + setAD_StyleLine_ID (0); + setAD_StyleLine_UU (null); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setInlineStyle (null); + setLine (0); +// @SQL=SELECT COALESCE(MAX(Line),0)+10 FROM AD_StyleLine WHERE AD_Style_ID =@AD_Style_ID@ + } */ + } + /** Load Constructor */ public X_AD_StyleLine (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +108,7 @@ public class X_AD_StyleLine extends PO implements I_AD_StyleLine, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -234,7 +268,7 @@ public class X_AD_StyleLine extends PO implements I_AD_StyleLine, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getLine())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_SysConfig.java b/org.adempiere.base/src/org/compiere/model/X_AD_SysConfig.java index 0fafbc9f8a..f5e42d71a7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_SysConfig.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_SysConfig.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_SysConfig - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_SysConfig") -public class X_AD_SysConfig extends PO implements I_AD_SysConfig, I_Persistent +public class X_AD_SysConfig extends PO implements I_AD_SysConfig, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_SysConfig (Properties ctx, int AD_SysConfig_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_SysConfig extends PO implements I_AD_SysConfig, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_SysConfig (Properties ctx, String AD_SysConfig_UU, String trxName) + { + super (ctx, AD_SysConfig_UU, trxName); + /** if (AD_SysConfig_UU == null) + { + setAD_SysConfig_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_AD_SysConfig (Properties ctx, String AD_SysConfig_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_SysConfig_UU, trxName, virtualColumns); + /** if (AD_SysConfig_UU == null) + { + setAD_SysConfig_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_AD_SysConfig (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_SysConfig extends PO implements I_AD_SysConfig, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -204,7 +232,7 @@ public class X_AD_SysConfig extends PO implements I_AD_SysConfig, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_System.java b/org.adempiere.base/src/org/compiere/model/X_AD_System.java index df214084fa..8bd9309668 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_System.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_System.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for AD_System - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_System") -public class X_AD_System extends PO implements I_AD_System, I_Persistent +public class X_AD_System extends PO implements I_AD_System, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_System (Properties ctx, int AD_System_ID, String trxName) @@ -90,6 +90,60 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_System (Properties ctx, String AD_System_UU, String trxName) + { + super (ctx, AD_System_UU, trxName); + /** if (AD_System_UU == null) + { + setAD_System_ID (0); +// 0 + setInfo (null); + setIsAllowStatistics (false); + setIsAutoErrorReport (true); +// Y + setIsFailOnBuildDiffer (false); +// N + setIsFailOnMissingModelValidator (true); +// Y + setName (null); + setPassword (null); + setReplicationType (null); +// L + setSystemStatus (null); +// E + setUserName (null); + setVersion (null); + } */ + } + + /** Standard Constructor */ + public X_AD_System (Properties ctx, String AD_System_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_System_UU, trxName, virtualColumns); + /** if (AD_System_UU == null) + { + setAD_System_ID (0); +// 0 + setInfo (null); + setIsAllowStatistics (false); + setIsAutoErrorReport (true); +// Y + setIsFailOnBuildDiffer (false); +// N + setIsFailOnMissingModelValidator (true); +// Y + setName (null); + setPassword (null); + setReplicationType (null); +// L + setSystemStatus (null); +// E + setUserName (null); + setVersion (null); + } */ + } + /** Load Constructor */ public X_AD_System (Properties ctx, ResultSet rs, String trxName) { @@ -97,7 +151,7 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -303,10 +357,10 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent public boolean isAllowStatistics() { Object oo = get_Value(COLUMNNAME_IsAllowStatistics); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -326,10 +380,10 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent public boolean isAutoErrorReport() { Object oo = get_Value(COLUMNNAME_IsAutoErrorReport); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -348,10 +402,10 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent public boolean isFailOnBuildDiffer() { Object oo = get_Value(COLUMNNAME_IsFailOnBuildDiffer); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -370,10 +424,10 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent public boolean isFailOnMissingModelValidator() { Object oo = get_Value(COLUMNNAME_IsFailOnMissingModelValidator); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -393,10 +447,10 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent public boolean isJustMigrated() { Object oo = get_Value(COLUMNNAME_IsJustMigrated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -484,7 +538,7 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -552,10 +606,10 @@ public class X_AD_System extends PO implements I_AD_System, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Tab.java b/org.adempiere.base/src/org/compiere/model/X_AD_Tab.java index fb7d8f7604..670422bbcc 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Tab.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Tab.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Tab - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Tab") -public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent +public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Tab (Properties ctx, int AD_Tab_ID, String trxName) @@ -95,6 +95,68 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Tab (Properties ctx, String AD_Tab_UU, String trxName) + { + super (ctx, AD_Tab_UU, trxName); + /** if (AD_Tab_UU == null) + { + setAD_Tab_ID (0); + setAD_Table_ID (0); + setAD_Window_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setHasTree (false); + setIsAdvancedTab (false); +// N + setIsInsertRecord (true); +// Y + setIsReadOnly (false); + setIsSingleRow (true); +// Y + setIsSortTab (false); +// N + setIsTranslationTab (false); + setName (null); + setSeqNo (0); +// @SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_Tab WHERE AD_Window_ID=@AD_Window_ID@ + setTabLevel (0); + setTreeDisplayedOn (null); +// B + } */ + } + + /** Standard Constructor */ + public X_AD_Tab (Properties ctx, String AD_Tab_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Tab_UU, trxName, virtualColumns); + /** if (AD_Tab_UU == null) + { + setAD_Tab_ID (0); + setAD_Table_ID (0); + setAD_Window_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setHasTree (false); + setIsAdvancedTab (false); +// N + setIsInsertRecord (true); +// Y + setIsReadOnly (false); + setIsSingleRow (true); +// Y + setIsSortTab (false); +// N + setIsTranslationTab (false); + setName (null); + setSeqNo (0); +// @SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_Tab WHERE AD_Window_ID=@AD_Window_ID@ + setTabLevel (0); + setTreeDisplayedOn (null); +// B + } */ + } + /** Load Constructor */ public X_AD_Tab (Properties ctx, ResultSet rs, String trxName) { @@ -102,7 +164,7 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -502,10 +564,10 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent public boolean isHasTree() { Object oo = get_Value(COLUMNNAME_HasTree); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -585,10 +647,10 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent public boolean isAdvancedTab() { Object oo = get_Value(COLUMNNAME_IsAdvancedTab); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -607,10 +669,10 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent public boolean isAllowAdvancedLookup() { Object oo = get_Value(COLUMNNAME_IsAllowAdvancedLookup); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -653,10 +715,10 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent public boolean isInfoTab() { Object oo = get_Value(COLUMNNAME_IsInfoTab); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -676,10 +738,10 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent public boolean isInsertRecord() { Object oo = get_Value(COLUMNNAME_IsInsertRecord); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -699,10 +761,10 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent public boolean isLookupOnlySelection() { Object oo = get_Value(COLUMNNAME_IsLookupOnlySelection); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -722,10 +784,10 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent public boolean isReadOnly() { Object oo = get_Value(COLUMNNAME_IsReadOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -745,10 +807,10 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent public boolean isSingleRow() { Object oo = get_Value(COLUMNNAME_IsSingleRow); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -768,10 +830,10 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent public boolean isSortTab() { Object oo = get_Value(COLUMNNAME_IsSortTab); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -791,10 +853,10 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent public boolean isTranslationTab() { Object oo = get_Value(COLUMNNAME_IsTranslationTab); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -838,7 +900,7 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -900,10 +962,10 @@ public class X_AD_Tab extends PO implements I_AD_Tab, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Tab_Customization.java b/org.adempiere.base/src/org/compiere/model/X_AD_Tab_Customization.java index 8bd2f059d2..24659e0a48 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Tab_Customization.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Tab_Customization.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Tab_Customization - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Tab_Customization") -public class X_AD_Tab_Customization extends PO implements I_AD_Tab_Customization, I_Persistent +public class X_AD_Tab_Customization extends PO implements I_AD_Tab_Customization, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Tab_Customization (Properties ctx, int AD_Tab_Customization_ID, String trxName) @@ -54,6 +54,28 @@ public class X_AD_Tab_Customization extends PO implements I_AD_Tab_Customization } */ } + /** Standard Constructor */ + public X_AD_Tab_Customization (Properties ctx, String AD_Tab_Customization_UU, String trxName) + { + super (ctx, AD_Tab_Customization_UU, trxName); + /** if (AD_Tab_Customization_UU == null) + { + setAD_User_ID (0); + setCustom (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Tab_Customization (Properties ctx, String AD_Tab_Customization_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Tab_Customization_UU, trxName, virtualColumns); + /** if (AD_Tab_Customization_UU == null) + { + setAD_User_ID (0); + setCustom (null); + } */ + } + /** Load Constructor */ public X_AD_Tab_Customization (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_AD_Tab_Customization extends PO implements I_AD_Tab_Customization } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -247,10 +269,10 @@ public class X_AD_Tab_Customization extends PO implements I_AD_Tab_Customization public boolean isQuickForm() { Object oo = get_Value(COLUMNNAME_IsQuickForm); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Table.java b/org.adempiere.base/src/org/compiere/model/X_AD_Table.java index 74ffd58abd..8092a7e3b7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Table.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Table.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Table - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Table") -public class X_AD_Table extends PO implements I_AD_Table, I_Persistent +public class X_AD_Table extends PO implements I_AD_Table, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Table (Properties ctx, int AD_Table_ID, String trxName) @@ -85,6 +85,58 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Table (Properties ctx, String AD_Table_UU, String trxName) + { + super (ctx, AD_Table_UU, trxName); + /** if (AD_Table_UU == null) + { + setAccessLevel (null); +// 4 + setAD_Table_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsChangeLog (true); +// Y + setIsDeleteable (true); +// Y + setIsHighVolume (false); + setIsSecurityEnabled (false); + setIsView (false); +// N + setName (null); + setReplicationType (null); +// L + setTableName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Table (Properties ctx, String AD_Table_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Table_UU, trxName, virtualColumns); + /** if (AD_Table_UU == null) + { + setAccessLevel (null); +// 4 + setAD_Table_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsChangeLog (true); +// Y + setIsDeleteable (true); +// Y + setIsHighVolume (false); + setIsSecurityEnabled (false); + setIsView (false); +// N + setName (null); + setReplicationType (null); +// L + setTableName (null); + } */ + } + /** Load Constructor */ public X_AD_Table (Properties ctx, ResultSet rs, String trxName) { @@ -92,7 +144,7 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -378,10 +430,10 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent public boolean isCentrallyMaintained() { Object oo = get_Value(COLUMNNAME_IsCentrallyMaintained); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -401,10 +453,10 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent public boolean isChangeLog() { Object oo = get_Value(COLUMNNAME_IsChangeLog); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -424,10 +476,10 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent public boolean isDeleteable() { Object oo = get_Value(COLUMNNAME_IsDeleteable); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -447,10 +499,10 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent public boolean isHighVolume() { Object oo = get_Value(COLUMNNAME_IsHighVolume); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -470,10 +522,10 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent public boolean isSecurityEnabled() { Object oo = get_Value(COLUMNNAME_IsSecurityEnabled); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -493,10 +545,10 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent public boolean isShowInDrillOptions() { Object oo = get_Value(COLUMNNAME_IsShowInDrillOptions); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -516,10 +568,10 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent public boolean isView() { Object oo = get_Value(COLUMNNAME_IsView); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -600,10 +652,10 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -655,7 +707,7 @@ public class X_AD_Table extends PO implements I_AD_Table, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getTableName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_TableIndex.java b/org.adempiere.base/src/org/compiere/model/X_AD_TableIndex.java index c3e7b40f6a..1a21e5641a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_TableIndex.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_TableIndex.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_TableIndex - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_TableIndex") -public class X_AD_TableIndex extends PO implements I_AD_TableIndex, I_Persistent +public class X_AD_TableIndex extends PO implements I_AD_TableIndex, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_TableIndex (Properties ctx, int AD_TableIndex_ID, String trxName) @@ -73,6 +73,46 @@ public class X_AD_TableIndex extends PO implements I_AD_TableIndex, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_TableIndex (Properties ctx, String AD_TableIndex_UU, String trxName) + { + super (ctx, AD_TableIndex_UU, trxName); + /** if (AD_TableIndex_UU == null) + { + setAD_Table_ID (0); + setAD_TableIndex_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsCreateConstraint (false); +// N + setIsKey (false); +// N + setIsUnique (false); +// N + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_TableIndex (Properties ctx, String AD_TableIndex_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_TableIndex_UU, trxName, virtualColumns); + /** if (AD_TableIndex_UU == null) + { + setAD_Table_ID (0); + setAD_TableIndex_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsCreateConstraint (false); +// N + setIsKey (false); +// N + setIsUnique (false); +// N + setName (null); + } */ + } + /** Load Constructor */ public X_AD_TableIndex (Properties ctx, ResultSet rs, String trxName) { @@ -80,7 +120,7 @@ public class X_AD_TableIndex extends PO implements I_AD_TableIndex, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -257,10 +297,10 @@ public class X_AD_TableIndex extends PO implements I_AD_TableIndex, I_Persistent public boolean isCreateConstraint() { Object oo = get_Value(COLUMNNAME_IsCreateConstraint); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -280,10 +320,10 @@ public class X_AD_TableIndex extends PO implements I_AD_TableIndex, I_Persistent public boolean isKey() { Object oo = get_Value(COLUMNNAME_IsKey); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -302,10 +342,10 @@ public class X_AD_TableIndex extends PO implements I_AD_TableIndex, I_Persistent public boolean isUnique() { Object oo = get_Value(COLUMNNAME_IsUnique); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -330,7 +370,7 @@ public class X_AD_TableIndex extends PO implements I_AD_TableIndex, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -348,10 +388,10 @@ public class X_AD_TableIndex extends PO implements I_AD_TableIndex, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Table_Access.java b/org.adempiere.base/src/org/compiere/model/X_AD_Table_Access.java index 03ef8772cc..2c4de0f7d8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Table_Access.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Table_Access.java @@ -19,19 +19,19 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for AD_Table_Access - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Table_Access") -public class X_AD_Table_Access extends PO implements I_AD_Table_Access, I_Persistent +public class X_AD_Table_Access extends PO implements I_AD_Table_Access, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Table_Access (Properties ctx, int AD_Table_Access_ID, String trxName) @@ -65,6 +65,38 @@ public class X_AD_Table_Access extends PO implements I_AD_Table_Access, I_Persis } */ } + /** Standard Constructor */ + public X_AD_Table_Access (Properties ctx, String AD_Table_Access_UU, String trxName) + { + super (ctx, AD_Table_Access_UU, trxName); + /** if (AD_Table_Access_UU == null) + { + setAccessTypeRule (null); +// A + setAD_Role_ID (0); + setAD_Table_ID (0); + setIsExclude (true); +// Y + setIsReadOnly (false); + } */ + } + + /** Standard Constructor */ + public X_AD_Table_Access (Properties ctx, String AD_Table_Access_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Table_Access_UU, trxName, virtualColumns); + /** if (AD_Table_Access_UU == null) + { + setAccessTypeRule (null); +// A + setAD_Role_ID (0); + setAD_Table_ID (0); + setIsExclude (true); +// Y + setIsReadOnly (false); + } */ + } + /** Load Constructor */ public X_AD_Table_Access (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_AD_Table_Access extends PO implements I_AD_Table_Access, I_Persis } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -89,7 +121,7 @@ public class X_AD_Table_Access extends PO implements I_AD_Table_Access, I_Persis public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Table_Access[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -189,12 +221,12 @@ public class X_AD_Table_Access extends PO implements I_AD_Table_Access, I_Persis return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getAD_Table_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getAD_Table_ID())); } /** Set Exclude. @@ -211,10 +243,10 @@ public class X_AD_Table_Access extends PO implements I_AD_Table_Access, I_Persis public boolean isExclude() { Object oo = get_Value(COLUMNNAME_IsExclude); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -234,10 +266,10 @@ public class X_AD_Table_Access extends PO implements I_AD_Table_Access, I_Persis public boolean isReadOnly() { Object oo = get_Value(COLUMNNAME_IsReadOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Table_ScriptValidator.java b/org.adempiere.base/src/org/compiere/model/X_AD_Table_ScriptValidator.java index cf4a34b58c..ab85d5289e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Table_ScriptValidator.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Table_ScriptValidator.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Table_ScriptValidator - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Table_ScriptValidator") -public class X_AD_Table_ScriptValidator extends PO implements I_AD_Table_ScriptValidator, I_Persistent +public class X_AD_Table_ScriptValidator extends PO implements I_AD_Table_ScriptValidator, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Table_ScriptValidator (Properties ctx, int AD_Table_ScriptValidator_ID, String trxName) @@ -63,6 +63,36 @@ public class X_AD_Table_ScriptValidator extends PO implements I_AD_Table_ScriptV } */ } + /** Standard Constructor */ + public X_AD_Table_ScriptValidator (Properties ctx, String AD_Table_ScriptValidator_UU, String trxName) + { + super (ctx, AD_Table_ScriptValidator_UU, trxName); + /** if (AD_Table_ScriptValidator_UU == null) + { + setAD_Rule_ID (0); + setAD_Table_ID (0); + setAD_Table_ScriptValidator_ID (0); + setEventModelValidator (null); + setSeqNo (0); +// 0 + } */ + } + + /** Standard Constructor */ + public X_AD_Table_ScriptValidator (Properties ctx, String AD_Table_ScriptValidator_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Table_ScriptValidator_UU, trxName, virtualColumns); + /** if (AD_Table_ScriptValidator_UU == null) + { + setAD_Rule_ID (0); + setAD_Table_ID (0); + setAD_Table_ScriptValidator_ID (0); + setEventModelValidator (null); + setSeqNo (0); +// 0 + } */ + } + /** Load Constructor */ public X_AD_Table_ScriptValidator (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_AD_Table_ScriptValidator extends PO implements I_AD_Table_ScriptV } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -253,7 +283,7 @@ public class X_AD_Table_ScriptValidator extends PO implements I_AD_Table_ScriptV /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getEventModelValidator())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Task.java b/org.adempiere.base/src/org/compiere/model/X_AD_Task.java index 2b1329f93f..8d14b50e12 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Task.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Task.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Task - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Task") -public class X_AD_Task extends PO implements I_AD_Task, I_Persistent +public class X_AD_Task extends PO implements I_AD_Task, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Task (Properties ctx, int AD_Task_ID, String trxName) @@ -63,6 +63,36 @@ public class X_AD_Task extends PO implements I_AD_Task, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Task (Properties ctx, String AD_Task_UU, String trxName) + { + super (ctx, AD_Task_UU, trxName); + /** if (AD_Task_UU == null) + { + setAccessLevel (null); + setAD_Task_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setOS_Command (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Task (Properties ctx, String AD_Task_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Task_UU, trxName, virtualColumns); + /** if (AD_Task_UU == null) + { + setAccessLevel (null); + setAD_Task_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setOS_Command (null); + } */ + } + /** Load Constructor */ public X_AD_Task (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_AD_Task extends PO implements I_AD_Task, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -256,7 +286,7 @@ public class X_AD_Task extends PO implements I_AD_Task, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_TaskInstance.java b/org.adempiere.base/src/org/compiere/model/X_AD_TaskInstance.java index 7394299935..477b39bd20 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_TaskInstance.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_TaskInstance.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_TaskInstance - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_TaskInstance") -public class X_AD_TaskInstance extends PO implements I_AD_TaskInstance, I_Persistent +public class X_AD_TaskInstance extends PO implements I_AD_TaskInstance, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_TaskInstance (Properties ctx, int AD_TaskInstance_ID, String trxName) @@ -55,6 +55,28 @@ public class X_AD_TaskInstance extends PO implements I_AD_TaskInstance, I_Persis } */ } + /** Standard Constructor */ + public X_AD_TaskInstance (Properties ctx, String AD_TaskInstance_UU, String trxName) + { + super (ctx, AD_TaskInstance_UU, trxName); + /** if (AD_TaskInstance_UU == null) + { + setAD_Task_ID (0); + setAD_TaskInstance_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_TaskInstance (Properties ctx, String AD_TaskInstance_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_TaskInstance_UU, trxName, virtualColumns); + /** if (AD_TaskInstance_UU == null) + { + setAD_Task_ID (0); + setAD_TaskInstance_ID (0); + } */ + } + /** Load Constructor */ public X_AD_TaskInstance (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_AD_TaskInstance extends PO implements I_AD_TaskInstance, I_Persis } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -129,7 +151,7 @@ public class X_AD_TaskInstance extends PO implements I_AD_TaskInstance, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_TaskInstance_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Task_Access.java b/org.adempiere.base/src/org/compiere/model/X_AD_Task_Access.java index 30aab47cfd..ca9818e051 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Task_Access.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Task_Access.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Task_Access - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Task_Access") -public class X_AD_Task_Access extends PO implements I_AD_Task_Access, I_Persistent +public class X_AD_Task_Access extends PO implements I_AD_Task_Access, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Task_Access (Properties ctx, int AD_Task_Access_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_Task_Access extends PO implements I_AD_Task_Access, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_Task_Access (Properties ctx, String AD_Task_Access_UU, String trxName) + { + super (ctx, AD_Task_Access_UU, trxName); + /** if (AD_Task_Access_UU == null) + { + setAD_Role_ID (0); + setAD_Task_ID (0); + setIsReadWrite (false); + } */ + } + + /** Standard Constructor */ + public X_AD_Task_Access (Properties ctx, String AD_Task_Access_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Task_Access_UU, trxName, virtualColumns); + /** if (AD_Task_Access_UU == null) + { + setAD_Role_ID (0); + setAD_Task_ID (0); + setIsReadWrite (false); + } */ + } + /** Load Constructor */ public X_AD_Task_Access (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_Task_Access extends PO implements I_AD_Task_Access, I_Persiste } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_AD_Task_Access extends PO implements I_AD_Task_Access, I_Persiste public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Task_Access[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -169,10 +193,10 @@ public class X_AD_Task_Access extends PO implements I_AD_Task_Access, I_Persiste public boolean isReadWrite() { Object oo = get_Value(COLUMNNAME_IsReadWrite); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ToolBarButton.java b/org.adempiere.base/src/org/compiere/model/X_AD_ToolBarButton.java index 9316d9378d..eb6ab2735d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ToolBarButton.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ToolBarButton.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_ToolBarButton - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ToolBarButton") -public class X_AD_ToolBarButton extends PO implements I_AD_ToolBarButton, I_Persistent +public class X_AD_ToolBarButton extends PO implements I_AD_ToolBarButton, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ToolBarButton (Properties ctx, int AD_ToolBarButton_ID, String trxName) @@ -77,6 +77,50 @@ public class X_AD_ToolBarButton extends PO implements I_AD_ToolBarButton, I_Pers } */ } + /** Standard Constructor */ + public X_AD_ToolBarButton (Properties ctx, String AD_ToolBarButton_UU, String trxName) + { + super (ctx, AD_ToolBarButton_UU, trxName); + /** if (AD_ToolBarButton_UU == null) + { + setAction (null); +// W + setAD_ToolBarButton_ID (0); + setComponentName (null); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsAddSeparator (false); +// N + setIsAdvancedButton (false); +// N + setIsCustomization (false); +// N + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_ToolBarButton (Properties ctx, String AD_ToolBarButton_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ToolBarButton_UU, trxName, virtualColumns); + /** if (AD_ToolBarButton_UU == null) + { + setAction (null); +// W + setAD_ToolBarButton_ID (0); + setComponentName (null); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsAddSeparator (false); +// N + setIsAdvancedButton (false); +// N + setIsCustomization (false); +// N + setName (null); + } */ + } + /** Load Constructor */ public X_AD_ToolBarButton (Properties ctx, ResultSet rs, String trxName) { @@ -84,7 +128,7 @@ public class X_AD_ToolBarButton extends PO implements I_AD_ToolBarButton, I_Pers } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -329,10 +373,10 @@ public class X_AD_ToolBarButton extends PO implements I_AD_ToolBarButton, I_Pers public boolean isAddSeparator() { Object oo = get_Value(COLUMNNAME_IsAddSeparator); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -352,10 +396,10 @@ public class X_AD_ToolBarButton extends PO implements I_AD_ToolBarButton, I_Pers public boolean isAdvancedButton() { Object oo = get_Value(COLUMNNAME_IsAdvancedButton); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -375,10 +419,10 @@ public class X_AD_ToolBarButton extends PO implements I_AD_ToolBarButton, I_Pers public boolean isCustomization() { Object oo = get_Value(COLUMNNAME_IsCustomization); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -397,10 +441,10 @@ public class X_AD_ToolBarButton extends PO implements I_AD_ToolBarButton, I_Pers public boolean isShowMore() { Object oo = get_Value(COLUMNNAME_IsShowMore); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -463,7 +507,7 @@ public class X_AD_ToolBarButton extends PO implements I_AD_ToolBarButton, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ToolBarButtonRestrict.java b/org.adempiere.base/src/org/compiere/model/X_AD_ToolBarButtonRestrict.java index 282f608769..6dccdef93e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ToolBarButtonRestrict.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ToolBarButtonRestrict.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_ToolBarButtonRestrict - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ToolBarButtonRestrict") -public class X_AD_ToolBarButtonRestrict extends PO implements I_AD_ToolBarButtonRestrict, I_Persistent +public class X_AD_ToolBarButtonRestrict extends PO implements I_AD_ToolBarButtonRestrict, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ToolBarButtonRestrict (Properties ctx, int AD_ToolBarButtonRestrict_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_ToolBarButtonRestrict extends PO implements I_AD_ToolBarButton } */ } + /** Standard Constructor */ + public X_AD_ToolBarButtonRestrict (Properties ctx, String AD_ToolBarButtonRestrict_UU, String trxName) + { + super (ctx, AD_ToolBarButtonRestrict_UU, trxName); + /** if (AD_ToolBarButtonRestrict_UU == null) + { + setAction (null); + setAD_ToolBarButtonRestrict_ID (0); + setIsExclude (true); +// Y + } */ + } + + /** Standard Constructor */ + public X_AD_ToolBarButtonRestrict (Properties ctx, String AD_ToolBarButtonRestrict_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ToolBarButtonRestrict_UU, trxName, virtualColumns); + /** if (AD_ToolBarButtonRestrict_UU == null) + { + setAction (null); + setAD_ToolBarButtonRestrict_ID (0); + setIsExclude (true); +// Y + } */ + } + /** Load Constructor */ public X_AD_ToolBarButtonRestrict (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_ToolBarButtonRestrict extends PO implements I_AD_ToolBarButton } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -312,10 +338,10 @@ public class X_AD_ToolBarButtonRestrict extends PO implements I_AD_ToolBarButton public boolean isExclude() { Object oo = get_Value(COLUMNNAME_IsExclude); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Tree.java b/org.adempiere.base/src/org/compiere/model/X_AD_Tree.java index 686d432571..6b8a49a362 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Tree.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Tree.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Tree - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Tree") -public class X_AD_Tree extends PO implements I_AD_Tree, I_Persistent +public class X_AD_Tree extends PO implements I_AD_Tree, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Tree (Properties ctx, int AD_Tree_ID, String trxName) @@ -75,6 +75,48 @@ public class X_AD_Tree extends PO implements I_AD_Tree, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Tree (Properties ctx, String AD_Tree_UU, String trxName) + { + super (ctx, AD_Tree_UU, trxName); + /** if (AD_Tree_UU == null) + { + setAD_Tree_ID (0); + setIsAllNodes (false); + setIsDefault (false); +// N + setIsLoadAllNodesImmediately (true); +// Y + setIsTreeDrivenByValue (false); +// N + setIsValueDisplayed (false); +// N + setName (null); + setTreeType (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Tree (Properties ctx, String AD_Tree_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Tree_UU, trxName, virtualColumns); + /** if (AD_Tree_UU == null) + { + setAD_Tree_ID (0); + setIsAllNodes (false); + setIsDefault (false); +// N + setIsLoadAllNodesImmediately (true); +// Y + setIsTreeDrivenByValue (false); +// N + setIsValueDisplayed (false); +// N + setName (null); + setTreeType (null); + } */ + } + /** Load Constructor */ public X_AD_Tree (Properties ctx, ResultSet rs, String trxName) { @@ -82,7 +124,7 @@ public class X_AD_Tree extends PO implements I_AD_Tree, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -198,10 +240,10 @@ public class X_AD_Tree extends PO implements I_AD_Tree, I_Persistent public boolean isAllNodes() { Object oo = get_Value(COLUMNNAME_IsAllNodes); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -221,10 +263,10 @@ public class X_AD_Tree extends PO implements I_AD_Tree, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -244,10 +286,10 @@ public class X_AD_Tree extends PO implements I_AD_Tree, I_Persistent public boolean isLoadAllNodesImmediately() { Object oo = get_Value(COLUMNNAME_IsLoadAllNodesImmediately); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -266,10 +308,10 @@ public class X_AD_Tree extends PO implements I_AD_Tree, I_Persistent public boolean isTreeDrivenByValue() { Object oo = get_Value(COLUMNNAME_IsTreeDrivenByValue); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -289,10 +331,10 @@ public class X_AD_Tree extends PO implements I_AD_Tree, I_Persistent public boolean isValueDisplayed() { Object oo = get_Value(COLUMNNAME_IsValueDisplayed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -317,7 +359,7 @@ public class X_AD_Tree extends PO implements I_AD_Tree, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -363,10 +405,10 @@ public class X_AD_Tree extends PO implements I_AD_Tree, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNode.java b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNode.java index 6620ef4f00..5b9cb7135a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNode.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNode.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_TreeNode - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_TreeNode") -public class X_AD_TreeNode extends PO implements I_AD_TreeNode, I_Persistent +public class X_AD_TreeNode extends PO implements I_AD_TreeNode, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_TreeNode (Properties ctx, int AD_TreeNode_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_TreeNode extends PO implements I_AD_TreeNode, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_TreeNode (Properties ctx, String AD_TreeNode_UU, String trxName) + { + super (ctx, AD_TreeNode_UU, trxName); + /** if (AD_TreeNode_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_AD_TreeNode (Properties ctx, String AD_TreeNode_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_TreeNode_UU, trxName, virtualColumns); + /** if (AD_TreeNode_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_AD_TreeNode (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_TreeNode extends PO implements I_AD_TreeNode, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_AD_TreeNode extends PO implements I_AD_TreeNode, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_AD_TreeNode[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeBP.java b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeBP.java index 8a46a2936b..bab286706c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeBP.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeBP.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_TreeNodeBP - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_TreeNodeBP") -public class X_AD_TreeNodeBP extends PO implements I_AD_TreeNodeBP, I_Persistent +public class X_AD_TreeNodeBP extends PO implements I_AD_TreeNodeBP, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_TreeNodeBP (Properties ctx, int AD_TreeNodeBP_ID, String trxName) @@ -54,6 +54,28 @@ public class X_AD_TreeNodeBP extends PO implements I_AD_TreeNodeBP, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_TreeNodeBP (Properties ctx, String AD_TreeNodeBP_UU, String trxName) + { + super (ctx, AD_TreeNodeBP_UU, trxName); + /** if (AD_TreeNodeBP_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_TreeNodeBP (Properties ctx, String AD_TreeNodeBP_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_TreeNodeBP_UU, trxName, virtualColumns); + /** if (AD_TreeNodeBP_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + } */ + } + /** Load Constructor */ public X_AD_TreeNodeBP (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_AD_TreeNodeBP extends PO implements I_AD_TreeNodeBP, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -78,7 +100,7 @@ public class X_AD_TreeNodeBP extends PO implements I_AD_TreeNodeBP, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_AD_TreeNodeBP[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeCMC.java b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeCMC.java index 2853f89af3..73ae8f404e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeCMC.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeCMC.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_TreeNodeCMC - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_TreeNodeCMC") -public class X_AD_TreeNodeCMC extends PO implements I_AD_TreeNodeCMC, I_Persistent +public class X_AD_TreeNodeCMC extends PO implements I_AD_TreeNodeCMC, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_TreeNodeCMC (Properties ctx, int AD_TreeNodeCMC_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_TreeNodeCMC extends PO implements I_AD_TreeNodeCMC, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_TreeNodeCMC (Properties ctx, String AD_TreeNodeCMC_UU, String trxName) + { + super (ctx, AD_TreeNodeCMC_UU, trxName); + /** if (AD_TreeNodeCMC_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setParent_ID (0); + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_AD_TreeNodeCMC (Properties ctx, String AD_TreeNodeCMC_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_TreeNodeCMC_UU, trxName, virtualColumns); + /** if (AD_TreeNodeCMC_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setParent_ID (0); + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_AD_TreeNodeCMC (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_TreeNodeCMC extends PO implements I_AD_TreeNodeCMC, I_Persiste } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -82,7 +108,7 @@ public class X_AD_TreeNodeCMC extends PO implements I_AD_TreeNodeCMC, I_Persiste public String toString() { StringBuilder sb = new StringBuilder ("X_AD_TreeNodeCMC[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeCMM.java b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeCMM.java index a39eec28f9..0f3b9b78d3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeCMM.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeCMM.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_TreeNodeCMM - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_TreeNodeCMM") -public class X_AD_TreeNodeCMM extends PO implements I_AD_TreeNodeCMM, I_Persistent +public class X_AD_TreeNodeCMM extends PO implements I_AD_TreeNodeCMM, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_TreeNodeCMM (Properties ctx, int AD_TreeNodeCMM_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_TreeNodeCMM extends PO implements I_AD_TreeNodeCMM, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_TreeNodeCMM (Properties ctx, String AD_TreeNodeCMM_UU, String trxName) + { + super (ctx, AD_TreeNodeCMM_UU, trxName); + /** if (AD_TreeNodeCMM_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setParent_ID (0); + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_AD_TreeNodeCMM (Properties ctx, String AD_TreeNodeCMM_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_TreeNodeCMM_UU, trxName, virtualColumns); + /** if (AD_TreeNodeCMM_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setParent_ID (0); + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_AD_TreeNodeCMM (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_TreeNodeCMM extends PO implements I_AD_TreeNodeCMM, I_Persiste } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -82,7 +108,7 @@ public class X_AD_TreeNodeCMM extends PO implements I_AD_TreeNodeCMM, I_Persiste public String toString() { StringBuilder sb = new StringBuilder ("X_AD_TreeNodeCMM[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeCMS.java b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeCMS.java index 07ba6bc762..354dc50722 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeCMS.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeCMS.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_TreeNodeCMS - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_TreeNodeCMS") -public class X_AD_TreeNodeCMS extends PO implements I_AD_TreeNodeCMS, I_Persistent +public class X_AD_TreeNodeCMS extends PO implements I_AD_TreeNodeCMS, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_TreeNodeCMS (Properties ctx, int AD_TreeNodeCMS_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_TreeNodeCMS extends PO implements I_AD_TreeNodeCMS, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_TreeNodeCMS (Properties ctx, String AD_TreeNodeCMS_UU, String trxName) + { + super (ctx, AD_TreeNodeCMS_UU, trxName); + /** if (AD_TreeNodeCMS_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setParent_ID (0); + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_AD_TreeNodeCMS (Properties ctx, String AD_TreeNodeCMS_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_TreeNodeCMS_UU, trxName, virtualColumns); + /** if (AD_TreeNodeCMS_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setParent_ID (0); + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_AD_TreeNodeCMS (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_TreeNodeCMS extends PO implements I_AD_TreeNodeCMS, I_Persiste } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -82,7 +108,7 @@ public class X_AD_TreeNodeCMS extends PO implements I_AD_TreeNodeCMS, I_Persiste public String toString() { StringBuilder sb = new StringBuilder ("X_AD_TreeNodeCMS[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeCMT.java b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeCMT.java index 0d74290774..333c0ed183 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeCMT.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeCMT.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_TreeNodeCMT - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_TreeNodeCMT") -public class X_AD_TreeNodeCMT extends PO implements I_AD_TreeNodeCMT, I_Persistent +public class X_AD_TreeNodeCMT extends PO implements I_AD_TreeNodeCMT, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_TreeNodeCMT (Properties ctx, int AD_TreeNodeCMT_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_TreeNodeCMT extends PO implements I_AD_TreeNodeCMT, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_TreeNodeCMT (Properties ctx, String AD_TreeNodeCMT_UU, String trxName) + { + super (ctx, AD_TreeNodeCMT_UU, trxName); + /** if (AD_TreeNodeCMT_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setParent_ID (0); + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_AD_TreeNodeCMT (Properties ctx, String AD_TreeNodeCMT_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_TreeNodeCMT_UU, trxName, virtualColumns); + /** if (AD_TreeNodeCMT_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setParent_ID (0); + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_AD_TreeNodeCMT (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_TreeNodeCMT extends PO implements I_AD_TreeNodeCMT, I_Persiste } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -82,7 +108,7 @@ public class X_AD_TreeNodeCMT extends PO implements I_AD_TreeNodeCMT, I_Persiste public String toString() { StringBuilder sb = new StringBuilder ("X_AD_TreeNodeCMT[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeMM.java b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeMM.java index 241f27045c..38f309ed14 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeMM.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeMM.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_TreeNodeMM - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_TreeNodeMM") -public class X_AD_TreeNodeMM extends PO implements I_AD_TreeNodeMM, I_Persistent +public class X_AD_TreeNodeMM extends PO implements I_AD_TreeNodeMM, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_TreeNodeMM (Properties ctx, int AD_TreeNodeMM_ID, String trxName) @@ -54,6 +54,28 @@ public class X_AD_TreeNodeMM extends PO implements I_AD_TreeNodeMM, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_TreeNodeMM (Properties ctx, String AD_TreeNodeMM_UU, String trxName) + { + super (ctx, AD_TreeNodeMM_UU, trxName); + /** if (AD_TreeNodeMM_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_TreeNodeMM (Properties ctx, String AD_TreeNodeMM_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_TreeNodeMM_UU, trxName, virtualColumns); + /** if (AD_TreeNodeMM_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + } */ + } + /** Load Constructor */ public X_AD_TreeNodeMM (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_AD_TreeNodeMM extends PO implements I_AD_TreeNodeMM, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -78,7 +100,7 @@ public class X_AD_TreeNodeMM extends PO implements I_AD_TreeNodeMM, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_AD_TreeNodeMM[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodePR.java b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodePR.java index d9ecf022fe..96900c22db 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodePR.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodePR.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_TreeNodePR - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_TreeNodePR") -public class X_AD_TreeNodePR extends PO implements I_AD_TreeNodePR, I_Persistent +public class X_AD_TreeNodePR extends PO implements I_AD_TreeNodePR, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_TreeNodePR (Properties ctx, int AD_TreeNodePR_ID, String trxName) @@ -54,6 +54,28 @@ public class X_AD_TreeNodePR extends PO implements I_AD_TreeNodePR, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_TreeNodePR (Properties ctx, String AD_TreeNodePR_UU, String trxName) + { + super (ctx, AD_TreeNodePR_UU, trxName); + /** if (AD_TreeNodePR_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_TreeNodePR (Properties ctx, String AD_TreeNodePR_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_TreeNodePR_UU, trxName, virtualColumns); + /** if (AD_TreeNodePR_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + } */ + } + /** Load Constructor */ public X_AD_TreeNodePR (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_AD_TreeNodePR extends PO implements I_AD_TreeNodePR, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -78,7 +100,7 @@ public class X_AD_TreeNodePR extends PO implements I_AD_TreeNodePR, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_AD_TreeNodePR[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeU1.java b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeU1.java index dc7c7a72ab..d03b274ae8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeU1.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeU1.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_TreeNodeU1 - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_TreeNodeU1") -public class X_AD_TreeNodeU1 extends PO implements I_AD_TreeNodeU1, I_Persistent +public class X_AD_TreeNodeU1 extends PO implements I_AD_TreeNodeU1, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_TreeNodeU1 (Properties ctx, int AD_TreeNodeU1_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_TreeNodeU1 extends PO implements I_AD_TreeNodeU1, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_TreeNodeU1 (Properties ctx, String AD_TreeNodeU1_UU, String trxName) + { + super (ctx, AD_TreeNodeU1_UU, trxName); + /** if (AD_TreeNodeU1_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setParent_ID (0); + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_AD_TreeNodeU1 (Properties ctx, String AD_TreeNodeU1_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_TreeNodeU1_UU, trxName, virtualColumns); + /** if (AD_TreeNodeU1_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setParent_ID (0); + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_AD_TreeNodeU1 (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_TreeNodeU1 extends PO implements I_AD_TreeNodeU1, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -82,7 +108,7 @@ public class X_AD_TreeNodeU1 extends PO implements I_AD_TreeNodeU1, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_AD_TreeNodeU1[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeU2.java b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeU2.java index f4da063dd8..68ae834a48 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeU2.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeU2.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_TreeNodeU2 - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_TreeNodeU2") -public class X_AD_TreeNodeU2 extends PO implements I_AD_TreeNodeU2, I_Persistent +public class X_AD_TreeNodeU2 extends PO implements I_AD_TreeNodeU2, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_TreeNodeU2 (Properties ctx, int AD_TreeNodeU2_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_TreeNodeU2 extends PO implements I_AD_TreeNodeU2, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_TreeNodeU2 (Properties ctx, String AD_TreeNodeU2_UU, String trxName) + { + super (ctx, AD_TreeNodeU2_UU, trxName); + /** if (AD_TreeNodeU2_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setParent_ID (0); + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_AD_TreeNodeU2 (Properties ctx, String AD_TreeNodeU2_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_TreeNodeU2_UU, trxName, virtualColumns); + /** if (AD_TreeNodeU2_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setParent_ID (0); + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_AD_TreeNodeU2 (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_TreeNodeU2 extends PO implements I_AD_TreeNodeU2, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -82,7 +108,7 @@ public class X_AD_TreeNodeU2 extends PO implements I_AD_TreeNodeU2, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_AD_TreeNodeU2[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeU3.java b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeU3.java index b7a69e6a4d..3194541e52 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeU3.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeU3.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_TreeNodeU3 - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_TreeNodeU3") -public class X_AD_TreeNodeU3 extends PO implements I_AD_TreeNodeU3, I_Persistent +public class X_AD_TreeNodeU3 extends PO implements I_AD_TreeNodeU3, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_TreeNodeU3 (Properties ctx, int AD_TreeNodeU3_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_TreeNodeU3 extends PO implements I_AD_TreeNodeU3, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_TreeNodeU3 (Properties ctx, String AD_TreeNodeU3_UU, String trxName) + { + super (ctx, AD_TreeNodeU3_UU, trxName); + /** if (AD_TreeNodeU3_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setParent_ID (0); + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_AD_TreeNodeU3 (Properties ctx, String AD_TreeNodeU3_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_TreeNodeU3_UU, trxName, virtualColumns); + /** if (AD_TreeNodeU3_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setParent_ID (0); + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_AD_TreeNodeU3 (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_TreeNodeU3 extends PO implements I_AD_TreeNodeU3, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -82,7 +108,7 @@ public class X_AD_TreeNodeU3 extends PO implements I_AD_TreeNodeU3, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_AD_TreeNodeU3[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeU4.java b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeU4.java index 3bb6feb597..6ffccbba3e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeU4.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_TreeNodeU4.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_TreeNodeU4 - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_TreeNodeU4") -public class X_AD_TreeNodeU4 extends PO implements I_AD_TreeNodeU4, I_Persistent +public class X_AD_TreeNodeU4 extends PO implements I_AD_TreeNodeU4, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_TreeNodeU4 (Properties ctx, int AD_TreeNodeU4_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_TreeNodeU4 extends PO implements I_AD_TreeNodeU4, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_TreeNodeU4 (Properties ctx, String AD_TreeNodeU4_UU, String trxName) + { + super (ctx, AD_TreeNodeU4_UU, trxName); + /** if (AD_TreeNodeU4_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setParent_ID (0); + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_AD_TreeNodeU4 (Properties ctx, String AD_TreeNodeU4_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_TreeNodeU4_UU, trxName, virtualColumns); + /** if (AD_TreeNodeU4_UU == null) + { + setAD_Tree_ID (0); + setNode_ID (0); + setParent_ID (0); + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_AD_TreeNodeU4 (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_TreeNodeU4 extends PO implements I_AD_TreeNodeU4, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -82,7 +108,7 @@ public class X_AD_TreeNodeU4 extends PO implements I_AD_TreeNodeU4, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_AD_TreeNodeU4[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Tree_Favorite.java b/org.adempiere.base/src/org/compiere/model/X_AD_Tree_Favorite.java index 0d867eedbd..50baa4b66c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Tree_Favorite.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Tree_Favorite.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Tree_Favorite - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Tree_Favorite") -public class X_AD_Tree_Favorite extends PO implements I_AD_Tree_Favorite, I_Persistent +public class X_AD_Tree_Favorite extends PO implements I_AD_Tree_Favorite, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Tree_Favorite (Properties ctx, int AD_Tree_Favorite_ID, String trxName) @@ -54,6 +54,28 @@ public class X_AD_Tree_Favorite extends PO implements I_AD_Tree_Favorite, I_Pers } */ } + /** Standard Constructor */ + public X_AD_Tree_Favorite (Properties ctx, String AD_Tree_Favorite_UU, String trxName) + { + super (ctx, AD_Tree_Favorite_UU, trxName); + /** if (AD_Tree_Favorite_UU == null) + { + setAD_Tree_Favorite_ID (0); + setAD_User_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Tree_Favorite (Properties ctx, String AD_Tree_Favorite_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Tree_Favorite_UU, trxName, virtualColumns); + /** if (AD_Tree_Favorite_UU == null) + { + setAD_Tree_Favorite_ID (0); + setAD_User_ID (0); + } */ + } + /** Load Constructor */ public X_AD_Tree_Favorite (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_AD_Tree_Favorite extends PO implements I_AD_Tree_Favorite, I_Pers } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Tree_Favorite_Node.java b/org.adempiere.base/src/org/compiere/model/X_AD_Tree_Favorite_Node.java index e3dcbb7012..8524019761 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Tree_Favorite_Node.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Tree_Favorite_Node.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Tree_Favorite_Node - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Tree_Favorite_Node") -public class X_AD_Tree_Favorite_Node extends PO implements I_AD_Tree_Favorite_Node, I_Persistent +public class X_AD_Tree_Favorite_Node extends PO implements I_AD_Tree_Favorite_Node, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Tree_Favorite_Node (Properties ctx, int AD_Tree_Favorite_Node_ID, String trxName) @@ -68,6 +68,42 @@ public class X_AD_Tree_Favorite_Node extends PO implements I_AD_Tree_Favorite_No } */ } + /** Standard Constructor */ + public X_AD_Tree_Favorite_Node (Properties ctx, String AD_Tree_Favorite_Node_UU, String trxName) + { + super (ctx, AD_Tree_Favorite_Node_UU, trxName); + /** if (AD_Tree_Favorite_Node_UU == null) + { + setAD_Tree_Favorite_ID (0); + setAD_Tree_Favorite_Node_ID (0); + setIsCollapsible (true); +// Y + setIsFavourite (false); +// N + setIsSummary (false); +// N + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Tree_Favorite_Node (Properties ctx, String AD_Tree_Favorite_Node_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Tree_Favorite_Node_UU, trxName, virtualColumns); + /** if (AD_Tree_Favorite_Node_UU == null) + { + setAD_Tree_Favorite_ID (0); + setAD_Tree_Favorite_Node_ID (0); + setIsCollapsible (true); +// Y + setIsFavourite (false); +// N + setIsSummary (false); +// N + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_AD_Tree_Favorite_Node (Properties ctx, ResultSet rs, String trxName) { @@ -75,7 +111,7 @@ public class X_AD_Tree_Favorite_Node extends PO implements I_AD_Tree_Favorite_No } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -201,10 +237,10 @@ public class X_AD_Tree_Favorite_Node extends PO implements I_AD_Tree_Favorite_No public boolean isCollapsible() { Object oo = get_Value(COLUMNNAME_IsCollapsible); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -224,10 +260,10 @@ public class X_AD_Tree_Favorite_Node extends PO implements I_AD_Tree_Favorite_No public boolean isFavourite() { Object oo = get_Value(COLUMNNAME_IsFavourite); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -247,10 +283,10 @@ public class X_AD_Tree_Favorite_Node extends PO implements I_AD_Tree_Favorite_No public boolean isSummary() { Object oo = get_Value(COLUMNNAME_IsSummary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_User.java b/org.adempiere.base/src/org/compiere/model/X_AD_User.java index 09e0e85e63..d5251c817f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_User.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_User.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_User - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_User") -public class X_AD_User extends PO implements I_AD_User, I_Persistent +public class X_AD_User extends PO implements I_AD_User, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_User (Properties ctx, int AD_User_ID, String trxName) @@ -112,6 +112,84 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_User (Properties ctx, String AD_User_UU, String trxName) + { + super (ctx, AD_User_UU, trxName); + /** if (AD_User_UU == null) + { + setAD_User_ID (0); + setFailedLoginCount (0); +// 0 + setIsAddMailTextAutomatically (false); +// N + setIsBillTo (false); +// N + setIsExpired (false); +// N + setIsFullBPAccess (true); +// Y + setIsInPayroll (false); +// N + setIsLocked (false); +// 'N' + setIsNoExpire (false); +// N + setIsNoPasswordReset (false); +// 'N' + setIsSalesLead (false); +// N + setIsShipTo (false); +// N + setIsSupportUser (false); +// N + setIsVendorLead (false); +// N + setName (null); + setNotificationType (null); +// X + } */ + } + + /** Standard Constructor */ + public X_AD_User (Properties ctx, String AD_User_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_User_UU, trxName, virtualColumns); + /** if (AD_User_UU == null) + { + setAD_User_ID (0); + setFailedLoginCount (0); +// 0 + setIsAddMailTextAutomatically (false); +// N + setIsBillTo (false); +// N + setIsExpired (false); +// N + setIsFullBPAccess (true); +// Y + setIsInPayroll (false); +// N + setIsLocked (false); +// 'N' + setIsNoExpire (false); +// N + setIsNoPasswordReset (false); +// 'N' + setIsSalesLead (false); +// N + setIsShipTo (false); +// N + setIsSupportUser (false); +// N + setIsVendorLead (false); +// N + setName (null); + setNotificationType (null); +// X + } */ + } + /** Load Constructor */ public X_AD_User (Properties ctx, ResultSet rs, String trxName) { @@ -119,7 +197,7 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -668,10 +746,10 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent public boolean isAddMailTextAutomatically() { Object oo = get_Value(COLUMNNAME_IsAddMailTextAutomatically); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -691,10 +769,10 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent public boolean isBillTo() { Object oo = get_Value(COLUMNNAME_IsBillTo); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -713,10 +791,10 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent public boolean isExpired() { Object oo = get_Value(COLUMNNAME_IsExpired); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -736,10 +814,10 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent public boolean isFullBPAccess() { Object oo = get_Value(COLUMNNAME_IsFullBPAccess); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -759,10 +837,10 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent public boolean isInPayroll() { Object oo = get_Value(COLUMNNAME_IsInPayroll); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -781,10 +859,10 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent public boolean isLocked() { Object oo = get_Value(COLUMNNAME_IsLocked); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -826,10 +904,10 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent public boolean isNoExpire() { Object oo = get_Value(COLUMNNAME_IsNoExpire); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -848,10 +926,10 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent public boolean isNoPasswordReset() { Object oo = get_Value(COLUMNNAME_IsNoPasswordReset); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -871,10 +949,10 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent public boolean isSalesLead() { Object oo = get_Value(COLUMNNAME_IsSalesLead); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -894,10 +972,10 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent public boolean isShipTo() { Object oo = get_Value(COLUMNNAME_IsShipTo); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -916,10 +994,10 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent public boolean isSupportUser() { Object oo = get_Value(COLUMNNAME_IsSupportUser); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -939,10 +1017,10 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent public boolean isVendorLead() { Object oo = get_Value(COLUMNNAME_IsVendorLead); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1113,7 +1191,7 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -1206,10 +1284,10 @@ public class X_AD_User extends PO implements I_AD_User, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_UserBPAccess.java b/org.adempiere.base/src/org/compiere/model/X_AD_UserBPAccess.java index e8d63d1206..71718c99bd 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_UserBPAccess.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_UserBPAccess.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_UserBPAccess - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_UserBPAccess") -public class X_AD_UserBPAccess extends PO implements I_AD_UserBPAccess, I_Persistent +public class X_AD_UserBPAccess extends PO implements I_AD_UserBPAccess, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_UserBPAccess (Properties ctx, int AD_UserBPAccess_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_UserBPAccess extends PO implements I_AD_UserBPAccess, I_Persis } */ } + /** Standard Constructor */ + public X_AD_UserBPAccess (Properties ctx, String AD_UserBPAccess_UU, String trxName) + { + super (ctx, AD_UserBPAccess_UU, trxName); + /** if (AD_UserBPAccess_UU == null) + { + setAD_UserBPAccess_ID (0); + setAD_User_ID (0); + setBPAccessType (null); + } */ + } + + /** Standard Constructor */ + public X_AD_UserBPAccess (Properties ctx, String AD_UserBPAccess_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_UserBPAccess_UU, trxName, virtualColumns); + /** if (AD_UserBPAccess_UU == null) + { + setAD_UserBPAccess_ID (0); + setAD_User_ID (0); + setBPAccessType (null); + } */ + } + /** Load Constructor */ public X_AD_UserBPAccess (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_UserBPAccess extends PO implements I_AD_UserBPAccess, I_Persis } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Field.java b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Field.java index c79ec0a5b4..54b9cfad60 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Field.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Field.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_UserDef_Field - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_UserDef_Field") -public class X_AD_UserDef_Field extends PO implements I_AD_UserDef_Field, I_Persistent +public class X_AD_UserDef_Field extends PO implements I_AD_UserDef_Field, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_UserDef_Field (Properties ctx, int AD_UserDef_Field_ID, String trxName) @@ -65,6 +65,38 @@ public class X_AD_UserDef_Field extends PO implements I_AD_UserDef_Field, I_Pers } */ } + /** Standard Constructor */ + public X_AD_UserDef_Field (Properties ctx, String AD_UserDef_Field_UU, String trxName) + { + super (ctx, AD_UserDef_Field_UU, trxName); + /** if (AD_UserDef_Field_UU == null) + { + setAD_Field_ID (0); + setAD_UserDef_Field_ID (0); + setAD_UserDef_Tab_ID (0); + setSeqNo (0); +// 0 + setSeqNoGrid (0); +// 0 + } */ + } + + /** Standard Constructor */ + public X_AD_UserDef_Field (Properties ctx, String AD_UserDef_Field_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_UserDef_Field_UU, trxName, virtualColumns); + /** if (AD_UserDef_Field_UU == null) + { + setAD_Field_ID (0); + setAD_UserDef_Field_ID (0); + setAD_UserDef_Tab_ID (0); + setSeqNo (0); +// 0 + setSeqNoGrid (0); +// 0 + } */ + } + /** Load Constructor */ public X_AD_UserDef_Field (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_AD_UserDef_Field extends PO implements I_AD_UserDef_Field, I_Pers } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -179,7 +211,7 @@ public class X_AD_UserDef_Field extends PO implements I_AD_UserDef_Field, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_Field_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info.java b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info.java index 6f2e289fb1..f7eb495d3a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_UserDef_Info - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_UserDef_Info") -public class X_AD_UserDef_Info extends PO implements I_AD_UserDef_Info, I_Persistent +public class X_AD_UserDef_Info extends PO implements I_AD_UserDef_Info, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_UserDef_Info (Properties ctx, int AD_UserDef_Info_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_UserDef_Info extends PO implements I_AD_UserDef_Info, I_Persis } */ } + /** Standard Constructor */ + public X_AD_UserDef_Info (Properties ctx, String AD_UserDef_Info_UU, String trxName) + { + super (ctx, AD_UserDef_Info_UU, trxName); + /** if (AD_UserDef_Info_UU == null) + { + setAD_InfoWindow_ID (0); + setAD_UserDef_Info_ID (0); + setSeqNo (0); +// 0 + } */ + } + + /** Standard Constructor */ + public X_AD_UserDef_Info (Properties ctx, String AD_UserDef_Info_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_UserDef_Info_UU, trxName, virtualColumns); + /** if (AD_UserDef_Info_UU == null) + { + setAD_InfoWindow_ID (0); + setAD_UserDef_Info_ID (0); + setSeqNo (0); +// 0 + } */ + } + /** Load Constructor */ public X_AD_UserDef_Info (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_UserDef_Info extends PO implements I_AD_UserDef_Info, I_Persis } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -114,8 +140,8 @@ public class X_AD_UserDef_Info extends PO implements I_AD_UserDef_Info, I_Persis return ii.intValue(); } - /** AD_Language AD_Reference_ID=106 */ - public static final int AD_LANGUAGE_AD_Reference_ID=106; + /** AD_Language AD_Reference_ID=327 */ + public static final int AD_LANGUAGE_AD_Reference_ID=327; /** Set Language. @param AD_Language Language for this entity */ diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info_Column.java b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info_Column.java index abc226b1a9..5415757c0f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info_Column.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info_Column.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_UserDef_Info_Column - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_UserDef_Info_Column") -public class X_AD_UserDef_Info_Column extends PO implements I_AD_UserDef_Info_Column, I_Persistent +public class X_AD_UserDef_Info_Column extends PO implements I_AD_UserDef_Info_Column, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_UserDef_Info_Column (Properties ctx, int AD_UserDef_Info_Column_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_UserDef_Info_Column extends PO implements I_AD_UserDef_Info_Co } */ } + /** Standard Constructor */ + public X_AD_UserDef_Info_Column (Properties ctx, String AD_UserDef_Info_Column_UU, String trxName) + { + super (ctx, AD_UserDef_Info_Column_UU, trxName); + /** if (AD_UserDef_Info_Column_UU == null) + { + setAD_InfoColumn_ID (0); + setAD_UserDef_Info_Column_ID (0); + setAD_UserDef_Info_ID (0); +// @AD_UserDef_Info_ID@ + } */ + } + + /** Standard Constructor */ + public X_AD_UserDef_Info_Column (Properties ctx, String AD_UserDef_Info_Column_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_UserDef_Info_Column_UU, trxName, virtualColumns); + /** if (AD_UserDef_Info_Column_UU == null) + { + setAD_InfoColumn_ID (0); + setAD_UserDef_Info_Column_ID (0); + setAD_UserDef_Info_ID (0); +// @AD_UserDef_Info_ID@ + } */ + } + /** Load Constructor */ public X_AD_UserDef_Info_Column (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_UserDef_Info_Column extends PO implements I_AD_UserDef_Info_Co } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info_Related.java b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info_Related.java index 16d131dd21..86d64077de 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info_Related.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info_Related.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_UserDef_Info_Related - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_UserDef_Info_Related") -public class X_AD_UserDef_Info_Related extends PO implements I_AD_UserDef_Info_Related, I_Persistent +public class X_AD_UserDef_Info_Related extends PO implements I_AD_UserDef_Info_Related, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_UserDef_Info_Related (Properties ctx, int AD_UserDef_Info_Related_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_UserDef_Info_Related extends PO implements I_AD_UserDef_Info_R } */ } + /** Standard Constructor */ + public X_AD_UserDef_Info_Related (Properties ctx, String AD_UserDef_Info_Related_UU, String trxName) + { + super (ctx, AD_UserDef_Info_Related_UU, trxName); + /** if (AD_UserDef_Info_Related_UU == null) + { + setAD_InfoRelated_ID (0); + setAD_UserDef_Info_ID (0); +// @AD_UserDef_Info_ID@ + setAD_UserDef_Info_Related_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_UserDef_Info_Related (Properties ctx, String AD_UserDef_Info_Related_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_UserDef_Info_Related_UU, trxName, virtualColumns); + /** if (AD_UserDef_Info_Related_UU == null) + { + setAD_InfoRelated_ID (0); + setAD_UserDef_Info_ID (0); +// @AD_UserDef_Info_ID@ + setAD_UserDef_Info_Related_ID (0); + } */ + } + /** Load Constructor */ public X_AD_UserDef_Info_Related (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_UserDef_Info_Related extends PO implements I_AD_UserDef_Info_R } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Proc.java b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Proc.java index af56fe42f5..847644dbd1 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Proc.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Proc.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_UserDef_Proc - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_UserDef_Proc") -public class X_AD_UserDef_Proc extends PO implements I_AD_UserDef_Proc, I_Persistent +public class X_AD_UserDef_Proc extends PO implements I_AD_UserDef_Proc, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_UserDef_Proc (Properties ctx, int AD_UserDef_Proc_ID, String trxName) @@ -55,6 +55,28 @@ public class X_AD_UserDef_Proc extends PO implements I_AD_UserDef_Proc, I_Persis } */ } + /** Standard Constructor */ + public X_AD_UserDef_Proc (Properties ctx, String AD_UserDef_Proc_UU, String trxName) + { + super (ctx, AD_UserDef_Proc_UU, trxName); + /** if (AD_UserDef_Proc_UU == null) + { + setAD_Process_ID (0); + setAD_UserDef_Proc_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_UserDef_Proc (Properties ctx, String AD_UserDef_Proc_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_UserDef_Proc_UU, trxName, virtualColumns); + /** if (AD_UserDef_Proc_UU == null) + { + setAD_Process_ID (0); + setAD_UserDef_Proc_ID (0); + } */ + } + /** Load Constructor */ public X_AD_UserDef_Proc (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_AD_UserDef_Proc extends PO implements I_AD_UserDef_Proc, I_Persis } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -269,10 +291,10 @@ public class X_AD_UserDef_Proc extends PO implements I_AD_UserDef_Proc, I_Persis public boolean isUserUpdateable() { Object oo = get_Value(COLUMNNAME_IsUserUpdateable); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -297,7 +319,7 @@ public class X_AD_UserDef_Proc extends PO implements I_AD_UserDef_Proc, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Proc_Parameter.java b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Proc_Parameter.java index 0acaa5ac24..221f9975b4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Proc_Parameter.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Proc_Parameter.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_UserDef_Proc_Parameter - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_UserDef_Proc_Parameter") -public class X_AD_UserDef_Proc_Parameter extends PO implements I_AD_UserDef_Proc_Parameter, I_Persistent +public class X_AD_UserDef_Proc_Parameter extends PO implements I_AD_UserDef_Proc_Parameter, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_UserDef_Proc_Parameter (Properties ctx, int AD_UserDef_Proc_Parameter_ID, String trxName) @@ -57,6 +57,30 @@ public class X_AD_UserDef_Proc_Parameter extends PO implements I_AD_UserDef_Proc } */ } + /** Standard Constructor */ + public X_AD_UserDef_Proc_Parameter (Properties ctx, String AD_UserDef_Proc_Parameter_UU, String trxName) + { + super (ctx, AD_UserDef_Proc_Parameter_UU, trxName); + /** if (AD_UserDef_Proc_Parameter_UU == null) + { + setAD_Process_Para_ID (0); + setAD_UserDef_Proc_ID (0); + setAD_UserDef_Proc_Parameter_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_UserDef_Proc_Parameter (Properties ctx, String AD_UserDef_Proc_Parameter_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_UserDef_Proc_Parameter_UU, trxName, virtualColumns); + /** if (AD_UserDef_Proc_Parameter_UU == null) + { + setAD_Process_Para_ID (0); + setAD_UserDef_Proc_ID (0); + setAD_UserDef_Proc_Parameter_ID (0); + } */ + } + /** Load Constructor */ public X_AD_UserDef_Proc_Parameter (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_AD_UserDef_Proc_Parameter extends PO implements I_AD_UserDef_Proc } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -429,10 +453,10 @@ public class X_AD_UserDef_Proc_Parameter extends PO implements I_AD_UserDef_Proc public boolean isRange() { Object oo = get_Value(COLUMNNAME_IsRange); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -472,7 +496,7 @@ public class X_AD_UserDef_Proc_Parameter extends PO implements I_AD_UserDef_Proc /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Tab.java b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Tab.java index 45127ddb66..13ca783628 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Tab.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Tab.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_UserDef_Tab - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_UserDef_Tab") -public class X_AD_UserDef_Tab extends PO implements I_AD_UserDef_Tab, I_Persistent +public class X_AD_UserDef_Tab extends PO implements I_AD_UserDef_Tab, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_UserDef_Tab (Properties ctx, int AD_UserDef_Tab_ID, String trxName) @@ -59,6 +59,32 @@ public class X_AD_UserDef_Tab extends PO implements I_AD_UserDef_Tab, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_UserDef_Tab (Properties ctx, String AD_UserDef_Tab_UU, String trxName) + { + super (ctx, AD_UserDef_Tab_UU, trxName); + /** if (AD_UserDef_Tab_UU == null) + { + setAD_Tab_ID (0); + setAD_UserDef_Tab_ID (0); + setAD_UserDef_Win_ID (0); + setIsMultiRowOnly (false); + } */ + } + + /** Standard Constructor */ + public X_AD_UserDef_Tab (Properties ctx, String AD_UserDef_Tab_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_UserDef_Tab_UU, trxName, virtualColumns); + /** if (AD_UserDef_Tab_UU == null) + { + setAD_Tab_ID (0); + setAD_UserDef_Tab_ID (0); + setAD_UserDef_Win_ID (0); + setIsMultiRowOnly (false); + } */ + } + /** Load Constructor */ public X_AD_UserDef_Tab (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_AD_UserDef_Tab extends PO implements I_AD_UserDef_Tab, I_Persiste } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -146,7 +172,7 @@ public class X_AD_UserDef_Tab extends PO implements I_AD_UserDef_Tab, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_Tab_ID())); } @@ -359,10 +385,10 @@ public class X_AD_UserDef_Tab extends PO implements I_AD_UserDef_Tab, I_Persiste public boolean isMultiRowOnly() { Object oo = get_Value(COLUMNNAME_IsMultiRowOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Win.java b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Win.java index 7eca5d7510..c9c752c26b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Win.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Win.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_UserDef_Win - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_UserDef_Win") -public class X_AD_UserDef_Win extends PO implements I_AD_UserDef_Win, I_Persistent +public class X_AD_UserDef_Win extends PO implements I_AD_UserDef_Win, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_UserDef_Win (Properties ctx, int AD_UserDef_Win_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_UserDef_Win extends PO implements I_AD_UserDef_Win, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_UserDef_Win (Properties ctx, String AD_UserDef_Win_UU, String trxName) + { + super (ctx, AD_UserDef_Win_UU, trxName); + /** if (AD_UserDef_Win_UU == null) + { + setAD_UserDef_Win_ID (0); + setAD_Window_ID (0); + setIsDefault (false); + setIsReadOnly (false); + setIsUserUpdateable (false); + } */ + } + + /** Standard Constructor */ + public X_AD_UserDef_Win (Properties ctx, String AD_UserDef_Win_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_UserDef_Win_UU, trxName, virtualColumns); + /** if (AD_UserDef_Win_UU == null) + { + setAD_UserDef_Win_ID (0); + setAD_Window_ID (0); + setIsDefault (false); + setIsReadOnly (false); + setIsUserUpdateable (false); + } */ + } + /** Load Constructor */ public X_AD_UserDef_Win (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_UserDef_Win extends PO implements I_AD_UserDef_Win, I_Persiste } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -89,8 +117,8 @@ public class X_AD_UserDef_Win extends PO implements I_AD_UserDef_Win, I_Persiste return sb.toString(); } - /** AD_Language AD_Reference_ID=106 */ - public static final int AD_LANGUAGE_AD_Reference_ID=106; + /** AD_Language AD_Reference_ID=327 */ + public static final int AD_LANGUAGE_AD_Reference_ID=327; /** Set Language. @param AD_Language Language for this entity */ @@ -231,7 +259,7 @@ public class X_AD_UserDef_Win extends PO implements I_AD_UserDef_Win, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_Window_ID())); } @@ -282,10 +310,10 @@ public class X_AD_UserDef_Win extends PO implements I_AD_UserDef_Win, I_Persiste public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -305,10 +333,10 @@ public class X_AD_UserDef_Win extends PO implements I_AD_UserDef_Win, I_Persiste public boolean isReadOnly() { Object oo = get_Value(COLUMNNAME_IsReadOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -328,10 +356,10 @@ public class X_AD_UserDef_Win extends PO implements I_AD_UserDef_Win, I_Persiste public boolean isUserUpdateable() { Object oo = get_Value(COLUMNNAME_IsUserUpdateable); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_UserMail.java b/org.adempiere.base/src/org/compiere/model/X_AD_UserMail.java index 63d89adde0..4a47b84466 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_UserMail.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_UserMail.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_UserMail - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_UserMail") -public class X_AD_UserMail extends PO implements I_AD_UserMail, I_Persistent +public class X_AD_UserMail extends PO implements I_AD_UserMail, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_UserMail (Properties ctx, int AD_UserMail_ID, String trxName) @@ -55,6 +55,28 @@ public class X_AD_UserMail extends PO implements I_AD_UserMail, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_UserMail (Properties ctx, String AD_UserMail_UU, String trxName) + { + super (ctx, AD_UserMail_UU, trxName); + /** if (AD_UserMail_UU == null) + { + setAD_User_ID (0); + setAD_UserMail_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_UserMail (Properties ctx, String AD_UserMail_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_UserMail_UU, trxName, virtualColumns); + /** if (AD_UserMail_UU == null) + { + setAD_User_ID (0); + setAD_UserMail_ID (0); + } */ + } + /** Load Constructor */ public X_AD_UserMail (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_AD_UserMail extends PO implements I_AD_UserMail, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -114,7 +136,7 @@ public class X_AD_UserMail extends PO implements I_AD_UserMail, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_User_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_UserPreference.java b/org.adempiere.base/src/org/compiere/model/X_AD_UserPreference.java index 2c7c06d406..85e2d52005 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_UserPreference.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_UserPreference.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_UserPreference - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_UserPreference") -public class X_AD_UserPreference extends PO implements I_AD_UserPreference, I_Persistent +public class X_AD_UserPreference extends PO implements I_AD_UserPreference, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_UserPreference (Properties ctx, int AD_UserPreference_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_UserPreference extends PO implements I_AD_UserPreference, I_Pe } */ } + /** Standard Constructor */ + public X_AD_UserPreference (Properties ctx, String AD_UserPreference_UU, String trxName) + { + super (ctx, AD_UserPreference_UU, trxName); + /** if (AD_UserPreference_UU == null) + { + setAD_User_ID (0); + setAD_UserPreference_ID (0); + setViewFindResult (null); +// 0 + } */ + } + + /** Standard Constructor */ + public X_AD_UserPreference (Properties ctx, String AD_UserPreference_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_UserPreference_UU, trxName, virtualColumns); + /** if (AD_UserPreference_UU == null) + { + setAD_User_ID (0); + setAD_UserPreference_ID (0); + setViewFindResult (null); +// 0 + } */ + } + /** Load Constructor */ public X_AD_UserPreference (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_UserPreference extends PO implements I_AD_UserPreference, I_Pe } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -163,10 +189,10 @@ public class X_AD_UserPreference extends PO implements I_AD_UserPreference, I_Pe public boolean isAutoCommit() { Object oo = get_Value(COLUMNNAME_AutoCommit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -204,10 +230,10 @@ public class X_AD_UserPreference extends PO implements I_AD_UserPreference, I_Pe public boolean isAutoNew() { Object oo = get_Value(COLUMNNAME_AutoNew); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -245,10 +271,10 @@ public class X_AD_UserPreference extends PO implements I_AD_UserPreference, I_Pe public boolean isDetailedZoomAcross() { Object oo = get_Value(COLUMNNAME_IsDetailedZoomAcross); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -267,10 +293,10 @@ public class X_AD_UserPreference extends PO implements I_AD_UserPreference, I_Pe public boolean isUseSimilarTo() { Object oo = get_Value(COLUMNNAME_IsUseSimilarTo); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -305,10 +331,10 @@ public class X_AD_UserPreference extends PO implements I_AD_UserPreference, I_Pe public boolean isToggleOnDoubleClick() { Object oo = get_Value(COLUMNNAME_ToggleOnDoubleClick); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_UserQuery.java b/org.adempiere.base/src/org/compiere/model/X_AD_UserQuery.java index e1f4a3baae..fa7bde8e39 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_UserQuery.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_UserQuery.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_UserQuery - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_UserQuery") -public class X_AD_UserQuery extends PO implements I_AD_UserQuery, I_Persistent +public class X_AD_UserQuery extends PO implements I_AD_UserQuery, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_UserQuery (Properties ctx, int AD_UserQuery_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_UserQuery extends PO implements I_AD_UserQuery, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_UserQuery (Properties ctx, String AD_UserQuery_UU, String trxName) + { + super (ctx, AD_UserQuery_UU, trxName); + /** if (AD_UserQuery_UU == null) + { + setAD_Tab_ID (0); + setAD_Table_ID (0); + setAD_UserQuery_ID (0); + setAD_Window_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_UserQuery (Properties ctx, String AD_UserQuery_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_UserQuery_UU, trxName, virtualColumns); + /** if (AD_UserQuery_UU == null) + { + setAD_Tab_ID (0); + setAD_Table_ID (0); + setAD_UserQuery_ID (0); + setAD_Window_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_UserQuery (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_UserQuery extends PO implements I_AD_UserQuery, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -312,10 +340,10 @@ public class X_AD_UserQuery extends PO implements I_AD_UserQuery, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -340,7 +368,7 @@ public class X_AD_UserQuery extends PO implements I_AD_UserQuery, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_User_OrgAccess.java b/org.adempiere.base/src/org/compiere/model/X_AD_User_OrgAccess.java index e9ca9c49c7..35c61ec937 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_User_OrgAccess.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_User_OrgAccess.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_User_OrgAccess - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_User_OrgAccess") -public class X_AD_User_OrgAccess extends PO implements I_AD_User_OrgAccess, I_Persistent +public class X_AD_User_OrgAccess extends PO implements I_AD_User_OrgAccess, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_User_OrgAccess (Properties ctx, int AD_User_OrgAccess_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_User_OrgAccess extends PO implements I_AD_User_OrgAccess, I_Pe } */ } + /** Standard Constructor */ + public X_AD_User_OrgAccess (Properties ctx, String AD_User_OrgAccess_UU, String trxName) + { + super (ctx, AD_User_OrgAccess_UU, trxName); + /** if (AD_User_OrgAccess_UU == null) + { + setAD_User_ID (0); + setIsReadOnly (false); +// N + } */ + } + + /** Standard Constructor */ + public X_AD_User_OrgAccess (Properties ctx, String AD_User_OrgAccess_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_User_OrgAccess_UU, trxName, virtualColumns); + /** if (AD_User_OrgAccess_UU == null) + { + setAD_User_ID (0); + setIsReadOnly (false); +// N + } */ + } + /** Load Constructor */ public X_AD_User_OrgAccess (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_User_OrgAccess extends PO implements I_AD_User_OrgAccess, I_Pe } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_AD_User_OrgAccess extends PO implements I_AD_User_OrgAccess, I_Pe public String toString() { StringBuilder sb = new StringBuilder ("X_AD_User_OrgAccess[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -141,10 +165,10 @@ public class X_AD_User_OrgAccess extends PO implements I_AD_User_OrgAccess, I_Pe public boolean isReadOnly() { Object oo = get_Value(COLUMNNAME_IsReadOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_User_Roles.java b/org.adempiere.base/src/org/compiere/model/X_AD_User_Roles.java index f8e94f103e..eb2f8cb08b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_User_Roles.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_User_Roles.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_User_Roles - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_User_Roles") -public class X_AD_User_Roles extends PO implements I_AD_User_Roles, I_Persistent +public class X_AD_User_Roles extends PO implements I_AD_User_Roles, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_User_Roles (Properties ctx, int AD_User_Roles_ID, String trxName) @@ -54,6 +54,28 @@ public class X_AD_User_Roles extends PO implements I_AD_User_Roles, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_User_Roles (Properties ctx, String AD_User_Roles_UU, String trxName) + { + super (ctx, AD_User_Roles_UU, trxName); + /** if (AD_User_Roles_UU == null) + { + setAD_Role_ID (0); + setAD_User_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_User_Roles (Properties ctx, String AD_User_Roles_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_User_Roles_UU, trxName, virtualColumns); + /** if (AD_User_Roles_UU == null) + { + setAD_Role_ID (0); + setAD_User_ID (0); + } */ + } + /** Load Constructor */ public X_AD_User_Roles (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_AD_User_Roles extends PO implements I_AD_User_Roles, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -78,7 +100,7 @@ public class X_AD_User_Roles extends PO implements I_AD_User_Roles, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_AD_User_Roles[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_User_Substitute.java b/org.adempiere.base/src/org/compiere/model/X_AD_User_Substitute.java index 57061a9120..5ad048994d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_User_Substitute.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_User_Substitute.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_User_Substitute - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_User_Substitute") -public class X_AD_User_Substitute extends PO implements I_AD_User_Substitute, I_Persistent +public class X_AD_User_Substitute extends PO implements I_AD_User_Substitute, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_User_Substitute (Properties ctx, int AD_User_Substitute_ID, String trxName) @@ -60,6 +60,32 @@ public class X_AD_User_Substitute extends PO implements I_AD_User_Substitute, I_ } */ } + /** Standard Constructor */ + public X_AD_User_Substitute (Properties ctx, String AD_User_Substitute_UU, String trxName) + { + super (ctx, AD_User_Substitute_UU, trxName); + /** if (AD_User_Substitute_UU == null) + { + setAD_User_ID (0); + setAD_User_Substitute_ID (0); + setName (null); + setSubstitute_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_User_Substitute (Properties ctx, String AD_User_Substitute_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_User_Substitute_UU, trxName, virtualColumns); + /** if (AD_User_Substitute_UU == null) + { + setAD_User_ID (0); + setAD_User_Substitute_ID (0); + setName (null); + setSubstitute_ID (0); + } */ + } + /** Load Constructor */ public X_AD_User_Substitute (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +93,7 @@ public class X_AD_User_Substitute extends PO implements I_AD_User_Substitute, I_ } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -188,7 +214,7 @@ public class X_AD_User_Substitute extends PO implements I_AD_User_Substitute, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Val_Rule.java b/org.adempiere.base/src/org/compiere/model/X_AD_Val_Rule.java index 281379e7f2..b005c15626 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Val_Rule.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Val_Rule.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Val_Rule - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Val_Rule") -public class X_AD_Val_Rule extends PO implements I_AD_Val_Rule, I_Persistent +public class X_AD_Val_Rule extends PO implements I_AD_Val_Rule, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Val_Rule (Properties ctx, int AD_Val_Rule_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_Val_Rule extends PO implements I_AD_Val_Rule, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Val_Rule (Properties ctx, String AD_Val_Rule_UU, String trxName) + { + super (ctx, AD_Val_Rule_UU, trxName); + /** if (AD_Val_Rule_UU == null) + { + setAD_Val_Rule_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setType (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Val_Rule (Properties ctx, String AD_Val_Rule_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Val_Rule_UU, trxName, virtualColumns); + /** if (AD_Val_Rule_UU == null) + { + setAD_Val_Rule_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setType (null); + } */ + } + /** Load Constructor */ public X_AD_Val_Rule (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_Val_Rule extends PO implements I_AD_Val_Rule, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -196,7 +224,7 @@ public class X_AD_Val_Rule extends PO implements I_AD_Val_Rule, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_VerifyMigration.java b/org.adempiere.base/src/org/compiere/model/X_AD_VerifyMigration.java index 5c0117ac6a..b9fcba0f78 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_VerifyMigration.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_VerifyMigration.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_VerifyMigration - * @author iDempiere (generated) + * @author iDempiere (generated) * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_VerifyMigration") -public class X_AD_VerifyMigration extends PO implements I_AD_VerifyMigration, I_Persistent +public class X_AD_VerifyMigration extends PO implements I_AD_VerifyMigration, I_Persistent { /** * */ - private static final long serialVersionUID = 20230113L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_VerifyMigration (Properties ctx, int AD_VerifyMigration_ID, String trxName) @@ -60,6 +60,34 @@ public class X_AD_VerifyMigration extends PO implements I_AD_VerifyMigration, I_ } */ } + /** Standard Constructor */ + public X_AD_VerifyMigration (Properties ctx, String AD_VerifyMigration_UU, String trxName) + { + super (ctx, AD_VerifyMigration_UU, trxName); + /** if (AD_VerifyMigration_UU == null) + { + setAD_PInstance_ID (0); + setAD_Table_ID (0); + setAD_VerifyMigration_ID (0); + setIsIgnore (false); +// N + } */ + } + + /** Standard Constructor */ + public X_AD_VerifyMigration (Properties ctx, String AD_VerifyMigration_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_VerifyMigration_UU, trxName, virtualColumns); + /** if (AD_VerifyMigration_UU == null) + { + setAD_PInstance_ID (0); + setAD_Table_ID (0); + setAD_VerifyMigration_ID (0); + setIsIgnore (false); +// N + } */ + } + /** Load Constructor */ public X_AD_VerifyMigration (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +95,7 @@ public class X_AD_VerifyMigration extends PO implements I_AD_VerifyMigration, I_ } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -296,10 +324,10 @@ public class X_AD_VerifyMigration extends PO implements I_AD_VerifyMigration, I_ public boolean isIgnore() { Object oo = get_Value(COLUMNNAME_IsIgnore); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ViewColumn.java b/org.adempiere.base/src/org/compiere/model/X_AD_ViewColumn.java index 5786f95733..d5fcce97fe 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ViewColumn.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ViewColumn.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_ViewColumn - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ViewColumn") -public class X_AD_ViewColumn extends PO implements I_AD_ViewColumn, I_Persistent +public class X_AD_ViewColumn extends PO implements I_AD_ViewColumn, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ViewColumn (Properties ctx, int AD_ViewColumn_ID, String trxName) @@ -60,6 +60,34 @@ public class X_AD_ViewColumn extends PO implements I_AD_ViewColumn, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_ViewColumn (Properties ctx, String AD_ViewColumn_UU, String trxName) + { + super (ctx, AD_ViewColumn_UU, trxName); + /** if (AD_ViewColumn_UU == null) + { + setAD_ViewColumn_ID (0); + setAD_ViewComponent_ID (0); + setColumnName (null); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + } */ + } + + /** Standard Constructor */ + public X_AD_ViewColumn (Properties ctx, String AD_ViewColumn_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ViewColumn_UU, trxName, virtualColumns); + /** if (AD_ViewColumn_UU == null) + { + setAD_ViewColumn_ID (0); + setAD_ViewComponent_ID (0); + setColumnName (null); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + } */ + } + /** Load Constructor */ public X_AD_ViewColumn (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +95,7 @@ public class X_AD_ViewColumn extends PO implements I_AD_ViewColumn, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ViewComponent.java b/org.adempiere.base/src/org/compiere/model/X_AD_ViewComponent.java index 24417521c7..f93decbb87 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ViewComponent.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ViewComponent.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_ViewComponent - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ViewComponent") -public class X_AD_ViewComponent extends PO implements I_AD_ViewComponent, I_Persistent +public class X_AD_ViewComponent extends PO implements I_AD_ViewComponent, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ViewComponent (Properties ctx, int AD_ViewComponent_ID, String trxName) @@ -71,6 +71,44 @@ public class X_AD_ViewComponent extends PO implements I_AD_ViewComponent, I_Pers } */ } + /** Standard Constructor */ + public X_AD_ViewComponent (Properties ctx, String AD_ViewComponent_UU, String trxName) + { + super (ctx, AD_ViewComponent_UU, trxName); + /** if (AD_ViewComponent_UU == null) + { + setAD_Table_ID (0); + setAD_ViewComponent_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setFromClause (null); + setIsDistinct (false); +// N + setIsUnionAll (false); +// N + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_ViewComponent (Properties ctx, String AD_ViewComponent_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ViewComponent_UU, trxName, virtualColumns); + /** if (AD_ViewComponent_UU == null) + { + setAD_Table_ID (0); + setAD_ViewComponent_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setFromClause (null); + setIsDistinct (false); +// N + setIsUnionAll (false); +// N + setName (null); + } */ + } + /** Load Constructor */ public X_AD_ViewComponent (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +116,7 @@ public class X_AD_ViewComponent extends PO implements I_AD_ViewComponent, I_Pers } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -244,10 +282,10 @@ public class X_AD_ViewComponent extends PO implements I_AD_ViewComponent, I_Pers public boolean isDistinct() { Object oo = get_Value(COLUMNNAME_IsDistinct); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -267,10 +305,10 @@ public class X_AD_ViewComponent extends PO implements I_AD_ViewComponent, I_Pers public boolean isUnionAll() { Object oo = get_Value(COLUMNNAME_IsUnionAll); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -295,7 +333,7 @@ public class X_AD_ViewComponent extends PO implements I_AD_ViewComponent, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_WF_Activity.java b/org.adempiere.base/src/org/compiere/model/X_AD_WF_Activity.java index 676e70b663..d542b87afe 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_WF_Activity.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_WF_Activity.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_Activity - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_WF_Activity") -public class X_AD_WF_Activity extends PO implements I_AD_WF_Activity, I_Persistent +public class X_AD_WF_Activity extends PO implements I_AD_WF_Activity, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_WF_Activity (Properties ctx, int AD_WF_Activity_ID, String trxName) @@ -68,6 +68,40 @@ public class X_AD_WF_Activity extends PO implements I_AD_WF_Activity, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_WF_Activity (Properties ctx, String AD_WF_Activity_UU, String trxName) + { + super (ctx, AD_WF_Activity_UU, trxName); + /** if (AD_WF_Activity_UU == null) + { + setAD_Table_ID (0); + setAD_WF_Activity_ID (0); + setAD_WF_Node_ID (0); + setAD_WF_Process_ID (0); + setAD_Workflow_ID (0); + setProcessed (false); + setRecord_ID (0); + setWFState (null); + } */ + } + + /** Standard Constructor */ + public X_AD_WF_Activity (Properties ctx, String AD_WF_Activity_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_WF_Activity_UU, trxName, virtualColumns); + /** if (AD_WF_Activity_UU == null) + { + setAD_Table_ID (0); + setAD_WF_Activity_ID (0); + setAD_WF_Node_ID (0); + setAD_WF_Process_ID (0); + setAD_Workflow_ID (0); + setProcessed (false); + setRecord_ID (0); + setWFState (null); + } */ + } + /** Load Constructor */ public X_AD_WF_Activity (Properties ctx, ResultSet rs, String trxName) { @@ -75,7 +109,7 @@ public class X_AD_WF_Activity extends PO implements I_AD_WF_Activity, I_Persiste } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -248,7 +282,7 @@ public class X_AD_WF_Activity extends PO implements I_AD_WF_Activity, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_WF_Node_ID())); } @@ -421,10 +455,10 @@ public class X_AD_WF_Activity extends PO implements I_AD_WF_Activity, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -443,10 +477,10 @@ public class X_AD_WF_Activity extends PO implements I_AD_WF_Activity, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_WF_ActivityApprover.java b/org.adempiere.base/src/org/compiere/model/X_AD_WF_ActivityApprover.java index af63385d04..8dce98ffc8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_WF_ActivityApprover.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_WF_ActivityApprover.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_WF_ActivityApprover - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_WF_ActivityApprover") -public class X_AD_WF_ActivityApprover extends PO implements I_AD_WF_ActivityApprover, I_Persistent +public class X_AD_WF_ActivityApprover extends PO implements I_AD_WF_ActivityApprover, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_WF_ActivityApprover (Properties ctx, int AD_WF_ActivityApprover_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_WF_ActivityApprover extends PO implements I_AD_WF_ActivityAppr } */ } + /** Standard Constructor */ + public X_AD_WF_ActivityApprover (Properties ctx, String AD_WF_ActivityApprover_UU, String trxName) + { + super (ctx, AD_WF_ActivityApprover_UU, trxName); + /** if (AD_WF_ActivityApprover_UU == null) + { + setAD_User_ID (0); + setAD_WF_ActivityApprover_ID (0); + setAD_WF_Activity_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_WF_ActivityApprover (Properties ctx, String AD_WF_ActivityApprover_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_WF_ActivityApprover_UU, trxName, virtualColumns); + /** if (AD_WF_ActivityApprover_UU == null) + { + setAD_User_ID (0); + setAD_WF_ActivityApprover_ID (0); + setAD_WF_Activity_ID (0); + } */ + } + /** Load Constructor */ public X_AD_WF_ActivityApprover (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_WF_ActivityApprover extends PO implements I_AD_WF_ActivityAppr } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_WF_ActivityResult.java b/org.adempiere.base/src/org/compiere/model/X_AD_WF_ActivityResult.java index 7291f741ca..42bd6a7d9f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_WF_ActivityResult.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_WF_ActivityResult.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_ActivityResult - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_WF_ActivityResult") -public class X_AD_WF_ActivityResult extends PO implements I_AD_WF_ActivityResult, I_Persistent +public class X_AD_WF_ActivityResult extends PO implements I_AD_WF_ActivityResult, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_WF_ActivityResult (Properties ctx, int AD_WF_ActivityResult_ID, String trxName) @@ -57,6 +57,30 @@ public class X_AD_WF_ActivityResult extends PO implements I_AD_WF_ActivityResult } */ } + /** Standard Constructor */ + public X_AD_WF_ActivityResult (Properties ctx, String AD_WF_ActivityResult_UU, String trxName) + { + super (ctx, AD_WF_ActivityResult_UU, trxName); + /** if (AD_WF_ActivityResult_UU == null) + { + setAD_WF_Activity_ID (0); + setAD_WF_ActivityResult_ID (0); + setAttributeName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_WF_ActivityResult (Properties ctx, String AD_WF_ActivityResult_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_WF_ActivityResult_UU, trxName, virtualColumns); + /** if (AD_WF_ActivityResult_UU == null) + { + setAD_WF_Activity_ID (0); + setAD_WF_ActivityResult_ID (0); + setAttributeName (null); + } */ + } + /** Load Constructor */ public X_AD_WF_ActivityResult (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_AD_WF_ActivityResult extends PO implements I_AD_WF_ActivityResult } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -116,7 +140,7 @@ public class X_AD_WF_ActivityResult extends PO implements I_AD_WF_ActivityResult /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_WF_Activity_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_WF_Block.java b/org.adempiere.base/src/org/compiere/model/X_AD_WF_Block.java index 8ca5db8f24..a7fc0d714d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_WF_Block.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_WF_Block.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_Block - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_WF_Block") -public class X_AD_WF_Block extends PO implements I_AD_WF_Block, I_Persistent +public class X_AD_WF_Block extends PO implements I_AD_WF_Block, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_WF_Block (Properties ctx, int AD_WF_Block_ID, String trxName) @@ -57,6 +57,30 @@ public class X_AD_WF_Block extends PO implements I_AD_WF_Block, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_WF_Block (Properties ctx, String AD_WF_Block_UU, String trxName) + { + super (ctx, AD_WF_Block_UU, trxName); + /** if (AD_WF_Block_UU == null) + { + setAD_WF_Block_ID (0); + setAD_Workflow_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_WF_Block (Properties ctx, String AD_WF_Block_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_WF_Block_UU, trxName, virtualColumns); + /** if (AD_WF_Block_UU == null) + { + setAD_WF_Block_ID (0); + setAD_Workflow_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_AD_WF_Block (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_AD_WF_Block extends PO implements I_AD_WF_Block, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -185,7 +209,7 @@ public class X_AD_WF_Block extends PO implements I_AD_WF_Block, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_WF_EventAudit.java b/org.adempiere.base/src/org/compiere/model/X_AD_WF_EventAudit.java index c31323c032..a165d58ede 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_WF_EventAudit.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_WF_EventAudit.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_EventAudit - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_WF_EventAudit") -public class X_AD_WF_EventAudit extends PO implements I_AD_WF_EventAudit, I_Persistent +public class X_AD_WF_EventAudit extends PO implements I_AD_WF_EventAudit, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_WF_EventAudit (Properties ctx, int AD_WF_EventAudit_ID, String trxName) @@ -71,6 +71,42 @@ public class X_AD_WF_EventAudit extends PO implements I_AD_WF_EventAudit, I_Pers } */ } + /** Standard Constructor */ + public X_AD_WF_EventAudit (Properties ctx, String AD_WF_EventAudit_UU, String trxName) + { + super (ctx, AD_WF_EventAudit_UU, trxName); + /** if (AD_WF_EventAudit_UU == null) + { + setAD_Table_ID (0); + setAD_WF_EventAudit_ID (0); + setAD_WF_Node_ID (0); + setAD_WF_Process_ID (0); + setAD_WF_Responsible_ID (0); + setElapsedTimeMS (Env.ZERO); + setEventType (null); + setRecord_ID (0); + setWFState (null); + } */ + } + + /** Standard Constructor */ + public X_AD_WF_EventAudit (Properties ctx, String AD_WF_EventAudit_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_WF_EventAudit_UU, trxName, virtualColumns); + /** if (AD_WF_EventAudit_UU == null) + { + setAD_Table_ID (0); + setAD_WF_EventAudit_ID (0); + setAD_WF_Node_ID (0); + setAD_WF_Process_ID (0); + setAD_WF_Responsible_ID (0); + setElapsedTimeMS (Env.ZERO); + setEventType (null); + setRecord_ID (0); + setWFState (null); + } */ + } + /** Load Constructor */ public X_AD_WF_EventAudit (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +114,7 @@ public class X_AD_WF_EventAudit extends PO implements I_AD_WF_EventAudit, I_Pers } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -180,7 +216,7 @@ public class X_AD_WF_EventAudit extends PO implements I_AD_WF_EventAudit, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_WF_EventAudit_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_WF_NextCondition.java b/org.adempiere.base/src/org/compiere/model/X_AD_WF_NextCondition.java index c61c739e2a..a67004019c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_WF_NextCondition.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_WF_NextCondition.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_NextCondition - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_WF_NextCondition") -public class X_AD_WF_NextCondition extends PO implements I_AD_WF_NextCondition, I_Persistent +public class X_AD_WF_NextCondition extends PO implements I_AD_WF_NextCondition, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_WF_NextCondition (Properties ctx, int AD_WF_NextCondition_ID, String trxName) @@ -73,6 +73,46 @@ public class X_AD_WF_NextCondition extends PO implements I_AD_WF_NextCondition, } */ } + /** Standard Constructor */ + public X_AD_WF_NextCondition (Properties ctx, String AD_WF_NextCondition_UU, String trxName) + { + super (ctx, AD_WF_NextCondition_UU, trxName); + /** if (AD_WF_NextCondition_UU == null) + { + setAD_WF_NextCondition_ID (0); + setAD_WF_NodeNext_ID (0); +// @4|AD_WF_NodeNext_ID@ + setAndOr (null); +// O + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setOperation (null); + setSeqNo (0); +// @SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_WF_NextCondition WHERE AD_WF_NodeNext_ID=@AD_WF_NodeNext_ID@ + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_AD_WF_NextCondition (Properties ctx, String AD_WF_NextCondition_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_WF_NextCondition_UU, trxName, virtualColumns); + /** if (AD_WF_NextCondition_UU == null) + { + setAD_WF_NextCondition_ID (0); + setAD_WF_NodeNext_ID (0); +// @4|AD_WF_NodeNext_ID@ + setAndOr (null); +// O + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setOperation (null); + setSeqNo (0); +// @SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_WF_NextCondition WHERE AD_WF_NodeNext_ID=@AD_WF_NodeNext_ID@ + setValue (null); + } */ + } + /** Load Constructor */ public X_AD_WF_NextCondition (Properties ctx, ResultSet rs, String trxName) { @@ -80,7 +120,7 @@ public class X_AD_WF_NextCondition extends PO implements I_AD_WF_NextCondition, } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -326,7 +366,7 @@ public class X_AD_WF_NextCondition extends PO implements I_AD_WF_NextCondition, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getValue()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_WF_Node.java b/org.adempiere.base/src/org/compiere/model/X_AD_WF_Node.java index 5d48065af9..d761385f8e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_WF_Node.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_WF_Node.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_Node - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_WF_Node") -public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent +public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_WF_Node (Properties ctx, int AD_WF_Node_ID, String trxName) @@ -98,6 +98,68 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_WF_Node (Properties ctx, String AD_WF_Node_UU, String trxName) + { + super (ctx, AD_WF_Node_UU, trxName); + /** if (AD_WF_Node_UU == null) + { + setAction (null); +// Z + setAD_WF_Node_ID (0); + setAD_Workflow_ID (0); + setCost (Env.ZERO); + setDuration (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsAttachedDocumentToEmail (true); +// Y + setIsCentrallyMaintained (true); +// Y + setJoinElement (null); +// X + setLimit (0); + setName (null); + setSplitElement (null); +// X + setValue (null); + setWaitingTime (0); + setXPosition (0); + setYPosition (0); + } */ + } + + /** Standard Constructor */ + public X_AD_WF_Node (Properties ctx, String AD_WF_Node_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_WF_Node_UU, trxName, virtualColumns); + /** if (AD_WF_Node_UU == null) + { + setAction (null); +// Z + setAD_WF_Node_ID (0); + setAD_Workflow_ID (0); + setCost (Env.ZERO); + setDuration (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsAttachedDocumentToEmail (true); +// Y + setIsCentrallyMaintained (true); +// Y + setJoinElement (null); +// X + setLimit (0); + setName (null); + setSplitElement (null); +// X + setValue (null); + setWaitingTime (0); + setXPosition (0); + setYPosition (0); + } */ + } + /** Load Constructor */ public X_AD_WF_Node (Properties ctx, ResultSet rs, String trxName) { @@ -105,7 +167,7 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -833,10 +895,10 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent public boolean isAttachedDocumentToEmail() { Object oo = get_Value(COLUMNNAME_IsAttachedDocumentToEmail); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -856,10 +918,10 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent public boolean isCentrallyMaintained() { Object oo = get_Value(COLUMNNAME_IsCentrallyMaintained); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -878,10 +940,10 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent public boolean isMilestone() { Object oo = get_Value(COLUMNNAME_IsMilestone); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -900,10 +962,10 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent public boolean isSubcontracting() { Object oo = get_Value(COLUMNNAME_IsSubcontracting); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -988,7 +1050,7 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_WF_NodeNext.java b/org.adempiere.base/src/org/compiere/model/X_AD_WF_NodeNext.java index 16d5163784..64ea0d71c8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_WF_NodeNext.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_WF_NodeNext.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_NodeNext - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_WF_NodeNext") -public class X_AD_WF_NodeNext extends PO implements I_AD_WF_NodeNext, I_Persistent +public class X_AD_WF_NodeNext extends PO implements I_AD_WF_NodeNext, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_WF_NodeNext (Properties ctx, int AD_WF_NodeNext_ID, String trxName) @@ -69,6 +69,42 @@ public class X_AD_WF_NodeNext extends PO implements I_AD_WF_NodeNext, I_Persiste } */ } + /** Standard Constructor */ + public X_AD_WF_NodeNext (Properties ctx, String AD_WF_NodeNext_UU, String trxName) + { + super (ctx, AD_WF_NodeNext_UU, trxName); + /** if (AD_WF_NodeNext_UU == null) + { + setAD_WF_Next_ID (0); + setAD_WF_Node_ID (0); +// @1|AD_WF_Node_ID@ + setAD_WF_NodeNext_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsStdUserWorkflow (false); + setSeqNo (0); +// 10 + } */ + } + + /** Standard Constructor */ + public X_AD_WF_NodeNext (Properties ctx, String AD_WF_NodeNext_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_WF_NodeNext_UU, trxName, virtualColumns); + /** if (AD_WF_NodeNext_UU == null) + { + setAD_WF_Next_ID (0); + setAD_WF_Node_ID (0); +// @1|AD_WF_Node_ID@ + setAD_WF_NodeNext_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsStdUserWorkflow (false); + setSeqNo (0); +// 10 + } */ + } + /** Load Constructor */ public X_AD_WF_NodeNext (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +112,7 @@ public class X_AD_WF_NodeNext extends PO implements I_AD_WF_NodeNext, I_Persiste } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -156,7 +192,7 @@ public class X_AD_WF_NodeNext extends PO implements I_AD_WF_NodeNext, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_WF_Node_ID())); } @@ -247,10 +283,10 @@ public class X_AD_WF_NodeNext extends PO implements I_AD_WF_NodeNext, I_Persiste public boolean isStdUserWorkflow() { Object oo = get_Value(COLUMNNAME_IsStdUserWorkflow); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_WF_Node_Para.java b/org.adempiere.base/src/org/compiere/model/X_AD_WF_Node_Para.java index 282ebb16d6..7324ec33fa 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_WF_Node_Para.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_WF_Node_Para.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_Node_Para - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_WF_Node_Para") -public class X_AD_WF_Node_Para extends PO implements I_AD_WF_Node_Para, I_Persistent +public class X_AD_WF_Node_Para extends PO implements I_AD_WF_Node_Para, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_WF_Node_Para (Properties ctx, int AD_WF_Node_Para_ID, String trxName) @@ -61,6 +61,34 @@ public class X_AD_WF_Node_Para extends PO implements I_AD_WF_Node_Para, I_Persis } */ } + /** Standard Constructor */ + public X_AD_WF_Node_Para (Properties ctx, String AD_WF_Node_Para_UU, String trxName) + { + super (ctx, AD_WF_Node_Para_UU, trxName); + /** if (AD_WF_Node_Para_UU == null) + { + setAD_WF_Node_ID (0); +// @1|AD_WF_Node_ID@ + setAD_WF_Node_Para_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + } */ + } + + /** Standard Constructor */ + public X_AD_WF_Node_Para (Properties ctx, String AD_WF_Node_Para_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_WF_Node_Para_UU, trxName, virtualColumns); + /** if (AD_WF_Node_Para_UU == null) + { + setAD_WF_Node_ID (0); +// @1|AD_WF_Node_ID@ + setAD_WF_Node_Para_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + } */ + } + /** Load Constructor */ public X_AD_WF_Node_Para (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_AD_WF_Node_Para extends PO implements I_AD_WF_Node_Para, I_Persis } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -147,7 +175,7 @@ public class X_AD_WF_Node_Para extends PO implements I_AD_WF_Node_Para, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_WF_Node_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_WF_Process.java b/org.adempiere.base/src/org/compiere/model/X_AD_WF_Process.java index 63daa13a12..06f9c38197 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_WF_Process.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_WF_Process.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_Process - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_WF_Process") -public class X_AD_WF_Process extends PO implements I_AD_WF_Process, I_Persistent +public class X_AD_WF_Process extends PO implements I_AD_WF_Process, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_WF_Process (Properties ctx, int AD_WF_Process_ID, String trxName) @@ -65,6 +65,38 @@ public class X_AD_WF_Process extends PO implements I_AD_WF_Process, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_WF_Process (Properties ctx, String AD_WF_Process_UU, String trxName) + { + super (ctx, AD_WF_Process_UU, trxName); + /** if (AD_WF_Process_UU == null) + { + setAD_Table_ID (0); + setAD_WF_Process_ID (0); + setAD_WF_Responsible_ID (0); + setAD_Workflow_ID (0); + setProcessed (false); + setRecord_ID (0); + setWFState (null); + } */ + } + + /** Standard Constructor */ + public X_AD_WF_Process (Properties ctx, String AD_WF_Process_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_WF_Process_UU, trxName, virtualColumns); + /** if (AD_WF_Process_UU == null) + { + setAD_Table_ID (0); + setAD_WF_Process_ID (0); + setAD_WF_Responsible_ID (0); + setAD_Workflow_ID (0); + setProcessed (false); + setRecord_ID (0); + setWFState (null); + } */ + } + /** Load Constructor */ public X_AD_WF_Process (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_AD_WF_Process extends PO implements I_AD_WF_Process, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -273,7 +305,7 @@ public class X_AD_WF_Process extends PO implements I_AD_WF_Process, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_Workflow_ID())); } @@ -311,10 +343,10 @@ public class X_AD_WF_Process extends PO implements I_AD_WF_Process, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -333,10 +365,10 @@ public class X_AD_WF_Process extends PO implements I_AD_WF_Process, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_WF_ProcessData.java b/org.adempiere.base/src/org/compiere/model/X_AD_WF_ProcessData.java index 0951170624..66d50ca48a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_WF_ProcessData.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_WF_ProcessData.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_ProcessData - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_WF_ProcessData") -public class X_AD_WF_ProcessData extends PO implements I_AD_WF_ProcessData, I_Persistent +public class X_AD_WF_ProcessData extends PO implements I_AD_WF_ProcessData, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_WF_ProcessData (Properties ctx, int AD_WF_ProcessData_ID, String trxName) @@ -57,6 +57,30 @@ public class X_AD_WF_ProcessData extends PO implements I_AD_WF_ProcessData, I_Pe } */ } + /** Standard Constructor */ + public X_AD_WF_ProcessData (Properties ctx, String AD_WF_ProcessData_UU, String trxName) + { + super (ctx, AD_WF_ProcessData_UU, trxName); + /** if (AD_WF_ProcessData_UU == null) + { + setAD_WF_ProcessData_ID (0); + setAD_WF_Process_ID (0); + setAttributeName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_WF_ProcessData (Properties ctx, String AD_WF_ProcessData_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_WF_ProcessData_UU, trxName, virtualColumns); + /** if (AD_WF_ProcessData_UU == null) + { + setAD_WF_ProcessData_ID (0); + setAD_WF_Process_ID (0); + setAttributeName (null); + } */ + } + /** Load Constructor */ public X_AD_WF_ProcessData (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_AD_WF_ProcessData extends PO implements I_AD_WF_ProcessData, I_Pe } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -153,7 +177,7 @@ public class X_AD_WF_ProcessData extends PO implements I_AD_WF_ProcessData, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_WF_Process_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_WF_Responsible.java b/org.adempiere.base/src/org/compiere/model/X_AD_WF_Responsible.java index 7573017fff..b6820282ed 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_WF_Responsible.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_WF_Responsible.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_WF_Responsible - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_WF_Responsible") -public class X_AD_WF_Responsible extends PO implements I_AD_WF_Responsible, I_Persistent +public class X_AD_WF_Responsible extends PO implements I_AD_WF_Responsible, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_WF_Responsible (Properties ctx, int AD_WF_Responsible_ID, String trxName) @@ -63,6 +63,36 @@ public class X_AD_WF_Responsible extends PO implements I_AD_WF_Responsible, I_Pe } */ } + /** Standard Constructor */ + public X_AD_WF_Responsible (Properties ctx, String AD_WF_Responsible_UU, String trxName) + { + super (ctx, AD_WF_Responsible_UU, trxName); + /** if (AD_WF_Responsible_UU == null) + { + setAD_Role_ID (0); + setAD_WF_Responsible_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setResponsibleType (null); + } */ + } + + /** Standard Constructor */ + public X_AD_WF_Responsible (Properties ctx, String AD_WF_Responsible_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_WF_Responsible_UU, trxName, virtualColumns); + /** if (AD_WF_Responsible_UU == null) + { + setAD_Role_ID (0); + setAD_WF_Responsible_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setResponsibleType (null); + } */ + } + /** Load Constructor */ public X_AD_WF_Responsible (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_AD_WF_Responsible extends PO implements I_AD_WF_Responsible, I_Pe } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -238,7 +268,7 @@ public class X_AD_WF_Responsible extends PO implements I_AD_WF_Responsible, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Window.java b/org.adempiere.base/src/org/compiere/model/X_AD_Window.java index 583747076c..ec468f21da 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Window.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Window.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Window - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Window") -public class X_AD_Window extends PO implements I_AD_Window, I_Persistent +public class X_AD_Window extends PO implements I_AD_Window, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Window (Properties ctx, int AD_Window_ID, String trxName) @@ -71,6 +71,44 @@ public class X_AD_Window extends PO implements I_AD_Window, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Window (Properties ctx, String AD_Window_UU, String trxName) + { + super (ctx, AD_Window_UU, trxName); + /** if (AD_Window_UU == null) + { + setAD_Window_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsBetaFunctionality (false); + setIsDefault (false); + setIsSOTrx (true); +// Y + setName (null); + setWindowType (null); +// M + } */ + } + + /** Standard Constructor */ + public X_AD_Window (Properties ctx, String AD_Window_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Window_UU, trxName, virtualColumns); + /** if (AD_Window_UU == null) + { + setAD_Window_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsBetaFunctionality (false); + setIsDefault (false); + setIsSOTrx (true); +// Y + setName (null); + setWindowType (null); +// M + } */ + } + /** Load Constructor */ public X_AD_Window (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +116,7 @@ public class X_AD_Window extends PO implements I_AD_Window, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -257,10 +295,10 @@ public class X_AD_Window extends PO implements I_AD_Window, I_Persistent public boolean isBetaFunctionality() { Object oo = get_Value(COLUMNNAME_IsBetaFunctionality); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -280,10 +318,10 @@ public class X_AD_Window extends PO implements I_AD_Window, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -303,10 +341,10 @@ public class X_AD_Window extends PO implements I_AD_Window, I_Persistent public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -331,7 +369,7 @@ public class X_AD_Window extends PO implements I_AD_Window, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -365,10 +403,10 @@ public class X_AD_Window extends PO implements I_AD_Window, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Window_Access.java b/org.adempiere.base/src/org/compiere/model/X_AD_Window_Access.java index 6f837ba0a6..69f106588d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Window_Access.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Window_Access.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Window_Access - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Window_Access") -public class X_AD_Window_Access extends PO implements I_AD_Window_Access, I_Persistent +public class X_AD_Window_Access extends PO implements I_AD_Window_Access, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Window_Access (Properties ctx, int AD_Window_Access_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_Window_Access extends PO implements I_AD_Window_Access, I_Pers } */ } + /** Standard Constructor */ + public X_AD_Window_Access (Properties ctx, String AD_Window_Access_UU, String trxName) + { + super (ctx, AD_Window_Access_UU, trxName); + /** if (AD_Window_Access_UU == null) + { + setAD_Role_ID (0); + setAD_Window_ID (0); + setIsReadWrite (false); + } */ + } + + /** Standard Constructor */ + public X_AD_Window_Access (Properties ctx, String AD_Window_Access_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Window_Access_UU, trxName, virtualColumns); + /** if (AD_Window_Access_UU == null) + { + setAD_Role_ID (0); + setAD_Window_ID (0); + setIsReadWrite (false); + } */ + } + /** Load Constructor */ public X_AD_Window_Access (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_Window_Access extends PO implements I_AD_Window_Access, I_Pers } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_AD_Window_Access extends PO implements I_AD_Window_Access, I_Pers public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Window_Access[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -169,10 +193,10 @@ public class X_AD_Window_Access extends PO implements I_AD_Window_Access, I_Pers public boolean isReadWrite() { Object oo = get_Value(COLUMNNAME_IsReadWrite); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_WizardProcess.java b/org.adempiere.base/src/org/compiere/model/X_AD_WizardProcess.java index e08d5fa65e..5f2dd0edc4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_WizardProcess.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_WizardProcess.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_WizardProcess - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_WizardProcess") -public class X_AD_WizardProcess extends PO implements I_AD_WizardProcess, I_Persistent +public class X_AD_WizardProcess extends PO implements I_AD_WizardProcess, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_WizardProcess (Properties ctx, int AD_WizardProcess_ID, String trxName) @@ -54,6 +54,28 @@ public class X_AD_WizardProcess extends PO implements I_AD_WizardProcess, I_Pers } */ } + /** Standard Constructor */ + public X_AD_WizardProcess (Properties ctx, String AD_WizardProcess_UU, String trxName) + { + super (ctx, AD_WizardProcess_UU, trxName); + /** if (AD_WizardProcess_UU == null) + { + setAD_WF_Node_ID (0); + setAD_WizardProcess_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_WizardProcess (Properties ctx, String AD_WizardProcess_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_WizardProcess_UU, trxName, virtualColumns); + /** if (AD_WizardProcess_UU == null) + { + setAD_WF_Node_ID (0); + setAD_WizardProcess_ID (0); + } */ + } + /** Load Constructor */ public X_AD_WizardProcess (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_AD_WizardProcess extends PO implements I_AD_WizardProcess, I_Pers } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Wlistbox_Customization.java b/org.adempiere.base/src/org/compiere/model/X_AD_Wlistbox_Customization.java index 45da9c27fd..09ac47f1b3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Wlistbox_Customization.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Wlistbox_Customization.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Wlistbox_Customization - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Wlistbox_Customization") -public class X_AD_Wlistbox_Customization extends PO implements I_AD_Wlistbox_Customization, I_Persistent +public class X_AD_Wlistbox_Customization extends PO implements I_AD_Wlistbox_Customization, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Wlistbox_Customization (Properties ctx, int AD_Wlistbox_Customization_ID, String trxName) @@ -58,6 +58,32 @@ public class X_AD_Wlistbox_Customization extends PO implements I_AD_Wlistbox_Cus } */ } + /** Standard Constructor */ + public X_AD_Wlistbox_Customization (Properties ctx, String AD_Wlistbox_Customization_UU, String trxName) + { + super (ctx, AD_Wlistbox_Customization_UU, trxName); + /** if (AD_Wlistbox_Customization_UU == null) + { + setAD_User_ID (0); + setAD_Wlistbox_Customization_ID (0); + setCustom (null); + setWlistboxName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_Wlistbox_Customization (Properties ctx, String AD_Wlistbox_Customization_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Wlistbox_Customization_UU, trxName, virtualColumns); + /** if (AD_Wlistbox_Customization_UU == null) + { + setAD_User_ID (0); + setAD_Wlistbox_Customization_ID (0); + setCustom (null); + setWlistboxName (null); + } */ + } + /** Load Constructor */ public X_AD_Wlistbox_Customization (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_AD_Wlistbox_Customization extends PO implements I_AD_Wlistbox_Cus } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Workflow.java b/org.adempiere.base/src/org/compiere/model/X_AD_Workflow.java index f11342faf9..661934cf01 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Workflow.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Workflow.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for AD_Workflow - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Workflow") -public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent +public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Workflow (Properties ctx, int AD_Workflow_ID, String trxName) @@ -94,6 +94,64 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent } */ } + /** Standard Constructor */ + public X_AD_Workflow (Properties ctx, String AD_Workflow_UU, String trxName) + { + super (ctx, AD_Workflow_UU, trxName); + /** if (AD_Workflow_UU == null) + { + setAccessLevel (null); + setAD_Workflow_ID (0); + setAuthor (null); + setCost (Env.ZERO); + setDuration (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsBetaFunctionality (false); +// N + setIsDefault (false); + setIsValid (false); + setName (null); + setPublishStatus (null); +// U + setValue (null); + setVersion (0); + setWaitingTime (0); + setWorkflowType (null); +// G + setWorkingTime (0); + } */ + } + + /** Standard Constructor */ + public X_AD_Workflow (Properties ctx, String AD_Workflow_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Workflow_UU, trxName, virtualColumns); + /** if (AD_Workflow_UU == null) + { + setAccessLevel (null); + setAD_Workflow_ID (0); + setAuthor (null); + setCost (Env.ZERO); + setDuration (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setIsBetaFunctionality (false); +// N + setIsDefault (false); + setIsValid (false); + setName (null); + setPublishStatus (null); +// U + setValue (null); + setVersion (0); + setWaitingTime (0); + setWorkflowType (null); +// G + setWorkingTime (0); + } */ + } + /** Load Constructor */ public X_AD_Workflow (Properties ctx, ResultSet rs, String trxName) { @@ -101,7 +159,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -511,10 +569,10 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent public boolean isBetaFunctionality() { Object oo = get_Value(COLUMNNAME_IsBetaFunctionality); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -534,10 +592,10 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -557,10 +615,10 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent public boolean isValid() { Object oo = get_Value(COLUMNNAME_IsValid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -622,7 +680,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_WorkflowProcessor.java b/org.adempiere.base/src/org/compiere/model/X_AD_WorkflowProcessor.java index 3c0246a50f..024a526a29 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_WorkflowProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_WorkflowProcessor.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for AD_WorkflowProcessor - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_WorkflowProcessor") -public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor, I_Persistent +public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_WorkflowProcessor (Properties ctx, int AD_WorkflowProcessor_ID, String trxName) @@ -64,6 +64,36 @@ public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor } */ } + /** Standard Constructor */ + public X_AD_WorkflowProcessor (Properties ctx, String AD_WorkflowProcessor_UU, String trxName) + { + super (ctx, AD_WorkflowProcessor_UU, trxName); + /** if (AD_WorkflowProcessor_UU == null) + { + setAD_Schedule_ID (0); + setAD_WorkflowProcessor_ID (0); + setKeepLogDays (0); +// 7 + setName (null); + setSupervisor_ID (0); + } */ + } + + /** Standard Constructor */ + public X_AD_WorkflowProcessor (Properties ctx, String AD_WorkflowProcessor_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_WorkflowProcessor_UU, trxName, virtualColumns); + /** if (AD_WorkflowProcessor_UU == null) + { + setAD_Schedule_ID (0); + setAD_WorkflowProcessor_ID (0); + setKeepLogDays (0); +// 7 + setName (null); + setSupervisor_ID (0); + } */ + } + /** Load Constructor */ public X_AD_WorkflowProcessor (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +101,7 @@ public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -280,7 +310,7 @@ public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -298,10 +328,10 @@ public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_WorkflowProcessorLog.java b/org.adempiere.base/src/org/compiere/model/X_AD_WorkflowProcessorLog.java index ed7ab598e6..bf60b5e0b1 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_WorkflowProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_WorkflowProcessorLog.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_WorkflowProcessorLog - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_WorkflowProcessorLog") -public class X_AD_WorkflowProcessorLog extends PO implements I_AD_WorkflowProcessorLog, I_Persistent +public class X_AD_WorkflowProcessorLog extends PO implements I_AD_WorkflowProcessorLog, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_WorkflowProcessorLog (Properties ctx, int AD_WorkflowProcessorLog_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_WorkflowProcessorLog extends PO implements I_AD_WorkflowProces } */ } + /** Standard Constructor */ + public X_AD_WorkflowProcessorLog (Properties ctx, String AD_WorkflowProcessorLog_UU, String trxName) + { + super (ctx, AD_WorkflowProcessorLog_UU, trxName); + /** if (AD_WorkflowProcessorLog_UU == null) + { + setAD_WorkflowProcessor_ID (0); + setAD_WorkflowProcessorLog_ID (0); + setIsError (false); + } */ + } + + /** Standard Constructor */ + public X_AD_WorkflowProcessorLog (Properties ctx, String AD_WorkflowProcessorLog_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_WorkflowProcessorLog_UU, trxName, virtualColumns); + /** if (AD_WorkflowProcessorLog_UU == null) + { + setAD_WorkflowProcessor_ID (0); + setAD_WorkflowProcessorLog_ID (0); + setIsError (false); + } */ + } + /** Load Constructor */ public X_AD_WorkflowProcessorLog (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_WorkflowProcessorLog extends PO implements I_AD_WorkflowProces } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -195,10 +219,10 @@ public class X_AD_WorkflowProcessorLog extends PO implements I_AD_WorkflowProces public boolean isError() { Object oo = get_Value(COLUMNNAME_IsError); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Workflow_Access.java b/org.adempiere.base/src/org/compiere/model/X_AD_Workflow_Access.java index da7161a010..5e92c6bc1f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Workflow_Access.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Workflow_Access.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_Workflow_Access - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_Workflow_Access") -public class X_AD_Workflow_Access extends PO implements I_AD_Workflow_Access, I_Persistent +public class X_AD_Workflow_Access extends PO implements I_AD_Workflow_Access, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_Workflow_Access (Properties ctx, int AD_Workflow_Access_ID, String trxName) @@ -56,6 +56,30 @@ public class X_AD_Workflow_Access extends PO implements I_AD_Workflow_Access, I_ } */ } + /** Standard Constructor */ + public X_AD_Workflow_Access (Properties ctx, String AD_Workflow_Access_UU, String trxName) + { + super (ctx, AD_Workflow_Access_UU, trxName); + /** if (AD_Workflow_Access_UU == null) + { + setAD_Role_ID (0); + setAD_Workflow_ID (0); + setIsReadWrite (false); + } */ + } + + /** Standard Constructor */ + public X_AD_Workflow_Access (Properties ctx, String AD_Workflow_Access_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_Workflow_Access_UU, trxName, virtualColumns); + /** if (AD_Workflow_Access_UU == null) + { + setAD_Role_ID (0); + setAD_Workflow_ID (0); + setIsReadWrite (false); + } */ + } + /** Load Constructor */ public X_AD_Workflow_Access (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_AD_Workflow_Access extends PO implements I_AD_Workflow_Access, I_ } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_AD_Workflow_Access extends PO implements I_AD_Workflow_Access, I_ public String toString() { StringBuilder sb = new StringBuilder ("X_AD_Workflow_Access[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -169,10 +193,10 @@ public class X_AD_Workflow_Access extends PO implements I_AD_Workflow_Access, I_ public boolean isReadWrite() { Object oo = get_Value(COLUMNNAME_IsReadWrite); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_ZoomCondition.java b/org.adempiere.base/src/org/compiere/model/X_AD_ZoomCondition.java index 6c9dcd3731..8dbfcfeac3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_ZoomCondition.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_ZoomCondition.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for AD_ZoomCondition - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="AD_ZoomCondition") -public class X_AD_ZoomCondition extends PO implements I_AD_ZoomCondition, I_Persistent +public class X_AD_ZoomCondition extends PO implements I_AD_ZoomCondition, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_AD_ZoomCondition (Properties ctx, int AD_ZoomCondition_ID, String trxName) @@ -62,6 +62,36 @@ public class X_AD_ZoomCondition extends PO implements I_AD_ZoomCondition, I_Pers } */ } + /** Standard Constructor */ + public X_AD_ZoomCondition (Properties ctx, String AD_ZoomCondition_UU, String trxName) + { + super (ctx, AD_ZoomCondition_UU, trxName); + /** if (AD_ZoomCondition_UU == null) + { + setAD_Table_ID (0); + setAD_Window_ID (0); + setAD_ZoomCondition_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + } */ + } + + /** Standard Constructor */ + public X_AD_ZoomCondition (Properties ctx, String AD_ZoomCondition_UU, String trxName, String ... virtualColumns) + { + super (ctx, AD_ZoomCondition_UU, trxName, virtualColumns); + /** if (AD_ZoomCondition_UU == null) + { + setAD_Table_ID (0); + setAD_Window_ID (0); + setAD_ZoomCondition_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + } */ + } + /** Load Constructor */ public X_AD_ZoomCondition (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +99,7 @@ public class X_AD_ZoomCondition extends PO implements I_AD_ZoomCondition, I_Pers } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_ASP_ClientException.java b/org.adempiere.base/src/org/compiere/model/X_ASP_ClientException.java index b18268a0a1..5da41ac3e7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_ASP_ClientException.java +++ b/org.adempiere.base/src/org/compiere/model/X_ASP_ClientException.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for ASP_ClientException - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="ASP_ClientException") -public class X_ASP_ClientException extends PO implements I_ASP_ClientException, I_Persistent +public class X_ASP_ClientException extends PO implements I_ASP_ClientException, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_ASP_ClientException (Properties ctx, int ASP_ClientException_ID, String trxName) @@ -56,6 +56,30 @@ public class X_ASP_ClientException extends PO implements I_ASP_ClientException, } */ } + /** Standard Constructor */ + public X_ASP_ClientException (Properties ctx, String ASP_ClientException_UU, String trxName) + { + super (ctx, ASP_ClientException_UU, trxName); + /** if (ASP_ClientException_UU == null) + { + setASP_ClientException_ID (0); + setASP_Status (null); +// S + } */ + } + + /** Standard Constructor */ + public X_ASP_ClientException (Properties ctx, String ASP_ClientException_UU, String trxName, String ... virtualColumns) + { + super (ctx, ASP_ClientException_UU, trxName, virtualColumns); + /** if (ASP_ClientException_UU == null) + { + setASP_ClientException_ID (0); + setASP_Status (null); +// S + } */ + } + /** Load Constructor */ public X_ASP_ClientException (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_ASP_ClientException extends PO implements I_ASP_ClientException, } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_ASP_ClientLevel.java b/org.adempiere.base/src/org/compiere/model/X_ASP_ClientLevel.java index e076e4463e..8b6f0486a0 100644 --- a/org.adempiere.base/src/org/compiere/model/X_ASP_ClientLevel.java +++ b/org.adempiere.base/src/org/compiere/model/X_ASP_ClientLevel.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for ASP_ClientLevel - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="ASP_ClientLevel") -public class X_ASP_ClientLevel extends PO implements I_ASP_ClientLevel, I_Persistent +public class X_ASP_ClientLevel extends PO implements I_ASP_ClientLevel, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_ASP_ClientLevel (Properties ctx, int ASP_ClientLevel_ID, String trxName) @@ -56,6 +56,30 @@ public class X_ASP_ClientLevel extends PO implements I_ASP_ClientLevel, I_Persis } */ } + /** Standard Constructor */ + public X_ASP_ClientLevel (Properties ctx, String ASP_ClientLevel_UU, String trxName) + { + super (ctx, ASP_ClientLevel_UU, trxName); + /** if (ASP_ClientLevel_UU == null) + { + setASP_ClientLevel_ID (0); + setASP_Level_ID (0); + setASP_Module_ID (0); + } */ + } + + /** Standard Constructor */ + public X_ASP_ClientLevel (Properties ctx, String ASP_ClientLevel_UU, String trxName, String ... virtualColumns) + { + super (ctx, ASP_ClientLevel_UU, trxName, virtualColumns); + /** if (ASP_ClientLevel_UU == null) + { + setASP_ClientLevel_ID (0); + setASP_Level_ID (0); + setASP_Module_ID (0); + } */ + } + /** Load Constructor */ public X_ASP_ClientLevel (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_ASP_ClientLevel extends PO implements I_ASP_ClientLevel, I_Persis } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_ASP_Field.java b/org.adempiere.base/src/org/compiere/model/X_ASP_Field.java index 1531335d3f..3addd2102e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_ASP_Field.java +++ b/org.adempiere.base/src/org/compiere/model/X_ASP_Field.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for ASP_Field - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="ASP_Field") -public class X_ASP_Field extends PO implements I_ASP_Field, I_Persistent +public class X_ASP_Field extends PO implements I_ASP_Field, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_ASP_Field (Properties ctx, int ASP_Field_ID, String trxName) @@ -54,6 +54,28 @@ public class X_ASP_Field extends PO implements I_ASP_Field, I_Persistent } */ } + /** Standard Constructor */ + public X_ASP_Field (Properties ctx, String ASP_Field_UU, String trxName) + { + super (ctx, ASP_Field_UU, trxName); + /** if (ASP_Field_UU == null) + { + setASP_Status (null); +// S + } */ + } + + /** Standard Constructor */ + public X_ASP_Field (Properties ctx, String ASP_Field_UU, String trxName, String ... virtualColumns) + { + super (ctx, ASP_Field_UU, trxName, virtualColumns); + /** if (ASP_Field_UU == null) + { + setASP_Status (null); +// S + } */ + } + /** Load Constructor */ public X_ASP_Field (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_ASP_Field extends PO implements I_ASP_Field, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_ASP_Form.java b/org.adempiere.base/src/org/compiere/model/X_ASP_Form.java index d0291802e8..cf5d649bfc 100644 --- a/org.adempiere.base/src/org/compiere/model/X_ASP_Form.java +++ b/org.adempiere.base/src/org/compiere/model/X_ASP_Form.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for ASP_Form - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="ASP_Form") -public class X_ASP_Form extends PO implements I_ASP_Form, I_Persistent +public class X_ASP_Form extends PO implements I_ASP_Form, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_ASP_Form (Properties ctx, int ASP_Form_ID, String trxName) @@ -58,6 +58,32 @@ public class X_ASP_Form extends PO implements I_ASP_Form, I_Persistent } */ } + /** Standard Constructor */ + public X_ASP_Form (Properties ctx, String ASP_Form_UU, String trxName) + { + super (ctx, ASP_Form_UU, trxName); + /** if (ASP_Form_UU == null) + { + setAD_Form_ID (0); + setASP_Level_ID (0); + setASP_Status (null); +// S + } */ + } + + /** Standard Constructor */ + public X_ASP_Form (Properties ctx, String ASP_Form_UU, String trxName, String ... virtualColumns) + { + super (ctx, ASP_Form_UU, trxName, virtualColumns); + /** if (ASP_Form_UU == null) + { + setAD_Form_ID (0); + setASP_Level_ID (0); + setASP_Status (null); +// S + } */ + } + /** Load Constructor */ public X_ASP_Form (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_ASP_Form extends PO implements I_ASP_Form, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_ASP_Level.java b/org.adempiere.base/src/org/compiere/model/X_ASP_Level.java index 6751c91da0..06d0e3dcb6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_ASP_Level.java +++ b/org.adempiere.base/src/org/compiere/model/X_ASP_Level.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for ASP_Level - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="ASP_Level") -public class X_ASP_Level extends PO implements I_ASP_Level, I_Persistent +public class X_ASP_Level extends PO implements I_ASP_Level, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_ASP_Level (Properties ctx, int ASP_Level_ID, String trxName) @@ -59,6 +59,32 @@ public class X_ASP_Level extends PO implements I_ASP_Level, I_Persistent } */ } + /** Standard Constructor */ + public X_ASP_Level (Properties ctx, String ASP_Level_UU, String trxName) + { + super (ctx, ASP_Level_UU, trxName); + /** if (ASP_Level_UU == null) + { + setASP_Level_ID (0); + setASP_Module_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_ASP_Level (Properties ctx, String ASP_Level_UU, String trxName, String ... virtualColumns) + { + super (ctx, ASP_Level_UU, trxName, virtualColumns); + /** if (ASP_Level_UU == null) + { + setASP_Level_ID (0); + setASP_Module_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_ASP_Level (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_ASP_Level extends PO implements I_ASP_Level, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -201,7 +227,7 @@ public class X_ASP_Level extends PO implements I_ASP_Level, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -219,10 +245,10 @@ public class X_ASP_Level extends PO implements I_ASP_Level, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_ASP_Module.java b/org.adempiere.base/src/org/compiere/model/X_ASP_Module.java index 01707cea75..7788223d95 100644 --- a/org.adempiere.base/src/org/compiere/model/X_ASP_Module.java +++ b/org.adempiere.base/src/org/compiere/model/X_ASP_Module.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for ASP_Module - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="ASP_Module") -public class X_ASP_Module extends PO implements I_ASP_Module, I_Persistent +public class X_ASP_Module extends PO implements I_ASP_Module, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_ASP_Module (Properties ctx, int ASP_Module_ID, String trxName) @@ -57,6 +57,30 @@ public class X_ASP_Module extends PO implements I_ASP_Module, I_Persistent } */ } + /** Standard Constructor */ + public X_ASP_Module (Properties ctx, String ASP_Module_UU, String trxName) + { + super (ctx, ASP_Module_UU, trxName); + /** if (ASP_Module_UU == null) + { + setASP_Module_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_ASP_Module (Properties ctx, String ASP_Module_UU, String trxName, String ... virtualColumns) + { + super (ctx, ASP_Module_UU, trxName, virtualColumns); + /** if (ASP_Module_UU == null) + { + setASP_Module_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_ASP_Module (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_ASP_Module extends PO implements I_ASP_Module, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -172,7 +196,7 @@ public class X_ASP_Module extends PO implements I_ASP_Module, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_ASP_Process.java b/org.adempiere.base/src/org/compiere/model/X_ASP_Process.java index 7f45b0079c..330b6671a7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_ASP_Process.java +++ b/org.adempiere.base/src/org/compiere/model/X_ASP_Process.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for ASP_Process - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="ASP_Process") -public class X_ASP_Process extends PO implements I_ASP_Process, I_Persistent +public class X_ASP_Process extends PO implements I_ASP_Process, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_ASP_Process (Properties ctx, int ASP_Process_ID, String trxName) @@ -59,6 +59,32 @@ public class X_ASP_Process extends PO implements I_ASP_Process, I_Persistent } */ } + /** Standard Constructor */ + public X_ASP_Process (Properties ctx, String ASP_Process_UU, String trxName) + { + super (ctx, ASP_Process_UU, trxName); + /** if (ASP_Process_UU == null) + { + setAD_Process_ID (0); + setASP_Level_ID (0); + setASP_Status (null); +// S + } */ + } + + /** Standard Constructor */ + public X_ASP_Process (Properties ctx, String ASP_Process_UU, String trxName, String ... virtualColumns) + { + super (ctx, ASP_Process_UU, trxName, virtualColumns); + /** if (ASP_Process_UU == null) + { + setAD_Process_ID (0); + setASP_Level_ID (0); + setASP_Status (null); +// S + } */ + } + /** Load Constructor */ public X_ASP_Process (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_ASP_Process extends PO implements I_ASP_Process, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -145,7 +171,7 @@ public class X_ASP_Process extends PO implements I_ASP_Process, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getASP_Level_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_ASP_Process_Para.java b/org.adempiere.base/src/org/compiere/model/X_ASP_Process_Para.java index db16de01e1..07dee29b1b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_ASP_Process_Para.java +++ b/org.adempiere.base/src/org/compiere/model/X_ASP_Process_Para.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for ASP_Process_Para - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="ASP_Process_Para") -public class X_ASP_Process_Para extends PO implements I_ASP_Process_Para, I_Persistent +public class X_ASP_Process_Para extends PO implements I_ASP_Process_Para, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_ASP_Process_Para (Properties ctx, int ASP_Process_Para_ID, String trxName) @@ -54,6 +54,28 @@ public class X_ASP_Process_Para extends PO implements I_ASP_Process_Para, I_Pers } */ } + /** Standard Constructor */ + public X_ASP_Process_Para (Properties ctx, String ASP_Process_Para_UU, String trxName) + { + super (ctx, ASP_Process_Para_UU, trxName); + /** if (ASP_Process_Para_UU == null) + { + setASP_Status (null); +// S + } */ + } + + /** Standard Constructor */ + public X_ASP_Process_Para (Properties ctx, String ASP_Process_Para_UU, String trxName, String ... virtualColumns) + { + super (ctx, ASP_Process_Para_UU, trxName, virtualColumns); + /** if (ASP_Process_Para_UU == null) + { + setASP_Status (null); +// S + } */ + } + /** Load Constructor */ public X_ASP_Process_Para (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_ASP_Process_Para extends PO implements I_ASP_Process_Para, I_Pers } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_ASP_Ref_List.java b/org.adempiere.base/src/org/compiere/model/X_ASP_Ref_List.java index 74a64b5305..10394dd342 100644 --- a/org.adempiere.base/src/org/compiere/model/X_ASP_Ref_List.java +++ b/org.adempiere.base/src/org/compiere/model/X_ASP_Ref_List.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for ASP_Ref_List - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="ASP_Ref_List") -public class X_ASP_Ref_List extends PO implements I_ASP_Ref_List, I_Persistent +public class X_ASP_Ref_List extends PO implements I_ASP_Ref_List, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_ASP_Ref_List (Properties ctx, int ASP_Ref_List_ID, String trxName) @@ -58,6 +58,32 @@ public class X_ASP_Ref_List extends PO implements I_ASP_Ref_List, I_Persistent } */ } + /** Standard Constructor */ + public X_ASP_Ref_List (Properties ctx, String ASP_Ref_List_UU, String trxName) + { + super (ctx, ASP_Ref_List_UU, trxName); + /** if (ASP_Ref_List_UU == null) + { + setAD_Reference_ID (0); + setAD_Ref_List_ID (0); + setASP_Level_ID (0); + setASP_Ref_List_ID (0); + } */ + } + + /** Standard Constructor */ + public X_ASP_Ref_List (Properties ctx, String ASP_Ref_List_UU, String trxName, String ... virtualColumns) + { + super (ctx, ASP_Ref_List_UU, trxName, virtualColumns); + /** if (ASP_Ref_List_UU == null) + { + setAD_Reference_ID (0); + setAD_Ref_List_ID (0); + setASP_Level_ID (0); + setASP_Ref_List_ID (0); + } */ + } + /** Load Constructor */ public X_ASP_Ref_List (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_ASP_Ref_List extends PO implements I_ASP_Ref_List, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_ASP_Tab.java b/org.adempiere.base/src/org/compiere/model/X_ASP_Tab.java index d06f8046ea..5d63fd8221 100644 --- a/org.adempiere.base/src/org/compiere/model/X_ASP_Tab.java +++ b/org.adempiere.base/src/org/compiere/model/X_ASP_Tab.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for ASP_Tab - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="ASP_Tab") -public class X_ASP_Tab extends PO implements I_ASP_Tab, I_Persistent +public class X_ASP_Tab extends PO implements I_ASP_Tab, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_ASP_Tab (Properties ctx, int ASP_Tab_ID, String trxName) @@ -57,6 +57,30 @@ public class X_ASP_Tab extends PO implements I_ASP_Tab, I_Persistent } */ } + /** Standard Constructor */ + public X_ASP_Tab (Properties ctx, String ASP_Tab_UU, String trxName) + { + super (ctx, ASP_Tab_UU, trxName); + /** if (ASP_Tab_UU == null) + { + setAD_Tab_ID (0); + setASP_Status (null); +// S + } */ + } + + /** Standard Constructor */ + public X_ASP_Tab (Properties ctx, String ASP_Tab_UU, String trxName, String ... virtualColumns) + { + super (ctx, ASP_Tab_UU, trxName, virtualColumns); + /** if (ASP_Tab_UU == null) + { + setAD_Tab_ID (0); + setASP_Status (null); +// S + } */ + } + /** Load Constructor */ public X_ASP_Tab (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_ASP_Tab extends PO implements I_ASP_Tab, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -126,10 +150,10 @@ public class X_ASP_Tab extends PO implements I_ASP_Tab, I_Persistent public boolean isAllFields() { Object oo = get_Value(COLUMNNAME_AllFields); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -225,7 +249,7 @@ public class X_ASP_Tab extends PO implements I_ASP_Tab, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getASP_Window_ID())); } @@ -243,10 +267,10 @@ public class X_ASP_Tab extends PO implements I_ASP_Tab, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_ASP_Task.java b/org.adempiere.base/src/org/compiere/model/X_ASP_Task.java index 281f0ac7de..42a9ecb19b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_ASP_Task.java +++ b/org.adempiere.base/src/org/compiere/model/X_ASP_Task.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for ASP_Task - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="ASP_Task") -public class X_ASP_Task extends PO implements I_ASP_Task, I_Persistent +public class X_ASP_Task extends PO implements I_ASP_Task, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_ASP_Task (Properties ctx, int ASP_Task_ID, String trxName) @@ -58,6 +58,32 @@ public class X_ASP_Task extends PO implements I_ASP_Task, I_Persistent } */ } + /** Standard Constructor */ + public X_ASP_Task (Properties ctx, String ASP_Task_UU, String trxName) + { + super (ctx, ASP_Task_UU, trxName); + /** if (ASP_Task_UU == null) + { + setAD_Task_ID (0); + setASP_Level_ID (0); + setASP_Status (null); +// S + } */ + } + + /** Standard Constructor */ + public X_ASP_Task (Properties ctx, String ASP_Task_UU, String trxName, String ... virtualColumns) + { + super (ctx, ASP_Task_UU, trxName, virtualColumns); + /** if (ASP_Task_UU == null) + { + setAD_Task_ID (0); + setASP_Level_ID (0); + setASP_Status (null); +// S + } */ + } + /** Load Constructor */ public X_ASP_Task (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_ASP_Task extends PO implements I_ASP_Task, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_ASP_Window.java b/org.adempiere.base/src/org/compiere/model/X_ASP_Window.java index 65c2ac4b01..b79adfc78e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_ASP_Window.java +++ b/org.adempiere.base/src/org/compiere/model/X_ASP_Window.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for ASP_Window - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="ASP_Window") -public class X_ASP_Window extends PO implements I_ASP_Window, I_Persistent +public class X_ASP_Window extends PO implements I_ASP_Window, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_ASP_Window (Properties ctx, int ASP_Window_ID, String trxName) @@ -59,6 +59,32 @@ public class X_ASP_Window extends PO implements I_ASP_Window, I_Persistent } */ } + /** Standard Constructor */ + public X_ASP_Window (Properties ctx, String ASP_Window_UU, String trxName) + { + super (ctx, ASP_Window_UU, trxName); + /** if (ASP_Window_UU == null) + { + setAD_Window_ID (0); + setASP_Level_ID (0); + setASP_Status (null); +// S + } */ + } + + /** Standard Constructor */ + public X_ASP_Window (Properties ctx, String ASP_Window_UU, String trxName, String ... virtualColumns) + { + super (ctx, ASP_Window_UU, trxName, virtualColumns); + /** if (ASP_Window_UU == null) + { + setAD_Window_ID (0); + setASP_Level_ID (0); + setASP_Status (null); +// S + } */ + } + /** Load Constructor */ public X_ASP_Window (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_ASP_Window extends PO implements I_ASP_Window, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -145,7 +171,7 @@ public class X_ASP_Window extends PO implements I_ASP_Window, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getASP_Level_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_ASP_Workflow.java b/org.adempiere.base/src/org/compiere/model/X_ASP_Workflow.java index de177fa70e..4a028c4aec 100644 --- a/org.adempiere.base/src/org/compiere/model/X_ASP_Workflow.java +++ b/org.adempiere.base/src/org/compiere/model/X_ASP_Workflow.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for ASP_Workflow - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="ASP_Workflow") -public class X_ASP_Workflow extends PO implements I_ASP_Workflow, I_Persistent +public class X_ASP_Workflow extends PO implements I_ASP_Workflow, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_ASP_Workflow (Properties ctx, int ASP_Workflow_ID, String trxName) @@ -58,6 +58,32 @@ public class X_ASP_Workflow extends PO implements I_ASP_Workflow, I_Persistent } */ } + /** Standard Constructor */ + public X_ASP_Workflow (Properties ctx, String ASP_Workflow_UU, String trxName) + { + super (ctx, ASP_Workflow_UU, trxName); + /** if (ASP_Workflow_UU == null) + { + setAD_Workflow_ID (0); + setASP_Level_ID (0); + setASP_Status (null); +// S + } */ + } + + /** Standard Constructor */ + public X_ASP_Workflow (Properties ctx, String ASP_Workflow_UU, String trxName, String ... virtualColumns) + { + super (ctx, ASP_Workflow_UU, trxName, virtualColumns); + /** if (ASP_Workflow_UU == null) + { + setAD_Workflow_ID (0); + setASP_Level_ID (0); + setASP_Status (null); +// S + } */ + } + /** Load Constructor */ public X_ASP_Workflow (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_ASP_Workflow extends PO implements I_ASP_Workflow, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset.java index b8f45868e0..9dd08ca5a0 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for A_Asset - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset") -public class X_A_Asset extends PO implements I_A_Asset, I_Persistent +public class X_A_Asset extends PO implements I_A_Asset, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset (Properties ctx, int A_Asset_ID, String trxName) @@ -89,6 +89,60 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent } */ } + /** Standard Constructor */ + public X_A_Asset (Properties ctx, String A_Asset_UU, String trxName) + { + super (ctx, A_Asset_UU, trxName); + /** if (A_Asset_UU == null) + { + setA_Asset_Action (null); +// 'MD' + setA_Asset_Group_ID (0); + setA_Asset_ID (0); + setA_Asset_Status (null); +// 'NW' + setIsDepreciated (false); + setIsDisposed (false); + setIsFullyDepreciated (false); +// N + setIsInPosession (false); + setIsOwned (false); + setM_AttributeSetInstance_ID (0); + setM_Product_ID (0); + setName (null); + setProcessed (false); +// 'N' + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_A_Asset (Properties ctx, String A_Asset_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_UU, trxName, virtualColumns); + /** if (A_Asset_UU == null) + { + setA_Asset_Action (null); +// 'MD' + setA_Asset_Group_ID (0); + setA_Asset_ID (0); + setA_Asset_Status (null); +// 'NW' + setIsDepreciated (false); + setIsDisposed (false); + setIsFullyDepreciated (false); +// N + setIsInPosession (false); + setIsOwned (false); + setM_AttributeSetInstance_ID (0); + setM_Product_ID (0); + setName (null); + setProcessed (false); +// 'N' + setValue (null); + } */ + } + /** Load Constructor */ public X_A_Asset (Properties ctx, ResultSet rs, String trxName) { @@ -96,7 +150,7 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -744,10 +798,10 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent public boolean isDepreciated() { Object oo = get_Value(COLUMNNAME_IsDepreciated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -767,10 +821,10 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent public boolean isDisposed() { Object oo = get_Value(COLUMNNAME_IsDisposed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -790,10 +844,10 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent public boolean isFullyDepreciated() { Object oo = get_Value(COLUMNNAME_IsFullyDepreciated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -813,10 +867,10 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent public boolean isInPosession() { Object oo = get_Value(COLUMNNAME_IsInPosession); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -836,10 +890,10 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent public boolean isOwned() { Object oo = get_Value(COLUMNNAME_IsOwned); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1202,10 +1256,10 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1224,10 +1278,10 @@ public class X_A_Asset extends PO implements I_A_Asset, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Acct.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Acct.java index aab09b02fc..b84eb3e05c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Acct.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Acct") -public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent +public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Acct (Properties ctx, int A_Asset_Acct_ID, String trxName) @@ -86,6 +86,56 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent } */ } + /** Standard Constructor */ + public X_A_Asset_Acct (Properties ctx, String A_Asset_Acct_UU, String trxName) + { + super (ctx, A_Asset_Acct_UU, trxName); + /** if (A_Asset_Acct_UU == null) + { + setA_Accumdepreciation_Acct (0); + setA_Asset_Acct (0); + setA_Asset_Acct_ID (0); + setA_Asset_ID (0); + setA_Depreciation_Acct (0); + setA_Depreciation_F_ID (0); + setA_Depreciation_ID (0); + setA_Disposal_Loss_Acct (0); + setA_Disposal_Revenue_Acct (0); + setA_Period_End (0); + setA_Period_Start (0); + setA_Split_Percent (Env.ZERO); +// 1 + setC_AcctSchema_ID (0); + setPostingType (null); +// 'A' + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Acct (Properties ctx, String A_Asset_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Acct_UU, trxName, virtualColumns); + /** if (A_Asset_Acct_UU == null) + { + setA_Accumdepreciation_Acct (0); + setA_Asset_Acct (0); + setA_Asset_Acct_ID (0); + setA_Asset_ID (0); + setA_Depreciation_Acct (0); + setA_Depreciation_F_ID (0); + setA_Depreciation_ID (0); + setA_Disposal_Loss_Acct (0); + setA_Disposal_Revenue_Acct (0); + setA_Period_End (0); + setA_Period_Start (0); + setA_Split_Percent (Env.ZERO); +// 1 + setC_AcctSchema_ID (0); + setPostingType (null); +// 'A' + } */ + } + /** Load Constructor */ public X_A_Asset_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -93,7 +143,7 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -186,7 +236,7 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Acct_ID())); } @@ -881,10 +931,10 @@ public class X_A_Asset_Acct extends PO implements I_A_Asset_Acct, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Addition.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Addition.java index 46b4a337f2..09ace7c060 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Addition.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Addition.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Addition - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Addition") -public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Persistent +public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Addition (Properties ctx, int A_Asset_Addition_ID, String trxName) @@ -108,6 +108,78 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers } */ } + /** Standard Constructor */ + public X_A_Asset_Addition (Properties ctx, String A_Asset_Addition_UU, String trxName) + { + super (ctx, A_Asset_Addition_UU, trxName); + /** if (A_Asset_Addition_UU == null) + { + setA_Asset_Addition_ID (0); + setA_Asset_ID (0); + setA_CapvsExp (null); +// 'Cap' + setA_CreateAsset (false); +// 'N' + setA_QTY_Current (Env.ZERO); +// 0 + setA_SourceType (null); +// 'INV' + setAssetAmtEntered (Env.ZERO); +// 0 + setAssetValueAmt (Env.ZERO); + setC_ConversionType_ID (0); + setC_Currency_ID (0); + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocStatus (null); +// 'DR' + setIsApproved (false); +// @#IsCanApproveOwnDoc@ + setPosted (false); +// N + setPostingType (null); +// A + setProcessed (false); +// 'N' + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Addition (Properties ctx, String A_Asset_Addition_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Addition_UU, trxName, virtualColumns); + /** if (A_Asset_Addition_UU == null) + { + setA_Asset_Addition_ID (0); + setA_Asset_ID (0); + setA_CapvsExp (null); +// 'Cap' + setA_CreateAsset (false); +// 'N' + setA_QTY_Current (Env.ZERO); +// 0 + setA_SourceType (null); +// 'INV' + setAssetAmtEntered (Env.ZERO); +// 0 + setAssetValueAmt (Env.ZERO); + setC_ConversionType_ID (0); + setC_Currency_ID (0); + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocStatus (null); +// 'DR' + setIsApproved (false); +// @#IsCanApproveOwnDoc@ + setPosted (false); +// N + setPostingType (null); +// A + setProcessed (false); +// 'N' + } */ + } + /** Load Constructor */ public X_A_Asset_Addition (Properties ctx, ResultSet rs, String trxName) { @@ -115,7 +187,7 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -235,10 +307,10 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers public boolean isA_CreateAsset() { Object oo = get_Value(COLUMNNAME_A_CreateAsset); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -772,7 +844,7 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -846,10 +918,10 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1028,10 +1100,10 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1080,10 +1152,10 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1121,10 +1193,10 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Change.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Change.java index 42490441b7..300670e421 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Change.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Change.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Change - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Change") -public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persistent +public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Change (Properties ctx, int A_Asset_Change_ID, String trxName) @@ -66,6 +66,36 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste } */ } + /** Standard Constructor */ + public X_A_Asset_Change (Properties ctx, String A_Asset_Change_UU, String trxName) + { + super (ctx, A_Asset_Change_UU, trxName); + /** if (A_Asset_Change_UU == null) + { + setA_Asset_Change_ID (0); + setA_Asset_ID (0); + setAssetValueAmt (Env.ZERO); +// 0 + setChangeType (null); + setTextDetails (null); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Change (Properties ctx, String A_Asset_Change_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Change_UU, trxName, virtualColumns); + /** if (A_Asset_Change_UU == null) + { + setA_Asset_Change_ID (0); + setA_Asset_ID (0); + setAssetValueAmt (Env.ZERO); +// 0 + setChangeType (null); + setTextDetails (null); + } */ + } + /** Load Constructor */ public X_A_Asset_Change (Properties ctx, ResultSet rs, String trxName) { @@ -73,7 +103,7 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -208,7 +238,7 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Change_ID())); } @@ -1203,10 +1233,10 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste public boolean isDepreciated() { Object oo = get_Value(COLUMNNAME_IsDepreciated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1226,10 +1256,10 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste public boolean isDisposed() { Object oo = get_Value(COLUMNNAME_IsDisposed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1249,10 +1279,10 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste public boolean isFullyDepreciated() { Object oo = get_Value(COLUMNNAME_IsFullyDepreciated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1272,10 +1302,10 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste public boolean isInPosession() { Object oo = get_Value(COLUMNNAME_IsInPosession); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1295,10 +1325,10 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste public boolean isOwned() { Object oo = get_Value(COLUMNNAME_IsOwned); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Class.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Class.java index 6c081c2aaf..58383b5564 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Class.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Class.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for A_Asset_Class - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Class") -public class X_A_Asset_Class extends PO implements I_A_Asset_Class, I_Persistent +public class X_A_Asset_Class extends PO implements I_A_Asset_Class, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Class (Properties ctx, int A_Asset_Class_ID, String trxName) @@ -60,6 +60,34 @@ public class X_A_Asset_Class extends PO implements I_A_Asset_Class, I_Persistent } */ } + /** Standard Constructor */ + public X_A_Asset_Class (Properties ctx, String A_Asset_Class_UU, String trxName) + { + super (ctx, A_Asset_Class_UU, trxName); + /** if (A_Asset_Class_UU == null) + { + setA_Asset_Class_ID (0); + setA_Life_Period_Max (0); + setA_Life_Period_Min (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Class (Properties ctx, String A_Asset_Class_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Class_UU, trxName, virtualColumns); + /** if (A_Asset_Class_UU == null) + { + setA_Asset_Class_ID (0); + setA_Life_Period_Max (0); + setA_Life_Period_Min (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_A_Asset_Class (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +95,7 @@ public class X_A_Asset_Class extends PO implements I_A_Asset_Class, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Delivery.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Delivery.java index 3b882d10c0..c4cc2d97df 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Delivery.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Delivery.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Delivery - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Delivery") -public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Persistent +public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Delivery (Properties ctx, int A_Asset_Delivery_ID, String trxName) @@ -58,6 +58,30 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers } */ } + /** Standard Constructor */ + public X_A_Asset_Delivery (Properties ctx, String A_Asset_Delivery_UU, String trxName) + { + super (ctx, A_Asset_Delivery_UU, trxName); + /** if (A_Asset_Delivery_UU == null) + { + setA_Asset_Delivery_ID (0); + setA_Asset_ID (0); + setMovementDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Delivery (Properties ctx, String A_Asset_Delivery_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Delivery_UU, trxName, virtualColumns); + /** if (A_Asset_Delivery_UU == null) + { + setA_Asset_Delivery_ID (0); + setA_Asset_ID (0); + setMovementDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_A_Asset_Delivery (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +89,7 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -306,7 +330,7 @@ public class X_A_Asset_Delivery extends PO implements I_A_Asset_Delivery, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getMovementDate())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Disposed.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Disposed.java index 3444b436c3..06fca5a0c7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Disposed.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Disposed.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Disposed - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Disposed") -public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Persistent +public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Disposed (Properties ctx, int A_Asset_Disposed_ID, String trxName) @@ -108,6 +108,78 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers } */ } + /** Standard Constructor */ + public X_A_Asset_Disposed (Properties ctx, String A_Asset_Disposed_UU, String trxName) + { + super (ctx, A_Asset_Disposed_UU, trxName); + /** if (A_Asset_Disposed_UU == null) + { + setA_Accumulated_Depr (Env.ZERO); +// 0 + setA_Accumulated_Depr_Delta (Env.ZERO); +// 0 + setA_Activation_Method (null); +// 'AA' + setA_Asset_Disposed_ID (0); + setA_Asset_ID (0); + setA_Disposal_Amt (Env.ZERO); +// 0 + setA_Disposed_Date (new Timestamp( System.currentTimeMillis() )); + setA_Disposed_Method (null); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @Date@ + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @Date@ + setDocumentNo (null); + setExpense (Env.ZERO); +// 0 + setIsApproved (false); +// N + setPosted (false); +// N + setPostingType (null); +// A + setProcessed (false); + setProcessing (false); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Disposed (Properties ctx, String A_Asset_Disposed_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Disposed_UU, trxName, virtualColumns); + /** if (A_Asset_Disposed_UU == null) + { + setA_Accumulated_Depr (Env.ZERO); +// 0 + setA_Accumulated_Depr_Delta (Env.ZERO); +// 0 + setA_Activation_Method (null); +// 'AA' + setA_Asset_Disposed_ID (0); + setA_Asset_ID (0); + setA_Disposal_Amt (Env.ZERO); +// 0 + setA_Disposed_Date (new Timestamp( System.currentTimeMillis() )); + setA_Disposed_Method (null); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @Date@ + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @Date@ + setDocumentNo (null); + setExpense (Env.ZERO); +// 0 + setIsApproved (false); +// N + setPosted (false); +// N + setPostingType (null); +// A + setProcessed (false); + setProcessing (false); + } */ + } + /** Load Constructor */ public X_A_Asset_Disposed (Properties ctx, ResultSet rs, String trxName) { @@ -115,7 +187,7 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -234,7 +306,7 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Disposed_ID())); } @@ -754,10 +826,10 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -777,10 +849,10 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers public boolean isDisposed() { Object oo = get_Value(COLUMNNAME_IsDisposed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -800,10 +872,10 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -852,10 +924,10 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -893,10 +965,10 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Group.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Group.java index 8675883775..e18acb16e6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Group.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Group.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Group - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Group") -public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent +public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Group (Properties ctx, int A_Asset_Group_ID, String trxName) @@ -73,6 +73,46 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent } */ } + /** Standard Constructor */ + public X_A_Asset_Group (Properties ctx, String A_Asset_Group_UU, String trxName) + { + super (ctx, A_Asset_Group_UU, trxName); + /** if (A_Asset_Group_UU == null) + { + setA_Asset_Group_ID (0); + setIsCreateAsActive (true); +// Y + setIsDefault (false); +// 'N' + setIsDepreciated (false); + setIsOneAssetPerUOM (false); + setIsOwned (false); + setIsTrackIssues (false); +// N + setName (null); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Group (Properties ctx, String A_Asset_Group_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Group_UU, trxName, virtualColumns); + /** if (A_Asset_Group_UU == null) + { + setA_Asset_Group_ID (0); + setIsCreateAsActive (true); +// Y + setIsDefault (false); +// 'N' + setIsDepreciated (false); + setIsOneAssetPerUOM (false); + setIsOwned (false); + setIsTrackIssues (false); +// N + setName (null); + } */ + } + /** Load Constructor */ public X_A_Asset_Group (Properties ctx, ResultSet rs, String trxName) { @@ -80,7 +120,7 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -153,7 +193,7 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Group_ID())); } @@ -246,10 +286,10 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent public boolean isCreateAsActive() { Object oo = get_Value(COLUMNNAME_IsCreateAsActive); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -269,10 +309,10 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -292,10 +332,10 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent public boolean isDepreciated() { Object oo = get_Value(COLUMNNAME_IsDepreciated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -314,10 +354,10 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent public boolean isFixedAsset() { Object oo = get_Value(COLUMNNAME_IsFixedAsset); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -337,10 +377,10 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent public boolean isOneAssetPerUOM() { Object oo = get_Value(COLUMNNAME_IsOneAssetPerUOM); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -360,10 +400,10 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent public boolean isOwned() { Object oo = get_Value(COLUMNNAME_IsOwned); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -383,10 +423,10 @@ public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent public boolean isTrackIssues() { Object oo = get_Value(COLUMNNAME_IsTrackIssues); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Group_Acct.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Group_Acct.java index 22612027b9..ede9b21eec 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Group_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Group_Acct.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Group_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Group_Acct") -public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_Persistent +public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Group_Acct (Properties ctx, int A_Asset_Group_Acct_ID, String trxName) @@ -89,6 +89,60 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ } */ } + /** Standard Constructor */ + public X_A_Asset_Group_Acct (Properties ctx, String A_Asset_Group_Acct_UU, String trxName) + { + super (ctx, A_Asset_Group_Acct_UU, trxName); + /** if (A_Asset_Group_Acct_UU == null) + { + setA_Accumdepreciation_Acct (0); + setA_Asset_Acct (0); + setA_Asset_Group_Acct_ID (0); + setA_Asset_Group_ID (0); + setA_Depreciation_Acct (0); + setA_Depreciation_F_ID (0); + setA_Depreciation_ID (0); + setA_Disposal_Loss_Acct (0); + setA_Disposal_Revenue_Acct (0); + setA_Split_Percent (Env.ZERO); +// 1 + setC_AcctSchema_ID (0); + setPostingType (null); +// 'A' + setUseLifeMonths_F (0); +// 0 + setUseLifeYears_F (Env.ZERO); +// 0 + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Group_Acct (Properties ctx, String A_Asset_Group_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Group_Acct_UU, trxName, virtualColumns); + /** if (A_Asset_Group_Acct_UU == null) + { + setA_Accumdepreciation_Acct (0); + setA_Asset_Acct (0); + setA_Asset_Group_Acct_ID (0); + setA_Asset_Group_ID (0); + setA_Depreciation_Acct (0); + setA_Depreciation_F_ID (0); + setA_Depreciation_ID (0); + setA_Disposal_Loss_Acct (0); + setA_Disposal_Revenue_Acct (0); + setA_Split_Percent (Env.ZERO); +// 1 + setC_AcctSchema_ID (0); + setPostingType (null); +// 'A' + setUseLifeMonths_F (0); +// 0 + setUseLifeYears_F (Env.ZERO); +// 0 + } */ + } + /** Load Constructor */ public X_A_Asset_Group_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -96,7 +150,7 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -189,7 +243,7 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Group_Acct_ID())); } @@ -830,10 +884,10 @@ public class X_A_Asset_Group_Acct extends PO implements I_A_Asset_Group_Acct, I_ public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Fin.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Fin.java index db1d9fe2d4..2fdcc5ffea 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Fin.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Fin.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Info_Fin - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Info_Fin") -public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Persistent +public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Info_Fin (Properties ctx, int A_Asset_Info_Fin_ID, String trxName) @@ -58,6 +58,28 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers } */ } + /** Standard Constructor */ + public X_A_Asset_Info_Fin (Properties ctx, String A_Asset_Info_Fin_UU, String trxName) + { + super (ctx, A_Asset_Info_Fin_UU, trxName); + /** if (A_Asset_Info_Fin_UU == null) + { + setA_Asset_ID (0); + setA_Asset_Info_Fin_ID (0); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Info_Fin (Properties ctx, String A_Asset_Info_Fin_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Info_Fin_UU, trxName, virtualColumns); + /** if (A_Asset_Info_Fin_UU == null) + { + setA_Asset_ID (0); + setA_Asset_Info_Fin_ID (0); + } */ + } + /** Load Constructor */ public X_A_Asset_Info_Fin (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +87,7 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -138,7 +160,7 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Fin_ID())); } @@ -271,10 +293,10 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers public boolean isA_Purchase_Option() { Object oo = get_Value(COLUMNNAME_A_Purchase_Option); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -376,10 +398,10 @@ public class X_A_Asset_Info_Fin extends PO implements I_A_Asset_Info_Fin, I_Pers public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Ins.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Ins.java index 3eea1a3069..1838109495 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Ins.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Ins.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Info_Ins - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Info_Ins") -public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Persistent +public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Info_Ins (Properties ctx, int A_Asset_Info_Ins_ID, String trxName) @@ -58,6 +58,28 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers } */ } + /** Standard Constructor */ + public X_A_Asset_Info_Ins (Properties ctx, String A_Asset_Info_Ins_UU, String trxName) + { + super (ctx, A_Asset_Info_Ins_UU, trxName); + /** if (A_Asset_Info_Ins_UU == null) + { + setA_Asset_ID (0); + setA_Asset_Info_Ins_ID (0); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Info_Ins (Properties ctx, String A_Asset_Info_Ins_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Info_Ins_UU, trxName, virtualColumns); + /** if (A_Asset_Info_Ins_UU == null) + { + setA_Asset_ID (0); + setA_Asset_Info_Ins_ID (0); + } */ + } + /** Load Constructor */ public X_A_Asset_Info_Ins (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +87,7 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -132,7 +154,7 @@ public class X_A_Asset_Info_Ins extends PO implements I_A_Asset_Info_Ins, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Ins_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Lic.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Lic.java index b4d13b15c7..02a3882466 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Lic.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Lic.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Info_Lic - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Info_Lic") -public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Persistent +public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Info_Lic (Properties ctx, int A_Asset_Info_Lic_ID, String trxName) @@ -58,6 +58,28 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers } */ } + /** Standard Constructor */ + public X_A_Asset_Info_Lic (Properties ctx, String A_Asset_Info_Lic_UU, String trxName) + { + super (ctx, A_Asset_Info_Lic_UU, trxName); + /** if (A_Asset_Info_Lic_UU == null) + { + setA_Asset_ID (0); + setA_Asset_Info_Lic_ID (0); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Info_Lic (Properties ctx, String A_Asset_Info_Lic_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Info_Lic_UU, trxName, virtualColumns); + /** if (A_Asset_Info_Lic_UU == null) + { + setA_Asset_ID (0); + setA_Asset_Info_Lic_ID (0); + } */ + } + /** Load Constructor */ public X_A_Asset_Info_Lic (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +87,7 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -138,7 +160,7 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Lic_ID())); } @@ -251,10 +273,10 @@ public class X_A_Asset_Info_Lic extends PO implements I_A_Asset_Info_Lic, I_Pers public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Oth.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Oth.java index 02bc72dcb3..04419b44d4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Oth.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Oth.java @@ -19,19 +19,19 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for A_Asset_Info_Oth - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Info_Oth") -public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Persistent +public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Info_Oth (Properties ctx, int A_Asset_Info_Oth_ID, String trxName) @@ -55,6 +55,28 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers } */ } + /** Standard Constructor */ + public X_A_Asset_Info_Oth (Properties ctx, String A_Asset_Info_Oth_UU, String trxName) + { + super (ctx, A_Asset_Info_Oth_UU, trxName); + /** if (A_Asset_Info_Oth_UU == null) + { + setA_Asset_ID (0); + setA_Asset_Info_Oth_ID (0); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Info_Oth (Properties ctx, String A_Asset_Info_Oth_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Info_Oth_UU, trxName, virtualColumns); + /** if (A_Asset_Info_Oth_UU == null) + { + setA_Asset_ID (0); + setA_Asset_Info_Oth_ID (0); + } */ + } + /** Load Constructor */ public X_A_Asset_Info_Oth (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -79,7 +101,7 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers public String toString() { StringBuilder sb = new StringBuilder ("X_A_Asset_Info_Oth[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -126,12 +148,12 @@ public class X_A_Asset_Info_Oth extends PO implements I_A_Asset_Info_Oth, I_Pers return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Oth_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getA_Asset_Info_Oth_ID())); } /** Set A_Asset_Info_Oth_UU. diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Tax.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Tax.java index 9bdf73cf14..8eeded6a69 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Tax.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Info_Tax.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Info_Tax - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Info_Tax") -public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Persistent +public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Info_Tax (Properties ctx, int A_Asset_Info_Tax_ID, String trxName) @@ -55,6 +55,28 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers } */ } + /** Standard Constructor */ + public X_A_Asset_Info_Tax (Properties ctx, String A_Asset_Info_Tax_UU, String trxName) + { + super (ctx, A_Asset_Info_Tax_UU, trxName); + /** if (A_Asset_Info_Tax_UU == null) + { + setA_Asset_ID (0); + setA_Asset_Info_Tax_ID (0); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Info_Tax (Properties ctx, String A_Asset_Info_Tax_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Info_Tax_UU, trxName, virtualColumns); + /** if (A_Asset_Info_Tax_UU == null) + { + setA_Asset_ID (0); + setA_Asset_Info_Tax_ID (0); + } */ + } + /** Load Constructor */ public X_A_Asset_Info_Tax (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -129,7 +151,7 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Info_Tax_ID())); } @@ -206,10 +228,10 @@ public class X_A_Asset_Info_Tax extends PO implements I_A_Asset_Info_Tax, I_Pers public boolean isA_New_Used() { Object oo = get_Value(COLUMNNAME_A_New_Used); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Product.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Product.java index 2dfe275923..aa12360fe7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Product.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Product.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for A_Asset_Product - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Product") -public class X_A_Asset_Product extends PO implements I_A_Asset_Product, I_Persistent +public class X_A_Asset_Product extends PO implements I_A_Asset_Product, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Product (Properties ctx, int A_Asset_Product_ID, String trxName) @@ -64,6 +64,36 @@ public class X_A_Asset_Product extends PO implements I_A_Asset_Product, I_Persis } */ } + /** Standard Constructor */ + public X_A_Asset_Product (Properties ctx, String A_Asset_Product_UU, String trxName) + { + super (ctx, A_Asset_Product_UU, trxName); + /** if (A_Asset_Product_UU == null) + { + setA_Asset_ID (0); + setA_Asset_Product_ID (0); + setA_QTY_Current (Env.ZERO); +// 0 + setM_AttributeSetInstance_ID (0); + setM_Product_ID (0); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Product (Properties ctx, String A_Asset_Product_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Product_UU, trxName, virtualColumns); + /** if (A_Asset_Product_UU == null) + { + setA_Asset_ID (0); + setA_Asset_Product_ID (0); + setA_QTY_Current (Env.ZERO); +// 0 + setM_AttributeSetInstance_ID (0); + setM_Product_ID (0); + } */ + } + /** Load Constructor */ public X_A_Asset_Product (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +101,7 @@ public class X_A_Asset_Product extends PO implements I_A_Asset_Product, I_Persis } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Retirement.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Retirement.java index fafc015b98..08200d3c78 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Retirement.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Retirement.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Retirement - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Retirement") -public class X_A_Asset_Retirement extends PO implements I_A_Asset_Retirement, I_Persistent +public class X_A_Asset_Retirement extends PO implements I_A_Asset_Retirement, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Retirement (Properties ctx, int A_Asset_Retirement_ID, String trxName) @@ -61,6 +61,32 @@ public class X_A_Asset_Retirement extends PO implements I_A_Asset_Retirement, I_ } */ } + /** Standard Constructor */ + public X_A_Asset_Retirement (Properties ctx, String A_Asset_Retirement_UU, String trxName) + { + super (ctx, A_Asset_Retirement_UU, trxName); + /** if (A_Asset_Retirement_UU == null) + { + setA_Asset_ID (0); + setA_Asset_Retirement_ID (0); + setAssetMarketValueAmt (Env.ZERO); + setAssetValueAmt (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Retirement (Properties ctx, String A_Asset_Retirement_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Retirement_UU, trxName, virtualColumns); + /** if (A_Asset_Retirement_UU == null) + { + setA_Asset_ID (0); + setA_Asset_Retirement_ID (0); + setAssetMarketValueAmt (Env.ZERO); + setAssetValueAmt (Env.ZERO); + } */ + } + /** Load Constructor */ public X_A_Asset_Retirement (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +94,7 @@ public class X_A_Asset_Retirement extends PO implements I_A_Asset_Retirement, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -142,7 +168,7 @@ public class X_A_Asset_Retirement extends PO implements I_A_Asset_Retirement, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Retirement_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval.java index 5bf6d9aa7a..115b851ef4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Reval - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Reval") -public class X_A_Asset_Reval extends PO implements I_A_Asset_Reval, I_Persistent +public class X_A_Asset_Reval extends PO implements I_A_Asset_Reval, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Reval (Properties ctx, int A_Asset_Reval_ID, String trxName) @@ -90,6 +90,60 @@ public class X_A_Asset_Reval extends PO implements I_A_Asset_Reval, I_Persistent } */ } + /** Standard Constructor */ + public X_A_Asset_Reval (Properties ctx, String A_Asset_Reval_UU, String trxName) + { + super (ctx, A_Asset_Reval_UU, trxName); + /** if (A_Asset_Reval_UU == null) + { + setA_Asset_Cost_Change (Env.ZERO); +// 0 + setA_Asset_ID (0); + setA_Asset_Reval_ID (0); + setA_Change_Acumulated_Depr (Env.ZERO); +// 0 + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// CO + setDocStatus (null); +// DR + setPostingType (null); +// A + setProcessed (false); +// N + setProcessing (false); +// N + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Reval (Properties ctx, String A_Asset_Reval_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Reval_UU, trxName, virtualColumns); + /** if (A_Asset_Reval_UU == null) + { + setA_Asset_Cost_Change (Env.ZERO); +// 0 + setA_Asset_ID (0); + setA_Asset_Reval_ID (0); + setA_Change_Acumulated_Depr (Env.ZERO); +// 0 + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// CO + setDocStatus (null); +// DR + setPostingType (null); +// A + setProcessed (false); +// N + setProcessing (false); +// N + } */ + } + /** Load Constructor */ public X_A_Asset_Reval (Properties ctx, ResultSet rs, String trxName) { @@ -97,7 +151,7 @@ public class X_A_Asset_Reval extends PO implements I_A_Asset_Reval, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -224,7 +278,7 @@ public class X_A_Asset_Reval extends PO implements I_A_Asset_Reval, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Reval_ID())); } @@ -414,10 +468,10 @@ public class X_A_Asset_Reval extends PO implements I_A_Asset_Reval, I_Persistent public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -466,10 +520,10 @@ public class X_A_Asset_Reval extends PO implements I_A_Asset_Reval, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -507,10 +561,10 @@ public class X_A_Asset_Reval extends PO implements I_A_Asset_Reval, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval_Entry.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval_Entry.java index 7c75b26f4a..d3154f8cc9 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval_Entry.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval_Entry.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Reval_Entry - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Reval_Entry") -public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, I_Persistent +public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Reval_Entry (Properties ctx, int A_Asset_Reval_Entry_ID, String trxName) @@ -76,6 +76,48 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, } */ } + /** Standard Constructor */ + public X_A_Asset_Reval_Entry (Properties ctx, String A_Asset_Reval_Entry_UU, String trxName) + { + super (ctx, A_Asset_Reval_Entry_UU, trxName); + /** if (A_Asset_Reval_Entry_UU == null) + { + setA_Asset_Reval_Entry_ID (0); + setA_Effective_Date (new Timestamp( System.currentTimeMillis() )); + setA_Reval_Cal_Method (null); + setA_Reval_Effective_Date (null); + setA_Reval_Multiplier (null); + setA_Rev_Code (null); + setC_Currency_ID (0); + setDescription (null); + setDocumentNo (null); + setPostingType (null); + setProcessed (false); + setProcessing (false); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Reval_Entry (Properties ctx, String A_Asset_Reval_Entry_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Reval_Entry_UU, trxName, virtualColumns); + /** if (A_Asset_Reval_Entry_UU == null) + { + setA_Asset_Reval_Entry_ID (0); + setA_Effective_Date (new Timestamp( System.currentTimeMillis() )); + setA_Reval_Cal_Method (null); + setA_Reval_Effective_Date (null); + setA_Reval_Multiplier (null); + setA_Rev_Code (null); + setC_Currency_ID (0); + setDescription (null); + setDocumentNo (null); + setPostingType (null); + setProcessed (false); + setProcessing (false); + } */ + } + /** Load Constructor */ public X_A_Asset_Reval_Entry (Properties ctx, ResultSet rs, String trxName) { @@ -83,7 +125,7 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -128,7 +170,7 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Reval_Entry_ID())); } @@ -504,10 +546,10 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -526,10 +568,10 @@ public class X_A_Asset_Reval_Entry extends PO implements I_A_Asset_Reval_Entry, public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval_Index.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval_Index.java index 845a3b2234..f7f4b0a902 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval_Index.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Reval_Index.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Reval_Index - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Reval_Index") -public class X_A_Asset_Reval_Index extends PO implements I_A_Asset_Reval_Index, I_Persistent +public class X_A_Asset_Reval_Index extends PO implements I_A_Asset_Reval_Index, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Reval_Index (Properties ctx, int A_Asset_Reval_Index_ID, String trxName) @@ -64,6 +64,34 @@ public class X_A_Asset_Reval_Index extends PO implements I_A_Asset_Reval_Index, } */ } + /** Standard Constructor */ + public X_A_Asset_Reval_Index (Properties ctx, String A_Asset_Reval_Index_UU, String trxName) + { + super (ctx, A_Asset_Reval_Index_UU, trxName); + /** if (A_Asset_Reval_Index_UU == null) + { + setA_Asset_Reval_Index_ID (0); + setA_Effective_Date (new Timestamp( System.currentTimeMillis() )); + setA_Reval_Code (null); + setA_Reval_Multiplier (null); + setA_Reval_Rate (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Reval_Index (Properties ctx, String A_Asset_Reval_Index_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Reval_Index_UU, trxName, virtualColumns); + /** if (A_Asset_Reval_Index_UU == null) + { + setA_Asset_Reval_Index_ID (0); + setA_Effective_Date (new Timestamp( System.currentTimeMillis() )); + setA_Reval_Code (null); + setA_Reval_Multiplier (null); + setA_Reval_Rate (Env.ZERO); + } */ + } + /** Load Constructor */ public X_A_Asset_Reval_Index (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +99,7 @@ public class X_A_Asset_Reval_Index extends PO implements I_A_Asset_Reval_Index, } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -116,7 +144,7 @@ public class X_A_Asset_Reval_Index extends PO implements I_A_Asset_Reval_Index, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Reval_Index_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Split.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Split.java index b68cf09c34..5f77956076 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Split.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Split.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Split - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Split") -public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent +public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Split (Properties ctx, int A_Asset_Split_ID, String trxName) @@ -92,6 +92,62 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent } */ } + /** Standard Constructor */ + public X_A_Asset_Split (Properties ctx, String A_Asset_Split_UU, String trxName) + { + super (ctx, A_Asset_Split_UU, trxName); + /** if (A_Asset_Split_UU == null) + { + setA_Asset_Acct_ID (0); +// @SQL=SELECT A_Asset_Acct_ID FROM A_Asset_Acct WHERE A_Asset_Acct.A_Asset_Acct_ID=@A_Asset_Acct_ID@ + setA_Asset_ID (0); +// @SQL=SELECT A_Asset_ID FROM A_Asset WHERE A_Asset.A_Asset_ID=@A_Asset_ID@ + setA_Asset_Split_ID (0); + setA_Depreciation_Workfile_ID (0); +// @SQL=SELECT A_Depreciation_Workfile_ID FROM A_Depreciation_Workfile WHERE A_Depreciation_Workfile.A_Depreciation_Workfile_ID=@A_Depreciation_Workfile_ID@ + setA_QTY_Current (Env.ZERO); +// @SQL=SELECT A_QTY_Current FROM A_Depreciation_Workfile WHERE A_Depreciation_Workfile.A_Asset_ID=@A_Asset_ID@ and A_Depreciation_Workfile.PostingType='@PostingType@' + setA_Split_Type (null); + setA_Transfer_Balance_IS (false); + setC_Period_ID (0); +// @Date@ + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @Date@ + setPostingType (null); +// @SQL=SELECT PostingType FROM A_Depreciation_Workfile WHERE A_Depreciation_Workfile.A_Depreciation_Workfile_ID=@A_Depreciation_Workfile_ID@ + setProcessed (false); + setProcessing (false); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Split (Properties ctx, String A_Asset_Split_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Split_UU, trxName, virtualColumns); + /** if (A_Asset_Split_UU == null) + { + setA_Asset_Acct_ID (0); +// @SQL=SELECT A_Asset_Acct_ID FROM A_Asset_Acct WHERE A_Asset_Acct.A_Asset_Acct_ID=@A_Asset_Acct_ID@ + setA_Asset_ID (0); +// @SQL=SELECT A_Asset_ID FROM A_Asset WHERE A_Asset.A_Asset_ID=@A_Asset_ID@ + setA_Asset_Split_ID (0); + setA_Depreciation_Workfile_ID (0); +// @SQL=SELECT A_Depreciation_Workfile_ID FROM A_Depreciation_Workfile WHERE A_Depreciation_Workfile.A_Depreciation_Workfile_ID=@A_Depreciation_Workfile_ID@ + setA_QTY_Current (Env.ZERO); +// @SQL=SELECT A_QTY_Current FROM A_Depreciation_Workfile WHERE A_Depreciation_Workfile.A_Asset_ID=@A_Asset_ID@ and A_Depreciation_Workfile.PostingType='@PostingType@' + setA_Split_Type (null); + setA_Transfer_Balance_IS (false); + setC_Period_ID (0); +// @Date@ + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @Date@ + setPostingType (null); +// @SQL=SELECT PostingType FROM A_Depreciation_Workfile WHERE A_Depreciation_Workfile.A_Depreciation_Workfile_ID=@A_Depreciation_Workfile_ID@ + setProcessed (false); + setProcessing (false); + } */ + } + /** Load Constructor */ public X_A_Asset_Split (Properties ctx, ResultSet rs, String trxName) { @@ -99,7 +155,7 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -247,7 +303,7 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Split_ID())); } @@ -397,10 +453,10 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent public boolean isA_Transfer_Balance_IS() { Object oo = get_Value(COLUMNNAME_A_Transfer_Balance_IS); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -493,10 +549,10 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -515,10 +571,10 @@ public class X_A_Asset_Split extends PO implements I_A_Asset_Split, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Transfer.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Transfer.java index b51edea6ee..f60cafd1e4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Transfer.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Transfer.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Transfer - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Transfer") -public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Persistent +public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Transfer (Properties ctx, int A_Asset_Transfer_ID, String trxName) @@ -112,6 +112,82 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers } */ } + /** Standard Constructor */ + public X_A_Asset_Transfer (Properties ctx, String A_Asset_Transfer_UU, String trxName) + { + super (ctx, A_Asset_Transfer_UU, trxName); + /** if (A_Asset_Transfer_UU == null) + { + setA_Accumdepreciation_New_Acct (0); + setA_Asset_ID (0); + setA_Asset_New_Acct (0); + setA_Asset_Transfer_ID (0); + setA_CapvsExp (null); +// 'Cap' + setA_Depreciation_New_Acct (0); + setA_Disposal_Loss_New_Acct (0); + setA_Disposal_Revenue_New_Acct (0); + setA_Period_End (0); + setA_Period_Start (0); + setA_Split_Percent (Env.ZERO); +// 1 + setA_Transfer_Balance (true); +// Y + setA_Transfer_Balance_IS (false); + setC_AcctSchema_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// CO + setDocStatus (null); +// DR + setPostingType (null); +// A + setProcessed (false); +// N + setProcessing (false); +// N + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Transfer (Properties ctx, String A_Asset_Transfer_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Transfer_UU, trxName, virtualColumns); + /** if (A_Asset_Transfer_UU == null) + { + setA_Accumdepreciation_New_Acct (0); + setA_Asset_ID (0); + setA_Asset_New_Acct (0); + setA_Asset_Transfer_ID (0); + setA_CapvsExp (null); +// 'Cap' + setA_Depreciation_New_Acct (0); + setA_Disposal_Loss_New_Acct (0); + setA_Disposal_Revenue_New_Acct (0); + setA_Period_End (0); + setA_Period_Start (0); + setA_Split_Percent (Env.ZERO); +// 1 + setA_Transfer_Balance (true); +// Y + setA_Transfer_Balance_IS (false); + setC_AcctSchema_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// CO + setDocStatus (null); +// DR + setPostingType (null); +// A + setProcessed (false); +// N + setProcessing (false); +// N + } */ + } + /** Load Constructor */ public X_A_Asset_Transfer (Properties ctx, ResultSet rs, String trxName) { @@ -119,7 +195,7 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -357,7 +433,7 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Transfer_ID())); } @@ -691,10 +767,10 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers public boolean isA_Transfer_Balance() { Object oo = get_Value(COLUMNNAME_A_Transfer_Balance); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -713,10 +789,10 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers public boolean isA_Transfer_Balance_IS() { Object oo = get_Value(COLUMNNAME_A_Transfer_Balance_IS); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -930,10 +1006,10 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -982,10 +1058,10 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1023,10 +1099,10 @@ public class X_A_Asset_Transfer extends PO implements I_A_Asset_Transfer, I_Pers public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Type.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Type.java index 04637cee76..bbd5296715 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Type.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Type.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Type - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Type") -public class X_A_Asset_Type extends PO implements I_A_Asset_Type, I_Persistent +public class X_A_Asset_Type extends PO implements I_A_Asset_Type, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Type (Properties ctx, int A_Asset_Type_ID, String trxName) @@ -69,6 +69,42 @@ public class X_A_Asset_Type extends PO implements I_A_Asset_Type, I_Persistent } */ } + /** Standard Constructor */ + public X_A_Asset_Type (Properties ctx, String A_Asset_Type_UU, String trxName) + { + super (ctx, A_Asset_Type_UU, trxName); + /** if (A_Asset_Type_UU == null) + { + setA_Asset_Type_ID (0); + setIsDepreciable (null); +// 'XX' + setIsInPosession (null); +// 'XX' + setIsOwned (null); +// 'XX' + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Type (Properties ctx, String A_Asset_Type_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Type_UU, trxName, virtualColumns); + /** if (A_Asset_Type_UU == null) + { + setA_Asset_Type_ID (0); + setIsDepreciable (null); +// 'XX' + setIsInPosession (null); +// 'XX' + setIsOwned (null); +// 'XX' + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_A_Asset_Type (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +112,7 @@ public class X_A_Asset_Type extends PO implements I_A_Asset_Type, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -255,7 +291,7 @@ public class X_A_Asset_Type extends PO implements I_A_Asset_Type, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Use.java b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Use.java index 8587373310..380af77941 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Asset_Use.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Asset_Use.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for A_Asset_Use - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Asset_Use") -public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent +public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Asset_Use (Properties ctx, int A_Asset_Use_ID, String trxName) @@ -62,6 +62,34 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent } */ } + /** Standard Constructor */ + public X_A_Asset_Use (Properties ctx, String A_Asset_Use_UU, String trxName) + { + super (ctx, A_Asset_Use_UU, trxName); + /** if (A_Asset_Use_UU == null) + { + setA_Asset_ID (0); +// @A_Asset_ID@ + setA_Asset_Use_ID (0); + setUseDate (new Timestamp( System.currentTimeMillis() )); + setUseUnits (0); + } */ + } + + /** Standard Constructor */ + public X_A_Asset_Use (Properties ctx, String A_Asset_Use_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Asset_Use_UU, trxName, virtualColumns); + /** if (A_Asset_Use_UU == null) + { + setA_Asset_ID (0); +// @A_Asset_ID@ + setA_Asset_Use_ID (0); + setUseDate (new Timestamp( System.currentTimeMillis() )); + setUseUnits (0); + } */ + } + /** Load Constructor */ public X_A_Asset_Use (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +97,7 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -142,7 +170,7 @@ public class X_A_Asset_Use extends PO implements I_A_Asset_Use, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Asset_Use_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation.java index 8fec71ff75..6eb6911b52 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for A_Depreciation - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Depreciation") -public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persistent +public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Depreciation (Properties ctx, int A_Depreciation_ID, String trxName) @@ -60,6 +60,34 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste } */ } + /** Standard Constructor */ + public X_A_Depreciation (Properties ctx, String A_Depreciation_UU, String trxName) + { + super (ctx, A_Depreciation_UU, trxName); + /** if (A_Depreciation_UU == null) + { + setA_Depreciation_ID (0); + setDepreciationType (null); + setName (null); + setProcessed (false); +// N + } */ + } + + /** Standard Constructor */ + public X_A_Depreciation (Properties ctx, String A_Depreciation_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Depreciation_UU, trxName, virtualColumns); + /** if (A_Depreciation_UU == null) + { + setA_Depreciation_ID (0); + setDepreciationType (null); + setName (null); + setProcessed (false); +// N + } */ + } + /** Load Constructor */ public X_A_Depreciation (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +95,7 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -185,10 +213,10 @@ public class X_A_Depreciation extends PO implements I_A_Depreciation, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Build.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Build.java index 47ce485143..6dc35d30fd 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Build.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Build.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Build - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Depreciation_Build") -public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build, I_Persistent +public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Depreciation_Build (Properties ctx, int A_Depreciation_Build_ID, String trxName) @@ -54,6 +54,26 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build } */ } + /** Standard Constructor */ + public X_A_Depreciation_Build (Properties ctx, String A_Depreciation_Build_UU, String trxName) + { + super (ctx, A_Depreciation_Build_UU, trxName); + /** if (A_Depreciation_Build_UU == null) + { + setA_Depreciation_Build_ID (0); + } */ + } + + /** Standard Constructor */ + public X_A_Depreciation_Build (Properties ctx, String A_Depreciation_Build_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Depreciation_Build_UU, trxName, virtualColumns); + /** if (A_Depreciation_Build_UU == null) + { + setA_Depreciation_Build_ID (0); + } */ + } + /** Load Constructor */ public X_A_Depreciation_Build (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +81,7 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -106,7 +126,7 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Build_ID())); } @@ -302,10 +322,10 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -324,10 +344,10 @@ public class X_A_Depreciation_Build extends PO implements I_A_Depreciation_Build public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Convention.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Convention.java index 79d403719c..ef6897fb09 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Convention.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Convention.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for A_Depreciation_Convention - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Depreciation_Convention") -public class X_A_Depreciation_Convention extends PO implements I_A_Depreciation_Convention, I_Persistent +public class X_A_Depreciation_Convention extends PO implements I_A_Depreciation_Convention, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Depreciation_Convention (Properties ctx, int A_Depreciation_Convention_ID, String trxName) @@ -56,6 +56,30 @@ public class X_A_Depreciation_Convention extends PO implements I_A_Depreciation_ } */ } + /** Standard Constructor */ + public X_A_Depreciation_Convention (Properties ctx, String A_Depreciation_Convention_UU, String trxName) + { + super (ctx, A_Depreciation_Convention_UU, trxName); + /** if (A_Depreciation_Convention_UU == null) + { + setA_Depreciation_Convention_ID (0); + setProcessed (false); +// N + } */ + } + + /** Standard Constructor */ + public X_A_Depreciation_Convention (Properties ctx, String A_Depreciation_Convention_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Depreciation_Convention_UU, trxName, virtualColumns); + /** if (A_Depreciation_Convention_UU == null) + { + setA_Depreciation_Convention_ID (0); + setProcessed (false); +// N + } */ + } + /** Load Constructor */ public X_A_Depreciation_Convention (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_A_Depreciation_Convention extends PO implements I_A_Depreciation_ } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -181,10 +205,10 @@ public class X_A_Depreciation_Convention extends PO implements I_A_Depreciation_ public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -203,10 +227,10 @@ public class X_A_Depreciation_Convention extends PO implements I_A_Depreciation_ public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Entry.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Entry.java index f39fa6b67e..9ab6b033d2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Entry.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Entry.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Entry - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Depreciation_Entry") -public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry, I_Persistent +public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Depreciation_Entry (Properties ctx, int A_Depreciation_Entry_ID, String trxName) @@ -100,6 +100,70 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry } */ } + /** Standard Constructor */ + public X_A_Depreciation_Entry (Properties ctx, String A_Depreciation_Entry_UU, String trxName) + { + super (ctx, A_Depreciation_Entry_UU, trxName); + /** if (A_Depreciation_Entry_UU == null) + { + setA_Depreciation_Entry_ID (0); + setC_AcctSchema_ID (0); + setC_Currency_ID (0); +// @$C_Currency_ID@ + setC_DocType_ID (0); + setC_Period_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @Date@ + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// 'CO' + setDocStatus (null); +// 'DR' + setDocumentNo (null); + setIsApproved (false); +// @#IsCanApproveOwnDoc@ + setPosted (false); +// 'N' + setPostingType (null); +// 'A' + setProcessed (false); + setProcessing (false); + } */ + } + + /** Standard Constructor */ + public X_A_Depreciation_Entry (Properties ctx, String A_Depreciation_Entry_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Depreciation_Entry_UU, trxName, virtualColumns); + /** if (A_Depreciation_Entry_UU == null) + { + setA_Depreciation_Entry_ID (0); + setC_AcctSchema_ID (0); + setC_Currency_ID (0); +// @$C_Currency_ID@ + setC_DocType_ID (0); + setC_Period_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @Date@ + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// 'CO' + setDocStatus (null); +// 'DR' + setDocumentNo (null); + setIsApproved (false); +// @#IsCanApproveOwnDoc@ + setPosted (false); +// 'N' + setPostingType (null); +// 'A' + setProcessed (false); + setProcessing (false); + } */ + } + /** Load Constructor */ public X_A_Depreciation_Entry (Properties ctx, ResultSet rs, String trxName) { @@ -107,7 +171,7 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -152,7 +216,7 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Entry_ID())); } @@ -482,10 +546,10 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -505,10 +569,10 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -557,10 +621,10 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -598,10 +662,10 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Exp.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Exp.java index 4ae55937cf..60403bb0f5 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Exp.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Exp.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Exp - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Depreciation_Exp") -public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_Persistent +public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Depreciation_Exp (Properties ctx, int A_Depreciation_Exp_ID, String trxName) @@ -88,6 +88,58 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ } */ } + /** Standard Constructor */ + public X_A_Depreciation_Exp (Properties ctx, String A_Depreciation_Exp_UU, String trxName) + { + super (ctx, A_Depreciation_Exp_UU, trxName); + /** if (A_Depreciation_Exp_UU == null) + { + setA_Accumulated_Depr_Delta (Env.ZERO); +// 0 + setA_Accumulated_Depr_F_Delta (Env.ZERO); +// 0 + setA_Asset_Cost_Delta (Env.ZERO); +// 0 + setA_Asset_ID (0); + setA_Depreciation_Exp_ID (0); + setA_Entry_Type (null); + setA_Period (0); + setDescription (null); + setExpense (Env.ZERO); +// 0 + setExpense_F (Env.ZERO); +// 0 + setIsDepreciated (false); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_A_Depreciation_Exp (Properties ctx, String A_Depreciation_Exp_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Depreciation_Exp_UU, trxName, virtualColumns); + /** if (A_Depreciation_Exp_UU == null) + { + setA_Accumulated_Depr_Delta (Env.ZERO); +// 0 + setA_Accumulated_Depr_F_Delta (Env.ZERO); +// 0 + setA_Asset_Cost_Delta (Env.ZERO); +// 0 + setA_Asset_ID (0); + setA_Depreciation_Exp_ID (0); + setA_Entry_Type (null); + setA_Period (0); + setDescription (null); + setExpense (Env.ZERO); +// 0 + setExpense_F (Env.ZERO); +// 0 + setIsDepreciated (false); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_A_Depreciation_Exp (Properties ctx, ResultSet rs, String trxName) { @@ -95,7 +147,7 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -417,7 +469,7 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Exp_ID())); } @@ -667,10 +719,10 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ public boolean isDepreciated() { Object oo = get_Value(COLUMNNAME_IsDepreciated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -719,10 +771,10 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -741,10 +793,10 @@ public class X_A_Depreciation_Exp extends PO implements I_A_Depreciation_Exp, I_ public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Forecast.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Forecast.java index a901532aee..6dd74e7f6d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Forecast.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Forecast.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Forecast - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Depreciation_Forecast") -public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Forecast, I_Persistent +public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Forecast, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Depreciation_Forecast (Properties ctx, int A_Depreciation_Forecast_ID, String trxName) @@ -62,6 +62,34 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo } */ } + /** Standard Constructor */ + public X_A_Depreciation_Forecast (Properties ctx, String A_Depreciation_Forecast_UU, String trxName) + { + super (ctx, A_Depreciation_Forecast_UU, trxName); + /** if (A_Depreciation_Forecast_UU == null) + { + setA_Depreciation_Forecast_ID (0); + setA_End_Asset_ID (0); + setA_Start_Asset_ID (0); + setDateDoc (new Timestamp( System.currentTimeMillis() )); + setPostingType (null); + } */ + } + + /** Standard Constructor */ + public X_A_Depreciation_Forecast (Properties ctx, String A_Depreciation_Forecast_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Depreciation_Forecast_UU, trxName, virtualColumns); + /** if (A_Depreciation_Forecast_UU == null) + { + setA_Depreciation_Forecast_ID (0); + setA_End_Asset_ID (0); + setA_Start_Asset_ID (0); + setDateDoc (new Timestamp( System.currentTimeMillis() )); + setPostingType (null); + } */ + } + /** Load Constructor */ public X_A_Depreciation_Forecast (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +97,7 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -114,7 +142,7 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Forecast_ID())); } @@ -247,10 +275,10 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -269,10 +297,10 @@ public class X_A_Depreciation_Forecast extends PO implements I_A_Depreciation_Fo public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Method.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Method.java index 6c419137b6..eb31f0a326 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Method.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Method.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Method - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Depreciation_Method") -public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Method, I_Persistent +public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Method, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Depreciation_Method (Properties ctx, int A_Depreciation_Method_ID, String trxName) @@ -57,6 +57,30 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth } */ } + /** Standard Constructor */ + public X_A_Depreciation_Method (Properties ctx, String A_Depreciation_Method_UU, String trxName) + { + super (ctx, A_Depreciation_Method_UU, trxName); + /** if (A_Depreciation_Method_UU == null) + { + setA_Depreciation_Method_ID (0); + setProcessed (false); +// N + } */ + } + + /** Standard Constructor */ + public X_A_Depreciation_Method (Properties ctx, String A_Depreciation_Method_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Depreciation_Method_UU, trxName, virtualColumns); + /** if (A_Depreciation_Method_UU == null) + { + setA_Depreciation_Method_ID (0); + setProcessed (false); +// N + } */ + } + /** Load Constructor */ public X_A_Depreciation_Method (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -109,7 +133,7 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Method_ID())); } @@ -190,10 +214,10 @@ public class X_A_Depreciation_Method extends PO implements I_A_Depreciation_Meth public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Table_Detail.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Table_Detail.java index 2cc9b28142..3dc8388d5f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Table_Detail.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Table_Detail.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Table_Detail - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Depreciation_Table_Detail") -public class X_A_Depreciation_Table_Detail extends PO implements I_A_Depreciation_Table_Detail, I_Persistent +public class X_A_Depreciation_Table_Detail extends PO implements I_A_Depreciation_Table_Detail, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Depreciation_Table_Detail (Properties ctx, int A_Depreciation_Table_Detail_ID, String trxName) @@ -63,6 +63,34 @@ public class X_A_Depreciation_Table_Detail extends PO implements I_A_Depreciatio } */ } + /** Standard Constructor */ + public X_A_Depreciation_Table_Detail (Properties ctx, String A_Depreciation_Table_Detail_UU, String trxName) + { + super (ctx, A_Depreciation_Table_Detail_UU, trxName); + /** if (A_Depreciation_Table_Detail_UU == null) + { + setA_Depreciation_Rate (Env.ZERO); + setA_Depreciation_Table_Code (null); + setA_Depreciation_Table_Detail_ID (0); + setA_Period (0); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_A_Depreciation_Table_Detail (Properties ctx, String A_Depreciation_Table_Detail_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Depreciation_Table_Detail_UU, trxName, virtualColumns); + /** if (A_Depreciation_Table_Detail_UU == null) + { + setA_Depreciation_Rate (Env.ZERO); + setA_Depreciation_Table_Code (null); + setA_Depreciation_Table_Detail_ID (0); + setA_Period (0); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_A_Depreciation_Table_Detail (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +98,7 @@ public class X_A_Depreciation_Table_Detail extends PO implements I_A_Depreciatio } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -148,7 +176,7 @@ public class X_A_Depreciation_Table_Detail extends PO implements I_A_Depreciatio /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Table_Detail_ID())); } @@ -222,10 +250,10 @@ public class X_A_Depreciation_Table_Detail extends PO implements I_A_Depreciatio public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Table_Header.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Table_Header.java index 20b3b098c5..2bb684bca0 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Table_Header.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Table_Header.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Table_Header - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Depreciation_Table_Header") -public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciation_Table_Header, I_Persistent +public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciation_Table_Header, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Depreciation_Table_Header (Properties ctx, int A_Depreciation_Table_Header_ID, String trxName) @@ -63,6 +63,36 @@ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciatio } */ } + /** Standard Constructor */ + public X_A_Depreciation_Table_Header (Properties ctx, String A_Depreciation_Table_Header_UU, String trxName) + { + super (ctx, A_Depreciation_Table_Header_UU, trxName); + /** if (A_Depreciation_Table_Header_UU == null) + { + setA_Depreciation_Table_Code (null); + setA_Depreciation_Table_Header_ID (0); + setA_Table_Rate_Type (null); + setA_Term (null); + setDescription (null); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_A_Depreciation_Table_Header (Properties ctx, String A_Depreciation_Table_Header_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Depreciation_Table_Header_UU, trxName, virtualColumns); + /** if (A_Depreciation_Table_Header_UU == null) + { + setA_Depreciation_Table_Code (null); + setA_Depreciation_Table_Header_ID (0); + setA_Table_Rate_Type (null); + setA_Term (null); + setDescription (null); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_A_Depreciation_Table_Header (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciatio } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -130,7 +160,7 @@ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciatio /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Table_Header_ID())); } @@ -224,10 +254,10 @@ public class X_A_Depreciation_Table_Header extends PO implements I_A_Depreciatio public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Workfile.java b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Workfile.java index e8786825a2..65b3d6b0e2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Workfile.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Depreciation_Workfile.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for A_Depreciation_Workfile - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Depreciation_Workfile") -public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Workfile, I_Persistent +public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Workfile, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Depreciation_Workfile (Properties ctx, int A_Depreciation_Workfile_ID, String trxName) @@ -124,6 +124,94 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo } */ } + /** Standard Constructor */ + public X_A_Depreciation_Workfile (Properties ctx, String A_Depreciation_Workfile_UU, String trxName) + { + super (ctx, A_Depreciation_Workfile_UU, trxName); + /** if (A_Depreciation_Workfile_UU == null) + { + setA_Accumulated_Depr (Env.ZERO); +// 0 + setA_Accumulated_Depr_F (Env.ZERO); +// 0 + setA_Asset_Cost (Env.ZERO); +// 0 + setA_Asset_ID (0); + setA_Asset_Life_Current_Year (Env.ZERO); +// 0 + setA_Asset_Life_Years (Env.ZERO); +// 0 + setA_Asset_Life_Years_F (Env.ZERO); +// 0 + setA_Curr_Dep_Exp (Env.ZERO); +// 0 + setA_Depreciation_Workfile_ID (0); + setA_Life_Period (0); +// 0 + setA_Life_Period_F (0); +// 0 + setA_QTY_Current (Env.ZERO); + setA_Salvage_Value (Env.ZERO); +// 0 + setA_Tip_Finantare (null); +// 'P' + setProcessed (false); +// N + setUseLifeMonths (0); +// 0 + setUseLifeMonths_F (0); +// 0 + setUseLifeYears (Env.ZERO); +// 0 + setUseLifeYears_F (Env.ZERO); +// 0 + } */ + } + + /** Standard Constructor */ + public X_A_Depreciation_Workfile (Properties ctx, String A_Depreciation_Workfile_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Depreciation_Workfile_UU, trxName, virtualColumns); + /** if (A_Depreciation_Workfile_UU == null) + { + setA_Accumulated_Depr (Env.ZERO); +// 0 + setA_Accumulated_Depr_F (Env.ZERO); +// 0 + setA_Asset_Cost (Env.ZERO); +// 0 + setA_Asset_ID (0); + setA_Asset_Life_Current_Year (Env.ZERO); +// 0 + setA_Asset_Life_Years (Env.ZERO); +// 0 + setA_Asset_Life_Years_F (Env.ZERO); +// 0 + setA_Curr_Dep_Exp (Env.ZERO); +// 0 + setA_Depreciation_Workfile_ID (0); + setA_Life_Period (0); +// 0 + setA_Life_Period_F (0); +// 0 + setA_QTY_Current (Env.ZERO); + setA_Salvage_Value (Env.ZERO); +// 0 + setA_Tip_Finantare (null); +// 'P' + setProcessed (false); +// N + setUseLifeMonths (0); +// 0 + setUseLifeMonths_F (0); +// 0 + setUseLifeYears (Env.ZERO); +// 0 + setUseLifeYears_F (Env.ZERO); +// 0 + } */ + } + /** Load Constructor */ public X_A_Depreciation_Workfile (Properties ctx, ResultSet rs, String trxName) { @@ -131,7 +219,7 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -420,7 +508,7 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getA_Depreciation_Workfile_ID())); } @@ -812,10 +900,10 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo public boolean isDepreciated() { Object oo = get_Value(COLUMNNAME_IsDepreciated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -864,10 +952,10 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -886,10 +974,10 @@ public class X_A_Depreciation_Workfile extends PO implements I_A_Depreciation_Wo public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_FundingMode.java b/org.adempiere.base/src/org/compiere/model/X_A_FundingMode.java index cbcdedfa5b..55ceaf1459 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_FundingMode.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_FundingMode.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for A_FundingMode - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_FundingMode") -public class X_A_FundingMode extends PO implements I_A_FundingMode, I_Persistent +public class X_A_FundingMode extends PO implements I_A_FundingMode, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_FundingMode (Properties ctx, int A_FundingMode_ID, String trxName) @@ -57,6 +57,30 @@ public class X_A_FundingMode extends PO implements I_A_FundingMode, I_Persistent } */ } + /** Standard Constructor */ + public X_A_FundingMode (Properties ctx, String A_FundingMode_UU, String trxName) + { + super (ctx, A_FundingMode_UU, trxName); + /** if (A_FundingMode_UU == null) + { + setA_FundingMode_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_A_FundingMode (Properties ctx, String A_FundingMode_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_FundingMode_UU, trxName, virtualColumns); + /** if (A_FundingMode_UU == null) + { + setA_FundingMode_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_A_FundingMode (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_A_FundingMode extends PO implements I_A_FundingMode, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -172,7 +196,7 @@ public class X_A_FundingMode extends PO implements I_A_FundingMode, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getValue()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_A_FundingMode_Acct.java b/org.adempiere.base/src/org/compiere/model/X_A_FundingMode_Acct.java index ea0a38adaf..a6295a3cd5 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_FundingMode_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_FundingMode_Acct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for A_FundingMode_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_FundingMode_Acct") -public class X_A_FundingMode_Acct extends PO implements I_A_FundingMode_Acct, I_Persistent +public class X_A_FundingMode_Acct extends PO implements I_A_FundingMode_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_FundingMode_Acct (Properties ctx, int A_FundingMode_Acct_ID, String trxName) @@ -56,6 +56,30 @@ public class X_A_FundingMode_Acct extends PO implements I_A_FundingMode_Acct, I_ } */ } + /** Standard Constructor */ + public X_A_FundingMode_Acct (Properties ctx, String A_FundingMode_Acct_UU, String trxName) + { + super (ctx, A_FundingMode_Acct_UU, trxName); + /** if (A_FundingMode_Acct_UU == null) + { + setA_FundingMode_Acct (0); + setA_FundingMode_ID (0); + setC_AcctSchema_ID (0); + } */ + } + + /** Standard Constructor */ + public X_A_FundingMode_Acct (Properties ctx, String A_FundingMode_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_FundingMode_Acct_UU, trxName, virtualColumns); + /** if (A_FundingMode_Acct_UU == null) + { + setA_FundingMode_Acct (0); + setA_FundingMode_ID (0); + setC_AcctSchema_ID (0); + } */ + } + /** Load Constructor */ public X_A_FundingMode_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_A_FundingMode_Acct extends PO implements I_A_FundingMode_Acct, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_A_FundingMode_Acct extends PO implements I_A_FundingMode_Acct, I_ public String toString() { StringBuilder sb = new StringBuilder ("X_A_FundingMode_Acct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_A_Registration.java b/org.adempiere.base/src/org/compiere/model/X_A_Registration.java index b70fa1f43d..c149455df9 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_Registration.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_Registration.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for A_Registration - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_Registration") -public class X_A_Registration extends PO implements I_A_Registration, I_Persistent +public class X_A_Registration extends PO implements I_A_Registration, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_Registration (Properties ctx, int A_Registration_ID, String trxName) @@ -64,6 +64,36 @@ public class X_A_Registration extends PO implements I_A_Registration, I_Persiste } */ } + /** Standard Constructor */ + public X_A_Registration (Properties ctx, String A_Registration_UU, String trxName) + { + super (ctx, A_Registration_UU, trxName); + /** if (A_Registration_UU == null) + { + setA_Registration_ID (0); + setAssetServiceDate (new Timestamp( System.currentTimeMillis() )); + setIsAllowPublish (false); + setIsInProduction (false); + setIsRegistered (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_A_Registration (Properties ctx, String A_Registration_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_Registration_UU, trxName, virtualColumns); + /** if (A_Registration_UU == null) + { + setA_Registration_ID (0); + setAssetServiceDate (new Timestamp( System.currentTimeMillis() )); + setIsAllowPublish (false); + setIsInProduction (false); + setIsRegistered (false); + setName (null); + } */ + } + /** Load Constructor */ public X_A_Registration (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +101,7 @@ public class X_A_Registration extends PO implements I_A_Registration, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -275,10 +305,10 @@ public class X_A_Registration extends PO implements I_A_Registration, I_Persiste public boolean isAllowPublish() { Object oo = get_Value(COLUMNNAME_IsAllowPublish); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -298,10 +328,10 @@ public class X_A_Registration extends PO implements I_A_Registration, I_Persiste public boolean isInProduction() { Object oo = get_Value(COLUMNNAME_IsInProduction); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -321,10 +351,10 @@ public class X_A_Registration extends PO implements I_A_Registration, I_Persiste public boolean isRegistered() { Object oo = get_Value(COLUMNNAME_IsRegistered); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -377,7 +407,7 @@ public class X_A_Registration extends PO implements I_A_Registration, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -411,10 +441,10 @@ public class X_A_Registration extends PO implements I_A_Registration, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_A_RegistrationAttribute.java b/org.adempiere.base/src/org/compiere/model/X_A_RegistrationAttribute.java index 971f0960a8..8a6bc62726 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_RegistrationAttribute.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_RegistrationAttribute.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for A_RegistrationAttribute - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_RegistrationAttribute") -public class X_A_RegistrationAttribute extends PO implements I_A_RegistrationAttribute, I_Persistent +public class X_A_RegistrationAttribute extends PO implements I_A_RegistrationAttribute, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_RegistrationAttribute (Properties ctx, int A_RegistrationAttribute_ID, String trxName) @@ -63,6 +63,36 @@ public class X_A_RegistrationAttribute extends PO implements I_A_RegistrationAtt } */ } + /** Standard Constructor */ + public X_A_RegistrationAttribute (Properties ctx, String A_RegistrationAttribute_UU, String trxName) + { + super (ctx, A_RegistrationAttribute_UU, trxName); + /** if (A_RegistrationAttribute_UU == null) + { + setAD_Reference_ID (0); + setA_RegistrationAttribute_ID (0); + setIsSelfService (true); +// Y + setName (null); + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_A_RegistrationAttribute (Properties ctx, String A_RegistrationAttribute_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_RegistrationAttribute_UU, trxName, virtualColumns); + /** if (A_RegistrationAttribute_UU == null) + { + setAD_Reference_ID (0); + setA_RegistrationAttribute_ID (0); + setIsSelfService (true); +// Y + setName (null); + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_A_RegistrationAttribute (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_A_RegistrationAttribute extends PO implements I_A_RegistrationAtt } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -230,10 +260,10 @@ public class X_A_RegistrationAttribute extends PO implements I_A_RegistrationAtt public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -258,7 +288,7 @@ public class X_A_RegistrationAttribute extends PO implements I_A_RegistrationAtt /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_A_RegistrationProduct.java b/org.adempiere.base/src/org/compiere/model/X_A_RegistrationProduct.java index 7364434fab..9de4e5161d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_RegistrationProduct.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_RegistrationProduct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for A_RegistrationProduct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_RegistrationProduct") -public class X_A_RegistrationProduct extends PO implements I_A_RegistrationProduct, I_Persistent +public class X_A_RegistrationProduct extends PO implements I_A_RegistrationProduct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_RegistrationProduct (Properties ctx, int A_RegistrationProduct_ID, String trxName) @@ -54,6 +54,28 @@ public class X_A_RegistrationProduct extends PO implements I_A_RegistrationProdu } */ } + /** Standard Constructor */ + public X_A_RegistrationProduct (Properties ctx, String A_RegistrationProduct_UU, String trxName) + { + super (ctx, A_RegistrationProduct_UU, trxName); + /** if (A_RegistrationProduct_UU == null) + { + setA_RegistrationAttribute_ID (0); + setM_Product_ID (0); + } */ + } + + /** Standard Constructor */ + public X_A_RegistrationProduct (Properties ctx, String A_RegistrationProduct_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_RegistrationProduct_UU, trxName, virtualColumns); + /** if (A_RegistrationProduct_UU == null) + { + setA_RegistrationAttribute_ID (0); + setM_Product_ID (0); + } */ + } + /** Load Constructor */ public X_A_RegistrationProduct (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_A_RegistrationProduct extends PO implements I_A_RegistrationProdu } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -78,7 +100,7 @@ public class X_A_RegistrationProduct extends PO implements I_A_RegistrationProdu public String toString() { StringBuilder sb = new StringBuilder ("X_A_RegistrationProduct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_A_RegistrationValue.java b/org.adempiere.base/src/org/compiere/model/X_A_RegistrationValue.java index 4dc695a4eb..1dce7111b8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_A_RegistrationValue.java +++ b/org.adempiere.base/src/org/compiere/model/X_A_RegistrationValue.java @@ -19,19 +19,19 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for A_RegistrationValue - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="A_RegistrationValue") -public class X_A_RegistrationValue extends PO implements I_A_RegistrationValue, I_Persistent +public class X_A_RegistrationValue extends PO implements I_A_RegistrationValue, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_A_RegistrationValue (Properties ctx, int A_RegistrationValue_ID, String trxName) @@ -57,6 +57,30 @@ public class X_A_RegistrationValue extends PO implements I_A_RegistrationValue, } */ } + /** Standard Constructor */ + public X_A_RegistrationValue (Properties ctx, String A_RegistrationValue_UU, String trxName) + { + super (ctx, A_RegistrationValue_UU, trxName); + /** if (A_RegistrationValue_UU == null) + { + setA_RegistrationAttribute_ID (0); + setA_Registration_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_A_RegistrationValue (Properties ctx, String A_RegistrationValue_UU, String trxName, String ... virtualColumns) + { + super (ctx, A_RegistrationValue_UU, trxName, virtualColumns); + /** if (A_RegistrationValue_UU == null) + { + setA_RegistrationAttribute_ID (0); + setA_Registration_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_A_RegistrationValue (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_A_RegistrationValue extends PO implements I_A_RegistrationValue, } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -81,7 +105,7 @@ public class X_A_RegistrationValue extends PO implements I_A_RegistrationValue, public String toString() { StringBuilder sb = new StringBuilder ("X_A_RegistrationValue[") - .append(get_ID()).append(",Name=").append(getName()).append("]"); + .append(get_UUID()).append(",Name=").append(getName()).append("]"); return sb.toString(); } @@ -113,12 +137,12 @@ public class X_A_RegistrationValue extends PO implements I_A_RegistrationValue, return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getA_RegistrationAttribute_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getA_RegistrationAttribute_ID())); } public org.compiere.model.I_A_Registration getA_Registration() throws RuntimeException diff --git a/org.adempiere.base/src/org/compiere/model/X_B_Bid.java b/org.adempiere.base/src/org/compiere/model/X_B_Bid.java index 840a2a3194..a21c040749 100644 --- a/org.adempiere.base/src/org/compiere/model/X_B_Bid.java +++ b/org.adempiere.base/src/org/compiere/model/X_B_Bid.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for B_Bid - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="B_Bid") -public class X_B_Bid extends PO implements I_B_Bid, I_Persistent +public class X_B_Bid extends PO implements I_B_Bid, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_B_Bid (Properties ctx, int B_Bid_ID, String trxName) @@ -63,6 +63,36 @@ public class X_B_Bid extends PO implements I_B_Bid, I_Persistent } */ } + /** Standard Constructor */ + public X_B_Bid (Properties ctx, String B_Bid_UU, String trxName) + { + super (ctx, B_Bid_UU, trxName); + /** if (B_Bid_UU == null) + { + setAD_User_ID (0); + setB_Bid_ID (0); + setB_BuyerFunds_ID (0); + setB_Topic_ID (0); + setIsWillingToCommit (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_B_Bid (Properties ctx, String B_Bid_UU, String trxName, String ... virtualColumns) + { + super (ctx, B_Bid_UU, trxName, virtualColumns); + /** if (B_Bid_UU == null) + { + setAD_User_ID (0); + setB_Bid_ID (0); + setB_BuyerFunds_ID (0); + setB_Topic_ID (0); + setIsWillingToCommit (false); + setName (null); + } */ + } + /** Load Constructor */ public X_B_Bid (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_B_Bid extends PO implements I_B_Bid, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -225,10 +255,10 @@ public class X_B_Bid extends PO implements I_B_Bid, I_Persistent public boolean isWillingToCommit() { Object oo = get_Value(COLUMNNAME_IsWillingToCommit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -253,7 +283,7 @@ public class X_B_Bid extends PO implements I_B_Bid, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_B_BidComment.java b/org.adempiere.base/src/org/compiere/model/X_B_BidComment.java index 3fc8893414..d31b6a66ca 100644 --- a/org.adempiere.base/src/org/compiere/model/X_B_BidComment.java +++ b/org.adempiere.base/src/org/compiere/model/X_B_BidComment.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for B_BidComment - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="B_BidComment") -public class X_B_BidComment extends PO implements I_B_BidComment, I_Persistent +public class X_B_BidComment extends PO implements I_B_BidComment, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_B_BidComment (Properties ctx, int B_BidComment_ID, String trxName) @@ -58,6 +58,32 @@ public class X_B_BidComment extends PO implements I_B_BidComment, I_Persistent } */ } + /** Standard Constructor */ + public X_B_BidComment (Properties ctx, String B_BidComment_UU, String trxName) + { + super (ctx, B_BidComment_UU, trxName); + /** if (B_BidComment_UU == null) + { + setAD_User_ID (0); + setB_BidComment_ID (0); + setB_Topic_ID (0); + setTextMsg (null); + } */ + } + + /** Standard Constructor */ + public X_B_BidComment (Properties ctx, String B_BidComment_UU, String trxName, String ... virtualColumns) + { + super (ctx, B_BidComment_UU, trxName, virtualColumns); + /** if (B_BidComment_UU == null) + { + setAD_User_ID (0); + setB_BidComment_ID (0); + setB_Topic_ID (0); + setTextMsg (null); + } */ + } + /** Load Constructor */ public X_B_BidComment (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_B_BidComment extends PO implements I_B_BidComment, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_B_Buyer.java b/org.adempiere.base/src/org/compiere/model/X_B_Buyer.java index 2134f16e9a..c84d2d4930 100644 --- a/org.adempiere.base/src/org/compiere/model/X_B_Buyer.java +++ b/org.adempiere.base/src/org/compiere/model/X_B_Buyer.java @@ -20,19 +20,19 @@ package org.compiere.model; import java.sql.ResultSet; import java.sql.Timestamp; import java.util.Properties; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for B_Buyer - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="B_Buyer") -public class X_B_Buyer extends PO implements I_B_Buyer, I_Persistent +public class X_B_Buyer extends PO implements I_B_Buyer, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_B_Buyer (Properties ctx, int B_Buyer_ID, String trxName) @@ -58,6 +58,30 @@ public class X_B_Buyer extends PO implements I_B_Buyer, I_Persistent } */ } + /** Standard Constructor */ + public X_B_Buyer (Properties ctx, String B_Buyer_UU, String trxName) + { + super (ctx, B_Buyer_UU, trxName); + /** if (B_Buyer_UU == null) + { + setAD_User_ID (0); + setName (null); + setValidTo (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_B_Buyer (Properties ctx, String B_Buyer_UU, String trxName, String ... virtualColumns) + { + super (ctx, B_Buyer_UU, trxName, virtualColumns); + /** if (B_Buyer_UU == null) + { + setAD_User_ID (0); + setName (null); + setValidTo (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_B_Buyer (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +89,7 @@ public class X_B_Buyer extends PO implements I_B_Buyer, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -82,7 +106,7 @@ public class X_B_Buyer extends PO implements I_B_Buyer, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_B_Buyer[") - .append(get_ID()).append(",Name=").append(getName()).append("]"); + .append(get_UUID()).append(",Name=").append(getName()).append("]"); return sb.toString(); } @@ -161,12 +185,12 @@ public class X_B_Buyer extends PO implements I_B_Buyer, I_Persistent return (String)get_Value(COLUMNNAME_Name); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), getName()); + return new ValueNamePair(get_UUID(), getName()); } /** Set Valid to. diff --git a/org.adempiere.base/src/org/compiere/model/X_B_BuyerFunds.java b/org.adempiere.base/src/org/compiere/model/X_B_BuyerFunds.java index 9e9e5165b5..6ecbc5d0ba 100644 --- a/org.adempiere.base/src/org/compiere/model/X_B_BuyerFunds.java +++ b/org.adempiere.base/src/org/compiere/model/X_B_BuyerFunds.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for B_BuyerFunds - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="B_BuyerFunds") -public class X_B_BuyerFunds extends PO implements I_B_BuyerFunds, I_Persistent +public class X_B_BuyerFunds extends PO implements I_B_BuyerFunds, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_B_BuyerFunds (Properties ctx, int B_BuyerFunds_ID, String trxName) @@ -61,6 +61,32 @@ public class X_B_BuyerFunds extends PO implements I_B_BuyerFunds, I_Persistent } */ } + /** Standard Constructor */ + public X_B_BuyerFunds (Properties ctx, String B_BuyerFunds_UU, String trxName) + { + super (ctx, B_BuyerFunds_UU, trxName); + /** if (B_BuyerFunds_UU == null) + { + setAD_User_ID (0); + setB_BuyerFunds_ID (0); + setCommittedAmt (Env.ZERO); + setNonCommittedAmt (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_B_BuyerFunds (Properties ctx, String B_BuyerFunds_UU, String trxName, String ... virtualColumns) + { + super (ctx, B_BuyerFunds_UU, trxName, virtualColumns); + /** if (B_BuyerFunds_UU == null) + { + setAD_User_ID (0); + setB_BuyerFunds_ID (0); + setCommittedAmt (Env.ZERO); + setNonCommittedAmt (Env.ZERO); + } */ + } + /** Load Constructor */ public X_B_BuyerFunds (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +94,7 @@ public class X_B_BuyerFunds extends PO implements I_B_BuyerFunds, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -120,7 +146,7 @@ public class X_B_BuyerFunds extends PO implements I_B_BuyerFunds, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_User_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_B_Offer.java b/org.adempiere.base/src/org/compiere/model/X_B_Offer.java index 5d5d2a925c..9eee86c231 100644 --- a/org.adempiere.base/src/org/compiere/model/X_B_Offer.java +++ b/org.adempiere.base/src/org/compiere/model/X_B_Offer.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for B_Offer - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="B_Offer") -public class X_B_Offer extends PO implements I_B_Offer, I_Persistent +public class X_B_Offer extends PO implements I_B_Offer, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_B_Offer (Properties ctx, int B_Offer_ID, String trxName) @@ -63,6 +63,36 @@ public class X_B_Offer extends PO implements I_B_Offer, I_Persistent } */ } + /** Standard Constructor */ + public X_B_Offer (Properties ctx, String B_Offer_UU, String trxName) + { + super (ctx, B_Offer_UU, trxName); + /** if (B_Offer_UU == null) + { + setAD_User_ID (0); + setB_Offer_ID (0); + setB_SellerFunds_ID (0); + setB_Topic_ID (0); + setIsWillingToCommit (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_B_Offer (Properties ctx, String B_Offer_UU, String trxName, String ... virtualColumns) + { + super (ctx, B_Offer_UU, trxName, virtualColumns); + /** if (B_Offer_UU == null) + { + setAD_User_ID (0); + setB_Offer_ID (0); + setB_SellerFunds_ID (0); + setB_Topic_ID (0); + setIsWillingToCommit (false); + setName (null); + } */ + } + /** Load Constructor */ public X_B_Offer (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_B_Offer extends PO implements I_B_Offer, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -225,10 +255,10 @@ public class X_B_Offer extends PO implements I_B_Offer, I_Persistent public boolean isWillingToCommit() { Object oo = get_Value(COLUMNNAME_IsWillingToCommit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -253,7 +283,7 @@ public class X_B_Offer extends PO implements I_B_Offer, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_B_Seller.java b/org.adempiere.base/src/org/compiere/model/X_B_Seller.java index 4de59c2dc9..4a1965966a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_B_Seller.java +++ b/org.adempiere.base/src/org/compiere/model/X_B_Seller.java @@ -20,19 +20,19 @@ package org.compiere.model; import java.sql.ResultSet; import java.sql.Timestamp; import java.util.Properties; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for B_Seller - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="B_Seller") -public class X_B_Seller extends PO implements I_B_Seller, I_Persistent +public class X_B_Seller extends PO implements I_B_Seller, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_B_Seller (Properties ctx, int B_Seller_ID, String trxName) @@ -60,6 +60,32 @@ public class X_B_Seller extends PO implements I_B_Seller, I_Persistent } */ } + /** Standard Constructor */ + public X_B_Seller (Properties ctx, String B_Seller_UU, String trxName) + { + super (ctx, B_Seller_UU, trxName); + /** if (B_Seller_UU == null) + { + setAD_User_ID (0); + setIsInternal (false); + setName (null); + setValidTo (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_B_Seller (Properties ctx, String B_Seller_UU, String trxName, String ... virtualColumns) + { + super (ctx, B_Seller_UU, trxName, virtualColumns); + /** if (B_Seller_UU == null) + { + setAD_User_ID (0); + setIsInternal (false); + setName (null); + setValidTo (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_B_Seller (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +93,7 @@ public class X_B_Seller extends PO implements I_B_Seller, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -84,7 +110,7 @@ public class X_B_Seller extends PO implements I_B_Seller, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_B_Seller[") - .append(get_ID()).append(",Name=").append(getName()).append("]"); + .append(get_UUID()).append(",Name=").append(getName()).append("]"); return sb.toString(); } @@ -161,10 +187,10 @@ public class X_B_Seller extends PO implements I_B_Seller, I_Persistent public boolean isInternal() { Object oo = get_Value(COLUMNNAME_IsInternal); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -186,12 +212,12 @@ public class X_B_Seller extends PO implements I_B_Seller, I_Persistent return (String)get_Value(COLUMNNAME_Name); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), getName()); + return new ValueNamePair(get_UUID(), getName()); } /** Set Valid to. diff --git a/org.adempiere.base/src/org/compiere/model/X_B_SellerFunds.java b/org.adempiere.base/src/org/compiere/model/X_B_SellerFunds.java index a2afa3a873..11b8f7b423 100644 --- a/org.adempiere.base/src/org/compiere/model/X_B_SellerFunds.java +++ b/org.adempiere.base/src/org/compiere/model/X_B_SellerFunds.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for B_SellerFunds - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="B_SellerFunds") -public class X_B_SellerFunds extends PO implements I_B_SellerFunds, I_Persistent +public class X_B_SellerFunds extends PO implements I_B_SellerFunds, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_B_SellerFunds (Properties ctx, int B_SellerFunds_ID, String trxName) @@ -61,6 +61,32 @@ public class X_B_SellerFunds extends PO implements I_B_SellerFunds, I_Persistent } */ } + /** Standard Constructor */ + public X_B_SellerFunds (Properties ctx, String B_SellerFunds_UU, String trxName) + { + super (ctx, B_SellerFunds_UU, trxName); + /** if (B_SellerFunds_UU == null) + { + setAD_User_ID (0); + setB_SellerFunds_ID (0); + setCommittedAmt (Env.ZERO); + setNonCommittedAmt (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_B_SellerFunds (Properties ctx, String B_SellerFunds_UU, String trxName, String ... virtualColumns) + { + super (ctx, B_SellerFunds_UU, trxName, virtualColumns); + /** if (B_SellerFunds_UU == null) + { + setAD_User_ID (0); + setB_SellerFunds_ID (0); + setCommittedAmt (Env.ZERO); + setNonCommittedAmt (Env.ZERO); + } */ + } + /** Load Constructor */ public X_B_SellerFunds (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +94,7 @@ public class X_B_SellerFunds extends PO implements I_B_SellerFunds, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -120,7 +146,7 @@ public class X_B_SellerFunds extends PO implements I_B_SellerFunds, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_User_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_B_Topic.java b/org.adempiere.base/src/org/compiere/model/X_B_Topic.java index d28cdb7423..ee94bbc437 100644 --- a/org.adempiere.base/src/org/compiere/model/X_B_Topic.java +++ b/org.adempiere.base/src/org/compiere/model/X_B_Topic.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for B_Topic - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="B_Topic") -public class X_B_Topic extends PO implements I_B_Topic, I_Persistent +public class X_B_Topic extends PO implements I_B_Topic, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_B_Topic (Properties ctx, int B_Topic_ID, String trxName) @@ -72,6 +72,44 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent } */ } + /** Standard Constructor */ + public X_B_Topic (Properties ctx, String B_Topic_UU, String trxName) + { + super (ctx, B_Topic_UU, trxName); + /** if (B_Topic_UU == null) + { + setB_TopicCategory_ID (0); + setB_Topic_ID (0); + setB_TopicType_ID (0); + setDecisionDate (new Timestamp( System.currentTimeMillis() )); + setDocumentNo (null); + setIsPublished (false); + setName (null); + setProcessed (false); + setTopicAction (null); + setTopicStatus (null); + } */ + } + + /** Standard Constructor */ + public X_B_Topic (Properties ctx, String B_Topic_UU, String trxName, String ... virtualColumns) + { + super (ctx, B_Topic_UU, trxName, virtualColumns); + /** if (B_Topic_UU == null) + { + setB_TopicCategory_ID (0); + setB_Topic_ID (0); + setB_TopicType_ID (0); + setDecisionDate (new Timestamp( System.currentTimeMillis() )); + setDocumentNo (null); + setIsPublished (false); + setName (null); + setProcessed (false); + setTopicAction (null); + setTopicStatus (null); + } */ + } + /** Load Constructor */ public X_B_Topic (Properties ctx, ResultSet rs, String trxName) { @@ -79,7 +117,7 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -254,10 +292,10 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent public boolean isPublished() { Object oo = get_Value(COLUMNNAME_IsPublished); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -282,7 +320,7 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -301,10 +339,10 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -323,10 +361,10 @@ public class X_B_Topic extends PO implements I_B_Topic, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_B_TopicCategory.java b/org.adempiere.base/src/org/compiere/model/X_B_TopicCategory.java index 108e364df9..9fb935f38b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_B_TopicCategory.java +++ b/org.adempiere.base/src/org/compiere/model/X_B_TopicCategory.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for B_TopicCategory - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="B_TopicCategory") -public class X_B_TopicCategory extends PO implements I_B_TopicCategory, I_Persistent +public class X_B_TopicCategory extends PO implements I_B_TopicCategory, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_B_TopicCategory (Properties ctx, int B_TopicCategory_ID, String trxName) @@ -57,6 +57,30 @@ public class X_B_TopicCategory extends PO implements I_B_TopicCategory, I_Persis } */ } + /** Standard Constructor */ + public X_B_TopicCategory (Properties ctx, String B_TopicCategory_UU, String trxName) + { + super (ctx, B_TopicCategory_UU, trxName); + /** if (B_TopicCategory_UU == null) + { + setB_TopicCategory_ID (0); + setB_TopicType_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_B_TopicCategory (Properties ctx, String B_TopicCategory_UU, String trxName, String ... virtualColumns) + { + super (ctx, B_TopicCategory_UU, trxName, virtualColumns); + /** if (B_TopicCategory_UU == null) + { + setB_TopicCategory_ID (0); + setB_TopicType_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_B_TopicCategory (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_B_TopicCategory extends PO implements I_B_TopicCategory, I_Persis } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -185,7 +209,7 @@ public class X_B_TopicCategory extends PO implements I_B_TopicCategory, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_B_TopicType.java b/org.adempiere.base/src/org/compiere/model/X_B_TopicType.java index 361be51242..255b111c13 100644 --- a/org.adempiere.base/src/org/compiere/model/X_B_TopicType.java +++ b/org.adempiere.base/src/org/compiere/model/X_B_TopicType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for B_TopicType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="B_TopicType") -public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent +public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_B_TopicType (Properties ctx, int B_TopicType_ID, String trxName) @@ -63,6 +63,36 @@ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent } */ } + /** Standard Constructor */ + public X_B_TopicType (Properties ctx, String B_TopicType_UU, String trxName) + { + super (ctx, B_TopicType_UU, trxName); + /** if (B_TopicType_UU == null) + { + setAuctionType (null); + setB_TopicType_ID (0); + setM_PriceList_ID (0); + setM_Product_ID (0); + setM_ProductMember_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_B_TopicType (Properties ctx, String B_TopicType_UU, String trxName, String ... virtualColumns) + { + super (ctx, B_TopicType_UU, trxName, virtualColumns); + /** if (B_TopicType_UU == null) + { + setAuctionType (null); + setB_TopicType_ID (0); + setM_PriceList_ID (0); + setM_Product_ID (0); + setM_ProductMember_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_B_TopicType (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -278,7 +308,7 @@ public class X_B_TopicType extends PO implements I_B_TopicType, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_CM_Chat.java b/org.adempiere.base/src/org/compiere/model/X_CM_Chat.java index a679ece9a8..dc28626fa8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_CM_Chat.java +++ b/org.adempiere.base/src/org/compiere/model/X_CM_Chat.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for CM_Chat - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="CM_Chat") -public class X_CM_Chat extends PO implements I_CM_Chat, I_Persistent +public class X_CM_Chat extends PO implements I_CM_Chat, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_CM_Chat (Properties ctx, int CM_Chat_ID, String trxName) @@ -61,6 +61,34 @@ public class X_CM_Chat extends PO implements I_CM_Chat, I_Persistent } */ } + /** Standard Constructor */ + public X_CM_Chat (Properties ctx, String CM_Chat_UU, String trxName) + { + super (ctx, CM_Chat_UU, trxName); + /** if (CM_Chat_UU == null) + { + setAD_Table_ID (0); + setCM_Chat_ID (0); + setConfidentialType (null); + setDescription (null); + setRecord_ID (0); + } */ + } + + /** Standard Constructor */ + public X_CM_Chat (Properties ctx, String CM_Chat_UU, String trxName, String ... virtualColumns) + { + super (ctx, CM_Chat_UU, trxName, virtualColumns); + /** if (CM_Chat_UU == null) + { + setAD_Table_ID (0); + setCM_Chat_ID (0); + setConfidentialType (null); + setDescription (null); + setRecord_ID (0); + } */ + } + /** Load Constructor */ public X_CM_Chat (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_CM_Chat extends PO implements I_CM_Chat, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -228,7 +256,7 @@ public class X_CM_Chat extends PO implements I_CM_Chat, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDescription()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_CM_ChatEntry.java b/org.adempiere.base/src/org/compiere/model/X_CM_ChatEntry.java index ca88028ef8..e09312e93e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_CM_ChatEntry.java +++ b/org.adempiere.base/src/org/compiere/model/X_CM_ChatEntry.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for CM_ChatEntry - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="CM_ChatEntry") -public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent +public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_CM_ChatEntry (Properties ctx, int CM_ChatEntry_ID, String trxName) @@ -63,6 +63,36 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent } */ } + /** Standard Constructor */ + public X_CM_ChatEntry (Properties ctx, String CM_ChatEntry_UU, String trxName) + { + super (ctx, CM_ChatEntry_UU, trxName); + /** if (CM_ChatEntry_UU == null) + { + setCharacterData (null); + setChatEntryType (null); +// N + setCM_ChatEntry_ID (0); + setCM_Chat_ID (0); + setConfidentialType (null); + } */ + } + + /** Standard Constructor */ + public X_CM_ChatEntry (Properties ctx, String CM_ChatEntry_UU, String trxName, String ... virtualColumns) + { + super (ctx, CM_ChatEntry_UU, trxName, virtualColumns); + /** if (CM_ChatEntry_UU == null) + { + setCharacterData (null); + setChatEntryType (null); +// N + setCM_ChatEntry_ID (0); + setCM_Chat_ID (0); + setConfidentialType (null); + } */ + } + /** Load Constructor */ public X_CM_ChatEntry (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -213,7 +243,7 @@ public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getCM_ChatEntry_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_CM_ChatType.java b/org.adempiere.base/src/org/compiere/model/X_CM_ChatType.java index 045cbffa53..a13930b45b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_CM_ChatType.java +++ b/org.adempiere.base/src/org/compiere/model/X_CM_ChatType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for CM_ChatType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="CM_ChatType") -public class X_CM_ChatType extends PO implements I_CM_ChatType, I_Persistent +public class X_CM_ChatType extends PO implements I_CM_ChatType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_CM_ChatType (Properties ctx, int CM_ChatType_ID, String trxName) @@ -57,6 +57,30 @@ public class X_CM_ChatType extends PO implements I_CM_ChatType, I_Persistent } */ } + /** Standard Constructor */ + public X_CM_ChatType (Properties ctx, String CM_ChatType_UU, String trxName) + { + super (ctx, CM_ChatType_UU, trxName); + /** if (CM_ChatType_UU == null) + { + setAD_Table_ID (0); + setCM_ChatType_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_CM_ChatType (Properties ctx, String CM_ChatType_UU, String trxName, String ... virtualColumns) + { + super (ctx, CM_ChatType_UU, trxName, virtualColumns); + /** if (CM_ChatType_UU == null) + { + setAD_Table_ID (0); + setCM_ChatType_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_CM_ChatType (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_CM_ChatType extends PO implements I_CM_ChatType, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -210,7 +234,7 @@ public class X_CM_ChatType extends PO implements I_CM_ChatType, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_CM_ChatTypeUpdate.java b/org.adempiere.base/src/org/compiere/model/X_CM_ChatTypeUpdate.java index 46d74c2bea..47f329fdb1 100644 --- a/org.adempiere.base/src/org/compiere/model/X_CM_ChatTypeUpdate.java +++ b/org.adempiere.base/src/org/compiere/model/X_CM_ChatTypeUpdate.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for CM_ChatTypeUpdate - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="CM_ChatTypeUpdate") -public class X_CM_ChatTypeUpdate extends PO implements I_CM_ChatTypeUpdate, I_Persistent +public class X_CM_ChatTypeUpdate extends PO implements I_CM_ChatTypeUpdate, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_CM_ChatTypeUpdate (Properties ctx, int CM_ChatTypeUpdate_ID, String trxName) @@ -56,6 +56,30 @@ public class X_CM_ChatTypeUpdate extends PO implements I_CM_ChatTypeUpdate, I_Pe } */ } + /** Standard Constructor */ + public X_CM_ChatTypeUpdate (Properties ctx, String CM_ChatTypeUpdate_UU, String trxName) + { + super (ctx, CM_ChatTypeUpdate_UU, trxName); + /** if (CM_ChatTypeUpdate_UU == null) + { + setAD_User_ID (0); + setCM_ChatType_ID (0); + setIsSelfService (false); + } */ + } + + /** Standard Constructor */ + public X_CM_ChatTypeUpdate (Properties ctx, String CM_ChatTypeUpdate_UU, String trxName, String ... virtualColumns) + { + super (ctx, CM_ChatTypeUpdate_UU, trxName, virtualColumns); + /** if (CM_ChatTypeUpdate_UU == null) + { + setAD_User_ID (0); + setCM_ChatType_ID (0); + setIsSelfService (false); + } */ + } + /** Load Constructor */ public X_CM_ChatTypeUpdate (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_CM_ChatTypeUpdate extends PO implements I_CM_ChatTypeUpdate, I_Pe } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_CM_ChatTypeUpdate extends PO implements I_CM_ChatTypeUpdate, I_Pe public String toString() { StringBuilder sb = new StringBuilder ("X_CM_ChatTypeUpdate[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -169,10 +193,10 @@ public class X_CM_ChatTypeUpdate extends PO implements I_CM_ChatTypeUpdate, I_Pe public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_CM_ChatUpdate.java b/org.adempiere.base/src/org/compiere/model/X_CM_ChatUpdate.java index cb70257035..72d254be18 100644 --- a/org.adempiere.base/src/org/compiere/model/X_CM_ChatUpdate.java +++ b/org.adempiere.base/src/org/compiere/model/X_CM_ChatUpdate.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for CM_ChatUpdate - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="CM_ChatUpdate") -public class X_CM_ChatUpdate extends PO implements I_CM_ChatUpdate, I_Persistent +public class X_CM_ChatUpdate extends PO implements I_CM_ChatUpdate, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_CM_ChatUpdate (Properties ctx, int CM_ChatUpdate_ID, String trxName) @@ -56,6 +56,30 @@ public class X_CM_ChatUpdate extends PO implements I_CM_ChatUpdate, I_Persistent } */ } + /** Standard Constructor */ + public X_CM_ChatUpdate (Properties ctx, String CM_ChatUpdate_UU, String trxName) + { + super (ctx, CM_ChatUpdate_UU, trxName); + /** if (CM_ChatUpdate_UU == null) + { + setAD_User_ID (0); + setCM_Chat_ID (0); + setIsSelfService (false); + } */ + } + + /** Standard Constructor */ + public X_CM_ChatUpdate (Properties ctx, String CM_ChatUpdate_UU, String trxName, String ... virtualColumns) + { + super (ctx, CM_ChatUpdate_UU, trxName, virtualColumns); + /** if (CM_ChatUpdate_UU == null) + { + setAD_User_ID (0); + setCM_Chat_ID (0); + setIsSelfService (false); + } */ + } + /** Load Constructor */ public X_CM_ChatUpdate (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_CM_ChatUpdate extends PO implements I_CM_ChatUpdate, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_CM_ChatUpdate extends PO implements I_CM_ChatUpdate, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_CM_ChatUpdate[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -169,10 +193,10 @@ public class X_CM_ChatUpdate extends PO implements I_CM_ChatUpdate, I_Persistent public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_1099Box.java b/org.adempiere.base/src/org/compiere/model/X_C_1099Box.java index 4aca54640e..ee95d8ed58 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_1099Box.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_1099Box.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_1099Box - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_1099Box") -public class X_C_1099Box extends PO implements I_C_1099Box, I_Persistent +public class X_C_1099Box extends PO implements I_C_1099Box, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_1099Box (Properties ctx, int C_1099Box_ID, String trxName) @@ -59,6 +59,32 @@ public class X_C_1099Box extends PO implements I_C_1099Box, I_Persistent } */ } + /** Standard Constructor */ + public X_C_1099Box (Properties ctx, String C_1099Box_UU, String trxName) + { + super (ctx, C_1099Box_UU, trxName); + /** if (C_1099Box_UU == null) + { + setBucket (0); + setC_1099Box_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_1099Box (Properties ctx, String C_1099Box_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_1099Box_UU, trxName, virtualColumns); + /** if (C_1099Box_UU == null) + { + setBucket (0); + setC_1099Box_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_1099Box (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_C_1099Box extends PO implements I_C_1099Box, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -192,7 +218,7 @@ public class X_C_1099Box extends PO implements I_C_1099Box, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_AcctProcessor.java b/org.adempiere.base/src/org/compiere/model/X_C_AcctProcessor.java index d9a7c4e6cd..2f30e06d61 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_AcctProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_AcctProcessor.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_AcctProcessor - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_AcctProcessor") -public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persistent +public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_AcctProcessor (Properties ctx, int C_AcctProcessor_ID, String trxName) @@ -64,6 +64,36 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis } */ } + /** Standard Constructor */ + public X_C_AcctProcessor (Properties ctx, String C_AcctProcessor_UU, String trxName) + { + super (ctx, C_AcctProcessor_UU, trxName); + /** if (C_AcctProcessor_UU == null) + { + setAD_Schedule_ID (0); + setC_AcctProcessor_ID (0); + setKeepLogDays (0); +// 7 + setName (null); + setSupervisor_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_AcctProcessor (Properties ctx, String C_AcctProcessor_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_AcctProcessor_UU, trxName, virtualColumns); + /** if (C_AcctProcessor_UU == null) + { + setAD_Schedule_ID (0); + setC_AcctProcessor_ID (0); + setKeepLogDays (0); +// 7 + setName (null); + setSupervisor_ID (0); + } */ + } + /** Load Constructor */ public X_C_AcctProcessor (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +101,7 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -298,7 +328,7 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -316,10 +346,10 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_AcctProcessorLog.java b/org.adempiere.base/src/org/compiere/model/X_C_AcctProcessorLog.java index f77be30499..4684fc1bed 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_AcctProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_AcctProcessorLog.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_AcctProcessorLog - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_AcctProcessorLog") -public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_Persistent +public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_AcctProcessorLog (Properties ctx, int C_AcctProcessorLog_ID, String trxName) @@ -56,6 +56,30 @@ public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_ } */ } + /** Standard Constructor */ + public X_C_AcctProcessorLog (Properties ctx, String C_AcctProcessorLog_UU, String trxName) + { + super (ctx, C_AcctProcessorLog_UU, trxName); + /** if (C_AcctProcessorLog_UU == null) + { + setC_AcctProcessor_ID (0); + setC_AcctProcessorLog_ID (0); + setIsError (false); + } */ + } + + /** Standard Constructor */ + public X_C_AcctProcessorLog (Properties ctx, String C_AcctProcessorLog_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_AcctProcessorLog_UU, trxName, virtualColumns); + /** if (C_AcctProcessorLog_UU == null) + { + setC_AcctProcessor_ID (0); + setC_AcctProcessorLog_ID (0); + setIsError (false); + } */ + } + /** Load Constructor */ public X_C_AcctProcessorLog (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_ } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -195,10 +219,10 @@ public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_ public boolean isError() { Object oo = get_Value(COLUMNNAME_IsError); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_AcctSchema.java b/org.adempiere.base/src/org/compiere/model/X_C_AcctSchema.java index b2c470f766..a108fc8a61 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_AcctSchema.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_AcctSchema.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_AcctSchema - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_AcctSchema") -public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent +public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_AcctSchema (Properties ctx, int C_AcctSchema_ID, String trxName) @@ -103,6 +103,76 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent } */ } + /** Standard Constructor */ + public X_C_AcctSchema (Properties ctx, String C_AcctSchema_UU, String trxName) + { + super (ctx, C_AcctSchema_UU, trxName); + /** if (C_AcctSchema_UU == null) + { + setAutoPeriodControl (false); + setC_AcctSchema_ID (0); + setC_Currency_ID (0); + setCommitmentType (null); +// N + setCostingLevel (null); +// C + setCostingMethod (null); +// S + setGAAP (null); + setHasAlias (false); + setHasCombination (false); + setIsAccrual (true); +// Y + setIsAdjustCOGS (false); + setIsDiscountCorrectsTax (false); + setIsExplicitCostAdjustment (false); +// N + setIsPostServices (false); +// N + setIsTradeDiscountPosted (false); + setM_CostType_ID (0); + setName (null); + setSeparator (null); +// - + setTaxCorrectionType (null); + } */ + } + + /** Standard Constructor */ + public X_C_AcctSchema (Properties ctx, String C_AcctSchema_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_AcctSchema_UU, trxName, virtualColumns); + /** if (C_AcctSchema_UU == null) + { + setAutoPeriodControl (false); + setC_AcctSchema_ID (0); + setC_Currency_ID (0); + setCommitmentType (null); +// N + setCostingLevel (null); +// C + setCostingMethod (null); +// S + setGAAP (null); + setHasAlias (false); + setHasCombination (false); + setIsAccrual (true); +// Y + setIsAdjustCOGS (false); + setIsDiscountCorrectsTax (false); + setIsExplicitCostAdjustment (false); +// N + setIsPostServices (false); +// N + setIsTradeDiscountPosted (false); + setM_CostType_ID (0); + setName (null); + setSeparator (null); +// - + setTaxCorrectionType (null); + } */ + } + /** Load Constructor */ public X_C_AcctSchema (Properties ctx, ResultSet rs, String trxName) { @@ -110,7 +180,7 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -167,10 +237,10 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent public boolean isAutoPeriodControl() { Object oo = get_Value(COLUMNNAME_AutoPeriodControl); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -421,10 +491,10 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent public boolean isHasAlias() { Object oo = get_Value(COLUMNNAME_HasAlias); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -444,10 +514,10 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent public boolean isHasCombination() { Object oo = get_Value(COLUMNNAME_HasCombination); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -467,10 +537,10 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent public boolean isAccrual() { Object oo = get_Value(COLUMNNAME_IsAccrual); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -490,10 +560,10 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent public boolean isAdjustCOGS() { Object oo = get_Value(COLUMNNAME_IsAdjustCOGS); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -513,10 +583,10 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent public boolean isAllowNegativePosting() { Object oo = get_Value(COLUMNNAME_IsAllowNegativePosting); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -536,10 +606,10 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent public boolean isDiscountCorrectsTax() { Object oo = get_Value(COLUMNNAME_IsDiscountCorrectsTax); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -559,10 +629,10 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent public boolean isExplicitCostAdjustment() { Object oo = get_Value(COLUMNNAME_IsExplicitCostAdjustment); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -582,10 +652,10 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent public boolean isPostIfClearingEqual() { Object oo = get_Value(COLUMNNAME_IsPostIfClearingEqual); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -605,10 +675,10 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent public boolean isPostServices() { Object oo = get_Value(COLUMNNAME_IsPostServices); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -628,10 +698,10 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent public boolean isTradeDiscountPosted() { Object oo = get_Value(COLUMNNAME_IsTradeDiscountPosted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -684,7 +754,7 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -740,10 +810,10 @@ public class X_C_AcctSchema extends PO implements I_C_AcctSchema, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_AcctSchema_Default.java b/org.adempiere.base/src/org/compiere/model/X_C_AcctSchema_Default.java index cabe84246e..f3fe2f0e4b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_AcctSchema_Default.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_AcctSchema_Default.java @@ -19,19 +19,19 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for C_AcctSchema_Default - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_AcctSchema_Default") -public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default, I_Persistent +public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_AcctSchema_Default (Properties ctx, int C_AcctSchema_Default_ID, String trxName) @@ -125,6 +125,98 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default } */ } + /** Standard Constructor */ + public X_C_AcctSchema_Default (Properties ctx, String C_AcctSchema_Default_UU, String trxName) + { + super (ctx, C_AcctSchema_Default_UU, trxName); + /** if (C_AcctSchema_Default_UU == null) + { + setB_Asset_Acct (0); + setB_InterestExp_Acct (0); + setB_InterestRev_Acct (0); + setB_InTransit_Acct (0); + setB_PaymentSelect_Acct (0); + setB_UnallocatedCash_Acct (0); + setC_AcctSchema_ID (0); + setCh_Expense_Acct (0); + setC_Prepayment_Acct (0); + setC_Receivable_Acct (0); + setNotInvoicedReceipts_Acct (0); + setP_Asset_Acct (0); + setPayDiscount_Exp_Acct (0); + setPayDiscount_Rev_Acct (0); + setP_COGS_Acct (0); + setP_CostAdjustment_Acct (0); + setP_Expense_Acct (0); + setP_InventoryClearing_Acct (0); + setP_InvoicePriceVariance_Acct (0); + setPJ_Asset_Acct (0); + setPJ_WIP_Acct (0); + setP_PurchasePriceVariance_Acct (0); + setP_RateVariance_Acct (0); + setP_Revenue_Acct (0); + setP_TradeDiscountGrant_Acct (0); + setP_TradeDiscountRec_Acct (0); + setRealizedGain_Acct (0); + setRealizedLoss_Acct (0); + setT_Credit_Acct (0); + setT_Due_Acct (0); + setT_Expense_Acct (0); + setUnrealizedGain_Acct (0); + setUnrealizedLoss_Acct (0); + setV_Liability_Acct (0); + setV_Prepayment_Acct (0); + setW_Differences_Acct (0); + setWriteOff_Acct (0); + } */ + } + + /** Standard Constructor */ + public X_C_AcctSchema_Default (Properties ctx, String C_AcctSchema_Default_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_AcctSchema_Default_UU, trxName, virtualColumns); + /** if (C_AcctSchema_Default_UU == null) + { + setB_Asset_Acct (0); + setB_InterestExp_Acct (0); + setB_InterestRev_Acct (0); + setB_InTransit_Acct (0); + setB_PaymentSelect_Acct (0); + setB_UnallocatedCash_Acct (0); + setC_AcctSchema_ID (0); + setCh_Expense_Acct (0); + setC_Prepayment_Acct (0); + setC_Receivable_Acct (0); + setNotInvoicedReceipts_Acct (0); + setP_Asset_Acct (0); + setPayDiscount_Exp_Acct (0); + setPayDiscount_Rev_Acct (0); + setP_COGS_Acct (0); + setP_CostAdjustment_Acct (0); + setP_Expense_Acct (0); + setP_InventoryClearing_Acct (0); + setP_InvoicePriceVariance_Acct (0); + setPJ_Asset_Acct (0); + setPJ_WIP_Acct (0); + setP_PurchasePriceVariance_Acct (0); + setP_RateVariance_Acct (0); + setP_Revenue_Acct (0); + setP_TradeDiscountGrant_Acct (0); + setP_TradeDiscountRec_Acct (0); + setRealizedGain_Acct (0); + setRealizedLoss_Acct (0); + setT_Credit_Acct (0); + setT_Due_Acct (0); + setT_Expense_Acct (0); + setUnrealizedGain_Acct (0); + setUnrealizedLoss_Acct (0); + setV_Liability_Acct (0); + setV_Prepayment_Acct (0); + setW_Differences_Acct (0); + setWriteOff_Acct (0); + } */ + } + /** Load Constructor */ public X_C_AcctSchema_Default (Properties ctx, ResultSet rs, String trxName) { @@ -132,7 +224,7 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -149,7 +241,7 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default public String toString() { StringBuilder sb = new StringBuilder ("X_C_AcctSchema_Default[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -346,12 +438,12 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getC_AcctSchema_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getC_AcctSchema_ID())); } public I_C_ValidCombination getCB_Asset_A() throws RuntimeException @@ -992,10 +1084,10 @@ public class X_C_AcctSchema_Default extends PO implements I_C_AcctSchema_Default public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_AcctSchema_Element.java b/org.adempiere.base/src/org/compiere/model/X_C_AcctSchema_Element.java index 2c908749ac..14043a1d32 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_AcctSchema_Element.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_AcctSchema_Element.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_AcctSchema_Element - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_AcctSchema_Element") -public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element, I_Persistent +public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_AcctSchema_Element (Properties ctx, int C_AcctSchema_Element_ID, String trxName) @@ -71,6 +71,44 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element } */ } + /** Standard Constructor */ + public X_C_AcctSchema_Element (Properties ctx, String C_AcctSchema_Element_UU, String trxName) + { + super (ctx, C_AcctSchema_Element_UU, trxName); + /** if (C_AcctSchema_Element_UU == null) + { + setC_AcctSchema_Element_ID (0); + setC_AcctSchema_ID (0); + setC_Element_ID (0); + setElementType (null); + setIsBalanced (false); + setIsMandatory (false); + setName (null); + setOrg_ID (0); + setSeqNo (0); +// @SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM C_AcctSchema_Element WHERE C_AcctSchema_ID=@C_AcctSchema_ID@ + } */ + } + + /** Standard Constructor */ + public X_C_AcctSchema_Element (Properties ctx, String C_AcctSchema_Element_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_AcctSchema_Element_UU, trxName, virtualColumns); + /** if (C_AcctSchema_Element_UU == null) + { + setC_AcctSchema_Element_ID (0); + setC_AcctSchema_ID (0); + setC_Element_ID (0); + setElementType (null); + setIsBalanced (false); + setIsMandatory (false); + setName (null); + setOrg_ID (0); + setSeqNo (0); +// @SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM C_AcctSchema_Element WHERE C_AcctSchema_ID=@C_AcctSchema_ID@ + } */ + } + /** Load Constructor */ public X_C_AcctSchema_Element (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +116,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -479,10 +517,10 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element public boolean isBalanced() { Object oo = get_Value(COLUMNNAME_IsBalanced); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -502,10 +540,10 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element public boolean isMandatory() { Object oo = get_Value(COLUMNNAME_IsMandatory); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -558,7 +596,7 @@ public class X_C_AcctSchema_Element extends PO implements I_C_AcctSchema_Element /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_AcctSchema_GL.java b/org.adempiere.base/src/org/compiere/model/X_C_AcctSchema_GL.java index 0408dfff0c..d9aa9a0f62 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_AcctSchema_GL.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_AcctSchema_GL.java @@ -19,19 +19,19 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for C_AcctSchema_GL - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_AcctSchema_GL") -public class X_C_AcctSchema_GL extends PO implements I_C_AcctSchema_GL, I_Persistent +public class X_C_AcctSchema_GL extends PO implements I_C_AcctSchema_GL, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_AcctSchema_GL (Properties ctx, int C_AcctSchema_GL_ID, String trxName) @@ -69,6 +69,42 @@ public class X_C_AcctSchema_GL extends PO implements I_C_AcctSchema_GL, I_Persis } */ } + /** Standard Constructor */ + public X_C_AcctSchema_GL (Properties ctx, String C_AcctSchema_GL_UU, String trxName) + { + super (ctx, C_AcctSchema_GL_UU, trxName); + /** if (C_AcctSchema_GL_UU == null) + { + setC_AcctSchema_ID (0); + setCommitmentOffset_Acct (0); + setCommitmentOffsetSales_Acct (0); + setIntercompanyDueFrom_Acct (0); + setIntercompanyDueTo_Acct (0); + setPPVOffset_Acct (0); + setUseCurrencyBalancing (false); + setUseSuspenseBalancing (false); + setUseSuspenseError (false); + } */ + } + + /** Standard Constructor */ + public X_C_AcctSchema_GL (Properties ctx, String C_AcctSchema_GL_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_AcctSchema_GL_UU, trxName, virtualColumns); + /** if (C_AcctSchema_GL_UU == null) + { + setC_AcctSchema_ID (0); + setCommitmentOffset_Acct (0); + setCommitmentOffsetSales_Acct (0); + setIntercompanyDueFrom_Acct (0); + setIntercompanyDueTo_Acct (0); + setPPVOffset_Acct (0); + setUseCurrencyBalancing (false); + setUseSuspenseBalancing (false); + setUseSuspenseError (false); + } */ + } + /** Load Constructor */ public X_C_AcctSchema_GL (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +112,7 @@ public class X_C_AcctSchema_GL extends PO implements I_C_AcctSchema_GL, I_Persis } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -93,7 +129,7 @@ public class X_C_AcctSchema_GL extends PO implements I_C_AcctSchema_GL, I_Persis public String toString() { StringBuilder sb = new StringBuilder ("X_C_AcctSchema_GL[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -140,12 +176,12 @@ public class X_C_AcctSchema_GL extends PO implements I_C_AcctSchema_GL, I_Persis return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getC_AcctSchema_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getC_AcctSchema_ID())); } public I_C_ValidCombination getCommitmentOffset_A() throws RuntimeException @@ -335,10 +371,10 @@ public class X_C_AcctSchema_GL extends PO implements I_C_AcctSchema_GL, I_Persis public boolean isUseCurrencyBalancing() { Object oo = get_Value(COLUMNNAME_UseCurrencyBalancing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -357,10 +393,10 @@ public class X_C_AcctSchema_GL extends PO implements I_C_AcctSchema_GL, I_Persis public boolean isUseSuspenseBalancing() { Object oo = get_Value(COLUMNNAME_UseSuspenseBalancing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -379,10 +415,10 @@ public class X_C_AcctSchema_GL extends PO implements I_C_AcctSchema_GL, I_Persis public boolean isUseSuspenseError() { Object oo = get_Value(COLUMNNAME_UseSuspenseError); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Activity.java b/org.adempiere.base/src/org/compiere/model/X_C_Activity.java index c4b4606a9e..686a1b4757 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Activity.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Activity.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Activity - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Activity") -public class X_C_Activity extends PO implements I_C_Activity, I_Persistent +public class X_C_Activity extends PO implements I_C_Activity, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Activity (Properties ctx, int C_Activity_ID, String trxName) @@ -59,6 +59,32 @@ public class X_C_Activity extends PO implements I_C_Activity, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Activity (Properties ctx, String C_Activity_UU, String trxName) + { + super (ctx, C_Activity_UU, trxName); + /** if (C_Activity_UU == null) + { + setC_Activity_ID (0); + setIsSummary (false); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_Activity (Properties ctx, String C_Activity_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Activity_UU, trxName, virtualColumns); + /** if (C_Activity_UU == null) + { + setC_Activity_ID (0); + setIsSummary (false); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_Activity (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_C_Activity extends PO implements I_C_Activity, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -170,10 +196,10 @@ public class X_C_Activity extends PO implements I_C_Activity, I_Persistent public boolean isSummary() { Object oo = get_Value(COLUMNNAME_IsSummary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -198,7 +224,7 @@ public class X_C_Activity extends PO implements I_C_Activity, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_AddressTransaction.java b/org.adempiere.base/src/org/compiere/model/X_C_AddressTransaction.java index 7c39a20bbe..59a7e4c61c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_AddressTransaction.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_AddressTransaction.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_AddressTransaction - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_AddressTransaction") -public class X_C_AddressTransaction extends PO implements I_C_AddressTransaction, I_Persistent +public class X_C_AddressTransaction extends PO implements I_C_AddressTransaction, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_AddressTransaction (Properties ctx, int C_AddressTransaction_ID, String trxName) @@ -63,6 +63,36 @@ public class X_C_AddressTransaction extends PO implements I_C_AddressTransaction } */ } + /** Standard Constructor */ + public X_C_AddressTransaction (Properties ctx, String C_AddressTransaction_UU, String trxName) + { + super (ctx, C_AddressTransaction_UU, trxName); + /** if (C_AddressTransaction_UU == null) + { + setC_AddressTransaction_ID (0); + setC_AddressValidation_ID (0); + setIsValid (false); +// N + setProcessed (false); +// N + } */ + } + + /** Standard Constructor */ + public X_C_AddressTransaction (Properties ctx, String C_AddressTransaction_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_AddressTransaction_UU, trxName, virtualColumns); + /** if (C_AddressTransaction_UU == null) + { + setC_AddressTransaction_ID (0); + setC_AddressValidation_ID (0); + setIsValid (false); +// N + setProcessed (false); +// N + } */ + } + /** Load Constructor */ public X_C_AddressTransaction (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_C_AddressTransaction extends PO implements I_C_AddressTransaction } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -253,7 +283,7 @@ public class X_C_AddressTransaction extends PO implements I_C_AddressTransaction /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getCity()); } @@ -331,10 +361,10 @@ public class X_C_AddressTransaction extends PO implements I_C_AddressTransaction public boolean isValid() { Object oo = get_Value(COLUMNNAME_IsValid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -370,10 +400,10 @@ public class X_C_AddressTransaction extends PO implements I_C_AddressTransaction public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_AddressValidation.java b/org.adempiere.base/src/org/compiere/model/X_C_AddressValidation.java index 2f8a73cc8e..b29f4ff6d7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_AddressValidation.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_AddressValidation.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_AddressValidation - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_AddressValidation") -public class X_C_AddressValidation extends PO implements I_C_AddressValidation, I_Persistent +public class X_C_AddressValidation extends PO implements I_C_AddressValidation, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_AddressValidation (Properties ctx, int C_AddressValidation_ID, String trxName) @@ -62,6 +62,36 @@ public class X_C_AddressValidation extends PO implements I_C_AddressValidation, } */ } + /** Standard Constructor */ + public X_C_AddressValidation (Properties ctx, String C_AddressValidation_UU, String trxName) + { + super (ctx, C_AddressValidation_UU, trxName); + /** if (C_AddressValidation_UU == null) + { + setC_AddressValidationCfg_ID (0); + setC_AddressValidation_ID (0); + setConnectionPassword (null); + setName (null); + setSeqNo (0); + setUserID (null); + } */ + } + + /** Standard Constructor */ + public X_C_AddressValidation (Properties ctx, String C_AddressValidation_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_AddressValidation_UU, trxName, virtualColumns); + /** if (C_AddressValidation_UU == null) + { + setC_AddressValidationCfg_ID (0); + setC_AddressValidation_ID (0); + setConnectionPassword (null); + setName (null); + setSeqNo (0); + setUserID (null); + } */ + } + /** Load Constructor */ public X_C_AddressValidation (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +99,7 @@ public class X_C_AddressValidation extends PO implements I_C_AddressValidation, } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_C_AddressValidationCfg.java b/org.adempiere.base/src/org/compiere/model/X_C_AddressValidationCfg.java index ccfab584f8..1be529d2d8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_AddressValidationCfg.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_AddressValidationCfg.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_AddressValidationCfg - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_AddressValidationCfg") -public class X_C_AddressValidationCfg extends PO implements I_C_AddressValidationCfg, I_Persistent +public class X_C_AddressValidationCfg extends PO implements I_C_AddressValidationCfg, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_AddressValidationCfg (Properties ctx, int C_AddressValidationCfg_ID, String trxName) @@ -59,6 +59,32 @@ public class X_C_AddressValidationCfg extends PO implements I_C_AddressValidatio } */ } + /** Standard Constructor */ + public X_C_AddressValidationCfg (Properties ctx, String C_AddressValidationCfg_UU, String trxName) + { + super (ctx, C_AddressValidationCfg_UU, trxName); + /** if (C_AddressValidationCfg_UU == null) + { + setC_AddressValidationCfg_ID (0); + setHostAddress (null); + setHostPort (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_AddressValidationCfg (Properties ctx, String C_AddressValidationCfg_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_AddressValidationCfg_UU, trxName, virtualColumns); + /** if (C_AddressValidationCfg_UU == null) + { + setC_AddressValidationCfg_ID (0); + setHostAddress (null); + setHostPort (0); + setName (null); + } */ + } + /** Load Constructor */ public X_C_AddressValidationCfg (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_C_AddressValidationCfg extends PO implements I_C_AddressValidatio } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -208,7 +234,7 @@ public class X_C_AddressValidationCfg extends PO implements I_C_AddressValidatio /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_AllocationHdr.java b/org.adempiere.base/src/org/compiere/model/X_C_AllocationHdr.java index 7ef788db43..0e8587beff 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_AllocationHdr.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_AllocationHdr.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_AllocationHdr - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_AllocationHdr") -public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persistent +public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_AllocationHdr (Properties ctx, int C_AllocationHdr_ID, String trxName) @@ -82,6 +82,52 @@ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persis } */ } + /** Standard Constructor */ + public X_C_AllocationHdr (Properties ctx, String C_AllocationHdr_UU, String trxName) + { + super (ctx, C_AllocationHdr_UU, trxName); + /** if (C_AllocationHdr_UU == null) + { + setApprovalAmt (Env.ZERO); + setC_AllocationHdr_ID (0); + setC_Currency_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setDateTrx (new Timestamp( System.currentTimeMillis() )); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setIsApproved (false); + setIsManual (false); + setPosted (false); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_C_AllocationHdr (Properties ctx, String C_AllocationHdr_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_AllocationHdr_UU, trxName, virtualColumns); + /** if (C_AllocationHdr_UU == null) + { + setApprovalAmt (Env.ZERO); + setC_AllocationHdr_ID (0); + setC_Currency_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setDateTrx (new Timestamp( System.currentTimeMillis() )); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setIsApproved (false); + setIsManual (false); + setPosted (false); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_C_AllocationHdr (Properties ctx, ResultSet rs, String trxName) { @@ -89,7 +135,7 @@ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persis } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -379,7 +425,7 @@ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -398,10 +444,10 @@ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persis public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -421,10 +467,10 @@ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persis public boolean isManual() { Object oo = get_Value(COLUMNNAME_IsManual); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -444,10 +490,10 @@ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persis public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -467,10 +513,10 @@ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persis public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -508,10 +554,10 @@ public class X_C_AllocationHdr extends PO implements I_C_AllocationHdr, I_Persis public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_AllocationLine.java b/org.adempiere.base/src/org/compiere/model/X_C_AllocationLine.java index 1f40f1c872..34857fd811 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_AllocationLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_AllocationLine.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_AllocationLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_AllocationLine") -public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Persistent +public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_AllocationLine (Properties ctx, int C_AllocationLine_ID, String trxName) @@ -64,6 +64,34 @@ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Pers } */ } + /** Standard Constructor */ + public X_C_AllocationLine (Properties ctx, String C_AllocationLine_UU, String trxName) + { + super (ctx, C_AllocationLine_UU, trxName); + /** if (C_AllocationLine_UU == null) + { + setAmount (Env.ZERO); + setC_AllocationHdr_ID (0); + setC_AllocationLine_ID (0); + setDiscountAmt (Env.ZERO); + setWriteOffAmt (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_AllocationLine (Properties ctx, String C_AllocationLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_AllocationLine_UU, trxName, virtualColumns); + /** if (C_AllocationLine_UU == null) + { + setAmount (Env.ZERO); + setC_AllocationHdr_ID (0); + setC_AllocationLine_ID (0); + setDiscountAmt (Env.ZERO); + setWriteOffAmt (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_AllocationLine (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +99,7 @@ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Pers } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -319,7 +347,7 @@ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_Invoice_ID())); } @@ -429,10 +457,10 @@ public class X_C_AllocationLine extends PO implements I_C_AllocationLine, I_Pers public boolean isManual() { Object oo = get_Value(COLUMNNAME_IsManual); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BP_BankAccount.java b/org.adempiere.base/src/org/compiere/model/X_C_BP_BankAccount.java index 1ac5d0ec59..fc9a4ec660 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BP_BankAccount.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BP_BankAccount.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_BP_BankAccount - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BP_BankAccount") -public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Persistent +public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BP_BankAccount (Properties ctx, int C_BP_BankAccount_ID, String trxName) @@ -59,6 +59,32 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers } */ } + /** Standard Constructor */ + public X_C_BP_BankAccount (Properties ctx, String C_BP_BankAccount_UU, String trxName) + { + super (ctx, C_BP_BankAccount_UU, trxName); + /** if (C_BP_BankAccount_UU == null) + { + setA_Name (null); + setC_BPartner_ID (0); + setC_BP_BankAccount_ID (0); + setIsACH (false); + } */ + } + + /** Standard Constructor */ + public X_C_BP_BankAccount (Properties ctx, String C_BP_BankAccount_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BP_BankAccount_UU, trxName, virtualColumns); + /** if (C_BP_BankAccount_UU == null) + { + setA_Name (null); + setC_BPartner_ID (0); + setC_BP_BankAccount_ID (0); + setIsACH (false); + } */ + } + /** Load Constructor */ public X_C_BP_BankAccount (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -230,7 +256,7 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getA_Name()); } @@ -606,10 +632,10 @@ public class X_C_BP_BankAccount extends PO implements I_C_BP_BankAccount, I_Pers public boolean isACH() { Object oo = get_Value(COLUMNNAME_IsACH); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BP_Customer_Acct.java b/org.adempiere.base/src/org/compiere/model/X_C_BP_Customer_Acct.java index 8685dffac3..03c05be077 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BP_Customer_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BP_Customer_Acct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_BP_Customer_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BP_Customer_Acct") -public class X_C_BP_Customer_Acct extends PO implements I_C_BP_Customer_Acct, I_Persistent +public class X_C_BP_Customer_Acct extends PO implements I_C_BP_Customer_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BP_Customer_Acct (Properties ctx, int C_BP_Customer_Acct_ID, String trxName) @@ -60,6 +60,34 @@ public class X_C_BP_Customer_Acct extends PO implements I_C_BP_Customer_Acct, I_ } */ } + /** Standard Constructor */ + public X_C_BP_Customer_Acct (Properties ctx, String C_BP_Customer_Acct_UU, String trxName) + { + super (ctx, C_BP_Customer_Acct_UU, trxName); + /** if (C_BP_Customer_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_BPartner_ID (0); + setC_Prepayment_Acct (0); + setC_Receivable_Acct (0); + setC_Receivable_Services_Acct (0); + } */ + } + + /** Standard Constructor */ + public X_C_BP_Customer_Acct (Properties ctx, String C_BP_Customer_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BP_Customer_Acct_UU, trxName, virtualColumns); + /** if (C_BP_Customer_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_BPartner_ID (0); + setC_Prepayment_Acct (0); + setC_Receivable_Acct (0); + setC_Receivable_Services_Acct (0); + } */ + } + /** Load Constructor */ public X_C_BP_Customer_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +95,7 @@ public class X_C_BP_Customer_Acct extends PO implements I_C_BP_Customer_Acct, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -84,7 +112,7 @@ public class X_C_BP_Customer_Acct extends PO implements I_C_BP_Customer_Acct, I_ public String toString() { StringBuilder sb = new StringBuilder ("X_C_BP_Customer_Acct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BP_EDI.java b/org.adempiere.base/src/org/compiere/model/X_C_BP_EDI.java index 87b0248790..b68a48ea40 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BP_EDI.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BP_EDI.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_BP_EDI - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BP_EDI") -public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent +public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BP_EDI (Properties ctx, int C_BP_EDI_ID, String trxName) @@ -81,6 +81,54 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent } */ } + /** Standard Constructor */ + public X_C_BP_EDI (Properties ctx, String C_BP_EDI_UU, String trxName) + { + super (ctx, C_BP_EDI_UU, trxName); + /** if (C_BP_EDI_UU == null) + { + setAD_Sequence_ID (0); + setC_BPartner_ID (0); + setC_BP_EDI_ID (0); + setCustomerNo (null); + setEDIType (null); + setEMail_Error_To (null); + setEMail_Info_To (null); + setIsAudited (false); + setIsInfoSent (false); + setM_Warehouse_ID (0); + setName (null); + setReceiveInquiryReply (false); + setReceiveOrderReply (false); + setSendInquiry (false); + setSendOrder (false); + } */ + } + + /** Standard Constructor */ + public X_C_BP_EDI (Properties ctx, String C_BP_EDI_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BP_EDI_UU, trxName, virtualColumns); + /** if (C_BP_EDI_UU == null) + { + setAD_Sequence_ID (0); + setC_BPartner_ID (0); + setC_BP_EDI_ID (0); + setCustomerNo (null); + setEDIType (null); + setEMail_Error_To (null); + setEMail_Info_To (null); + setIsAudited (false); + setIsInfoSent (false); + setM_Warehouse_ID (0); + setName (null); + setReceiveInquiryReply (false); + setReceiveOrderReply (false); + setSendInquiry (false); + setSendOrder (false); + } */ + } + /** Load Constructor */ public X_C_BP_EDI (Properties ctx, ResultSet rs, String trxName) { @@ -88,7 +136,7 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -368,10 +416,10 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent public boolean isAudited() { Object oo = get_Value(COLUMNNAME_IsAudited); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -391,10 +439,10 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent public boolean isInfoSent() { Object oo = get_Value(COLUMNNAME_IsInfoSent); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -447,7 +495,7 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -465,10 +513,10 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent public boolean isReceiveInquiryReply() { Object oo = get_Value(COLUMNNAME_ReceiveInquiryReply); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -487,10 +535,10 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent public boolean isReceiveOrderReply() { Object oo = get_Value(COLUMNNAME_ReceiveOrderReply); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -510,10 +558,10 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent public boolean isSendInquiry() { Object oo = get_Value(COLUMNNAME_SendInquiry); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -532,10 +580,10 @@ public class X_C_BP_EDI extends PO implements I_C_BP_EDI, I_Persistent public boolean isSendOrder() { Object oo = get_Value(COLUMNNAME_SendOrder); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BP_Employee_Acct.java b/org.adempiere.base/src/org/compiere/model/X_C_BP_Employee_Acct.java index 45c2aad4bd..a82142bb1a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BP_Employee_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BP_Employee_Acct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_BP_Employee_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BP_Employee_Acct") -public class X_C_BP_Employee_Acct extends PO implements I_C_BP_Employee_Acct, I_Persistent +public class X_C_BP_Employee_Acct extends PO implements I_C_BP_Employee_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BP_Employee_Acct (Properties ctx, int C_BP_Employee_Acct_ID, String trxName) @@ -54,6 +54,28 @@ public class X_C_BP_Employee_Acct extends PO implements I_C_BP_Employee_Acct, I_ } */ } + /** Standard Constructor */ + public X_C_BP_Employee_Acct (Properties ctx, String C_BP_Employee_Acct_UU, String trxName) + { + super (ctx, C_BP_Employee_Acct_UU, trxName); + /** if (C_BP_Employee_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_BPartner_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_BP_Employee_Acct (Properties ctx, String C_BP_Employee_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BP_Employee_Acct_UU, trxName, virtualColumns); + /** if (C_BP_Employee_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_BPartner_ID (0); + } */ + } + /** Load Constructor */ public X_C_BP_Employee_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_C_BP_Employee_Acct extends PO implements I_C_BP_Employee_Acct, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -78,7 +100,7 @@ public class X_C_BP_Employee_Acct extends PO implements I_C_BP_Employee_Acct, I_ public String toString() { StringBuilder sb = new StringBuilder ("X_C_BP_Employee_Acct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BP_Group.java b/org.adempiere.base/src/org/compiere/model/X_C_BP_Group.java index 5edad1b04c..33198cc05a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BP_Group.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BP_Group.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_BP_Group - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BP_Group") -public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent +public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BP_Group (Properties ctx, int C_BP_Group_ID, String trxName) @@ -65,6 +65,36 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent } */ } + /** Standard Constructor */ + public X_C_BP_Group (Properties ctx, String C_BP_Group_UU, String trxName) + { + super (ctx, C_BP_Group_UU, trxName); + /** if (C_BP_Group_UU == null) + { + setC_BP_Group_ID (0); + setIsConfidentialInfo (false); +// N + setIsDefault (false); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_BP_Group (Properties ctx, String C_BP_Group_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BP_Group_UU, trxName, virtualColumns); + /** if (C_BP_Group_UU == null) + { + setC_BP_Group_ID (0); + setIsConfidentialInfo (false); +// N + setIsDefault (false); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_BP_Group (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +102,7 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -235,10 +265,10 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent public boolean isConfidentialInfo() { Object oo = get_Value(COLUMNNAME_IsConfidentialInfo); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -258,10 +288,10 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -342,7 +372,7 @@ public class X_C_BP_Group extends PO implements I_C_BP_Group, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BP_Group_Acct.java b/org.adempiere.base/src/org/compiere/model/X_C_BP_Group_Acct.java index 2bbbe64560..550800a217 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BP_Group_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BP_Group_Acct.java @@ -19,19 +19,19 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for C_BP_Group_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BP_Group_Acct") -public class X_C_BP_Group_Acct extends PO implements I_C_BP_Group_Acct, I_Persistent +public class X_C_BP_Group_Acct extends PO implements I_C_BP_Group_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BP_Group_Acct (Properties ctx, int C_BP_Group_Acct_ID, String trxName) @@ -73,6 +73,46 @@ public class X_C_BP_Group_Acct extends PO implements I_C_BP_Group_Acct, I_Persis } */ } + /** Standard Constructor */ + public X_C_BP_Group_Acct (Properties ctx, String C_BP_Group_Acct_UU, String trxName) + { + super (ctx, C_BP_Group_Acct_UU, trxName); + /** if (C_BP_Group_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_BP_Group_ID (0); + setC_Prepayment_Acct (0); + setC_Receivable_Acct (0); + setC_Receivable_Services_Acct (0); + setNotInvoicedReceipts_Acct (0); + setPayDiscount_Exp_Acct (0); + setPayDiscount_Rev_Acct (0); + setV_Liability_Acct (0); + setV_Prepayment_Acct (0); + setWriteOff_Acct (0); + } */ + } + + /** Standard Constructor */ + public X_C_BP_Group_Acct (Properties ctx, String C_BP_Group_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BP_Group_Acct_UU, trxName, virtualColumns); + /** if (C_BP_Group_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_BP_Group_ID (0); + setC_Prepayment_Acct (0); + setC_Receivable_Acct (0); + setC_Receivable_Services_Acct (0); + setNotInvoicedReceipts_Acct (0); + setPayDiscount_Exp_Acct (0); + setPayDiscount_Rev_Acct (0); + setV_Liability_Acct (0); + setV_Prepayment_Acct (0); + setWriteOff_Acct (0); + } */ + } + /** Load Constructor */ public X_C_BP_Group_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -80,7 +120,7 @@ public class X_C_BP_Group_Acct extends PO implements I_C_BP_Group_Acct, I_Persis } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -97,7 +137,7 @@ public class X_C_BP_Group_Acct extends PO implements I_C_BP_Group_Acct, I_Persis public String toString() { StringBuilder sb = new StringBuilder ("X_C_BP_Group_Acct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -172,12 +212,12 @@ public class X_C_BP_Group_Acct extends PO implements I_C_BP_Group_Acct, I_Persis return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getC_BP_Group_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getC_BP_Group_ID())); } public I_C_ValidCombination getC_Prepayment_A() throws RuntimeException @@ -343,10 +383,10 @@ public class X_C_BP_Group_Acct extends PO implements I_C_BP_Group_Acct, I_Persis public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BP_Relation.java b/org.adempiere.base/src/org/compiere/model/X_C_BP_Relation.java index 17de8d9dd6..f32ab4fd06 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BP_Relation.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BP_Relation.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_BP_Relation - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BP_Relation") -public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent +public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BP_Relation (Properties ctx, int C_BP_Relation_ID, String trxName) @@ -71,6 +71,44 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent } */ } + /** Standard Constructor */ + public X_C_BP_Relation (Properties ctx, String C_BP_Relation_UU, String trxName) + { + super (ctx, C_BP_Relation_UU, trxName); + /** if (C_BP_Relation_UU == null) + { + setC_BPartner_ID (0); + setC_BPartnerRelation_ID (0); + setC_BPartnerRelation_Location_ID (0); + setC_BP_Relation_ID (0); + setIsBillTo (false); + setIsPayFrom (false); + setIsRemitTo (false); + setIsShipTo (false); +// N + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_BP_Relation (Properties ctx, String C_BP_Relation_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BP_Relation_UU, trxName, virtualColumns); + /** if (C_BP_Relation_UU == null) + { + setC_BPartner_ID (0); + setC_BPartnerRelation_ID (0); + setC_BPartnerRelation_Location_ID (0); + setC_BP_Relation_ID (0); + setIsBillTo (false); + setIsPayFrom (false); + setIsRemitTo (false); + setIsShipTo (false); +// N + setName (null); + } */ + } + /** Load Constructor */ public X_C_BP_Relation (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +116,7 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -278,10 +316,10 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent public boolean isBillTo() { Object oo = get_Value(COLUMNNAME_IsBillTo); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -301,10 +339,10 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent public boolean isPayFrom() { Object oo = get_Value(COLUMNNAME_IsPayFrom); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -324,10 +362,10 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent public boolean isRemitTo() { Object oo = get_Value(COLUMNNAME_IsRemitTo); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -347,10 +385,10 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent public boolean isShipTo() { Object oo = get_Value(COLUMNNAME_IsShipTo); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -375,7 +413,7 @@ public class X_C_BP_Relation extends PO implements I_C_BP_Relation, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BP_ShippingAcct.java b/org.adempiere.base/src/org/compiere/model/X_C_BP_ShippingAcct.java index e5f75453bf..6893800006 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BP_ShippingAcct.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BP_ShippingAcct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_BP_ShippingAcct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BP_ShippingAcct") -public class X_C_BP_ShippingAcct extends PO implements I_C_BP_ShippingAcct, I_Persistent +public class X_C_BP_ShippingAcct extends PO implements I_C_BP_ShippingAcct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BP_ShippingAcct (Properties ctx, int C_BP_ShippingAcct_ID, String trxName) @@ -54,6 +54,28 @@ public class X_C_BP_ShippingAcct extends PO implements I_C_BP_ShippingAcct, I_Pe } */ } + /** Standard Constructor */ + public X_C_BP_ShippingAcct (Properties ctx, String C_BP_ShippingAcct_UU, String trxName) + { + super (ctx, C_BP_ShippingAcct_UU, trxName); + /** if (C_BP_ShippingAcct_UU == null) + { + setC_BPartner_ID (0); + setC_BP_ShippingAcct_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_BP_ShippingAcct (Properties ctx, String C_BP_ShippingAcct_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BP_ShippingAcct_UU, trxName, virtualColumns); + /** if (C_BP_ShippingAcct_UU == null) + { + setC_BPartner_ID (0); + setC_BP_ShippingAcct_ID (0); + } */ + } + /** Load Constructor */ public X_C_BP_ShippingAcct (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_C_BP_ShippingAcct extends PO implements I_C_BP_ShippingAcct, I_Pe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BP_Vendor_Acct.java b/org.adempiere.base/src/org/compiere/model/X_C_BP_Vendor_Acct.java index d61e7b6b76..9310ef7aa6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BP_Vendor_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BP_Vendor_Acct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_BP_Vendor_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BP_Vendor_Acct") -public class X_C_BP_Vendor_Acct extends PO implements I_C_BP_Vendor_Acct, I_Persistent +public class X_C_BP_Vendor_Acct extends PO implements I_C_BP_Vendor_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BP_Vendor_Acct (Properties ctx, int C_BP_Vendor_Acct_ID, String trxName) @@ -58,6 +58,32 @@ public class X_C_BP_Vendor_Acct extends PO implements I_C_BP_Vendor_Acct, I_Pers } */ } + /** Standard Constructor */ + public X_C_BP_Vendor_Acct (Properties ctx, String C_BP_Vendor_Acct_UU, String trxName) + { + super (ctx, C_BP_Vendor_Acct_UU, trxName); + /** if (C_BP_Vendor_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_BPartner_ID (0); + setV_Liability_Acct (0); + setV_Prepayment_Acct (0); + } */ + } + + /** Standard Constructor */ + public X_C_BP_Vendor_Acct (Properties ctx, String C_BP_Vendor_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BP_Vendor_Acct_UU, trxName, virtualColumns); + /** if (C_BP_Vendor_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_BPartner_ID (0); + setV_Liability_Acct (0); + setV_Prepayment_Acct (0); + } */ + } + /** Load Constructor */ public X_C_BP_Vendor_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_C_BP_Vendor_Acct extends PO implements I_C_BP_Vendor_Acct, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -82,7 +108,7 @@ public class X_C_BP_Vendor_Acct extends PO implements I_C_BP_Vendor_Acct, I_Pers public String toString() { StringBuilder sb = new StringBuilder ("X_C_BP_Vendor_Acct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BP_Withholding.java b/org.adempiere.base/src/org/compiere/model/X_C_BP_Withholding.java index 734c5a395b..59b25c09a6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BP_Withholding.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BP_Withholding.java @@ -19,19 +19,19 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for C_BP_Withholding - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BP_Withholding") -public class X_C_BP_Withholding extends PO implements I_C_BP_Withholding, I_Persistent +public class X_C_BP_Withholding extends PO implements I_C_BP_Withholding, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BP_Withholding (Properties ctx, int C_BP_Withholding_ID, String trxName) @@ -59,6 +59,32 @@ public class X_C_BP_Withholding extends PO implements I_C_BP_Withholding, I_Pers } */ } + /** Standard Constructor */ + public X_C_BP_Withholding (Properties ctx, String C_BP_Withholding_UU, String trxName) + { + super (ctx, C_BP_Withholding_UU, trxName); + /** if (C_BP_Withholding_UU == null) + { + setC_BPartner_ID (0); + setC_Withholding_ID (0); + setIsMandatoryWithholding (false); + setIsTemporaryExempt (false); + } */ + } + + /** Standard Constructor */ + public X_C_BP_Withholding (Properties ctx, String C_BP_Withholding_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BP_Withholding_UU, trxName, virtualColumns); + /** if (C_BP_Withholding_UU == null) + { + setC_BPartner_ID (0); + setC_Withholding_ID (0); + setIsMandatoryWithholding (false); + setIsTemporaryExempt (false); + } */ + } + /** Load Constructor */ public X_C_BP_Withholding (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_C_BP_Withholding extends PO implements I_C_BP_Withholding, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -83,7 +109,7 @@ public class X_C_BP_Withholding extends PO implements I_C_BP_Withholding, I_Pers public String toString() { StringBuilder sb = new StringBuilder ("X_C_BP_Withholding[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -115,12 +141,12 @@ public class X_C_BP_Withholding extends PO implements I_C_BP_Withholding, I_Pers return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getC_BPartner_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getC_BPartner_ID())); } /** Set C_BP_Withholding_UU. @@ -196,10 +222,10 @@ public class X_C_BP_Withholding extends PO implements I_C_BP_Withholding, I_Pers public boolean isMandatoryWithholding() { Object oo = get_Value(COLUMNNAME_IsMandatoryWithholding); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -219,10 +245,10 @@ public class X_C_BP_Withholding extends PO implements I_C_BP_Withholding, I_Pers public boolean isTemporaryExempt() { Object oo = get_Value(COLUMNNAME_IsTemporaryExempt); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BPartner.java b/org.adempiere.base/src/org/compiere/model/X_C_BPartner.java index 24c3e1c11f..e4c822c1db 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BPartner.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BPartner.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_BPartner - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BPartner") -public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent +public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BPartner (Properties ctx, int C_BPartner_ID, String trxName) @@ -92,6 +92,62 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent } */ } + /** Standard Constructor */ + public X_C_BPartner (Properties ctx, String C_BPartner_UU, String trxName) + { + super (ctx, C_BPartner_UU, trxName); + /** if (C_BPartner_UU == null) + { + setC_BPartner_ID (0); + setC_BP_Group_ID (0); + setIs1099Vendor (false); +// N + setIsCustomer (false); + setIsEmployee (false); + setIsOneTime (false); + setIsPOTaxExempt (false); +// N + setIsProspect (false); +// N + setIsSalesRep (false); + setIsSummary (false); + setIsVendor (false); + setName (null); + setSendEMail (false); + setSO_CreditLimit (Env.ZERO); + setSO_CreditUsed (Env.ZERO); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_BPartner (Properties ctx, String C_BPartner_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BPartner_UU, trxName, virtualColumns); + /** if (C_BPartner_UU == null) + { + setC_BPartner_ID (0); + setC_BP_Group_ID (0); + setIs1099Vendor (false); +// N + setIsCustomer (false); + setIsEmployee (false); + setIsOneTime (false); + setIsPOTaxExempt (false); +// N + setIsProspect (false); +// N + setIsSalesRep (false); + setIsSummary (false); + setIsVendor (false); + setName (null); + setSendEMail (false); + setSO_CreditLimit (Env.ZERO); + setSO_CreditUsed (Env.ZERO); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_BPartner (Properties ctx, ResultSet rs, String trxName) { @@ -99,7 +155,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -721,10 +777,10 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public boolean is1099Vendor() { Object oo = get_Value(COLUMNNAME_Is1099Vendor); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -744,10 +800,10 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public boolean isCustomer() { Object oo = get_Value(COLUMNNAME_IsCustomer); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -767,10 +823,10 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public boolean isDiscountPrinted() { Object oo = get_Value(COLUMNNAME_IsDiscountPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -790,10 +846,10 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public boolean isEmployee() { Object oo = get_Value(COLUMNNAME_IsEmployee); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -813,10 +869,10 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public boolean isManufacturer() { Object oo = get_Value(COLUMNNAME_IsManufacturer); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -835,10 +891,10 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public boolean isOneTime() { Object oo = get_Value(COLUMNNAME_IsOneTime); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -858,10 +914,10 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public boolean isPOTaxExempt() { Object oo = get_Value(COLUMNNAME_IsPOTaxExempt); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -881,10 +937,10 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public boolean isProspect() { Object oo = get_Value(COLUMNNAME_IsProspect); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -904,10 +960,10 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public boolean isSalesRep() { Object oo = get_Value(COLUMNNAME_IsSalesRep); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -927,10 +983,10 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public boolean isSummary() { Object oo = get_Value(COLUMNNAME_IsSummary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -950,10 +1006,10 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public boolean isTaxExempt() { Object oo = get_Value(COLUMNNAME_IsTaxExempt); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -973,10 +1029,10 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public boolean isVendor() { Object oo = get_Value(COLUMNNAME_IsVendor); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1094,7 +1150,7 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -1412,10 +1468,10 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent public boolean isSendEMail() { Object oo = get_Value(COLUMNNAME_SendEMail); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BPartner_Location.java b/org.adempiere.base/src/org/compiere/model/X_C_BPartner_Location.java index 7297babeb8..331f6b4273 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BPartner_Location.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BPartner_Location.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_BPartner_Location - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BPartner_Location") -public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, I_Persistent +public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BPartner_Location (Properties ctx, int C_BPartner_Location_ID, String trxName) @@ -81,6 +81,54 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, } */ } + /** Standard Constructor */ + public X_C_BPartner_Location (Properties ctx, String C_BPartner_Location_UU, String trxName) + { + super (ctx, C_BPartner_Location_UU, trxName); + /** if (C_BPartner_Location_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_Location_ID (0); + setIsBillTo (true); +// Y + setIsPayFrom (true); +// Y + setIsPreserveCustomName (false); +// N + setIsRemitTo (true); +// Y + setIsShipTo (true); +// Y + setName (null); +// . + } */ + } + + /** Standard Constructor */ + public X_C_BPartner_Location (Properties ctx, String C_BPartner_Location_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BPartner_Location_UU, trxName, virtualColumns); + /** if (C_BPartner_Location_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_Location_ID (0); + setIsBillTo (true); +// Y + setIsPayFrom (true); +// Y + setIsPreserveCustomName (false); +// N + setIsRemitTo (true); +// Y + setIsShipTo (true); +// Y + setName (null); +// . + } */ + } + /** Load Constructor */ public X_C_BPartner_Location (Properties ctx, ResultSet rs, String trxName) { @@ -88,7 +136,7 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -275,10 +323,10 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, public boolean isBillTo() { Object oo = get_Value(COLUMNNAME_IsBillTo); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -314,10 +362,10 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, public boolean isPayFrom() { Object oo = get_Value(COLUMNNAME_IsPayFrom); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -336,10 +384,10 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, public boolean isPreserveCustomName() { Object oo = get_Value(COLUMNNAME_IsPreserveCustomName); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -359,10 +407,10 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, public boolean isRemitTo() { Object oo = get_Value(COLUMNNAME_IsRemitTo); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -382,10 +430,10 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, public boolean isShipTo() { Object oo = get_Value(COLUMNNAME_IsShipTo); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -410,7 +458,7 @@ public class X_C_BPartner_Location extends PO implements I_C_BPartner_Location, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BPartner_Product.java b/org.adempiere.base/src/org/compiere/model/X_C_BPartner_Product.java index 23f1f7b987..83b4d3b0bf 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BPartner_Product.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BPartner_Product.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for C_BPartner_Product - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BPartner_Product") -public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_Persistent +public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BPartner_Product (Properties ctx, int C_BPartner_Product_ID, String trxName) @@ -64,6 +64,36 @@ public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_ } */ } + /** Standard Constructor */ + public X_C_BPartner_Product (Properties ctx, String C_BPartner_Product_UU, String trxName) + { + super (ctx, C_BPartner_Product_UU, trxName); + /** if (C_BPartner_Product_UU == null) + { + setC_BPartner_ID (0); + setIsManufacturer (false); +// N + setM_Product_ID (0); + setShelfLifeMinDays (0); + setShelfLifeMinPct (0); + } */ + } + + /** Standard Constructor */ + public X_C_BPartner_Product (Properties ctx, String C_BPartner_Product_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BPartner_Product_UU, trxName, virtualColumns); + /** if (C_BPartner_Product_UU == null) + { + setC_BPartner_ID (0); + setIsManufacturer (false); +// N + setM_Product_ID (0); + setShelfLifeMinDays (0); + setShelfLifeMinPct (0); + } */ + } + /** Load Constructor */ public X_C_BPartner_Product (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +101,7 @@ public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -88,7 +118,7 @@ public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_ public String toString() { StringBuilder sb = new StringBuilder ("X_C_BPartner_Product[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -165,10 +195,10 @@ public class X_C_BPartner_Product extends PO implements I_C_BPartner_Product, I_ public boolean isManufacturer() { Object oo = get_Value(COLUMNNAME_IsManufacturer); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Bank.java b/org.adempiere.base/src/org/compiere/model/X_C_Bank.java index 04fe0fdc7a..fb303a4a69 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Bank.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Bank.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Bank - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Bank") -public class X_C_Bank extends PO implements I_C_Bank, I_Persistent +public class X_C_Bank extends PO implements I_C_Bank, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Bank (Properties ctx, int C_Bank_ID, String trxName) @@ -61,6 +61,34 @@ public class X_C_Bank extends PO implements I_C_Bank, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Bank (Properties ctx, String C_Bank_UU, String trxName) + { + super (ctx, C_Bank_UU, trxName); + /** if (C_Bank_UU == null) + { + setC_Bank_ID (0); + setIsOwnBank (true); +// Y + setName (null); + setRoutingNo (null); + } */ + } + + /** Standard Constructor */ + public X_C_Bank (Properties ctx, String C_Bank_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Bank_UU, trxName, virtualColumns); + /** if (C_Bank_UU == null) + { + setC_Bank_ID (0); + setIsOwnBank (true); +// Y + setName (null); + setRoutingNo (null); + } */ + } + /** Load Constructor */ public X_C_Bank (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_C_Bank extends PO implements I_C_Bank, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -184,10 +212,10 @@ public class X_C_Bank extends PO implements I_C_Bank, I_Persistent public boolean isOwnBank() { Object oo = get_Value(COLUMNNAME_IsOwnBank); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -212,7 +240,7 @@ public class X_C_Bank extends PO implements I_C_Bank, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BankAccount.java b/org.adempiere.base/src/org/compiere/model/X_C_BankAccount.java index 55e18ceb18..159d2aa785 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BankAccount.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BankAccount.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_BankAccount - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BankAccount") -public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent +public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BankAccount (Properties ctx, int C_BankAccount_ID, String trxName) @@ -73,6 +73,44 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent } */ } + /** Standard Constructor */ + public X_C_BankAccount (Properties ctx, String C_BankAccount_UU, String trxName) + { + super (ctx, C_BankAccount_UU, trxName); + /** if (C_BankAccount_UU == null) + { + setAccountNo (null); + setBankAccountType (null); + setC_BankAccount_ID (0); + setC_Bank_ID (0); + setC_Currency_ID (0); + setCreditLimit (Env.ZERO); + setCurrentBalance (Env.ZERO); + setIsDefault (false); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_BankAccount (Properties ctx, String C_BankAccount_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BankAccount_UU, trxName, virtualColumns); + /** if (C_BankAccount_UU == null) + { + setAccountNo (null); + setBankAccountType (null); + setC_BankAccount_ID (0); + setC_Bank_ID (0); + setC_Currency_ID (0); + setCreditLimit (Env.ZERO); + setCurrentBalance (Env.ZERO); + setIsDefault (false); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_BankAccount (Properties ctx, ResultSet rs, String trxName) { @@ -80,7 +118,7 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -337,10 +375,10 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -365,7 +403,7 @@ public class X_C_BankAccount extends PO implements I_C_BankAccount, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BankAccountDoc.java b/org.adempiere.base/src/org/compiere/model/X_C_BankAccountDoc.java index 3c246327a1..7462f4b093 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BankAccountDoc.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BankAccountDoc.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_BankAccountDoc - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BankAccountDoc") -public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Persistent +public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BankAccountDoc (Properties ctx, int C_BankAccountDoc_ID, String trxName) @@ -61,6 +61,34 @@ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Pers } */ } + /** Standard Constructor */ + public X_C_BankAccountDoc (Properties ctx, String C_BankAccountDoc_UU, String trxName) + { + super (ctx, C_BankAccountDoc_UU, trxName); + /** if (C_BankAccountDoc_UU == null) + { + setC_BankAccountDoc_ID (0); + setC_BankAccount_ID (0); + setCurrentNext (0); + setName (null); + setPaymentRule (null); + } */ + } + + /** Standard Constructor */ + public X_C_BankAccountDoc (Properties ctx, String C_BankAccountDoc_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BankAccountDoc_UU, trxName, virtualColumns); + /** if (C_BankAccountDoc_UU == null) + { + setC_BankAccountDoc_ID (0); + setC_BankAccount_ID (0); + setCurrentNext (0); + setName (null); + setPaymentRule (null); + } */ + } + /** Load Constructor */ public X_C_BankAccountDoc (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -236,7 +264,7 @@ public class X_C_BankAccountDoc extends PO implements I_C_BankAccountDoc, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BankAccount_Acct.java b/org.adempiere.base/src/org/compiere/model/X_C_BankAccount_Acct.java index 8d77bb5db6..5672be3484 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BankAccount_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BankAccount_Acct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_BankAccount_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BankAccount_Acct") -public class X_C_BankAccount_Acct extends PO implements I_C_BankAccount_Acct, I_Persistent +public class X_C_BankAccount_Acct extends PO implements I_C_BankAccount_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BankAccount_Acct (Properties ctx, int C_BankAccount_Acct_ID, String trxName) @@ -66,6 +66,40 @@ public class X_C_BankAccount_Acct extends PO implements I_C_BankAccount_Acct, I_ } */ } + /** Standard Constructor */ + public X_C_BankAccount_Acct (Properties ctx, String C_BankAccount_Acct_UU, String trxName) + { + super (ctx, C_BankAccount_Acct_UU, trxName); + /** if (C_BankAccount_Acct_UU == null) + { + setB_Asset_Acct (0); + setB_InterestExp_Acct (0); + setB_InterestRev_Acct (0); + setB_InTransit_Acct (0); + setB_PaymentSelect_Acct (0); + setB_UnallocatedCash_Acct (0); + setC_AcctSchema_ID (0); + setC_BankAccount_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_BankAccount_Acct (Properties ctx, String C_BankAccount_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BankAccount_Acct_UU, trxName, virtualColumns); + /** if (C_BankAccount_Acct_UU == null) + { + setB_Asset_Acct (0); + setB_InterestExp_Acct (0); + setB_InterestRev_Acct (0); + setB_InTransit_Acct (0); + setB_PaymentSelect_Acct (0); + setB_UnallocatedCash_Acct (0); + setC_AcctSchema_ID (0); + setC_BankAccount_ID (0); + } */ + } + /** Load Constructor */ public X_C_BankAccount_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -73,7 +107,7 @@ public class X_C_BankAccount_Acct extends PO implements I_C_BankAccount_Acct, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -90,7 +124,7 @@ public class X_C_BankAccount_Acct extends PO implements I_C_BankAccount_Acct, I_ public String toString() { StringBuilder sb = new StringBuilder ("X_C_BankAccount_Acct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BankAccount_Processor.java b/org.adempiere.base/src/org/compiere/model/X_C_BankAccount_Processor.java index f87b6f633e..91d093162b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BankAccount_Processor.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BankAccount_Processor.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for C_BankAccount_Processor - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BankAccount_Processor") -public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Processor, I_Persistent +public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Processor, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BankAccount_Processor (Properties ctx, int C_BankAccount_Processor_ID, String trxName) @@ -104,6 +104,76 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro } */ } + /** Standard Constructor */ + public X_C_BankAccount_Processor (Properties ctx, String C_BankAccount_Processor_UU, String trxName) + { + super (ctx, C_BankAccount_Processor_UU, trxName); + /** if (C_BankAccount_Processor_UU == null) + { + setAcceptAMEX (false); +// N + setAcceptATM (false); +// N + setAcceptCheck (false); +// N + setAcceptCorporate (false); +// N + setAcceptDiners (false); +// N + setAcceptDirectDebit (false); +// N + setAcceptDirectDeposit (false); +// N + setAcceptDiscover (false); +// N + setAcceptMC (false); +// N + setAcceptVisa (false); +// N + setC_BankAccount_ID (0); + setC_PaymentProcessor_ID (0); + setPassword (null); + setRequireVV (false); +// N + setUserID (null); + } */ + } + + /** Standard Constructor */ + public X_C_BankAccount_Processor (Properties ctx, String C_BankAccount_Processor_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BankAccount_Processor_UU, trxName, virtualColumns); + /** if (C_BankAccount_Processor_UU == null) + { + setAcceptAMEX (false); +// N + setAcceptATM (false); +// N + setAcceptCheck (false); +// N + setAcceptCorporate (false); +// N + setAcceptDiners (false); +// N + setAcceptDirectDebit (false); +// N + setAcceptDirectDeposit (false); +// N + setAcceptDiscover (false); +// N + setAcceptMC (false); +// N + setAcceptVisa (false); +// N + setC_BankAccount_ID (0); + setC_PaymentProcessor_ID (0); + setPassword (null); + setRequireVV (false); +// N + setUserID (null); + } */ + } + /** Load Constructor */ public X_C_BankAccount_Processor (Properties ctx, ResultSet rs, String trxName) { @@ -111,7 +181,7 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -128,7 +198,7 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public String toString() { StringBuilder sb = new StringBuilder ("X_C_BankAccount_Processor[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -146,10 +216,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isAcceptAMEX() { Object oo = get_Value(COLUMNNAME_AcceptAMEX); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -169,10 +239,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isAcceptATM() { Object oo = get_Value(COLUMNNAME_AcceptATM); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -192,10 +262,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isAcceptCheck() { Object oo = get_Value(COLUMNNAME_AcceptCheck); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -215,10 +285,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isAcceptCorporate() { Object oo = get_Value(COLUMNNAME_AcceptCorporate); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -238,10 +308,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isAcceptDiners() { Object oo = get_Value(COLUMNNAME_AcceptDiners); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -261,10 +331,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isAcceptDirectDebit() { Object oo = get_Value(COLUMNNAME_AcceptDirectDebit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -284,10 +354,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isAcceptDirectDeposit() { Object oo = get_Value(COLUMNNAME_AcceptDirectDeposit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -307,10 +377,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isAcceptDiscover() { Object oo = get_Value(COLUMNNAME_AcceptDiscover); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -330,10 +400,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isAcceptMC() { Object oo = get_Value(COLUMNNAME_AcceptMC); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -353,10 +423,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isAcceptVisa() { Object oo = get_Value(COLUMNNAME_AcceptVisa); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -473,10 +543,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isPPAcceptAMEX() { Object oo = get_Value(COLUMNNAME_IsPPAcceptAMEX); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -494,10 +564,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isPPAcceptATM() { Object oo = get_Value(COLUMNNAME_IsPPAcceptATM); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -515,10 +585,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isPPAcceptCheck() { Object oo = get_Value(COLUMNNAME_IsPPAcceptCheck); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -536,10 +606,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isPPAcceptCorporate() { Object oo = get_Value(COLUMNNAME_IsPPAcceptCorporate); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -557,10 +627,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isPPAcceptDiners() { Object oo = get_Value(COLUMNNAME_IsPPAcceptDiners); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -578,10 +648,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isPPAcceptDirectDebit() { Object oo = get_Value(COLUMNNAME_IsPPAcceptDirectDebit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -599,10 +669,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isPPAcceptDirectDeposit() { Object oo = get_Value(COLUMNNAME_IsPPAcceptDirectDeposit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -620,10 +690,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isPPAcceptDiscover() { Object oo = get_Value(COLUMNNAME_IsPPAcceptDiscover); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -641,10 +711,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isPPAcceptMC() { Object oo = get_Value(COLUMNNAME_IsPPAcceptMC); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -662,10 +732,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isPPAcceptVisa() { Object oo = get_Value(COLUMNNAME_IsPPAcceptVisa); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -736,10 +806,10 @@ public class X_C_BankAccount_Processor extends PO implements I_C_BankAccount_Pro public boolean isRequireVV() { Object oo = get_Value(COLUMNNAME_RequireVV); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BankStatement.java b/org.adempiere.base/src/org/compiere/model/X_C_BankStatement.java index d0f439452f..636cc2724b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BankStatement.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BankStatement.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_BankStatement - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BankStatement") -public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persistent +public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BankStatement (Properties ctx, int C_BankStatement_ID, String trxName) @@ -92,6 +92,62 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis } */ } + /** Standard Constructor */ + public X_C_BankStatement (Properties ctx, String C_BankStatement_UU, String trxName) + { + super (ctx, C_BankStatement_UU, trxName); + /** if (C_BankStatement_UU == null) + { + setC_BankAccount_ID (0); + setC_BankStatement_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setEndingBalance (Env.ZERO); + setIsApproved (false); +// N + setIsManual (true); +// Y + setName (null); +// @#Date@ + setPosted (false); +// N + setProcessed (false); + setStatementDate (new Timestamp( System.currentTimeMillis() )); +// @Date@ + } */ + } + + /** Standard Constructor */ + public X_C_BankStatement (Properties ctx, String C_BankStatement_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BankStatement_UU, trxName, virtualColumns); + /** if (C_BankStatement_UU == null) + { + setC_BankAccount_ID (0); + setC_BankStatement_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setEndingBalance (Env.ZERO); + setIsApproved (false); +// N + setIsManual (true); +// Y + setName (null); +// @#Date@ + setPosted (false); +// N + setProcessed (false); + setStatementDate (new Timestamp( System.currentTimeMillis() )); +// @Date@ + } */ + } + /** Load Constructor */ public X_C_BankStatement (Properties ctx, ResultSet rs, String trxName) { @@ -99,7 +155,7 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -438,10 +494,10 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -461,10 +517,10 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis public boolean isManual() { Object oo = get_Value(COLUMNNAME_IsManual); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -504,7 +560,7 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -523,10 +579,10 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -546,10 +602,10 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -587,10 +643,10 @@ public class X_C_BankStatement extends PO implements I_C_BankStatement, I_Persis public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BankStatementLine.java b/org.adempiere.base/src/org/compiere/model/X_C_BankStatementLine.java index 4519905bd7..ac202f9661 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BankStatementLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BankStatementLine.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_BankStatementLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BankStatementLine") -public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, I_Persistent +public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BankStatementLine (Properties ctx, int C_BankStatementLine_ID, String trxName) @@ -94,6 +94,64 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, } */ } + /** Standard Constructor */ + public X_C_BankStatementLine (Properties ctx, String C_BankStatementLine_UU, String trxName) + { + super (ctx, C_BankStatementLine_UU, trxName); + /** if (C_BankStatementLine_UU == null) + { + setC_BankStatement_ID (0); + setC_BankStatementLine_ID (0); + setC_Currency_ID (0); +// @SQL=SELECT C_Currency_ID FROM C_BankAccount WHERE C_BankAccount_ID=@C_BankAccount_ID@ + setChargeAmt (Env.ZERO); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @DateAcct@ + setInterestAmt (Env.ZERO); + setIsManual (true); +// Y + setIsReversal (false); + setLine (0); +// @SQL=SELECT COALESCE(MAX(Line),0)+10 FROM C_BankStatementLine WHERE C_BankStatement_ID=@C_BankStatement_ID@ + setProcessed (false); + setStatementLineDate (new Timestamp( System.currentTimeMillis() )); +// @StatementLineDate@ + setStmtAmt (Env.ZERO); + setTrxAmt (Env.ZERO); + setValutaDate (new Timestamp( System.currentTimeMillis() )); +// @StatementDate@ + } */ + } + + /** Standard Constructor */ + public X_C_BankStatementLine (Properties ctx, String C_BankStatementLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BankStatementLine_UU, trxName, virtualColumns); + /** if (C_BankStatementLine_UU == null) + { + setC_BankStatement_ID (0); + setC_BankStatementLine_ID (0); + setC_Currency_ID (0); +// @SQL=SELECT C_Currency_ID FROM C_BankAccount WHERE C_BankAccount_ID=@C_BankAccount_ID@ + setChargeAmt (Env.ZERO); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @DateAcct@ + setInterestAmt (Env.ZERO); + setIsManual (true); +// Y + setIsReversal (false); + setLine (0); +// @SQL=SELECT COALESCE(MAX(Line),0)+10 FROM C_BankStatementLine WHERE C_BankStatement_ID=@C_BankStatement_ID@ + setProcessed (false); + setStatementLineDate (new Timestamp( System.currentTimeMillis() )); +// @StatementLineDate@ + setStmtAmt (Env.ZERO); + setTrxAmt (Env.ZERO); + setValutaDate (new Timestamp( System.currentTimeMillis() )); +// @StatementDate@ + } */ + } + /** Load Constructor */ public X_C_BankStatementLine (Properties ctx, ResultSet rs, String trxName) { @@ -101,7 +159,7 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -605,10 +663,10 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, public boolean isManual() { Object oo = get_Value(COLUMNNAME_IsManual); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -628,10 +686,10 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, public boolean isReversal() { Object oo = get_Value(COLUMNNAME_IsReversal); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -659,7 +717,7 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getLine())); } @@ -709,10 +767,10 @@ public class X_C_BankStatementLine extends PO implements I_C_BankStatementLine, public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BankStatementLoader.java b/org.adempiere.base/src/org/compiere/model/X_C_BankStatementLoader.java index 0a0c580012..44a8af7b14 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BankStatementLoader.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BankStatementLoader.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_BankStatementLoader - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BankStatementLoader") -public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoader, I_Persistent +public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoader, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BankStatementLoader (Properties ctx, int C_BankStatementLoader_ID, String trxName) @@ -58,6 +58,30 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad } */ } + /** Standard Constructor */ + public X_C_BankStatementLoader (Properties ctx, String C_BankStatementLoader_UU, String trxName) + { + super (ctx, C_BankStatementLoader_UU, trxName); + /** if (C_BankStatementLoader_UU == null) + { + setC_BankAccount_ID (0); + setC_BankStatementLoader_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_BankStatementLoader (Properties ctx, String C_BankStatementLoader_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BankStatementLoader_UU, trxName, virtualColumns); + /** if (C_BankStatementLoader_UU == null) + { + setC_BankAccount_ID (0); + setC_BankStatementLoader_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_C_BankStatementLoader (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +89,7 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -317,7 +341,7 @@ public class X_C_BankStatementLoader extends PO implements I_C_BankStatementLoad /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BankStatementMatcher.java b/org.adempiere.base/src/org/compiere/model/X_C_BankStatementMatcher.java index 71d4417e66..40e4f499d6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BankStatementMatcher.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BankStatementMatcher.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_BankStatementMatcher - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BankStatementMatcher") -public class X_C_BankStatementMatcher extends PO implements I_C_BankStatementMatcher, I_Persistent +public class X_C_BankStatementMatcher extends PO implements I_C_BankStatementMatcher, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BankStatementMatcher (Properties ctx, int C_BankStatementMatcher_ID, String trxName) @@ -59,6 +59,32 @@ public class X_C_BankStatementMatcher extends PO implements I_C_BankStatementMat } */ } + /** Standard Constructor */ + public X_C_BankStatementMatcher (Properties ctx, String C_BankStatementMatcher_UU, String trxName) + { + super (ctx, C_BankStatementMatcher_UU, trxName); + /** if (C_BankStatementMatcher_UU == null) + { + setC_BankStatementMatcher_ID (0); + setClassname (null); + setName (null); + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_C_BankStatementMatcher (Properties ctx, String C_BankStatementMatcher_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BankStatementMatcher_UU, trxName, virtualColumns); + /** if (C_BankStatementMatcher_UU == null) + { + setC_BankStatementMatcher_ID (0); + setClassname (null); + setName (null); + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_C_BankStatementMatcher (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_C_BankStatementMatcher extends PO implements I_C_BankStatementMat } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -175,7 +201,7 @@ public class X_C_BankStatementMatcher extends PO implements I_C_BankStatementMat /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_BankTransfer.java b/org.adempiere.base/src/org/compiere/model/X_C_BankTransfer.java index a6bbe6c4ab..6455eadf02 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_BankTransfer.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_BankTransfer.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for C_BankTransfer - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_BankTransfer") -public class X_C_BankTransfer extends PO implements I_C_BankTransfer, I_Persistent +public class X_C_BankTransfer extends PO implements I_C_BankTransfer, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_BankTransfer (Properties ctx, int C_BankTransfer_ID, String trxName) @@ -113,6 +113,84 @@ public class X_C_BankTransfer extends PO implements I_C_BankTransfer, I_Persiste } */ } + /** Standard Constructor */ + public X_C_BankTransfer (Properties ctx, String C_BankTransfer_UU, String trxName) + { + super (ctx, C_BankTransfer_UU, trxName); + /** if (C_BankTransfer_UU == null) + { + setC_BankTransfer_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setFrom_AD_Org_ID (0); + setFrom_Amt (Env.ZERO); + setFrom_C_BankAccount_ID (0); + setFrom_C_BPartner_ID (0); + setFrom_C_Charge_ID (0); + setFrom_C_Currency_ID (0); + setFrom_TenderType (null); +// A + setIsOverrideCurrencyRate (false); +// N + setPayDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setProcessed (false); + setRate (Env.ZERO); + setTo_AD_Org_ID (0); + setTo_Amt (Env.ZERO); + setTo_C_BankAccount_ID (0); + setTo_C_BPartner_ID (0); + setTo_C_Charge_ID (0); + setTo_C_Currency_ID (0); + setTo_TenderType (null); +// D + } */ + } + + /** Standard Constructor */ + public X_C_BankTransfer (Properties ctx, String C_BankTransfer_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_BankTransfer_UU, trxName, virtualColumns); + /** if (C_BankTransfer_UU == null) + { + setC_BankTransfer_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setFrom_AD_Org_ID (0); + setFrom_Amt (Env.ZERO); + setFrom_C_BankAccount_ID (0); + setFrom_C_BPartner_ID (0); + setFrom_C_Charge_ID (0); + setFrom_C_Currency_ID (0); + setFrom_TenderType (null); +// A + setIsOverrideCurrencyRate (false); +// N + setPayDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setProcessed (false); + setRate (Env.ZERO); + setTo_AD_Org_ID (0); + setTo_Amt (Env.ZERO); + setTo_C_BankAccount_ID (0); + setTo_C_BPartner_ID (0); + setTo_C_Charge_ID (0); + setTo_C_Currency_ID (0); + setTo_TenderType (null); +// D + } */ + } + /** Load Constructor */ public X_C_BankTransfer (Properties ctx, ResultSet rs, String trxName) { @@ -120,7 +198,7 @@ public class X_C_BankTransfer extends PO implements I_C_BankTransfer, I_Persiste } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -536,10 +614,10 @@ public class X_C_BankTransfer extends PO implements I_C_BankTransfer, I_Persiste public boolean isOverrideCurrencyRate() { Object oo = get_Value(COLUMNNAME_IsOverrideCurrencyRate); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -575,10 +653,10 @@ public class X_C_BankTransfer extends PO implements I_C_BankTransfer, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -597,10 +675,10 @@ public class X_C_BankTransfer extends PO implements I_C_BankTransfer, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Calendar.java b/org.adempiere.base/src/org/compiere/model/X_C_Calendar.java index 60521a195a..46543780c8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Calendar.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Calendar.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Calendar - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Calendar") -public class X_C_Calendar extends PO implements I_C_Calendar, I_Persistent +public class X_C_Calendar extends PO implements I_C_Calendar, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Calendar (Properties ctx, int C_Calendar_ID, String trxName) @@ -55,6 +55,28 @@ public class X_C_Calendar extends PO implements I_C_Calendar, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Calendar (Properties ctx, String C_Calendar_UU, String trxName) + { + super (ctx, C_Calendar_UU, trxName); + /** if (C_Calendar_UU == null) + { + setC_Calendar_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_Calendar (Properties ctx, String C_Calendar_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Calendar_UU, trxName, virtualColumns); + /** if (C_Calendar_UU == null) + { + setC_Calendar_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_C_Calendar (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_C_Calendar extends PO implements I_C_Calendar, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -155,7 +177,7 @@ public class X_C_Calendar extends PO implements I_C_Calendar, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Campaign.java b/org.adempiere.base/src/org/compiere/model/X_C_Campaign.java index 16f324a894..d0fa4a8b0e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Campaign.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Campaign.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_Campaign - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Campaign") -public class X_C_Campaign extends PO implements I_C_Campaign, I_Persistent +public class X_C_Campaign extends PO implements I_C_Campaign, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Campaign (Properties ctx, int C_Campaign_ID, String trxName) @@ -64,6 +64,34 @@ public class X_C_Campaign extends PO implements I_C_Campaign, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Campaign (Properties ctx, String C_Campaign_UU, String trxName) + { + super (ctx, C_Campaign_UU, trxName); + /** if (C_Campaign_UU == null) + { + setC_Campaign_ID (0); + setCosts (Env.ZERO); + setIsSummary (false); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_Campaign (Properties ctx, String C_Campaign_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Campaign_UU, trxName, virtualColumns); + /** if (C_Campaign_UU == null) + { + setC_Campaign_ID (0); + setCosts (Env.ZERO); + setIsSummary (false); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_Campaign (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +99,7 @@ public class X_C_Campaign extends PO implements I_C_Campaign, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -222,10 +250,10 @@ public class X_C_Campaign extends PO implements I_C_Campaign, I_Persistent public boolean isSummary() { Object oo = get_Value(COLUMNNAME_IsSummary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -250,7 +278,7 @@ public class X_C_Campaign extends PO implements I_C_Campaign, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Cash.java b/org.adempiere.base/src/org/compiere/model/X_C_Cash.java index 5dca00831b..3c0d5ed525 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Cash.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Cash.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_Cash - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Cash") -public class X_C_Cash extends PO implements I_C_Cash, I_Persistent +public class X_C_Cash extends PO implements I_C_Cash, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Cash (Properties ctx, int C_Cash_ID, String trxName) @@ -90,6 +90,60 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Cash (Properties ctx, String C_Cash_UU, String trxName) + { + super (ctx, C_Cash_UU, trxName); + /** if (C_Cash_UU == null) + { + setBeginningBalance (Env.ZERO); + setC_CashBook_ID (0); + setC_Cash_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// CO + setDocStatus (null); +// DR + setEndingBalance (Env.ZERO); + setIsApproved (false); + setName (null); +// @#Date@ + setPosted (false); +// N + setProcessed (false); + setStatementDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + } */ + } + + /** Standard Constructor */ + public X_C_Cash (Properties ctx, String C_Cash_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Cash_UU, trxName, virtualColumns); + /** if (C_Cash_UU == null) + { + setBeginningBalance (Env.ZERO); + setC_CashBook_ID (0); + setC_Cash_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// CO + setDocStatus (null); +// DR + setEndingBalance (Env.ZERO); + setIsApproved (false); + setName (null); +// @#Date@ + setPosted (false); +// N + setProcessed (false); + setStatementDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + } */ + } + /** Load Constructor */ public X_C_Cash (Properties ctx, ResultSet rs, String trxName) { @@ -97,7 +151,7 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -463,10 +517,10 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -491,7 +545,7 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -510,10 +564,10 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -533,10 +587,10 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -574,10 +628,10 @@ public class X_C_Cash extends PO implements I_C_Cash, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_CashBook.java b/org.adempiere.base/src/org/compiere/model/X_C_CashBook.java index dd07b78c15..277b3c73a6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_CashBook.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_CashBook.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_CashBook - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_CashBook") -public class X_C_CashBook extends PO implements I_C_CashBook, I_Persistent +public class X_C_CashBook extends PO implements I_C_CashBook, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_CashBook (Properties ctx, int C_CashBook_ID, String trxName) @@ -59,6 +59,32 @@ public class X_C_CashBook extends PO implements I_C_CashBook, I_Persistent } */ } + /** Standard Constructor */ + public X_C_CashBook (Properties ctx, String C_CashBook_UU, String trxName) + { + super (ctx, C_CashBook_UU, trxName); + /** if (C_CashBook_UU == null) + { + setC_CashBook_ID (0); + setC_Currency_ID (0); + setIsDefault (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_CashBook (Properties ctx, String C_CashBook_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_CashBook_UU, trxName, virtualColumns); + /** if (C_CashBook_UU == null) + { + setC_CashBook_ID (0); + setC_Currency_ID (0); + setIsDefault (false); + setName (null); + } */ + } + /** Load Constructor */ public X_C_CashBook (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_C_CashBook extends PO implements I_C_CashBook, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -182,10 +208,10 @@ public class X_C_CashBook extends PO implements I_C_CashBook, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -210,7 +236,7 @@ public class X_C_CashBook extends PO implements I_C_CashBook, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_CashBook_Acct.java b/org.adempiere.base/src/org/compiere/model/X_C_CashBook_Acct.java index 7d70a5cf00..e44170a6f7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_CashBook_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_CashBook_Acct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_CashBook_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_CashBook_Acct") -public class X_C_CashBook_Acct extends PO implements I_C_CashBook_Acct, I_Persistent +public class X_C_CashBook_Acct extends PO implements I_C_CashBook_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_CashBook_Acct (Properties ctx, int C_CashBook_Acct_ID, String trxName) @@ -54,6 +54,28 @@ public class X_C_CashBook_Acct extends PO implements I_C_CashBook_Acct, I_Persis } */ } + /** Standard Constructor */ + public X_C_CashBook_Acct (Properties ctx, String C_CashBook_Acct_UU, String trxName) + { + super (ctx, C_CashBook_Acct_UU, trxName); + /** if (C_CashBook_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_CashBook_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_CashBook_Acct (Properties ctx, String C_CashBook_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_CashBook_Acct_UU, trxName, virtualColumns); + /** if (C_CashBook_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_CashBook_ID (0); + } */ + } + /** Load Constructor */ public X_C_CashBook_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_C_CashBook_Acct extends PO implements I_C_CashBook_Acct, I_Persis } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -78,7 +100,7 @@ public class X_C_CashBook_Acct extends PO implements I_C_CashBook_Acct, I_Persis public String toString() { StringBuilder sb = new StringBuilder ("X_C_CashBook_Acct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_CashLine.java b/org.adempiere.base/src/org/compiere/model/X_C_CashLine.java index 7d6bdf0e6f..9c7fae8174 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_CashLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_CashLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_CashLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_CashLine") -public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent +public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_CashLine (Properties ctx, int C_CashLine_ID, String trxName) @@ -69,6 +69,40 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent } */ } + /** Standard Constructor */ + public X_C_CashLine (Properties ctx, String C_CashLine_UU, String trxName) + { + super (ctx, C_CashLine_UU, trxName); + /** if (C_CashLine_UU == null) + { + setAmount (Env.ZERO); + setCashType (null); +// E + setC_Cash_ID (0); + setC_CashLine_ID (0); + setLine (0); +// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM C_CashLine WHERE C_Cash_ID=@C_Cash_ID@ + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_C_CashLine (Properties ctx, String C_CashLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_CashLine_UU, trxName, virtualColumns); + /** if (C_CashLine_UU == null) + { + setAmount (Env.ZERO); + setCashType (null); +// E + setC_Cash_ID (0); + setC_CashLine_ID (0); + setLine (0); +// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM C_CashLine WHERE C_Cash_ID=@C_Cash_ID@ + setProcessed (false); + } */ + } + /** Load Constructor */ public X_C_CashLine (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +110,7 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -206,7 +240,7 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_Cash_ID())); } @@ -409,10 +443,10 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent public boolean isGenerated() { Object oo = get_Value(COLUMNNAME_IsGenerated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -451,10 +485,10 @@ public class X_C_CashLine extends PO implements I_C_CashLine, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_CashPlan.java b/org.adempiere.base/src/org/compiere/model/X_C_CashPlan.java index c5b5e13f37..945c1d4228 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_CashPlan.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_CashPlan.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_CashPlan - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_CashPlan") -public class X_C_CashPlan extends PO implements I_C_CashPlan, I_Persistent +public class X_C_CashPlan extends PO implements I_C_CashPlan, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_CashPlan (Properties ctx, int C_CashPlan_ID, String trxName) @@ -72,6 +72,42 @@ public class X_C_CashPlan extends PO implements I_C_CashPlan, I_Persistent } */ } + /** Standard Constructor */ + public X_C_CashPlan (Properties ctx, String C_CashPlan_UU, String trxName) + { + super (ctx, C_CashPlan_UU, trxName); + /** if (C_CashPlan_UU == null) + { + setC_CashPlan_ID (0); + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocumentNo (null); + setGrandTotal (Env.ZERO); + setIsApproved (false); +// N + setIsSOTrx (false); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_C_CashPlan (Properties ctx, String C_CashPlan_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_CashPlan_UU, trxName, virtualColumns); + /** if (C_CashPlan_UU == null) + { + setC_CashPlan_ID (0); + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocumentNo (null); + setGrandTotal (Env.ZERO); + setIsApproved (false); +// N + setIsSOTrx (false); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_C_CashPlan (Properties ctx, ResultSet rs, String trxName) { @@ -79,7 +115,7 @@ public class X_C_CashPlan extends PO implements I_C_CashPlan, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -361,7 +397,7 @@ public class X_C_CashPlan extends PO implements I_C_CashPlan, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -414,10 +450,10 @@ public class X_C_CashPlan extends PO implements I_C_CashPlan, I_Persistent public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -437,10 +473,10 @@ public class X_C_CashPlan extends PO implements I_C_CashPlan, I_Persistent public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -460,10 +496,10 @@ public class X_C_CashPlan extends PO implements I_C_CashPlan, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_CashPlanLine.java b/org.adempiere.base/src/org/compiere/model/X_C_CashPlanLine.java index 5cc801e3a1..c626d10f38 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_CashPlanLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_CashPlanLine.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_CashPlanLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_CashPlanLine") -public class X_C_CashPlanLine extends PO implements I_C_CashPlanLine, I_Persistent +public class X_C_CashPlanLine extends PO implements I_C_CashPlanLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_CashPlanLine (Properties ctx, int C_CashPlanLine_ID, String trxName) @@ -70,6 +70,40 @@ public class X_C_CashPlanLine extends PO implements I_C_CashPlanLine, I_Persiste } */ } + /** Standard Constructor */ + public X_C_CashPlanLine (Properties ctx, String C_CashPlanLine_UU, String trxName) + { + super (ctx, C_CashPlanLine_UU, trxName); + /** if (C_CashPlanLine_UU == null) + { + setC_CashPlan_ID (0); + setC_CashPlanLine_ID (0); + setDateTrx (new Timestamp( System.currentTimeMillis() )); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_CashPlanLine WHERE C_CashPlanLine_ID=@C_CashPlanLine_ID@ + setProcessed (false); + setQtyEntered (Env.ZERO); +// 1 + } */ + } + + /** Standard Constructor */ + public X_C_CashPlanLine (Properties ctx, String C_CashPlanLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_CashPlanLine_UU, trxName, virtualColumns); + /** if (C_CashPlanLine_UU == null) + { + setC_CashPlan_ID (0); + setC_CashPlanLine_ID (0); + setDateTrx (new Timestamp( System.currentTimeMillis() )); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_CashPlanLine WHERE C_CashPlanLine_ID=@C_CashPlanLine_ID@ + setProcessed (false); + setQtyEntered (Env.ZERO); +// 1 + } */ + } + /** Load Constructor */ public X_C_CashPlanLine (Properties ctx, ResultSet rs, String trxName) { @@ -77,7 +111,7 @@ public class X_C_CashPlanLine extends PO implements I_C_CashPlanLine, I_Persiste } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -234,7 +268,7 @@ public class X_C_CashPlanLine extends PO implements I_C_CashPlanLine, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_CashPlan_ID())); } @@ -533,10 +567,10 @@ public class X_C_CashPlanLine extends PO implements I_C_CashPlanLine, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Channel.java b/org.adempiere.base/src/org/compiere/model/X_C_Channel.java index 8bba3abe83..d1ee389e1d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Channel.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Channel.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Channel - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Channel") -public class X_C_Channel extends PO implements I_C_Channel, I_Persistent +public class X_C_Channel extends PO implements I_C_Channel, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Channel (Properties ctx, int C_Channel_ID, String trxName) @@ -55,6 +55,28 @@ public class X_C_Channel extends PO implements I_C_Channel, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Channel (Properties ctx, String C_Channel_UU, String trxName) + { + super (ctx, C_Channel_UU, trxName); + /** if (C_Channel_UU == null) + { + setC_Channel_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_Channel (Properties ctx, String C_Channel_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Channel_UU, trxName, virtualColumns); + /** if (C_Channel_UU == null) + { + setC_Channel_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_C_Channel (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_C_Channel extends PO implements I_C_Channel, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -183,7 +205,7 @@ public class X_C_Channel extends PO implements I_C_Channel, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Charge.java b/org.adempiere.base/src/org/compiere/model/X_C_Charge.java index d9845f622e..019d4f7a56 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Charge.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Charge.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_Charge - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Charge") -public class X_C_Charge extends PO implements I_C_Charge, I_Persistent +public class X_C_Charge extends PO implements I_C_Charge, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Charge (Properties ctx, int C_Charge_ID, String trxName) @@ -69,6 +69,40 @@ public class X_C_Charge extends PO implements I_C_Charge, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Charge (Properties ctx, String C_Charge_UU, String trxName) + { + super (ctx, C_Charge_UU, trxName); + /** if (C_Charge_UU == null) + { + setC_Charge_ID (0); + setChargeAmt (Env.ZERO); + setC_TaxCategory_ID (0); + setIsSameCurrency (false); + setIsSameTax (false); + setIsTaxIncluded (false); +// N + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_Charge (Properties ctx, String C_Charge_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Charge_UU, trxName, virtualColumns); + /** if (C_Charge_UU == null) + { + setC_Charge_ID (0); + setChargeAmt (Env.ZERO); + setC_TaxCategory_ID (0); + setIsSameCurrency (false); + setIsSameTax (false); + setIsTaxIncluded (false); +// N + setName (null); + } */ + } + /** Load Constructor */ public X_C_Charge (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +110,7 @@ public class X_C_Charge extends PO implements I_C_Charge, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -265,10 +299,10 @@ public class X_C_Charge extends PO implements I_C_Charge, I_Persistent public boolean isSameCurrency() { Object oo = get_Value(COLUMNNAME_IsSameCurrency); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -288,10 +322,10 @@ public class X_C_Charge extends PO implements I_C_Charge, I_Persistent public boolean isSameTax() { Object oo = get_Value(COLUMNNAME_IsSameTax); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -311,10 +345,10 @@ public class X_C_Charge extends PO implements I_C_Charge, I_Persistent public boolean isTaxIncluded() { Object oo = get_Value(COLUMNNAME_IsTaxIncluded); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -339,7 +373,7 @@ public class X_C_Charge extends PO implements I_C_Charge, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_ChargeType.java b/org.adempiere.base/src/org/compiere/model/X_C_ChargeType.java index 0f5bcfebaf..8f83070beb 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_ChargeType.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_ChargeType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_ChargeType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_ChargeType") -public class X_C_ChargeType extends PO implements I_C_ChargeType, I_Persistent +public class X_C_ChargeType extends PO implements I_C_ChargeType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_ChargeType (Properties ctx, int C_ChargeType_ID, String trxName) @@ -57,6 +57,30 @@ public class X_C_ChargeType extends PO implements I_C_ChargeType, I_Persistent } */ } + /** Standard Constructor */ + public X_C_ChargeType (Properties ctx, String C_ChargeType_UU, String trxName) + { + super (ctx, C_ChargeType_UU, trxName); + /** if (C_ChargeType_UU == null) + { + setC_ChargeType_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_ChargeType (Properties ctx, String C_ChargeType_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_ChargeType_UU, trxName, virtualColumns); + /** if (C_ChargeType_UU == null) + { + setC_ChargeType_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_ChargeType (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_C_ChargeType extends PO implements I_C_ChargeType, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -172,7 +196,7 @@ public class X_C_ChargeType extends PO implements I_C_ChargeType, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_ChargeType_DocType.java b/org.adempiere.base/src/org/compiere/model/X_C_ChargeType_DocType.java index 3f43de9c11..889b4eb848 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_ChargeType_DocType.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_ChargeType_DocType.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_ChargeType_DocType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_ChargeType_DocType") -public class X_C_ChargeType_DocType extends PO implements I_C_ChargeType_DocType, I_Persistent +public class X_C_ChargeType_DocType extends PO implements I_C_ChargeType_DocType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_ChargeType_DocType (Properties ctx, int C_ChargeType_DocType_ID, String trxName) @@ -62,6 +62,36 @@ public class X_C_ChargeType_DocType extends PO implements I_C_ChargeType_DocType } */ } + /** Standard Constructor */ + public X_C_ChargeType_DocType (Properties ctx, String C_ChargeType_DocType_UU, String trxName) + { + super (ctx, C_ChargeType_DocType_UU, trxName); + /** if (C_ChargeType_DocType_UU == null) + { + setC_ChargeType_ID (0); + setC_DocType_ID (0); + setIsAllowNegative (true); +// Y + setIsAllowPositive (true); +// Y + } */ + } + + /** Standard Constructor */ + public X_C_ChargeType_DocType (Properties ctx, String C_ChargeType_DocType_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_ChargeType_DocType_UU, trxName, virtualColumns); + /** if (C_ChargeType_DocType_UU == null) + { + setC_ChargeType_ID (0); + setC_DocType_ID (0); + setIsAllowNegative (true); +// Y + setIsAllowPositive (true); +// Y + } */ + } + /** Load Constructor */ public X_C_ChargeType_DocType (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +99,7 @@ public class X_C_ChargeType_DocType extends PO implements I_C_ChargeType_DocType } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -86,7 +116,7 @@ public class X_C_ChargeType_DocType extends PO implements I_C_ChargeType_DocType public String toString() { StringBuilder sb = new StringBuilder ("X_C_ChargeType_DocType[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -173,10 +203,10 @@ public class X_C_ChargeType_DocType extends PO implements I_C_ChargeType_DocType public boolean isAllowNegative() { Object oo = get_Value(COLUMNNAME_IsAllowNegative); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -195,10 +225,10 @@ public class X_C_ChargeType_DocType extends PO implements I_C_ChargeType_DocType public boolean isAllowPositive() { Object oo = get_Value(COLUMNNAME_IsAllowPositive); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Charge_Acct.java b/org.adempiere.base/src/org/compiere/model/X_C_Charge_Acct.java index df0d20bc2a..aae3b7a496 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Charge_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Charge_Acct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_Charge_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Charge_Acct") -public class X_C_Charge_Acct extends PO implements I_C_Charge_Acct, I_Persistent +public class X_C_Charge_Acct extends PO implements I_C_Charge_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Charge_Acct (Properties ctx, int C_Charge_Acct_ID, String trxName) @@ -56,6 +56,30 @@ public class X_C_Charge_Acct extends PO implements I_C_Charge_Acct, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Charge_Acct (Properties ctx, String C_Charge_Acct_UU, String trxName) + { + super (ctx, C_Charge_Acct_UU, trxName); + /** if (C_Charge_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_Charge_ID (0); + setCh_Expense_Acct (0); + } */ + } + + /** Standard Constructor */ + public X_C_Charge_Acct (Properties ctx, String C_Charge_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Charge_Acct_UU, trxName, virtualColumns); + /** if (C_Charge_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_Charge_ID (0); + setCh_Expense_Acct (0); + } */ + } + /** Load Constructor */ public X_C_Charge_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_C_Charge_Acct extends PO implements I_C_Charge_Acct, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_C_Charge_Acct extends PO implements I_C_Charge_Acct, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_C_Charge_Acct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_City.java b/org.adempiere.base/src/org/compiere/model/X_C_City.java index 57c081dca1..834a879e1a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_City.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_City.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_City - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_City") -public class X_C_City extends PO implements I_C_City, I_Persistent +public class X_C_City extends PO implements I_C_City, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_City (Properties ctx, int C_City_ID, String trxName) @@ -55,6 +55,28 @@ public class X_C_City extends PO implements I_C_City, I_Persistent } */ } + /** Standard Constructor */ + public X_C_City (Properties ctx, String C_City_UU, String trxName) + { + super (ctx, C_City_UU, trxName); + /** if (C_City_UU == null) + { + setC_City_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_City (Properties ctx, String C_City_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_City_UU, trxName, virtualColumns); + /** if (C_City_UU == null) + { + setC_City_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_C_City (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_C_City extends PO implements I_C_City, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -243,7 +265,7 @@ public class X_C_City extends PO implements I_C_City, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Commission.java b/org.adempiere.base/src/org/compiere/model/X_C_Commission.java index ef80f271be..e3d72bbf01 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Commission.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Commission.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Commission - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Commission") -public class X_C_Commission extends PO implements I_C_Commission, I_Persistent +public class X_C_Commission extends PO implements I_C_Commission, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Commission (Properties ctx, int C_Commission_ID, String trxName) @@ -70,6 +70,42 @@ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Commission (Properties ctx, String C_Commission_UU, String trxName) + { + super (ctx, C_Commission_UU, trxName); + /** if (C_Commission_UU == null) + { + setC_BPartner_ID (0); + setC_Commission_ID (0); + setC_Currency_ID (0); + setDocBasisType (null); +// I + setFrequencyType (null); +// M + setListDetails (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_Commission (Properties ctx, String C_Commission_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Commission_UU, trxName, virtualColumns); + /** if (C_Commission_UU == null) + { + setC_BPartner_ID (0); + setC_Commission_ID (0); + setC_Currency_ID (0); + setDocBasisType (null); +// I + setFrequencyType (null); +// M + setListDetails (false); + setName (null); + } */ + } + /** Load Constructor */ public X_C_Commission (Properties ctx, ResultSet rs, String trxName) { @@ -77,7 +113,7 @@ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -333,10 +369,10 @@ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent public boolean isListDetails() { Object oo = get_Value(COLUMNNAME_ListDetails); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -389,7 +425,7 @@ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -407,10 +443,10 @@ public class X_C_Commission extends PO implements I_C_Commission, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_CommissionAmt.java b/org.adempiere.base/src/org/compiere/model/X_C_CommissionAmt.java index 45e2d8877d..f6c35c73b7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_CommissionAmt.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_CommissionAmt.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_CommissionAmt - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_CommissionAmt") -public class X_C_CommissionAmt extends PO implements I_C_CommissionAmt, I_Persistent +public class X_C_CommissionAmt extends PO implements I_C_CommissionAmt, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_CommissionAmt (Properties ctx, int C_CommissionAmt_ID, String trxName) @@ -65,6 +65,36 @@ public class X_C_CommissionAmt extends PO implements I_C_CommissionAmt, I_Persis } */ } + /** Standard Constructor */ + public X_C_CommissionAmt (Properties ctx, String C_CommissionAmt_UU, String trxName) + { + super (ctx, C_CommissionAmt_UU, trxName); + /** if (C_CommissionAmt_UU == null) + { + setActualQty (Env.ZERO); + setC_CommissionAmt_ID (0); + setC_CommissionLine_ID (0); + setC_CommissionRun_ID (0); + setCommissionAmt (Env.ZERO); + setConvertedAmt (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_CommissionAmt (Properties ctx, String C_CommissionAmt_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_CommissionAmt_UU, trxName, virtualColumns); + /** if (C_CommissionAmt_UU == null) + { + setActualQty (Env.ZERO); + setC_CommissionAmt_ID (0); + setC_CommissionLine_ID (0); + setC_CommissionRun_ID (0); + setCommissionAmt (Env.ZERO); + setConvertedAmt (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_CommissionAmt (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +102,7 @@ public class X_C_CommissionAmt extends PO implements I_C_CommissionAmt, I_Persis } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -208,7 +238,7 @@ public class X_C_CommissionAmt extends PO implements I_C_CommissionAmt, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_CommissionRun_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_CommissionDetail.java b/org.adempiere.base/src/org/compiere/model/X_C_CommissionDetail.java index 2908749ef9..0cfc1c5f4c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_CommissionDetail.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_CommissionDetail.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_CommissionDetail - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_CommissionDetail") -public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_Persistent +public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_CommissionDetail (Properties ctx, int C_CommissionDetail_ID, String trxName) @@ -65,6 +65,36 @@ public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_ } */ } + /** Standard Constructor */ + public X_C_CommissionDetail (Properties ctx, String C_CommissionDetail_UU, String trxName) + { + super (ctx, C_CommissionDetail_UU, trxName); + /** if (C_CommissionDetail_UU == null) + { + setActualAmt (Env.ZERO); + setActualQty (Env.ZERO); + setC_CommissionAmt_ID (0); + setC_CommissionDetail_ID (0); + setC_Currency_ID (0); + setConvertedAmt (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_CommissionDetail (Properties ctx, String C_CommissionDetail_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_CommissionDetail_UU, trxName, virtualColumns); + /** if (C_CommissionDetail_UU == null) + { + setActualAmt (Env.ZERO); + setActualQty (Env.ZERO); + setC_CommissionAmt_ID (0); + setC_CommissionDetail_ID (0); + setC_Currency_ID (0); + setConvertedAmt (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_CommissionDetail (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +102,7 @@ public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_ } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -334,7 +364,7 @@ public class X_C_CommissionDetail extends PO implements I_C_CommissionDetail, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getReference()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_CommissionLine.java b/org.adempiere.base/src/org/compiere/model/X_C_CommissionLine.java index 29080098e9..ddb9467e9b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_CommissionLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_CommissionLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_CommissionLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_CommissionLine") -public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Persistent +public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_CommissionLine (Properties ctx, int C_CommissionLine_ID, String trxName) @@ -73,6 +73,44 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers } */ } + /** Standard Constructor */ + public X_C_CommissionLine (Properties ctx, String C_CommissionLine_UU, String trxName) + { + super (ctx, C_CommissionLine_UU, trxName); + /** if (C_CommissionLine_UU == null) + { + setAmtMultiplier (Env.ZERO); + setAmtSubtract (Env.ZERO); + setC_Commission_ID (0); + setC_CommissionLine_ID (0); + setCommissionOrders (false); + setIsPositiveOnly (false); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_CommissionLine WHERE C_Commission_ID=@C_Commission_ID@ + setQtyMultiplier (Env.ZERO); + setQtySubtract (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_CommissionLine (Properties ctx, String C_CommissionLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_CommissionLine_UU, trxName, virtualColumns); + /** if (C_CommissionLine_UU == null) + { + setAmtMultiplier (Env.ZERO); + setAmtSubtract (Env.ZERO); + setC_Commission_ID (0); + setC_CommissionLine_ID (0); + setCommissionOrders (false); + setIsPositiveOnly (false); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_CommissionLine WHERE C_Commission_ID=@C_Commission_ID@ + setQtyMultiplier (Env.ZERO); + setQtySubtract (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_CommissionLine (Properties ctx, ResultSet rs, String trxName) { @@ -80,7 +118,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -226,7 +264,7 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_Commission_ID())); } @@ -282,10 +320,10 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers public boolean isCommissionOrders() { Object oo = get_Value(COLUMNNAME_CommissionOrders); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -349,10 +387,10 @@ public class X_C_CommissionLine extends PO implements I_C_CommissionLine, I_Pers public boolean isPositiveOnly() { Object oo = get_Value(COLUMNNAME_IsPositiveOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_CommissionRun.java b/org.adempiere.base/src/org/compiere/model/X_C_CommissionRun.java index e8a32cd08e..89e1318101 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_CommissionRun.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_CommissionRun.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_CommissionRun - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_CommissionRun") -public class X_C_CommissionRun extends PO implements I_C_CommissionRun, I_Persistent +public class X_C_CommissionRun extends PO implements I_C_CommissionRun, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_CommissionRun (Properties ctx, int C_CommissionRun_ID, String trxName) @@ -66,6 +66,36 @@ public class X_C_CommissionRun extends PO implements I_C_CommissionRun, I_Persis } */ } + /** Standard Constructor */ + public X_C_CommissionRun (Properties ctx, String C_CommissionRun_UU, String trxName) + { + super (ctx, C_CommissionRun_UU, trxName); + /** if (C_CommissionRun_UU == null) + { + setC_Commission_ID (0); + setC_CommissionRun_ID (0); + setDocumentNo (null); + setGrandTotal (Env.ZERO); + setProcessed (false); + setStartDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_C_CommissionRun (Properties ctx, String C_CommissionRun_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_CommissionRun_UU, trxName, virtualColumns); + /** if (C_CommissionRun_UU == null) + { + setC_Commission_ID (0); + setC_CommissionRun_ID (0); + setDocumentNo (null); + setGrandTotal (Env.ZERO); + setProcessed (false); + setStartDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_C_CommissionRun (Properties ctx, ResultSet rs, String trxName) { @@ -73,7 +103,7 @@ public class X_C_CommissionRun extends PO implements I_C_CommissionRun, I_Persis } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -222,7 +252,7 @@ public class X_C_CommissionRun extends PO implements I_C_CommissionRun, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -260,10 +290,10 @@ public class X_C_CommissionRun extends PO implements I_C_CommissionRun, I_Persis public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -282,10 +312,10 @@ public class X_C_CommissionRun extends PO implements I_C_CommissionRun, I_Persis public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_ContactActivity.java b/org.adempiere.base/src/org/compiere/model/X_C_ContactActivity.java index 1444b5aefa..bed6d043cd 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_ContactActivity.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_ContactActivity.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_ContactActivity - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_ContactActivity") -public class X_C_ContactActivity extends PO implements I_C_ContactActivity, I_Persistent +public class X_C_ContactActivity extends PO implements I_C_ContactActivity, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_ContactActivity (Properties ctx, int C_ContactActivity_ID, String trxName) @@ -62,6 +62,34 @@ public class X_C_ContactActivity extends PO implements I_C_ContactActivity, I_Pe } */ } + /** Standard Constructor */ + public X_C_ContactActivity (Properties ctx, String C_ContactActivity_UU, String trxName) + { + super (ctx, C_ContactActivity_UU, trxName); + /** if (C_ContactActivity_UU == null) + { + setC_ContactActivity_ID (0); + setContactActivityType (null); + setDescription (null); + setStartDate (new Timestamp( System.currentTimeMillis() )); +// @SQL=SELECT SYSDATE AS DefaultValue FROM DUAL + } */ + } + + /** Standard Constructor */ + public X_C_ContactActivity (Properties ctx, String C_ContactActivity_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_ContactActivity_UU, trxName, virtualColumns); + /** if (C_ContactActivity_UU == null) + { + setC_ContactActivity_ID (0); + setContactActivityType (null); + setDescription (null); + setStartDate (new Timestamp( System.currentTimeMillis() )); +// @SQL=SELECT SYSDATE AS DefaultValue FROM DUAL + } */ + } + /** Load Constructor */ public X_C_ContactActivity (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +97,7 @@ public class X_C_ContactActivity extends PO implements I_C_ContactActivity, I_Pe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -244,7 +272,7 @@ public class X_C_ContactActivity extends PO implements I_C_ContactActivity, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDescription()); } @@ -279,10 +307,10 @@ public class X_C_ContactActivity extends PO implements I_C_ContactActivity, I_Pe public boolean isComplete() { Object oo = get_Value(COLUMNNAME_IsComplete); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_ConversionType.java b/org.adempiere.base/src/org/compiere/model/X_C_ConversionType.java index 8525d88e28..1db58ada7b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_ConversionType.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_ConversionType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_ConversionType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_ConversionType") -public class X_C_ConversionType extends PO implements I_C_ConversionType, I_Persistent +public class X_C_ConversionType extends PO implements I_C_ConversionType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_ConversionType (Properties ctx, int C_ConversionType_ID, String trxName) @@ -59,6 +59,32 @@ public class X_C_ConversionType extends PO implements I_C_ConversionType, I_Pers } */ } + /** Standard Constructor */ + public X_C_ConversionType (Properties ctx, String C_ConversionType_UU, String trxName) + { + super (ctx, C_ConversionType_UU, trxName); + /** if (C_ConversionType_UU == null) + { + setC_ConversionType_ID (0); + setIsDefault (false); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_ConversionType (Properties ctx, String C_ConversionType_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_ConversionType_UU, trxName, virtualColumns); + /** if (C_ConversionType_UU == null) + { + setC_ConversionType_ID (0); + setIsDefault (false); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_ConversionType (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_C_ConversionType extends PO implements I_C_ConversionType, I_Pers } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -154,10 +180,10 @@ public class X_C_ConversionType extends PO implements I_C_ConversionType, I_Pers public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -182,7 +208,7 @@ public class X_C_ConversionType extends PO implements I_C_ConversionType, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Conversion_Rate.java b/org.adempiere.base/src/org/compiere/model/X_C_Conversion_Rate.java index 3dd6f005bb..c2dcdb3f98 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Conversion_Rate.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Conversion_Rate.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_Conversion_Rate - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Conversion_Rate") -public class X_C_Conversion_Rate extends PO implements I_C_Conversion_Rate, I_Persistent +public class X_C_Conversion_Rate extends PO implements I_C_Conversion_Rate, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Conversion_Rate (Properties ctx, int C_Conversion_Rate_ID, String trxName) @@ -68,6 +68,38 @@ public class X_C_Conversion_Rate extends PO implements I_C_Conversion_Rate, I_Pe } */ } + /** Standard Constructor */ + public X_C_Conversion_Rate (Properties ctx, String C_Conversion_Rate_UU, String trxName) + { + super (ctx, C_Conversion_Rate_UU, trxName); + /** if (C_Conversion_Rate_UU == null) + { + setC_Conversion_Rate_ID (0); + setC_ConversionType_ID (0); + setC_Currency_ID (0); + setC_Currency_ID_To (0); + setDivideRate (Env.ZERO); + setMultiplyRate (Env.ZERO); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_C_Conversion_Rate (Properties ctx, String C_Conversion_Rate_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Conversion_Rate_UU, trxName, virtualColumns); + /** if (C_Conversion_Rate_UU == null) + { + setC_Conversion_Rate_ID (0); + setC_ConversionType_ID (0); + setC_Currency_ID (0); + setC_Currency_ID_To (0); + setDivideRate (Env.ZERO); + setMultiplyRate (Env.ZERO); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_C_Conversion_Rate (Properties ctx, ResultSet rs, String trxName) { @@ -75,7 +107,7 @@ public class X_C_Conversion_Rate extends PO implements I_C_Conversion_Rate, I_Pe } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -121,7 +153,7 @@ public class X_C_Conversion_Rate extends PO implements I_C_Conversion_Rate, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_Conversion_Rate_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Country.java b/org.adempiere.base/src/org/compiere/model/X_C_Country.java index 5f1f12b0ac..85790b7d41 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Country.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Country.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Country - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Country") -public class X_C_Country extends PO implements I_C_Country, I_Persistent +public class X_C_Country extends PO implements I_C_Country, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Country (Properties ctx, int C_Country_ID, String trxName) @@ -69,6 +69,42 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Country (Properties ctx, String C_Country_UU, String trxName) + { + super (ctx, C_Country_UU, trxName); + /** if (C_Country_UU == null) + { + setC_Country_ID (0); + setCountryCode (null); + setDisplaySequence (null); +// @C@, @R@ @P@ + setHasPostal_Add (false); + setHasRegion (false); + setIsAddressLinesLocalReverse (false); + setIsAddressLinesReverse (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_Country (Properties ctx, String C_Country_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Country_UU, trxName, virtualColumns); + /** if (C_Country_UU == null) + { + setC_Country_ID (0); + setCountryCode (null); + setDisplaySequence (null); +// @C@, @R@ @P@ + setHasPostal_Add (false); + setHasRegion (false); + setIsAddressLinesLocalReverse (false); + setIsAddressLinesReverse (false); + setName (null); + } */ + } + /** Load Constructor */ public X_C_Country (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +112,7 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -130,10 +166,10 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent public boolean isAllowCitiesOutOfList() { Object oo = get_Value(COLUMNNAME_AllowCitiesOutOfList); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -377,10 +413,10 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent public boolean isHasPostal_Add() { Object oo = get_Value(COLUMNNAME_HasPostal_Add); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -400,10 +436,10 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent public boolean isHasRegion() { Object oo = get_Value(COLUMNNAME_HasRegion); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -423,10 +459,10 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent public boolean isAddressLinesLocalReverse() { Object oo = get_Value(COLUMNNAME_IsAddressLinesLocalReverse); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -446,10 +482,10 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent public boolean isAddressLinesReverse() { Object oo = get_Value(COLUMNNAME_IsAddressLinesReverse); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -469,10 +505,10 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent public boolean isPostcodeLookup() { Object oo = get_Value(COLUMNNAME_IsPostcodeLookup); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -577,7 +613,7 @@ public class X_C_Country extends PO implements I_C_Country, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_CountryGroup.java b/org.adempiere.base/src/org/compiere/model/X_C_CountryGroup.java index 623c79cd20..d0abe4d2ba 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_CountryGroup.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_CountryGroup.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_CountryGroup - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_CountryGroup") -public class X_C_CountryGroup extends PO implements I_C_CountryGroup, I_Persistent +public class X_C_CountryGroup extends PO implements I_C_CountryGroup, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_CountryGroup (Properties ctx, int C_CountryGroup_ID, String trxName) @@ -58,6 +58,30 @@ public class X_C_CountryGroup extends PO implements I_C_CountryGroup, I_Persiste } */ } + /** Standard Constructor */ + public X_C_CountryGroup (Properties ctx, String C_CountryGroup_UU, String trxName) + { + super (ctx, C_CountryGroup_UU, trxName); + /** if (C_CountryGroup_UU == null) + { + setC_CountryGroup_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_CountryGroup (Properties ctx, String C_CountryGroup_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_CountryGroup_UU, trxName, virtualColumns); + /** if (C_CountryGroup_UU == null) + { + setC_CountryGroup_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_CountryGroup (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +89,7 @@ public class X_C_CountryGroup extends PO implements I_C_CountryGroup, I_Persiste } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -205,7 +229,7 @@ public class X_C_CountryGroup extends PO implements I_C_CountryGroup, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_CountryGroupCountry.java b/org.adempiere.base/src/org/compiere/model/X_C_CountryGroupCountry.java index 292873d3c7..44d55b4b3f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_CountryGroupCountry.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_CountryGroupCountry.java @@ -22,16 +22,16 @@ import java.sql.Timestamp; import java.util.Properties; /** Generated Model for C_CountryGroupCountry - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_CountryGroupCountry") -public class X_C_CountryGroupCountry extends PO implements I_C_CountryGroupCountry, I_Persistent +public class X_C_CountryGroupCountry extends PO implements I_C_CountryGroupCountry, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_CountryGroupCountry (Properties ctx, int C_CountryGroupCountry_ID, String trxName) @@ -53,6 +53,26 @@ public class X_C_CountryGroupCountry extends PO implements I_C_CountryGroupCount } */ } + /** Standard Constructor */ + public X_C_CountryGroupCountry (Properties ctx, String C_CountryGroupCountry_UU, String trxName) + { + super (ctx, C_CountryGroupCountry_UU, trxName); + /** if (C_CountryGroupCountry_UU == null) + { + setC_CountryGroupCountry_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_CountryGroupCountry (Properties ctx, String C_CountryGroupCountry_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_CountryGroupCountry_UU, trxName, virtualColumns); + /** if (C_CountryGroupCountry_UU == null) + { + setC_CountryGroupCountry_ID (0); + } */ + } + /** Load Constructor */ public X_C_CountryGroupCountry (Properties ctx, ResultSet rs, String trxName) { @@ -60,7 +80,7 @@ public class X_C_CountryGroupCountry extends PO implements I_C_CountryGroupCount } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Currency.java b/org.adempiere.base/src/org/compiere/model/X_C_Currency.java index b301ef5194..ab75378b01 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Currency.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Currency.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_Currency - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Currency") -public class X_C_Currency extends PO implements I_C_Currency, I_Persistent +public class X_C_Currency extends PO implements I_C_Currency, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Currency (Properties ctx, int C_Currency_ID, String trxName) @@ -80,6 +80,50 @@ public class X_C_Currency extends PO implements I_C_Currency, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Currency (Properties ctx, String C_Currency_UU, String trxName) + { + super (ctx, C_Currency_UU, trxName); + /** if (C_Currency_UU == null) + { + setC_Currency_ID (0); + setCostingPrecision (0); +// 4 + setDescription (null); + setIsEMUMember (false); +// N + setIsEuro (false); +// N + setISO_Code (null); + setRoundOffFactor (Env.ZERO); +// 1 + setStdPrecision (0); +// 2 + } */ + } + + /** Standard Constructor */ + public X_C_Currency (Properties ctx, String C_Currency_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Currency_UU, trxName, virtualColumns); + /** if (C_Currency_UU == null) + { + setC_Currency_ID (0); + setCostingPrecision (0); +// 4 + setDescription (null); + setIsEMUMember (false); +// N + setIsEuro (false); +// N + setISO_Code (null); + setRoundOffFactor (Env.ZERO); +// 1 + setStdPrecision (0); +// 2 + } */ + } + /** Load Constructor */ public X_C_Currency (Properties ctx, ResultSet rs, String trxName) { @@ -87,7 +131,7 @@ public class X_C_Currency extends PO implements I_C_Currency, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -245,10 +289,10 @@ public class X_C_Currency extends PO implements I_C_Currency, I_Persistent public boolean isEMUMember() { Object oo = get_Value(COLUMNNAME_IsEMUMember); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -268,10 +312,10 @@ public class X_C_Currency extends PO implements I_C_Currency, I_Persistent public boolean isEuro() { Object oo = get_Value(COLUMNNAME_IsEuro); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -296,7 +340,7 @@ public class X_C_Currency extends PO implements I_C_Currency, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getISO_Code()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Currency_Acct.java b/org.adempiere.base/src/org/compiere/model/X_C_Currency_Acct.java index 777f1e9e95..e633ef3de8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Currency_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Currency_Acct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_Currency_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Currency_Acct") -public class X_C_Currency_Acct extends PO implements I_C_Currency_Acct, I_Persistent +public class X_C_Currency_Acct extends PO implements I_C_Currency_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Currency_Acct (Properties ctx, int C_Currency_Acct_ID, String trxName) @@ -54,6 +54,28 @@ public class X_C_Currency_Acct extends PO implements I_C_Currency_Acct, I_Persis } */ } + /** Standard Constructor */ + public X_C_Currency_Acct (Properties ctx, String C_Currency_Acct_UU, String trxName) + { + super (ctx, C_Currency_Acct_UU, trxName); + /** if (C_Currency_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_Currency_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_Currency_Acct (Properties ctx, String C_Currency_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Currency_Acct_UU, trxName, virtualColumns); + /** if (C_Currency_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_Currency_ID (0); + } */ + } + /** Load Constructor */ public X_C_Currency_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_C_Currency_Acct extends PO implements I_C_Currency_Acct, I_Persis } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -78,7 +100,7 @@ public class X_C_Currency_Acct extends PO implements I_C_Currency_Acct, I_Persis public String toString() { StringBuilder sb = new StringBuilder ("X_C_Currency_Acct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Cycle.java b/org.adempiere.base/src/org/compiere/model/X_C_Cycle.java index 79fe34c944..d65f0906f3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Cycle.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Cycle.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Cycle - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Cycle") -public class X_C_Cycle extends PO implements I_C_Cycle, I_Persistent +public class X_C_Cycle extends PO implements I_C_Cycle, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Cycle (Properties ctx, int C_Cycle_ID, String trxName) @@ -57,6 +57,30 @@ public class X_C_Cycle extends PO implements I_C_Cycle, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Cycle (Properties ctx, String C_Cycle_UU, String trxName) + { + super (ctx, C_Cycle_UU, trxName); + /** if (C_Cycle_UU == null) + { + setC_Currency_ID (0); + setC_Cycle_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_Cycle (Properties ctx, String C_Cycle_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Cycle_UU, trxName, virtualColumns); + /** if (C_Cycle_UU == null) + { + setC_Currency_ID (0); + setC_Cycle_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_C_Cycle (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_C_Cycle extends PO implements I_C_Cycle, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -185,7 +209,7 @@ public class X_C_Cycle extends PO implements I_C_Cycle, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_CyclePhase.java b/org.adempiere.base/src/org/compiere/model/X_C_CyclePhase.java index baca0d33c4..5914315935 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_CyclePhase.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_CyclePhase.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_CyclePhase - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_CyclePhase") -public class X_C_CyclePhase extends PO implements I_C_CyclePhase, I_Persistent +public class X_C_CyclePhase extends PO implements I_C_CyclePhase, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_CyclePhase (Properties ctx, int C_CyclePhase_ID, String trxName) @@ -54,6 +54,28 @@ public class X_C_CyclePhase extends PO implements I_C_CyclePhase, I_Persistent } */ } + /** Standard Constructor */ + public X_C_CyclePhase (Properties ctx, String C_CyclePhase_UU, String trxName) + { + super (ctx, C_CyclePhase_UU, trxName); + /** if (C_CyclePhase_UU == null) + { + setC_CycleStep_ID (0); + setC_Phase_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_CyclePhase (Properties ctx, String C_CyclePhase_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_CyclePhase_UU, trxName, virtualColumns); + /** if (C_CyclePhase_UU == null) + { + setC_CycleStep_ID (0); + setC_Phase_ID (0); + } */ + } + /** Load Constructor */ public X_C_CyclePhase (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_C_CyclePhase extends PO implements I_C_CyclePhase, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -78,7 +100,7 @@ public class X_C_CyclePhase extends PO implements I_C_CyclePhase, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_C_CyclePhase[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_CycleStep.java b/org.adempiere.base/src/org/compiere/model/X_C_CycleStep.java index c746760e53..23b473cb18 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_CycleStep.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_CycleStep.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_CycleStep - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_CycleStep") -public class X_C_CycleStep extends PO implements I_C_CycleStep, I_Persistent +public class X_C_CycleStep extends PO implements I_C_CycleStep, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_CycleStep (Properties ctx, int C_CycleStep_ID, String trxName) @@ -67,6 +67,38 @@ public class X_C_CycleStep extends PO implements I_C_CycleStep, I_Persistent } */ } + /** Standard Constructor */ + public X_C_CycleStep (Properties ctx, String C_CycleStep_UU, String trxName) + { + super (ctx, C_CycleStep_UU, trxName); + /** if (C_CycleStep_UU == null) + { + setC_Cycle_ID (0); + setC_CycleStep_ID (0); + setName (null); + setRelativeWeight (Env.ZERO); +// 1 + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM C_CycleStep WHERE C_Cycle_ID=@C_Cycle_ID@ + } */ + } + + /** Standard Constructor */ + public X_C_CycleStep (Properties ctx, String C_CycleStep_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_CycleStep_UU, trxName, virtualColumns); + /** if (C_CycleStep_UU == null) + { + setC_Cycle_ID (0); + setC_CycleStep_ID (0); + setName (null); + setRelativeWeight (Env.ZERO); +// 1 + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM C_CycleStep WHERE C_Cycle_ID=@C_Cycle_ID@ + } */ + } + /** Load Constructor */ public X_C_CycleStep (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +106,7 @@ public class X_C_CycleStep extends PO implements I_C_CycleStep, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -179,7 +211,7 @@ public class X_C_CycleStep extends PO implements I_C_CycleStep, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_DepositBatch.java b/org.adempiere.base/src/org/compiere/model/X_C_DepositBatch.java index decc3f3d1c..cc84e50784 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_DepositBatch.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_DepositBatch.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_DepositBatch - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_DepositBatch") -public class X_C_DepositBatch extends PO implements I_C_DepositBatch, I_Persistent +public class X_C_DepositBatch extends PO implements I_C_DepositBatch, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_DepositBatch (Properties ctx, int C_DepositBatch_ID, String trxName) @@ -78,6 +78,48 @@ public class X_C_DepositBatch extends PO implements I_C_DepositBatch, I_Persiste } */ } + /** Standard Constructor */ + public X_C_DepositBatch (Properties ctx, String C_DepositBatch_UU, String trxName) + { + super (ctx, C_DepositBatch_UU, trxName); + /** if (C_DepositBatch_UU == null) + { + setC_BankAccount_ID (0); + setC_DepositBatch_ID (0); + setC_DocType_ID (0); + setDateDeposit (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDepositAmt (Env.ZERO); + setDocStatus (null); +// DR + setDocumentNo (null); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_C_DepositBatch (Properties ctx, String C_DepositBatch_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_DepositBatch_UU, trxName, virtualColumns); + /** if (C_DepositBatch_UU == null) + { + setC_BankAccount_ID (0); + setC_DepositBatch_ID (0); + setC_DocType_ID (0); + setDateDeposit (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDepositAmt (Env.ZERO); + setDocStatus (null); +// DR + setDocumentNo (null); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_C_DepositBatch (Properties ctx, ResultSet rs, String trxName) { @@ -85,7 +127,7 @@ public class X_C_DepositBatch extends PO implements I_C_DepositBatch, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -341,7 +383,7 @@ public class X_C_DepositBatch extends PO implements I_C_DepositBatch, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -360,10 +402,10 @@ public class X_C_DepositBatch extends PO implements I_C_DepositBatch, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -382,10 +424,10 @@ public class X_C_DepositBatch extends PO implements I_C_DepositBatch, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_DepositBatchLine.java b/org.adempiere.base/src/org/compiere/model/X_C_DepositBatchLine.java index fd99c2e8b5..1c2d754b5a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_DepositBatchLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_DepositBatchLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_DepositBatchLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_DepositBatchLine") -public class X_C_DepositBatchLine extends PO implements I_C_DepositBatchLine, I_Persistent +public class X_C_DepositBatchLine extends PO implements I_C_DepositBatchLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_DepositBatchLine (Properties ctx, int C_DepositBatchLine_ID, String trxName) @@ -69,6 +69,40 @@ public class X_C_DepositBatchLine extends PO implements I_C_DepositBatchLine, I_ } */ } + /** Standard Constructor */ + public X_C_DepositBatchLine (Properties ctx, String C_DepositBatchLine_UU, String trxName) + { + super (ctx, C_DepositBatchLine_UU, trxName); + /** if (C_DepositBatchLine_UU == null) + { + setC_DepositBatch_ID (0); + setC_DepositBatchLine_ID (0); + setC_Payment_ID (0); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_DepositBatchLine WHERE C_DepositBatch_ID=@C_DepositBatch_ID@ + setPayAmt (Env.ZERO); + setProcessed (false); + setProcessing (false); + } */ + } + + /** Standard Constructor */ + public X_C_DepositBatchLine (Properties ctx, String C_DepositBatchLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_DepositBatchLine_UU, trxName, virtualColumns); + /** if (C_DepositBatchLine_UU == null) + { + setC_DepositBatch_ID (0); + setC_DepositBatchLine_ID (0); + setC_Payment_ID (0); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_DepositBatchLine WHERE C_DepositBatch_ID=@C_DepositBatch_ID@ + setPayAmt (Env.ZERO); + setProcessed (false); + setProcessing (false); + } */ + } + /** Load Constructor */ public X_C_DepositBatchLine (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +110,7 @@ public class X_C_DepositBatchLine extends PO implements I_C_DepositBatchLine, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -127,7 +161,7 @@ public class X_C_DepositBatchLine extends PO implements I_C_DepositBatchLine, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_DepositBatch_ID())); } @@ -248,10 +282,10 @@ public class X_C_DepositBatchLine extends PO implements I_C_DepositBatchLine, I_ public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -270,10 +304,10 @@ public class X_C_DepositBatchLine extends PO implements I_C_DepositBatchLine, I_ public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_DocBaseGroup.java b/org.adempiere.base/src/org/compiere/model/X_C_DocBaseGroup.java index fa37801325..a88de51bae 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_DocBaseGroup.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_DocBaseGroup.java @@ -30,7 +30,7 @@ public class X_C_DocBaseGroup extends PO implements I_C_DocBaseGroup, I_Persiste /** * */ - private static final long serialVersionUID = 20230403L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_DocBaseGroup (Properties ctx, int C_DocBaseGroup_ID, String trxName) diff --git a/org.adempiere.base/src/org/compiere/model/X_C_DocBaseGroupLine.java b/org.adempiere.base/src/org/compiere/model/X_C_DocBaseGroupLine.java index 97a7a06663..dda23ef233 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_DocBaseGroupLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_DocBaseGroupLine.java @@ -30,7 +30,7 @@ public class X_C_DocBaseGroupLine extends PO implements I_C_DocBaseGroupLine, I_ /** * */ - private static final long serialVersionUID = 20230403L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_DocBaseGroupLine (Properties ctx, int C_DocBaseGroupLine_ID, String trxName) @@ -38,8 +38,8 @@ public class X_C_DocBaseGroupLine extends PO implements I_C_DocBaseGroupLine, I_ super (ctx, C_DocBaseGroupLine_ID, trxName); /** if (C_DocBaseGroupLine_ID == 0) { - setC_DocBaseGroupLine_ID (0); setC_DocBaseGroup_ID (0); + setC_DocBaseGroupLine_ID (0); setDocBaseType (null); } */ } @@ -50,8 +50,8 @@ public class X_C_DocBaseGroupLine extends PO implements I_C_DocBaseGroupLine, I_ super (ctx, C_DocBaseGroupLine_ID, trxName, virtualColumns); /** if (C_DocBaseGroupLine_ID == 0) { - setC_DocBaseGroupLine_ID (0); setC_DocBaseGroup_ID (0); + setC_DocBaseGroupLine_ID (0); setDocBaseType (null); } */ } @@ -62,8 +62,8 @@ public class X_C_DocBaseGroupLine extends PO implements I_C_DocBaseGroupLine, I_ super (ctx, C_DocBaseGroupLine_UU, trxName); /** if (C_DocBaseGroupLine_UU == null) { - setC_DocBaseGroupLine_ID (0); setC_DocBaseGroup_ID (0); + setC_DocBaseGroupLine_ID (0); setDocBaseType (null); } */ } @@ -74,8 +74,8 @@ public class X_C_DocBaseGroupLine extends PO implements I_C_DocBaseGroupLine, I_ super (ctx, C_DocBaseGroupLine_UU, trxName, virtualColumns); /** if (C_DocBaseGroupLine_UU == null) { - setC_DocBaseGroupLine_ID (0); setC_DocBaseGroup_ID (0); + setC_DocBaseGroupLine_ID (0); setDocBaseType (null); } */ } @@ -108,6 +108,34 @@ public class X_C_DocBaseGroupLine extends PO implements I_C_DocBaseGroupLine, I_ return sb.toString(); } + public org.compiere.model.I_C_DocBaseGroup getC_DocBaseGroup() throws RuntimeException + { + return (org.compiere.model.I_C_DocBaseGroup)MTable.get(getCtx(), org.compiere.model.I_C_DocBaseGroup.Table_ID) + .getPO(getC_DocBaseGroup_ID(), get_TrxName()); + } + + /** Set Document Base Type Group. + @param C_DocBaseGroup_ID Group of Document Base Type for Period Control + */ + public void setC_DocBaseGroup_ID (int C_DocBaseGroup_ID) + { + if (C_DocBaseGroup_ID < 1) + set_ValueNoCheck (COLUMNNAME_C_DocBaseGroup_ID, null); + else + set_ValueNoCheck (COLUMNNAME_C_DocBaseGroup_ID, Integer.valueOf(C_DocBaseGroup_ID)); + } + + /** Get Document Base Type Group. + @return Group of Document Base Type for Period Control + */ + public int getC_DocBaseGroup_ID() + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_DocBaseGroup_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Document Base Type Group Line. @param C_DocBaseGroupLine_ID Line Items of a Document Base Type Group */ @@ -145,34 +173,6 @@ public class X_C_DocBaseGroupLine extends PO implements I_C_DocBaseGroupLine, I_ return (String)get_Value(COLUMNNAME_C_DocBaseGroupLine_UU); } - public org.compiere.model.I_C_DocBaseGroup getC_DocBaseGroup() throws RuntimeException - { - return (org.compiere.model.I_C_DocBaseGroup)MTable.get(getCtx(), org.compiere.model.I_C_DocBaseGroup.Table_ID) - .getPO(getC_DocBaseGroup_ID(), get_TrxName()); - } - - /** Set Document Base Type Group. - @param C_DocBaseGroup_ID Group of Document Base Type for Period Control - */ - public void setC_DocBaseGroup_ID (int C_DocBaseGroup_ID) - { - if (C_DocBaseGroup_ID < 1) - set_ValueNoCheck (COLUMNNAME_C_DocBaseGroup_ID, null); - else - set_ValueNoCheck (COLUMNNAME_C_DocBaseGroup_ID, Integer.valueOf(C_DocBaseGroup_ID)); - } - - /** Get Document Base Type Group. - @return Group of Document Base Type for Period Control - */ - public int getC_DocBaseGroup_ID() - { - Integer ii = (Integer)get_Value(COLUMNNAME_C_DocBaseGroup_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** DocBaseType AD_Reference_ID=183 */ public static final int DOCBASETYPE_AD_Reference_ID=183; /** AP Credit Memo = APC */ diff --git a/org.adempiere.base/src/org/compiere/model/X_C_DocType.java b/org.adempiere.base/src/org/compiere/model/X_C_DocType.java index 33178c7e31..54497edf39 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_DocType.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_DocType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_DocType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_DocType") -public class X_C_DocType extends PO implements I_C_DocType, I_Persistent +public class X_C_DocType extends PO implements I_C_DocType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_DocType (Properties ctx, int C_DocType_ID, String trxName) @@ -97,6 +97,70 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent } */ } + /** Standard Constructor */ + public X_C_DocType (Properties ctx, String C_DocType_UU, String trxName) + { + super (ctx, C_DocType_UU, trxName); + /** if (C_DocType_UU == null) + { + setC_DocType_ID (0); + setDocBaseType (null); + setDocumentCopies (0); +// 1 + setGL_Category_ID (0); + setHasCharges (false); + setIsCreateCounter (true); +// Y + setIsDefault (false); + setIsDefaultCounterDoc (false); + setIsDocNoControlled (true); +// Y + setIsIndexed (false); + setIsInTransit (false); + setIsPickQAConfirm (false); + setIsPrepareSplitDocument (true); +// Y + setIsShipConfirm (false); + setIsSOTrx (false); + setIsSplitWhenDifference (false); +// N + setName (null); + setPrintName (null); + } */ + } + + /** Standard Constructor */ + public X_C_DocType (Properties ctx, String C_DocType_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_DocType_UU, trxName, virtualColumns); + /** if (C_DocType_UU == null) + { + setC_DocType_ID (0); + setDocBaseType (null); + setDocumentCopies (0); +// 1 + setGL_Category_ID (0); + setHasCharges (false); + setIsCreateCounter (true); +// Y + setIsDefault (false); + setIsDefaultCounterDoc (false); + setIsDocNoControlled (true); +// Y + setIsIndexed (false); + setIsInTransit (false); + setIsPickQAConfirm (false); + setIsPrepareSplitDocument (true); +// Y + setIsShipConfirm (false); + setIsSOTrx (false); + setIsSplitWhenDifference (false); +// N + setName (null); + setPrintName (null); + } */ + } + /** Load Constructor */ public X_C_DocType (Properties ctx, ResultSet rs, String trxName) { @@ -104,7 +168,7 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -593,10 +657,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isHasCharges() { Object oo = get_Value(COLUMNNAME_HasCharges); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -616,10 +680,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isHasProforma() { Object oo = get_Value(COLUMNNAME_HasProforma); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -638,10 +702,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isChargeOrProductMandatory() { Object oo = get_Value(COLUMNNAME_IsChargeOrProductMandatory); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -661,10 +725,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isCreateCounter() { Object oo = get_Value(COLUMNNAME_IsCreateCounter); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -684,10 +748,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -707,10 +771,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isDefaultCounterDoc() { Object oo = get_Value(COLUMNNAME_IsDefaultCounterDoc); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -730,10 +794,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isDocNoControlled() { Object oo = get_Value(COLUMNNAME_IsDocNoControlled); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -753,10 +817,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isIndexed() { Object oo = get_Value(COLUMNNAME_IsIndexed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -776,10 +840,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isInTransit() { Object oo = get_Value(COLUMNNAME_IsInTransit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -798,10 +862,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isNoPriceListCheck() { Object oo = get_Value(COLUMNNAME_IsNoPriceListCheck); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -820,10 +884,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isOverwriteDateOnComplete() { Object oo = get_Value(COLUMNNAME_IsOverwriteDateOnComplete); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -842,10 +906,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isOverwriteSeqOnComplete() { Object oo = get_Value(COLUMNNAME_IsOverwriteSeqOnComplete); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -865,10 +929,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isPickQAConfirm() { Object oo = get_Value(COLUMNNAME_IsPickQAConfirm); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -888,10 +952,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isPrepareSplitDocument() { Object oo = get_Value(COLUMNNAME_IsPrepareSplitDocument); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -911,10 +975,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isShipConfirm() { Object oo = get_Value(COLUMNNAME_IsShipConfirm); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -934,10 +998,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -957,10 +1021,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent public boolean isSplitWhenDifference() { Object oo = get_Value(COLUMNNAME_IsSplitWhenDifference); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -985,7 +1049,7 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_DocTypeCounter.java b/org.adempiere.base/src/org/compiere/model/X_C_DocTypeCounter.java index d4531a57e7..47dd72775d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_DocTypeCounter.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_DocTypeCounter.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_DocTypeCounter - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_DocTypeCounter") -public class X_C_DocTypeCounter extends PO implements I_C_DocTypeCounter, I_Persistent +public class X_C_DocTypeCounter extends PO implements I_C_DocTypeCounter, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_DocTypeCounter (Properties ctx, int C_DocTypeCounter_ID, String trxName) @@ -65,6 +65,38 @@ public class X_C_DocTypeCounter extends PO implements I_C_DocTypeCounter, I_Pers } */ } + /** Standard Constructor */ + public X_C_DocTypeCounter (Properties ctx, String C_DocTypeCounter_UU, String trxName) + { + super (ctx, C_DocTypeCounter_UU, trxName); + /** if (C_DocTypeCounter_UU == null) + { + setC_DocTypeCounter_ID (0); + setC_DocType_ID (0); + setCounter_C_DocType_ID (0); + setIsCreateCounter (true); +// Y + setIsValid (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_DocTypeCounter (Properties ctx, String C_DocTypeCounter_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_DocTypeCounter_UU, trxName, virtualColumns); + /** if (C_DocTypeCounter_UU == null) + { + setC_DocTypeCounter_ID (0); + setC_DocType_ID (0); + setCounter_C_DocType_ID (0); + setIsCreateCounter (true); +// Y + setIsValid (false); + setName (null); + } */ + } + /** Load Constructor */ public X_C_DocTypeCounter (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_C_DocTypeCounter extends PO implements I_C_DocTypeCounter, I_Pers } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -263,10 +295,10 @@ public class X_C_DocTypeCounter extends PO implements I_C_DocTypeCounter, I_Pers public boolean isCreateCounter() { Object oo = get_Value(COLUMNNAME_IsCreateCounter); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -286,10 +318,10 @@ public class X_C_DocTypeCounter extends PO implements I_C_DocTypeCounter, I_Pers public boolean isValid() { Object oo = get_Value(COLUMNNAME_IsValid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -314,7 +346,7 @@ public class X_C_DocTypeCounter extends PO implements I_C_DocTypeCounter, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -332,10 +364,10 @@ public class X_C_DocTypeCounter extends PO implements I_C_DocTypeCounter, I_Pers public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Dunning.java b/org.adempiere.base/src/org/compiere/model/X_C_Dunning.java index bb65b68510..915b67b554 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Dunning.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Dunning.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Dunning - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Dunning") -public class X_C_Dunning extends PO implements I_C_Dunning, I_Persistent +public class X_C_Dunning extends PO implements I_C_Dunning, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Dunning (Properties ctx, int C_Dunning_ID, String trxName) @@ -61,6 +61,34 @@ public class X_C_Dunning extends PO implements I_C_Dunning, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Dunning (Properties ctx, String C_Dunning_UU, String trxName) + { + super (ctx, C_Dunning_UU, trxName); + /** if (C_Dunning_UU == null) + { + setC_Dunning_ID (0); + setCreateLevelsSequentially (false); + setIsDefault (false); + setName (null); + setSendDunningLetter (false); + } */ + } + + /** Standard Constructor */ + public X_C_Dunning (Properties ctx, String C_Dunning_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Dunning_UU, trxName, virtualColumns); + /** if (C_Dunning_UU == null) + { + setC_Dunning_ID (0); + setCreateLevelsSequentially (false); + setIsDefault (false); + setName (null); + setSendDunningLetter (false); + } */ + } + /** Load Constructor */ public X_C_Dunning (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_C_Dunning extends PO implements I_C_Dunning, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -140,10 +168,10 @@ public class X_C_Dunning extends PO implements I_C_Dunning, I_Persistent public boolean isCreateLevelsSequentially() { Object oo = get_Value(COLUMNNAME_CreateLevelsSequentially); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -179,10 +207,10 @@ public class X_C_Dunning extends PO implements I_C_Dunning, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -207,7 +235,7 @@ public class X_C_Dunning extends PO implements I_C_Dunning, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -226,10 +254,10 @@ public class X_C_Dunning extends PO implements I_C_Dunning, I_Persistent public boolean isSendDunningLetter() { Object oo = get_Value(COLUMNNAME_SendDunningLetter); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_DunningLevel.java b/org.adempiere.base/src/org/compiere/model/X_C_DunningLevel.java index 37de630a77..5e8c0d8f48 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_DunningLevel.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_DunningLevel.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_DunningLevel - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_DunningLevel") -public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persistent +public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_DunningLevel (Properties ctx, int C_DunningLevel_ID, String trxName) @@ -81,6 +81,52 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste } */ } + /** Standard Constructor */ + public X_C_DunningLevel (Properties ctx, String C_DunningLevel_UU, String trxName) + { + super (ctx, C_DunningLevel_UU, trxName); + /** if (C_DunningLevel_UU == null) + { + setC_Dunning_ID (0); + setC_DunningLevel_ID (0); + setChargeFee (false); + setChargeInterest (false); + setDaysAfterDue (Env.ZERO); + setDaysBetweenDunning (0); + setIsSetCreditStop (false); + setIsSetPaymentTerm (false); + setIsShowAllDue (false); + setIsShowNotDue (false); + setIsStatement (false); +// N + setName (null); + setPrintName (null); + } */ + } + + /** Standard Constructor */ + public X_C_DunningLevel (Properties ctx, String C_DunningLevel_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_DunningLevel_UU, trxName, virtualColumns); + /** if (C_DunningLevel_UU == null) + { + setC_Dunning_ID (0); + setC_DunningLevel_ID (0); + setChargeFee (false); + setChargeInterest (false); + setDaysAfterDue (Env.ZERO); + setDaysBetweenDunning (0); + setIsSetCreditStop (false); + setIsSetPaymentTerm (false); + setIsShowAllDue (false); + setIsShowNotDue (false); + setIsStatement (false); +// N + setName (null); + setPrintName (null); + } */ + } + /** Load Constructor */ public X_C_DunningLevel (Properties ctx, ResultSet rs, String trxName) { @@ -88,7 +134,7 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -187,10 +233,10 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste public boolean isChargeFee() { Object oo = get_Value(COLUMNNAME_ChargeFee); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -210,10 +256,10 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste public boolean isChargeInterest() { Object oo = get_Value(COLUMNNAME_ChargeInterest); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -408,10 +454,10 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste public boolean isSetCreditStop() { Object oo = get_Value(COLUMNNAME_IsSetCreditStop); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -431,10 +477,10 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste public boolean isSetPaymentTerm() { Object oo = get_Value(COLUMNNAME_IsSetPaymentTerm); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -454,10 +500,10 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste public boolean isShowAllDue() { Object oo = get_Value(COLUMNNAME_IsShowAllDue); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -477,10 +523,10 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste public boolean isShowNotDue() { Object oo = get_Value(COLUMNNAME_IsShowNotDue); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -500,10 +546,10 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste public boolean isStatement() { Object oo = get_Value(COLUMNNAME_IsStatement); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -528,7 +574,7 @@ public class X_C_DunningLevel extends PO implements I_C_DunningLevel, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_DunningRun.java b/org.adempiere.base/src/org/compiere/model/X_C_DunningRun.java index 2e58b7f638..b64a51b63b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_DunningRun.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_DunningRun.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_DunningRun - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_DunningRun") -public class X_C_DunningRun extends PO implements I_C_DunningRun, I_Persistent +public class X_C_DunningRun extends PO implements I_C_DunningRun, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_DunningRun (Properties ctx, int C_DunningRun_ID, String trxName) @@ -62,6 +62,34 @@ public class X_C_DunningRun extends PO implements I_C_DunningRun, I_Persistent } */ } + /** Standard Constructor */ + public X_C_DunningRun (Properties ctx, String C_DunningRun_UU, String trxName) + { + super (ctx, C_DunningRun_UU, trxName); + /** if (C_DunningRun_UU == null) + { + setC_Dunning_ID (0); + setC_DunningRun_ID (0); + setDunningDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_C_DunningRun (Properties ctx, String C_DunningRun_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_DunningRun_UU, trxName, virtualColumns); + /** if (C_DunningRun_UU == null) + { + setC_Dunning_ID (0); + setC_DunningRun_ID (0); + setDunningDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setProcessed (false); + } */ + } + /** Load Constructor */ public X_C_DunningRun (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +97,7 @@ public class X_C_DunningRun extends PO implements I_C_DunningRun, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -217,7 +245,7 @@ public class X_C_DunningRun extends PO implements I_C_DunningRun, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getDunningDate())); } @@ -236,10 +264,10 @@ public class X_C_DunningRun extends PO implements I_C_DunningRun, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -258,10 +286,10 @@ public class X_C_DunningRun extends PO implements I_C_DunningRun, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_DunningRunEntry.java b/org.adempiere.base/src/org/compiere/model/X_C_DunningRunEntry.java index 55a3ead0a1..694af28791 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_DunningRunEntry.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_DunningRunEntry.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_DunningRunEntry - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_DunningRunEntry") -public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Persistent +public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_DunningRunEntry (Properties ctx, int C_DunningRunEntry_ID, String trxName) @@ -75,6 +75,46 @@ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Pe } */ } + /** Standard Constructor */ + public X_C_DunningRunEntry (Properties ctx, String C_DunningRunEntry_UU, String trxName) + { + super (ctx, C_DunningRunEntry_UU, trxName); + /** if (C_DunningRunEntry_UU == null) + { + setAmt (Env.ZERO); + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_Currency_ID (0); + setC_DunningLevel_ID (0); +// @C_DunningLevel_ID@ + setC_DunningRunEntry_ID (0); + setC_DunningRun_ID (0); + setProcessed (false); + setQty (Env.ZERO); + setSalesRep_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_DunningRunEntry (Properties ctx, String C_DunningRunEntry_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_DunningRunEntry_UU, trxName, virtualColumns); + /** if (C_DunningRunEntry_UU == null) + { + setAmt (Env.ZERO); + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_Currency_ID (0); + setC_DunningLevel_ID (0); +// @C_DunningLevel_ID@ + setC_DunningRunEntry_ID (0); + setC_DunningRun_ID (0); + setProcessed (false); + setQty (Env.ZERO); + setSalesRep_ID (0); + } */ + } + /** Load Constructor */ public X_C_DunningRunEntry (Properties ctx, ResultSet rs, String trxName) { @@ -82,7 +122,7 @@ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Pe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -329,7 +369,7 @@ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_DunningRun_ID())); } @@ -364,10 +404,10 @@ public class X_C_DunningRunEntry extends PO implements I_C_DunningRunEntry, I_Pe public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_DunningRunLine.java b/org.adempiere.base/src/org/compiere/model/X_C_DunningRunLine.java index 2579515b6b..e7d8689964 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_DunningRunLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_DunningRunLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_DunningRunLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_DunningRunLine") -public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Persistent +public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_DunningRunLine (Properties ctx, int C_DunningRunLine_ID, String trxName) @@ -77,6 +77,48 @@ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Pers } */ } + /** Standard Constructor */ + public X_C_DunningRunLine (Properties ctx, String C_DunningRunLine_UU, String trxName) + { + super (ctx, C_DunningRunLine_UU, trxName); + /** if (C_DunningRunLine_UU == null) + { + setAmt (Env.ZERO); + setC_DunningRunEntry_ID (0); + setC_DunningRunLine_ID (0); + setConvertedAmt (Env.ZERO); + setDaysDue (0); + setFeeAmt (Env.ZERO); + setInterestAmt (Env.ZERO); + setIsInDispute (false); + setOpenAmt (Env.ZERO); + setProcessed (false); + setTimesDunned (0); + setTotalAmt (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_DunningRunLine (Properties ctx, String C_DunningRunLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_DunningRunLine_UU, trxName, virtualColumns); + /** if (C_DunningRunLine_UU == null) + { + setAmt (Env.ZERO); + setC_DunningRunEntry_ID (0); + setC_DunningRunLine_ID (0); + setConvertedAmt (Env.ZERO); + setDaysDue (0); + setFeeAmt (Env.ZERO); + setInterestAmt (Env.ZERO); + setIsInDispute (false); + setOpenAmt (Env.ZERO); + setProcessed (false); + setTimesDunned (0); + setTotalAmt (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_DunningRunLine (Properties ctx, ResultSet rs, String trxName) { @@ -84,7 +126,7 @@ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -220,7 +262,7 @@ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_Invoice_ID())); } @@ -371,10 +413,10 @@ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Pers public boolean isInDispute() { Object oo = get_Value(COLUMNNAME_IsInDispute); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -413,10 +455,10 @@ public class X_C_DunningRunLine extends PO implements I_C_DunningRunLine, I_Pers public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Element.java b/org.adempiere.base/src/org/compiere/model/X_C_Element.java index a2df94421f..365b42ca03 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Element.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Element.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Element - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Element") -public class X_C_Element extends PO implements I_C_Element, I_Persistent +public class X_C_Element extends PO implements I_C_Element, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Element (Properties ctx, int C_Element_ID, String trxName) @@ -65,6 +65,38 @@ public class X_C_Element extends PO implements I_C_Element, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Element (Properties ctx, String C_Element_UU, String trxName) + { + super (ctx, C_Element_UU, trxName); + /** if (C_Element_UU == null) + { + setAD_Tree_ID (0); + setC_Element_ID (0); + setElementType (null); +// A + setIsBalancing (false); + setIsNaturalAccount (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_Element (Properties ctx, String C_Element_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Element_UU, trxName, virtualColumns); + /** if (C_Element_UU == null) + { + setAD_Tree_ID (0); + setC_Element_ID (0); + setElementType (null); +// A + setIsBalancing (false); + setIsNaturalAccount (false); + setName (null); + } */ + } + /** Load Constructor */ public X_C_Element (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_C_Element extends PO implements I_C_Element, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -211,10 +243,10 @@ public class X_C_Element extends PO implements I_C_Element, I_Persistent public boolean isBalancing() { Object oo = get_Value(COLUMNNAME_IsBalancing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -234,10 +266,10 @@ public class X_C_Element extends PO implements I_C_Element, I_Persistent public boolean isNaturalAccount() { Object oo = get_Value(COLUMNNAME_IsNaturalAccount); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -262,7 +294,7 @@ public class X_C_Element extends PO implements I_C_Element, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_ElementValue.java b/org.adempiere.base/src/org/compiere/model/X_C_ElementValue.java index e09897fc49..36c795eb83 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_ElementValue.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_ElementValue.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_ElementValue - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_ElementValue") -public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persistent +public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_ElementValue (Properties ctx, int C_ElementValue_ID, String trxName) @@ -94,6 +94,66 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste } */ } + /** Standard Constructor */ + public X_C_ElementValue (Properties ctx, String C_ElementValue_UU, String trxName) + { + super (ctx, C_ElementValue_UU, trxName); + /** if (C_ElementValue_UU == null) + { + setAccountSign (null); +// N + setAccountType (null); +// E + setC_Element_ID (0); + setC_ElementValue_ID (0); + setIsDetailBPartner (false); +// N + setIsDetailProduct (false); +// N + setIsSummary (false); + setName (null); + setPostActual (true); +// Y + setPostBudget (true); +// Y + setPostEncumbrance (true); +// Y + setPostStatistical (true); +// Y + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_ElementValue (Properties ctx, String C_ElementValue_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_ElementValue_UU, trxName, virtualColumns); + /** if (C_ElementValue_UU == null) + { + setAccountSign (null); +// N + setAccountType (null); +// E + setC_Element_ID (0); + setC_ElementValue_ID (0); + setIsDetailBPartner (false); +// N + setIsDetailProduct (false); +// N + setIsSummary (false); + setName (null); + setPostActual (true); +// Y + setPostBudget (true); +// Y + setPostEncumbrance (true); +// Y + setPostStatistical (true); +// Y + setValue (null); + } */ + } + /** Load Constructor */ public X_C_ElementValue (Properties ctx, ResultSet rs, String trxName) { @@ -101,7 +161,7 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -353,10 +413,10 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste public boolean isBankAccount() { Object oo = get_Value(COLUMNNAME_IsBankAccount); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -375,10 +435,10 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste public boolean isDetailBPartner() { Object oo = get_Value(COLUMNNAME_IsDetailBPartner); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -397,10 +457,10 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste public boolean isDetailProduct() { Object oo = get_Value(COLUMNNAME_IsDetailProduct); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -420,10 +480,10 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste public boolean isDocControlled() { Object oo = get_Value(COLUMNNAME_IsDocControlled); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -443,10 +503,10 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste public boolean isForeignCurrency() { Object oo = get_Value(COLUMNNAME_IsForeignCurrency); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -466,10 +526,10 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste public boolean isSummary() { Object oo = get_Value(COLUMNNAME_IsSummary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -505,10 +565,10 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste public boolean isPostActual() { Object oo = get_Value(COLUMNNAME_PostActual); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -528,10 +588,10 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste public boolean isPostBudget() { Object oo = get_Value(COLUMNNAME_PostBudget); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -551,10 +611,10 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste public boolean isPostEncumbrance() { Object oo = get_Value(COLUMNNAME_PostEncumbrance); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -574,10 +634,10 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste public boolean isPostStatistical() { Object oo = get_Value(COLUMNNAME_PostStatistical); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -634,7 +694,7 @@ public class X_C_ElementValue extends PO implements I_C_ElementValue, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getValue()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Greeting.java b/org.adempiere.base/src/org/compiere/model/X_C_Greeting.java index 16cdeed962..7ff702673b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Greeting.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Greeting.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Greeting - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Greeting") -public class X_C_Greeting extends PO implements I_C_Greeting, I_Persistent +public class X_C_Greeting extends PO implements I_C_Greeting, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Greeting (Properties ctx, int C_Greeting_ID, String trxName) @@ -59,6 +59,32 @@ public class X_C_Greeting extends PO implements I_C_Greeting, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Greeting (Properties ctx, String C_Greeting_UU, String trxName) + { + super (ctx, C_Greeting_UU, trxName); + /** if (C_Greeting_UU == null) + { + setC_Greeting_ID (0); + setIsDefault (false); + setIsFirstNameOnly (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_Greeting (Properties ctx, String C_Greeting_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Greeting_UU, trxName, virtualColumns); + /** if (C_Greeting_UU == null) + { + setC_Greeting_ID (0); + setIsDefault (false); + setIsFirstNameOnly (false); + setName (null); + } */ + } + /** Load Constructor */ public X_C_Greeting (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_C_Greeting extends PO implements I_C_Greeting, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -154,10 +180,10 @@ public class X_C_Greeting extends PO implements I_C_Greeting, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -177,10 +203,10 @@ public class X_C_Greeting extends PO implements I_C_Greeting, I_Persistent public boolean isFirstNameOnly() { Object oo = get_Value(COLUMNNAME_IsFirstNameOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -205,7 +231,7 @@ public class X_C_Greeting extends PO implements I_C_Greeting, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_InterOrg_Acct.java b/org.adempiere.base/src/org/compiere/model/X_C_InterOrg_Acct.java index 8cae6474ae..8c746c873e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_InterOrg_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_InterOrg_Acct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_InterOrg_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_InterOrg_Acct") -public class X_C_InterOrg_Acct extends PO implements I_C_InterOrg_Acct, I_Persistent +public class X_C_InterOrg_Acct extends PO implements I_C_InterOrg_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_InterOrg_Acct (Properties ctx, int C_InterOrg_Acct_ID, String trxName) @@ -58,6 +58,32 @@ public class X_C_InterOrg_Acct extends PO implements I_C_InterOrg_Acct, I_Persis } */ } + /** Standard Constructor */ + public X_C_InterOrg_Acct (Properties ctx, String C_InterOrg_Acct_UU, String trxName) + { + super (ctx, C_InterOrg_Acct_UU, trxName); + /** if (C_InterOrg_Acct_UU == null) + { + setAD_OrgTo_ID (0); + setC_AcctSchema_ID (0); + setIntercompanyDueFrom_Acct (0); + setIntercompanyDueTo_Acct (0); + } */ + } + + /** Standard Constructor */ + public X_C_InterOrg_Acct (Properties ctx, String C_InterOrg_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_InterOrg_Acct_UU, trxName, virtualColumns); + /** if (C_InterOrg_Acct_UU == null) + { + setAD_OrgTo_ID (0); + setC_AcctSchema_ID (0); + setIntercompanyDueFrom_Acct (0); + setIntercompanyDueTo_Acct (0); + } */ + } + /** Load Constructor */ public X_C_InterOrg_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_C_InterOrg_Acct extends PO implements I_C_InterOrg_Acct, I_Persis } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -82,7 +108,7 @@ public class X_C_InterOrg_Acct extends PO implements I_C_InterOrg_Acct, I_Persis public String toString() { StringBuilder sb = new StringBuilder ("X_C_InterOrg_Acct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Invoice.java b/org.adempiere.base/src/org/compiere/model/X_C_Invoice.java index b46f20ba67..f2e5c1b238 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Invoice.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Invoice.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_Invoice - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Invoice") -public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent +public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Invoice (Properties ctx, int C_Invoice_ID, String trxName) @@ -138,6 +138,108 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Invoice (Properties ctx, String C_Invoice_UU, String trxName) + { + super (ctx, C_Invoice_UU, trxName); + /** if (C_Invoice_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_Currency_ID (0); +// @C_Currency_ID@ + setC_DocType_ID (0); +// 0 + setC_DocTypeTarget_ID (0); + setC_Invoice_ID (0); + setC_PaymentTerm_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDateInvoiced (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setGrandTotal (Env.ZERO); + setIsApproved (false); +// N + setIsDiscountPrinted (false); + setIsInDispute (false); +// N + setIsOverrideCurrencyRate (false); +// N + setIsPaid (false); + setIsPayScheduleValid (false); + setIsPrinted (false); + setIsSelfService (false); + setIsSOTrx (false); +// @IsSOTrx@ + setIsTaxIncluded (false); + setIsTransferred (false); + setM_PriceList_ID (0); + setPaymentRule (null); +// P + setPosted (false); +// N + setProcessed (false); + setSendEMail (false); + setTotalLines (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_Invoice (Properties ctx, String C_Invoice_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Invoice_UU, trxName, virtualColumns); + /** if (C_Invoice_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_Currency_ID (0); +// @C_Currency_ID@ + setC_DocType_ID (0); +// 0 + setC_DocTypeTarget_ID (0); + setC_Invoice_ID (0); + setC_PaymentTerm_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDateInvoiced (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setGrandTotal (Env.ZERO); + setIsApproved (false); +// N + setIsDiscountPrinted (false); + setIsInDispute (false); +// N + setIsOverrideCurrencyRate (false); +// N + setIsPaid (false); + setIsPayScheduleValid (false); + setIsPrinted (false); + setIsSelfService (false); + setIsSOTrx (false); +// @IsSOTrx@ + setIsTaxIncluded (false); + setIsTransferred (false); + setM_PriceList_ID (0); + setPaymentRule (null); +// P + setPosted (false); +// N + setProcessed (false); + setSendEMail (false); + setTotalLines (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_Invoice (Properties ctx, ResultSet rs, String trxName) { @@ -145,7 +247,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -1056,7 +1158,7 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -1152,10 +1254,10 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1175,10 +1277,10 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public boolean isDiscountPrinted() { Object oo = get_Value(COLUMNNAME_IsDiscountPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1197,10 +1299,10 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public boolean isFixedAssetInvoice() { Object oo = get_Value(COLUMNNAME_IsFixedAssetInvoice); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1220,10 +1322,10 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public boolean isInDispute() { Object oo = get_Value(COLUMNNAME_IsInDispute); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1243,10 +1345,10 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public boolean isOverrideCurrencyRate() { Object oo = get_Value(COLUMNNAME_IsOverrideCurrencyRate); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1266,10 +1368,10 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public boolean isPaid() { Object oo = get_Value(COLUMNNAME_IsPaid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1289,10 +1391,10 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public boolean isPayScheduleValid() { Object oo = get_Value(COLUMNNAME_IsPayScheduleValid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1312,10 +1414,10 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1335,10 +1437,10 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1358,10 +1460,10 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1381,10 +1483,10 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public boolean isTaxIncluded() { Object oo = get_Value(COLUMNNAME_IsTaxIncluded); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1404,10 +1506,10 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public boolean isTransferred() { Object oo = get_Value(COLUMNNAME_IsTransferred); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1532,10 +1634,10 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1555,10 +1657,10 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1596,10 +1698,10 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1723,10 +1825,10 @@ public class X_C_Invoice extends PO implements I_C_Invoice, I_Persistent public boolean isSendEMail() { Object oo = get_Value(COLUMNNAME_SendEMail); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_InvoiceBatch.java b/org.adempiere.base/src/org/compiere/model/X_C_InvoiceBatch.java index c12529f1a8..5ad9acb99b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_InvoiceBatch.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_InvoiceBatch.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_InvoiceBatch - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_InvoiceBatch") -public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persistent +public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_InvoiceBatch (Properties ctx, int C_InvoiceBatch_ID, String trxName) @@ -80,6 +80,50 @@ public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persiste } */ } + /** Standard Constructor */ + public X_C_InvoiceBatch (Properties ctx, String C_InvoiceBatch_UU, String trxName) + { + super (ctx, C_InvoiceBatch_UU, trxName); + /** if (C_InvoiceBatch_UU == null) + { + setC_Currency_ID (0); +// @$C_Currency_ID@ + setC_InvoiceBatch_ID (0); + setControlAmt (Env.ZERO); +// 0 + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocumentAmt (Env.ZERO); + setDocumentNo (null); + setIsSOTrx (false); +// N + setProcessed (false); + setSalesRep_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_InvoiceBatch (Properties ctx, String C_InvoiceBatch_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_InvoiceBatch_UU, trxName, virtualColumns); + /** if (C_InvoiceBatch_UU == null) + { + setC_Currency_ID (0); +// @$C_Currency_ID@ + setC_InvoiceBatch_ID (0); + setControlAmt (Env.ZERO); +// 0 + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocumentAmt (Env.ZERO); + setDocumentNo (null); + setIsSOTrx (false); +// N + setProcessed (false); + setSalesRep_ID (0); + } */ + } + /** Load Constructor */ public X_C_InvoiceBatch (Properties ctx, ResultSet rs, String trxName) { @@ -87,7 +131,7 @@ public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persiste } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -290,7 +334,7 @@ public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -309,10 +353,10 @@ public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persiste public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -332,10 +376,10 @@ public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -354,10 +398,10 @@ public class X_C_InvoiceBatch extends PO implements I_C_InvoiceBatch, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_InvoiceBatchLine.java b/org.adempiere.base/src/org/compiere/model/X_C_InvoiceBatchLine.java index 20fc2de192..d99d809a71 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_InvoiceBatchLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_InvoiceBatchLine.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_InvoiceBatchLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_InvoiceBatchLine") -public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_Persistent +public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_InvoiceBatchLine (Properties ctx, int C_InvoiceBatchLine_ID, String trxName) @@ -108,6 +108,78 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ } */ } + /** Standard Constructor */ + public X_C_InvoiceBatchLine (Properties ctx, String C_InvoiceBatchLine_UU, String trxName) + { + super (ctx, C_InvoiceBatchLine_UU, trxName); + /** if (C_InvoiceBatchLine_UU == null) + { + setC_BPartner_ID (0); +// @C_BPartner_ID@ + setC_BPartner_Location_ID (0); +// @C_BPartner_Location_ID@ + setC_Charge_ID (0); + setC_DocType_ID (0); +// @C_DocType_ID@ + setC_InvoiceBatch_ID (0); + setC_InvoiceBatchLine_ID (0); + setC_Tax_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @DateAcct@;@DateDoc@ + setDateInvoiced (new Timestamp( System.currentTimeMillis() )); +// @DateInvoiced@;@DateDoc@ + setDocumentNo (null); +// @DocumentNo@ + setIsTaxIncluded (false); +// @IsTaxIncluded@ + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_InvoiceBatchLine WHERE C_InvoiceBatch_ID=@C_InvoiceBatch_ID@ + setLineNetAmt (Env.ZERO); + setLineTotalAmt (Env.ZERO); + setPriceEntered (Env.ZERO); + setProcessed (false); + setQtyEntered (Env.ZERO); +// 1 + setTaxAmt (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_InvoiceBatchLine (Properties ctx, String C_InvoiceBatchLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_InvoiceBatchLine_UU, trxName, virtualColumns); + /** if (C_InvoiceBatchLine_UU == null) + { + setC_BPartner_ID (0); +// @C_BPartner_ID@ + setC_BPartner_Location_ID (0); +// @C_BPartner_Location_ID@ + setC_Charge_ID (0); + setC_DocType_ID (0); +// @C_DocType_ID@ + setC_InvoiceBatch_ID (0); + setC_InvoiceBatchLine_ID (0); + setC_Tax_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @DateAcct@;@DateDoc@ + setDateInvoiced (new Timestamp( System.currentTimeMillis() )); +// @DateInvoiced@;@DateDoc@ + setDocumentNo (null); +// @DocumentNo@ + setIsTaxIncluded (false); +// @IsTaxIncluded@ + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_InvoiceBatchLine WHERE C_InvoiceBatch_ID=@C_InvoiceBatch_ID@ + setLineNetAmt (Env.ZERO); + setLineTotalAmt (Env.ZERO); + setPriceEntered (Env.ZERO); + setProcessed (false); + setQtyEntered (Env.ZERO); +// 1 + setTaxAmt (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_InvoiceBatchLine (Properties ctx, ResultSet rs, String trxName) { @@ -115,7 +187,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -581,10 +653,10 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ public boolean isTaxIncluded() { Object oo = get_Value(COLUMNNAME_IsTaxIncluded); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -612,7 +684,7 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getLine())); } @@ -688,10 +760,10 @@ public class X_C_InvoiceBatchLine extends PO implements I_C_InvoiceBatchLine, I_ public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_InvoiceLine.java b/org.adempiere.base/src/org/compiere/model/X_C_InvoiceLine.java index 5aeaadac38..458fd2737e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_InvoiceLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_InvoiceLine.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_InvoiceLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_InvoiceLine") -public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent +public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_InvoiceLine (Properties ctx, int C_InvoiceLine_ID, String trxName) @@ -94,6 +94,64 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } */ } + /** Standard Constructor */ + public X_C_InvoiceLine (Properties ctx, String C_InvoiceLine_UU, String trxName) + { + super (ctx, C_InvoiceLine_UU, trxName); + /** if (C_InvoiceLine_UU == null) + { + setC_Invoice_ID (0); + setC_InvoiceLine_ID (0); + setC_Tax_ID (0); + setIsDescription (false); +// N + setIsPrinted (true); +// Y + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_InvoiceLine WHERE C_Invoice_ID=@C_Invoice_ID@ + setLineNetAmt (Env.ZERO); + setM_AttributeSetInstance_ID (0); + setPriceActual (Env.ZERO); + setPriceEntered (Env.ZERO); + setPriceLimit (Env.ZERO); + setPriceList (Env.ZERO); + setProcessed (false); + setQtyEntered (Env.ZERO); +// 1 + setQtyInvoiced (Env.ZERO); +// 1 + } */ + } + + /** Standard Constructor */ + public X_C_InvoiceLine (Properties ctx, String C_InvoiceLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_InvoiceLine_UU, trxName, virtualColumns); + /** if (C_InvoiceLine_UU == null) + { + setC_Invoice_ID (0); + setC_InvoiceLine_ID (0); + setC_Tax_ID (0); + setIsDescription (false); +// N + setIsPrinted (true); +// Y + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_InvoiceLine WHERE C_Invoice_ID=@C_Invoice_ID@ + setLineNetAmt (Env.ZERO); + setM_AttributeSetInstance_ID (0); + setPriceActual (Env.ZERO); + setPriceEntered (Env.ZERO); + setPriceLimit (Env.ZERO); + setPriceList (Env.ZERO); + setProcessed (false); + setQtyEntered (Env.ZERO); +// 1 + setQtyInvoiced (Env.ZERO); +// 1 + } */ + } + /** Load Constructor */ public X_C_InvoiceLine (Properties ctx, ResultSet rs, String trxName) { @@ -101,7 +159,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -213,10 +271,10 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent public boolean isA_CreateAsset() { Object oo = get_Value(COLUMNNAME_A_CreateAsset); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -257,10 +315,10 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent public boolean isA_Processed() { Object oo = get_Value(COLUMNNAME_A_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -408,7 +466,7 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_Invoice_ID())); } @@ -648,10 +706,10 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent public boolean isDescription() { Object oo = get_Value(COLUMNNAME_IsDescription); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -670,10 +728,10 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent public boolean isFixedAssetInvoice() { Object oo = get_Value(COLUMNNAME_IsFixedAssetInvoice); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -693,10 +751,10 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -961,10 +1019,10 @@ public class X_C_InvoiceLine extends PO implements I_C_InvoiceLine, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_InvoicePaySchedule.java b/org.adempiere.base/src/org/compiere/model/X_C_InvoicePaySchedule.java index 7d3b674879..e87cfa4154 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_InvoicePaySchedule.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_InvoicePaySchedule.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_InvoicePaySchedule - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_InvoicePaySchedule") -public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule, I_Persistent +public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_InvoicePaySchedule (Properties ctx, int C_InvoicePaySchedule_ID, String trxName) @@ -70,6 +70,40 @@ public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule } */ } + /** Standard Constructor */ + public X_C_InvoicePaySchedule (Properties ctx, String C_InvoicePaySchedule_UU, String trxName) + { + super (ctx, C_InvoicePaySchedule_UU, trxName); + /** if (C_InvoicePaySchedule_UU == null) + { + setC_Invoice_ID (0); + setC_InvoicePaySchedule_ID (0); + setDiscountAmt (Env.ZERO); + setDiscountDate (new Timestamp( System.currentTimeMillis() )); + setDueAmt (Env.ZERO); + setDueDate (new Timestamp( System.currentTimeMillis() )); + setIsValid (false); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_C_InvoicePaySchedule (Properties ctx, String C_InvoicePaySchedule_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_InvoicePaySchedule_UU, trxName, virtualColumns); + /** if (C_InvoicePaySchedule_UU == null) + { + setC_Invoice_ID (0); + setC_InvoicePaySchedule_ID (0); + setDiscountAmt (Env.ZERO); + setDiscountDate (new Timestamp( System.currentTimeMillis() )); + setDueAmt (Env.ZERO); + setDueDate (new Timestamp( System.currentTimeMillis() )); + setIsValid (false); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_C_InvoicePaySchedule (Properties ctx, ResultSet rs, String trxName) { @@ -77,7 +111,7 @@ public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -229,7 +263,7 @@ public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getDiscountDate())); } @@ -283,10 +317,10 @@ public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule public boolean isValid() { Object oo = get_Value(COLUMNNAME_IsValid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -306,10 +340,10 @@ public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -328,10 +362,10 @@ public class X_C_InvoicePaySchedule extends PO implements I_C_InvoicePaySchedule public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_InvoiceSchedule.java b/org.adempiere.base/src/org/compiere/model/X_C_InvoiceSchedule.java index fe96b05468..b516b27676 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_InvoiceSchedule.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_InvoiceSchedule.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_InvoiceSchedule - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_InvoiceSchedule") -public class X_C_InvoiceSchedule extends PO implements I_C_InvoiceSchedule, I_Persistent +public class X_C_InvoiceSchedule extends PO implements I_C_InvoiceSchedule, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_InvoiceSchedule (Properties ctx, int C_InvoiceSchedule_ID, String trxName) @@ -71,6 +71,42 @@ public class X_C_InvoiceSchedule extends PO implements I_C_InvoiceSchedule, I_Pe } */ } + /** Standard Constructor */ + public X_C_InvoiceSchedule (Properties ctx, String C_InvoiceSchedule_UU, String trxName) + { + super (ctx, C_InvoiceSchedule_UU, trxName); + /** if (C_InvoiceSchedule_UU == null) + { + setAmt (Env.ZERO); + setC_InvoiceSchedule_ID (0); + setInvoiceDay (0); +// 1 + setInvoiceFrequency (null); + setInvoiceWeekDay (null); + setIsAmount (false); + setIsDefault (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_InvoiceSchedule (Properties ctx, String C_InvoiceSchedule_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_InvoiceSchedule_UU, trxName, virtualColumns); + /** if (C_InvoiceSchedule_UU == null) + { + setAmt (Env.ZERO); + setC_InvoiceSchedule_ID (0); + setInvoiceDay (0); +// 1 + setInvoiceFrequency (null); + setInvoiceWeekDay (null); + setIsAmount (false); + setIsDefault (false); + setName (null); + } */ + } + /** Load Constructor */ public X_C_InvoiceSchedule (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +114,7 @@ public class X_C_InvoiceSchedule extends PO implements I_C_InvoiceSchedule, I_Pe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -185,10 +221,10 @@ public class X_C_InvoiceSchedule extends PO implements I_C_InvoiceSchedule, I_Pe public boolean isEvenInvoiceWeek() { Object oo = get_Value(COLUMNNAME_EvenInvoiceWeek); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -339,10 +375,10 @@ public class X_C_InvoiceSchedule extends PO implements I_C_InvoiceSchedule, I_Pe public boolean isAmount() { Object oo = get_Value(COLUMNNAME_IsAmount); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -362,10 +398,10 @@ public class X_C_InvoiceSchedule extends PO implements I_C_InvoiceSchedule, I_Pe public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -390,7 +426,7 @@ public class X_C_InvoiceSchedule extends PO implements I_C_InvoiceSchedule, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_InvoiceTax.java b/org.adempiere.base/src/org/compiere/model/X_C_InvoiceTax.java index 6247f52b17..c38a294f8d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_InvoiceTax.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_InvoiceTax.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for C_InvoiceTax - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_InvoiceTax") -public class X_C_InvoiceTax extends PO implements I_C_InvoiceTax, I_Persistent +public class X_C_InvoiceTax extends PO implements I_C_InvoiceTax, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_InvoiceTax (Properties ctx, int C_InvoiceTax_ID, String trxName) @@ -64,6 +64,36 @@ public class X_C_InvoiceTax extends PO implements I_C_InvoiceTax, I_Persistent } */ } + /** Standard Constructor */ + public X_C_InvoiceTax (Properties ctx, String C_InvoiceTax_UU, String trxName) + { + super (ctx, C_InvoiceTax_UU, trxName); + /** if (C_InvoiceTax_UU == null) + { + setC_Invoice_ID (0); + setC_Tax_ID (0); + setIsTaxIncluded (false); + setProcessed (false); + setTaxAmt (Env.ZERO); + setTaxBaseAmt (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_InvoiceTax (Properties ctx, String C_InvoiceTax_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_InvoiceTax_UU, trxName, virtualColumns); + /** if (C_InvoiceTax_UU == null) + { + setC_Invoice_ID (0); + setC_Tax_ID (0); + setIsTaxIncluded (false); + setProcessed (false); + setTaxAmt (Env.ZERO); + setTaxBaseAmt (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_InvoiceTax (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +101,7 @@ public class X_C_InvoiceTax extends PO implements I_C_InvoiceTax, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -88,7 +118,7 @@ public class X_C_InvoiceTax extends PO implements I_C_InvoiceTax, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_C_InvoiceTax[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -204,10 +234,10 @@ public class X_C_InvoiceTax extends PO implements I_C_InvoiceTax, I_Persistent public boolean isTaxIncluded() { Object oo = get_Value(COLUMNNAME_IsTaxIncluded); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -227,10 +257,10 @@ public class X_C_InvoiceTax extends PO implements I_C_InvoiceTax, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Job.java b/org.adempiere.base/src/org/compiere/model/X_C_Job.java index 96709e2561..ad4494e9d6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Job.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Job.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Job - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Job") -public class X_C_Job extends PO implements I_C_Job, I_Persistent +public class X_C_Job extends PO implements I_C_Job, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Job (Properties ctx, int C_Job_ID, String trxName) @@ -61,6 +61,34 @@ public class X_C_Job extends PO implements I_C_Job, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Job (Properties ctx, String C_Job_UU, String trxName) + { + super (ctx, C_Job_UU, trxName); + /** if (C_Job_UU == null) + { + setC_JobCategory_ID (0); + setC_Job_ID (0); + setIsEmployee (true); +// Y + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_Job (Properties ctx, String C_Job_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Job_UU, trxName, virtualColumns); + /** if (C_Job_UU == null) + { + setC_JobCategory_ID (0); + setC_Job_ID (0); + setIsEmployee (true); +// Y + setName (null); + } */ + } + /** Load Constructor */ public X_C_Job (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_C_Job extends PO implements I_C_Job, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -200,10 +228,10 @@ public class X_C_Job extends PO implements I_C_Job, I_Persistent public boolean isEmployee() { Object oo = get_Value(COLUMNNAME_IsEmployee); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -228,7 +256,7 @@ public class X_C_Job extends PO implements I_C_Job, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_JobAssignment.java b/org.adempiere.base/src/org/compiere/model/X_C_JobAssignment.java index 79b798752f..804ec52f61 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_JobAssignment.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_JobAssignment.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_JobAssignment - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_JobAssignment") -public class X_C_JobAssignment extends PO implements I_C_JobAssignment, I_Persistent +public class X_C_JobAssignment extends PO implements I_C_JobAssignment, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_JobAssignment (Properties ctx, int C_JobAssignment_ID, String trxName) @@ -60,6 +60,32 @@ public class X_C_JobAssignment extends PO implements I_C_JobAssignment, I_Persis } */ } + /** Standard Constructor */ + public X_C_JobAssignment (Properties ctx, String C_JobAssignment_UU, String trxName) + { + super (ctx, C_JobAssignment_UU, trxName); + /** if (C_JobAssignment_UU == null) + { + setAD_User_ID (0); + setC_JobAssignment_ID (0); + setC_Job_ID (0); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_C_JobAssignment (Properties ctx, String C_JobAssignment_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_JobAssignment_UU, trxName, virtualColumns); + /** if (C_JobAssignment_UU == null) + { + setAD_User_ID (0); + setC_JobAssignment_ID (0); + setC_Job_ID (0); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_C_JobAssignment (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +93,7 @@ public class X_C_JobAssignment extends PO implements I_C_JobAssignment, I_Persis } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -184,7 +210,7 @@ public class X_C_JobAssignment extends PO implements I_C_JobAssignment, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_Job_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_JobCategory.java b/org.adempiere.base/src/org/compiere/model/X_C_JobCategory.java index 4a684ca04d..d59ad4cab1 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_JobCategory.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_JobCategory.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_JobCategory - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_JobCategory") -public class X_C_JobCategory extends PO implements I_C_JobCategory, I_Persistent +public class X_C_JobCategory extends PO implements I_C_JobCategory, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_JobCategory (Properties ctx, int C_JobCategory_ID, String trxName) @@ -55,6 +55,28 @@ public class X_C_JobCategory extends PO implements I_C_JobCategory, I_Persistent } */ } + /** Standard Constructor */ + public X_C_JobCategory (Properties ctx, String C_JobCategory_UU, String trxName) + { + super (ctx, C_JobCategory_UU, trxName); + /** if (C_JobCategory_UU == null) + { + setC_JobCategory_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_JobCategory (Properties ctx, String C_JobCategory_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_JobCategory_UU, trxName, virtualColumns); + /** if (C_JobCategory_UU == null) + { + setC_JobCategory_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_C_JobCategory (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_C_JobCategory extends PO implements I_C_JobCategory, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -171,7 +193,7 @@ public class X_C_JobCategory extends PO implements I_C_JobCategory, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_JobRemuneration.java b/org.adempiere.base/src/org/compiere/model/X_C_JobRemuneration.java index a894420baa..6001af03e5 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_JobRemuneration.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_JobRemuneration.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_JobRemuneration - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_JobRemuneration") -public class X_C_JobRemuneration extends PO implements I_C_JobRemuneration, I_Persistent +public class X_C_JobRemuneration extends PO implements I_C_JobRemuneration, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_JobRemuneration (Properties ctx, int C_JobRemuneration_ID, String trxName) @@ -60,6 +60,32 @@ public class X_C_JobRemuneration extends PO implements I_C_JobRemuneration, I_Pe } */ } + /** Standard Constructor */ + public X_C_JobRemuneration (Properties ctx, String C_JobRemuneration_UU, String trxName) + { + super (ctx, C_JobRemuneration_UU, trxName); + /** if (C_JobRemuneration_UU == null) + { + setC_Job_ID (0); + setC_JobRemuneration_ID (0); + setC_Remuneration_ID (0); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_C_JobRemuneration (Properties ctx, String C_JobRemuneration_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_JobRemuneration_UU, trxName, virtualColumns); + /** if (C_JobRemuneration_UU == null) + { + setC_Job_ID (0); + setC_JobRemuneration_ID (0); + setC_Remuneration_ID (0); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_C_JobRemuneration (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +93,7 @@ public class X_C_JobRemuneration extends PO implements I_C_JobRemuneration, I_Pe } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -119,7 +145,7 @@ public class X_C_JobRemuneration extends PO implements I_C_JobRemuneration, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_Job_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_LandedCost.java b/org.adempiere.base/src/org/compiere/model/X_C_LandedCost.java index 37980b01e4..648c1171bb 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_LandedCost.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_LandedCost.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_LandedCost - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_LandedCost") -public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent +public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_LandedCost (Properties ctx, int C_LandedCost_ID, String trxName) @@ -61,6 +61,34 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent } */ } + /** Standard Constructor */ + public X_C_LandedCost (Properties ctx, String C_LandedCost_UU, String trxName) + { + super (ctx, C_LandedCost_UU, trxName); + /** if (C_LandedCost_UU == null) + { + setC_InvoiceLine_ID (0); + setC_LandedCost_ID (0); + setLandedCostDistribution (null); +// Q + setM_CostElement_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_LandedCost (Properties ctx, String C_LandedCost_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_LandedCost_UU, trxName, virtualColumns); + /** if (C_LandedCost_UU == null) + { + setC_InvoiceLine_ID (0); + setC_LandedCost_ID (0); + setLandedCostDistribution (null); +// Q + setM_CostElement_ID (0); + } */ + } + /** Load Constructor */ public X_C_LandedCost (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -120,7 +148,7 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_InvoiceLine_ID())); } @@ -332,10 +360,10 @@ public class X_C_LandedCost extends PO implements I_C_LandedCost, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_LandedCostAllocation.java b/org.adempiere.base/src/org/compiere/model/X_C_LandedCostAllocation.java index ead67d1314..a8b26b8c0b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_LandedCostAllocation.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_LandedCostAllocation.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_LandedCostAllocation - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_LandedCostAllocation") -public class X_C_LandedCostAllocation extends PO implements I_C_LandedCostAllocation, I_Persistent +public class X_C_LandedCostAllocation extends PO implements I_C_LandedCostAllocation, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_LandedCostAllocation (Properties ctx, int C_LandedCostAllocation_ID, String trxName) @@ -67,6 +67,38 @@ public class X_C_LandedCostAllocation extends PO implements I_C_LandedCostAlloca } */ } + /** Standard Constructor */ + public X_C_LandedCostAllocation (Properties ctx, String C_LandedCostAllocation_UU, String trxName) + { + super (ctx, C_LandedCostAllocation_UU, trxName); + /** if (C_LandedCostAllocation_UU == null) + { + setAmt (Env.ZERO); + setBase (Env.ZERO); + setC_InvoiceLine_ID (0); + setC_LandedCostAllocation_ID (0); + setM_CostElement_ID (0); + setM_Product_ID (0); + setQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_LandedCostAllocation (Properties ctx, String C_LandedCostAllocation_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_LandedCostAllocation_UU, trxName, virtualColumns); + /** if (C_LandedCostAllocation_UU == null) + { + setAmt (Env.ZERO); + setBase (Env.ZERO); + setC_InvoiceLine_ID (0); + setC_LandedCostAllocation_ID (0); + setM_CostElement_ID (0); + setM_Product_ID (0); + setQty (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_LandedCostAllocation (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +106,7 @@ public class X_C_LandedCostAllocation extends PO implements I_C_LandedCostAlloca } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -164,7 +196,7 @@ public class X_C_LandedCostAllocation extends PO implements I_C_LandedCostAlloca /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_InvoiceLine_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Location.java b/org.adempiere.base/src/org/compiere/model/X_C_Location.java index 6da474a6bf..4d799a8c09 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Location.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Location.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Location - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Location") -public class X_C_Location extends PO implements I_C_Location, I_Persistent +public class X_C_Location extends PO implements I_C_Location, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Location (Properties ctx, int C_Location_ID, String trxName) @@ -55,6 +55,28 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Location (Properties ctx, String C_Location_UU, String trxName) + { + super (ctx, C_Location_UU, trxName); + /** if (C_Location_UU == null) + { + setC_Country_ID (0); + setC_Location_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_Location (Properties ctx, String C_Location_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Location_UU, trxName, virtualColumns); + /** if (C_Location_UU == null) + { + setC_Country_ID (0); + setC_Location_ID (0); + } */ + } + /** Load Constructor */ public X_C_Location (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -265,7 +287,7 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getCity()); } @@ -365,10 +387,10 @@ public class X_C_Location extends PO implements I_C_Location, I_Persistent public boolean isValid() { Object oo = get_Value(COLUMNNAME_IsValid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_NonBusinessDay.java b/org.adempiere.base/src/org/compiere/model/X_C_NonBusinessDay.java index 8b1bacac4c..08bd46fe91 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_NonBusinessDay.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_NonBusinessDay.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_NonBusinessDay - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_NonBusinessDay") -public class X_C_NonBusinessDay extends PO implements I_C_NonBusinessDay, I_Persistent +public class X_C_NonBusinessDay extends PO implements I_C_NonBusinessDay, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_NonBusinessDay (Properties ctx, int C_NonBusinessDay_ID, String trxName) @@ -58,6 +58,30 @@ public class X_C_NonBusinessDay extends PO implements I_C_NonBusinessDay, I_Pers } */ } + /** Standard Constructor */ + public X_C_NonBusinessDay (Properties ctx, String C_NonBusinessDay_UU, String trxName) + { + super (ctx, C_NonBusinessDay_UU, trxName); + /** if (C_NonBusinessDay_UU == null) + { + setC_Calendar_ID (0); + setC_NonBusinessDay_ID (0); + setDate1 (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_C_NonBusinessDay (Properties ctx, String C_NonBusinessDay_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_NonBusinessDay_UU, trxName, virtualColumns); + /** if (C_NonBusinessDay_UU == null) + { + setC_Calendar_ID (0); + setC_NonBusinessDay_ID (0); + setDate1 (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_C_NonBusinessDay (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +89,7 @@ public class X_C_NonBusinessDay extends PO implements I_C_NonBusinessDay, I_Pers } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -214,7 +238,7 @@ public class X_C_NonBusinessDay extends PO implements I_C_NonBusinessDay, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_OnlineTrxHistory.java b/org.adempiere.base/src/org/compiere/model/X_C_OnlineTrxHistory.java index ec1f329b67..7e124fc2ad 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_OnlineTrxHistory.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_OnlineTrxHistory.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_OnlineTrxHistory - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_OnlineTrxHistory") -public class X_C_OnlineTrxHistory extends PO implements I_C_OnlineTrxHistory, I_Persistent +public class X_C_OnlineTrxHistory extends PO implements I_C_OnlineTrxHistory, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_OnlineTrxHistory (Properties ctx, int C_OnlineTrxHistory_ID, String trxName) @@ -64,6 +64,38 @@ public class X_C_OnlineTrxHistory extends PO implements I_C_OnlineTrxHistory, I_ } */ } + /** Standard Constructor */ + public X_C_OnlineTrxHistory (Properties ctx, String C_OnlineTrxHistory_UU, String trxName) + { + super (ctx, C_OnlineTrxHistory_UU, trxName); + /** if (C_OnlineTrxHistory_UU == null) + { + setAD_Table_ID (0); + setC_OnlineTrxHistory_ID (0); + setIsError (false); +// N + setProcessed (false); +// N + setRecord_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_OnlineTrxHistory (Properties ctx, String C_OnlineTrxHistory_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_OnlineTrxHistory_UU, trxName, virtualColumns); + /** if (C_OnlineTrxHistory_UU == null) + { + setAD_Table_ID (0); + setC_OnlineTrxHistory_ID (0); + setIsError (false); +// N + setProcessed (false); +// N + setRecord_ID (0); + } */ + } + /** Load Constructor */ public X_C_OnlineTrxHistory (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +103,7 @@ public class X_C_OnlineTrxHistory extends PO implements I_C_OnlineTrxHistory, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -170,10 +202,10 @@ public class X_C_OnlineTrxHistory extends PO implements I_C_OnlineTrxHistory, I_ public boolean isError() { Object oo = get_Value(COLUMNNAME_IsError); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -193,10 +225,10 @@ public class X_C_OnlineTrxHistory extends PO implements I_C_OnlineTrxHistory, I_ public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Opportunity.java b/org.adempiere.base/src/org/compiere/model/X_C_Opportunity.java index 870b8b3d17..0d70559a80 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Opportunity.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Opportunity.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_Opportunity - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Opportunity") -public class X_C_Opportunity extends PO implements I_C_Opportunity, I_Persistent +public class X_C_Opportunity extends PO implements I_C_Opportunity, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Opportunity (Properties ctx, int C_Opportunity_ID, String trxName) @@ -72,6 +72,42 @@ public class X_C_Opportunity extends PO implements I_C_Opportunity, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Opportunity (Properties ctx, String C_Opportunity_UU, String trxName) + { + super (ctx, C_Opportunity_UU, trxName); + /** if (C_Opportunity_UU == null) + { + setC_BPartner_ID (0); +// @C_BPartner_ID@ + setC_Currency_ID (0); + setC_Opportunity_ID (0); + setC_SalesStage_ID (0); + setDocumentNo (null); + setExpectedCloseDate (new Timestamp( System.currentTimeMillis() )); + setOpportunityAmt (Env.ZERO); + setProbability (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_Opportunity (Properties ctx, String C_Opportunity_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Opportunity_UU, trxName, virtualColumns); + /** if (C_Opportunity_UU == null) + { + setC_BPartner_ID (0); +// @C_BPartner_ID@ + setC_Currency_ID (0); + setC_Opportunity_ID (0); + setC_SalesStage_ID (0); + setDocumentNo (null); + setExpectedCloseDate (new Timestamp( System.currentTimeMillis() )); + setOpportunityAmt (Env.ZERO); + setProbability (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_Opportunity (Properties ctx, ResultSet rs, String trxName) { @@ -79,7 +115,7 @@ public class X_C_Opportunity extends PO implements I_C_Opportunity, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -390,7 +426,7 @@ public class X_C_Opportunity extends PO implements I_C_Opportunity, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Order.java b/org.adempiere.base/src/org/compiere/model/X_C_Order.java index 8950e821e2..9f1aa5daad 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Order.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Order.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_Order - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Order") -public class X_C_Order extends PO implements I_C_Order, I_Persistent +public class X_C_Order extends PO implements I_C_Order, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Order (Properties ctx, int C_Order_ID, String trxName) @@ -176,6 +176,146 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Order (Properties ctx, String C_Order_UU, String trxName) + { + super (ctx, C_Order_UU, trxName); + /** if (C_Order_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_Currency_ID (0); +// @C_Currency_ID@ + setC_DocType_ID (0); +// 0 + setC_DocTypeTarget_ID (0); + setC_Order_ID (0); + setC_PaymentTerm_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDateOrdered (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDatePromised (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDeliveryRule (null); +// F + setDeliveryViaRule (null); +// P + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setFreightAmt (Env.ZERO); + setFreightCostRule (null); +// I + setGrandTotal (Env.ZERO); + setInvoiceRule (null); +// I + setIsApproved (false); +// N + setIsCreditApproved (false); + setIsDelivered (false); + setIsDiscountPrinted (false); + setIsDropShip (false); +// N + setIsInvoiced (false); + setIsPayScheduleValid (false); +// N + setIsPrinted (false); + setIsPriviledgedRate (false); +// N + setIsSelected (false); + setIsSelfService (false); + setIsSOTrx (false); +// @IsSOTrx@ + setIsTaxIncluded (false); + setIsTransferred (false); + setM_PriceList_ID (0); + setM_Warehouse_ID (0); + setPaymentRule (null); +// B + setPosted (false); +// N + setPriorityRule (null); +// 5 + setProcessed (false); + setSalesRep_ID (0); + setSendEMail (false); + setTotalLines (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_Order (Properties ctx, String C_Order_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Order_UU, trxName, virtualColumns); + /** if (C_Order_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_Currency_ID (0); +// @C_Currency_ID@ + setC_DocType_ID (0); +// 0 + setC_DocTypeTarget_ID (0); + setC_Order_ID (0); + setC_PaymentTerm_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDateOrdered (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDatePromised (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDeliveryRule (null); +// F + setDeliveryViaRule (null); +// P + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setFreightAmt (Env.ZERO); + setFreightCostRule (null); +// I + setGrandTotal (Env.ZERO); + setInvoiceRule (null); +// I + setIsApproved (false); +// N + setIsCreditApproved (false); + setIsDelivered (false); + setIsDiscountPrinted (false); + setIsDropShip (false); +// N + setIsInvoiced (false); + setIsPayScheduleValid (false); +// N + setIsPrinted (false); + setIsPriviledgedRate (false); +// N + setIsSelected (false); + setIsSelfService (false); + setIsSOTrx (false); +// @IsSOTrx@ + setIsTaxIncluded (false); + setIsTransferred (false); + setM_PriceList_ID (0); + setM_Warehouse_ID (0); + setPaymentRule (null); +// B + setPosted (false); +// N + setPriorityRule (null); +// 5 + setProcessed (false); + setSalesRep_ID (0); + setSendEMail (false); + setTotalLines (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_Order (Properties ctx, ResultSet rs, String trxName) { @@ -183,7 +323,7 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -1164,7 +1304,7 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -1361,10 +1501,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1384,10 +1524,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isCreditApproved() { Object oo = get_Value(COLUMNNAME_IsCreditApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1406,10 +1546,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isDelivered() { Object oo = get_Value(COLUMNNAME_IsDelivered); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1429,10 +1569,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isDiscountPrinted() { Object oo = get_Value(COLUMNNAME_IsDiscountPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1452,10 +1592,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isDropShip() { Object oo = get_Value(COLUMNNAME_IsDropShip); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1475,10 +1615,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isInvoiced() { Object oo = get_Value(COLUMNNAME_IsInvoiced); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1498,10 +1638,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isPayScheduleValid() { Object oo = get_Value(COLUMNNAME_IsPayScheduleValid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1521,10 +1661,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1543,10 +1683,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isPriviledgedRate() { Object oo = get_Value(COLUMNNAME_IsPriviledgedRate); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1565,10 +1705,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isSelected() { Object oo = get_Value(COLUMNNAME_IsSelected); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1588,10 +1728,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1611,10 +1751,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1634,10 +1774,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isTaxIncluded() { Object oo = get_Value(COLUMNNAME_IsTaxIncluded); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1657,10 +1797,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isTransferred() { Object oo = get_Value(COLUMNNAME_IsTransferred); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1913,10 +2053,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1965,10 +2105,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -2006,10 +2146,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -2129,10 +2269,10 @@ public class X_C_Order extends PO implements I_C_Order, I_Persistent public boolean isSendEMail() { Object oo = get_Value(COLUMNNAME_SendEMail); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_OrderLandedCost.java b/org.adempiere.base/src/org/compiere/model/X_C_OrderLandedCost.java index 7e1629fe86..afe154267c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_OrderLandedCost.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_OrderLandedCost.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for C_OrderLandedCost - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_OrderLandedCost") -public class X_C_OrderLandedCost extends PO implements I_C_OrderLandedCost, I_Persistent +public class X_C_OrderLandedCost extends PO implements I_C_OrderLandedCost, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_OrderLandedCost (Properties ctx, int C_OrderLandedCost_ID, String trxName) @@ -70,6 +70,42 @@ public class X_C_OrderLandedCost extends PO implements I_C_OrderLandedCost, I_Pe } */ } + /** Standard Constructor */ + public X_C_OrderLandedCost (Properties ctx, String C_OrderLandedCost_UU, String trxName) + { + super (ctx, C_OrderLandedCost_UU, trxName); + /** if (C_OrderLandedCost_UU == null) + { + setAmt (Env.ZERO); +// 0 + setC_Order_ID (0); + setC_OrderLandedCost_ID (0); + setLandedCostDistribution (null); +// Q + setM_CostElement_ID (0); + setProcessed (false); +// N + } */ + } + + /** Standard Constructor */ + public X_C_OrderLandedCost (Properties ctx, String C_OrderLandedCost_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_OrderLandedCost_UU, trxName, virtualColumns); + /** if (C_OrderLandedCost_UU == null) + { + setAmt (Env.ZERO); +// 0 + setC_Order_ID (0); + setC_OrderLandedCost_ID (0); + setLandedCostDistribution (null); +// Q + setM_CostElement_ID (0); + setProcessed (false); +// N + } */ + } + /** Load Constructor */ public X_C_OrderLandedCost (Properties ctx, ResultSet rs, String trxName) { @@ -77,7 +113,7 @@ public class X_C_OrderLandedCost extends PO implements I_C_OrderLandedCost, I_Pe } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -268,10 +304,10 @@ public class X_C_OrderLandedCost extends PO implements I_C_OrderLandedCost, I_Pe public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_OrderLandedCostAllocation.java b/org.adempiere.base/src/org/compiere/model/X_C_OrderLandedCostAllocation.java index 9831826533..bed81ab498 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_OrderLandedCostAllocation.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_OrderLandedCostAllocation.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for C_OrderLandedCostAllocation - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_OrderLandedCostAllocation") -public class X_C_OrderLandedCostAllocation extends PO implements I_C_OrderLandedCostAllocation, I_Persistent +public class X_C_OrderLandedCostAllocation extends PO implements I_C_OrderLandedCostAllocation, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_OrderLandedCostAllocation (Properties ctx, int C_OrderLandedCostAllocation_ID, String trxName) @@ -68,6 +68,40 @@ public class X_C_OrderLandedCostAllocation extends PO implements I_C_OrderLanded } */ } + /** Standard Constructor */ + public X_C_OrderLandedCostAllocation (Properties ctx, String C_OrderLandedCostAllocation_UU, String trxName) + { + super (ctx, C_OrderLandedCostAllocation_UU, trxName); + /** if (C_OrderLandedCostAllocation_UU == null) + { + setAmt (Env.ZERO); + setBase (Env.ZERO); + setC_OrderLandedCostAllocation_ID (0); + setC_OrderLandedCost_ID (0); + setC_OrderLine_ID (0); + setProcessed (false); +// N + setQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_OrderLandedCostAllocation (Properties ctx, String C_OrderLandedCostAllocation_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_OrderLandedCostAllocation_UU, trxName, virtualColumns); + /** if (C_OrderLandedCostAllocation_UU == null) + { + setAmt (Env.ZERO); + setBase (Env.ZERO); + setC_OrderLandedCostAllocation_ID (0); + setC_OrderLandedCost_ID (0); + setC_OrderLine_ID (0); + setProcessed (false); +// N + setQty (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_OrderLandedCostAllocation (Properties ctx, ResultSet rs, String trxName) { @@ -75,7 +109,7 @@ public class X_C_OrderLandedCostAllocation extends PO implements I_C_OrderLanded } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -239,10 +273,10 @@ public class X_C_OrderLandedCostAllocation extends PO implements I_C_OrderLanded public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_OrderLine.java b/org.adempiere.base/src/org/compiere/model/X_C_OrderLine.java index 7236e375bc..66cb17f1e3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_OrderLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_OrderLine.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_OrderLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_OrderLine") -public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent +public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_OrderLine (Properties ctx, int C_OrderLine_ID, String trxName) @@ -120,6 +120,90 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent } */ } + /** Standard Constructor */ + public X_C_OrderLine (Properties ctx, String C_OrderLine_UU, String trxName) + { + super (ctx, C_OrderLine_UU, trxName); + /** if (C_OrderLine_UU == null) + { + setC_BPartner_Location_ID (0); +// @C_BPartner_Location_ID@ + setC_Currency_ID (0); +// @C_Currency_ID@ + setC_Order_ID (0); + setC_OrderLine_ID (0); + setC_Tax_ID (0); + setC_UOM_ID (0); +// @#C_UOM_ID@ + setDateOrdered (new Timestamp( System.currentTimeMillis() )); +// @DateOrdered@ + setFreightAmt (Env.ZERO); + setIsDescription (false); +// N + setLine (0); +// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM C_OrderLine WHERE C_Order_ID=@C_Order_ID@ + setLineNetAmt (Env.ZERO); + setM_AttributeSetInstance_ID (0); + setM_Warehouse_ID (0); +// @M_Warehouse_ID@ + setPriceActual (Env.ZERO); + setPriceEntered (Env.ZERO); + setPriceLimit (Env.ZERO); + setPriceList (Env.ZERO); + setProcessed (false); + setQtyDelivered (Env.ZERO); + setQtyEntered (Env.ZERO); +// 1 + setQtyInvoiced (Env.ZERO); + setQtyLostSales (Env.ZERO); + setQtyOrdered (Env.ZERO); +// 1 + setQtyReserved (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_OrderLine (Properties ctx, String C_OrderLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_OrderLine_UU, trxName, virtualColumns); + /** if (C_OrderLine_UU == null) + { + setC_BPartner_Location_ID (0); +// @C_BPartner_Location_ID@ + setC_Currency_ID (0); +// @C_Currency_ID@ + setC_Order_ID (0); + setC_OrderLine_ID (0); + setC_Tax_ID (0); + setC_UOM_ID (0); +// @#C_UOM_ID@ + setDateOrdered (new Timestamp( System.currentTimeMillis() )); +// @DateOrdered@ + setFreightAmt (Env.ZERO); + setIsDescription (false); +// N + setLine (0); +// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM C_OrderLine WHERE C_Order_ID=@C_Order_ID@ + setLineNetAmt (Env.ZERO); + setM_AttributeSetInstance_ID (0); + setM_Warehouse_ID (0); +// @M_Warehouse_ID@ + setPriceActual (Env.ZERO); + setPriceEntered (Env.ZERO); + setPriceLimit (Env.ZERO); + setPriceList (Env.ZERO); + setProcessed (false); + setQtyDelivered (Env.ZERO); + setQtyEntered (Env.ZERO); +// 1 + setQtyInvoiced (Env.ZERO); + setQtyLostSales (Env.ZERO); + setQtyOrdered (Env.ZERO); +// 1 + setQtyReserved (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_OrderLine (Properties ctx, ResultSet rs, String trxName) { @@ -127,7 +211,7 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -369,7 +453,7 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_Order_ID())); } @@ -713,10 +797,10 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent public boolean isDescription() { Object oo = get_Value(COLUMNNAME_IsDescription); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1063,10 +1147,10 @@ public class X_C_OrderLine extends PO implements I_C_OrderLine, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_OrderPaySchedule.java b/org.adempiere.base/src/org/compiere/model/X_C_OrderPaySchedule.java index 8e29390a7a..44d697401d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_OrderPaySchedule.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_OrderPaySchedule.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_OrderPaySchedule - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_OrderPaySchedule") -public class X_C_OrderPaySchedule extends PO implements I_C_OrderPaySchedule, I_Persistent +public class X_C_OrderPaySchedule extends PO implements I_C_OrderPaySchedule, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_OrderPaySchedule (Properties ctx, int C_OrderPaySchedule_ID, String trxName) @@ -70,6 +70,40 @@ public class X_C_OrderPaySchedule extends PO implements I_C_OrderPaySchedule, I_ } */ } + /** Standard Constructor */ + public X_C_OrderPaySchedule (Properties ctx, String C_OrderPaySchedule_UU, String trxName) + { + super (ctx, C_OrderPaySchedule_UU, trxName); + /** if (C_OrderPaySchedule_UU == null) + { + setC_Order_ID (0); + setC_OrderPaySchedule_ID (0); + setDiscountAmt (Env.ZERO); + setDiscountDate (new Timestamp( System.currentTimeMillis() )); + setDueAmt (Env.ZERO); + setDueDate (new Timestamp( System.currentTimeMillis() )); + setIsValid (false); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_C_OrderPaySchedule (Properties ctx, String C_OrderPaySchedule_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_OrderPaySchedule_UU, trxName, virtualColumns); + /** if (C_OrderPaySchedule_UU == null) + { + setC_Order_ID (0); + setC_OrderPaySchedule_ID (0); + setDiscountAmt (Env.ZERO); + setDiscountDate (new Timestamp( System.currentTimeMillis() )); + setDueAmt (Env.ZERO); + setDueDate (new Timestamp( System.currentTimeMillis() )); + setIsValid (false); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_C_OrderPaySchedule (Properties ctx, ResultSet rs, String trxName) { @@ -77,7 +111,7 @@ public class X_C_OrderPaySchedule extends PO implements I_C_OrderPaySchedule, I_ } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -228,7 +262,7 @@ public class X_C_OrderPaySchedule extends PO implements I_C_OrderPaySchedule, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getDiscountDate())); } @@ -282,10 +316,10 @@ public class X_C_OrderPaySchedule extends PO implements I_C_OrderPaySchedule, I_ public boolean isValid() { Object oo = get_Value(COLUMNNAME_IsValid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -305,10 +339,10 @@ public class X_C_OrderPaySchedule extends PO implements I_C_OrderPaySchedule, I_ public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -327,10 +361,10 @@ public class X_C_OrderPaySchedule extends PO implements I_C_OrderPaySchedule, I_ public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_OrderSource.java b/org.adempiere.base/src/org/compiere/model/X_C_OrderSource.java index 7fd13b0466..31de9ae2bf 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_OrderSource.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_OrderSource.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_OrderSource - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_OrderSource") -public class X_C_OrderSource extends PO implements I_C_OrderSource, I_Persistent +public class X_C_OrderSource extends PO implements I_C_OrderSource, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_OrderSource (Properties ctx, int C_OrderSource_ID, String trxName) @@ -56,6 +56,30 @@ public class X_C_OrderSource extends PO implements I_C_OrderSource, I_Persistent } */ } + /** Standard Constructor */ + public X_C_OrderSource (Properties ctx, String C_OrderSource_UU, String trxName) + { + super (ctx, C_OrderSource_UU, trxName); + /** if (C_OrderSource_UU == null) + { + setC_OrderSource_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_OrderSource (Properties ctx, String C_OrderSource_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_OrderSource_UU, trxName, virtualColumns); + /** if (C_OrderSource_UU == null) + { + setC_OrderSource_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_OrderSource (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_C_OrderSource extends PO implements I_C_OrderSource, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_C_OrderTax.java b/org.adempiere.base/src/org/compiere/model/X_C_OrderTax.java index e615624044..c8ea71d1ae 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_OrderTax.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_OrderTax.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for C_OrderTax - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_OrderTax") -public class X_C_OrderTax extends PO implements I_C_OrderTax, I_Persistent +public class X_C_OrderTax extends PO implements I_C_OrderTax, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_OrderTax (Properties ctx, int C_OrderTax_ID, String trxName) @@ -64,6 +64,36 @@ public class X_C_OrderTax extends PO implements I_C_OrderTax, I_Persistent } */ } + /** Standard Constructor */ + public X_C_OrderTax (Properties ctx, String C_OrderTax_UU, String trxName) + { + super (ctx, C_OrderTax_UU, trxName); + /** if (C_OrderTax_UU == null) + { + setC_Order_ID (0); + setC_Tax_ID (0); + setIsTaxIncluded (false); + setProcessed (false); + setTaxAmt (Env.ZERO); + setTaxBaseAmt (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_OrderTax (Properties ctx, String C_OrderTax_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_OrderTax_UU, trxName, virtualColumns); + /** if (C_OrderTax_UU == null) + { + setC_Order_ID (0); + setC_Tax_ID (0); + setIsTaxIncluded (false); + setProcessed (false); + setTaxAmt (Env.ZERO); + setTaxBaseAmt (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_OrderTax (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +101,7 @@ public class X_C_OrderTax extends PO implements I_C_OrderTax, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -88,7 +118,7 @@ public class X_C_OrderTax extends PO implements I_C_OrderTax, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_C_OrderTax[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -204,10 +234,10 @@ public class X_C_OrderTax extends PO implements I_C_OrderTax, I_Persistent public boolean isTaxIncluded() { Object oo = get_Value(COLUMNNAME_IsTaxIncluded); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -227,10 +257,10 @@ public class X_C_OrderTax extends PO implements I_C_OrderTax, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_OrgAssignment.java b/org.adempiere.base/src/org/compiere/model/X_C_OrgAssignment.java index 3cdd948cb7..b07daad9ec 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_OrgAssignment.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_OrgAssignment.java @@ -22,16 +22,16 @@ import java.sql.Timestamp; import java.util.Properties; /** Generated Model for C_OrgAssignment - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_OrgAssignment") -public class X_C_OrgAssignment extends PO implements I_C_OrgAssignment, I_Persistent +public class X_C_OrgAssignment extends PO implements I_C_OrgAssignment, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_OrgAssignment (Properties ctx, int C_OrgAssignment_ID, String trxName) @@ -57,6 +57,30 @@ public class X_C_OrgAssignment extends PO implements I_C_OrgAssignment, I_Persis } */ } + /** Standard Constructor */ + public X_C_OrgAssignment (Properties ctx, String C_OrgAssignment_UU, String trxName) + { + super (ctx, C_OrgAssignment_UU, trxName); + /** if (C_OrgAssignment_UU == null) + { + setAD_User_ID (0); + setC_OrgAssignment_ID (0); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_C_OrgAssignment (Properties ctx, String C_OrgAssignment_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_OrgAssignment_UU, trxName, virtualColumns); + /** if (C_OrgAssignment_UU == null) + { + setAD_User_ID (0); + setC_OrgAssignment_ID (0); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_C_OrgAssignment (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_C_OrgAssignment extends PO implements I_C_OrgAssignment, I_Persis } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_C_POS.java b/org.adempiere.base/src/org/compiere/model/X_C_POS.java index 82ebb1398b..cdb82dbb7a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_POS.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_POS.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_POS - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_POS") -public class X_C_POS extends PO implements I_C_POS, I_Persistent +public class X_C_POS extends PO implements I_C_POS, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_POS (Properties ctx, int C_POS_ID, String trxName) @@ -65,6 +65,38 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent } */ } + /** Standard Constructor */ + public X_C_POS (Properties ctx, String C_POS_UU, String trxName) + { + super (ctx, C_POS_UU, trxName); + /** if (C_POS_UU == null) + { + setC_POS_ID (0); + setIsModifyPrice (false); +// N + setM_PriceList_ID (0); + setM_Warehouse_ID (0); + setName (null); + setSalesRep_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_POS (Properties ctx, String C_POS_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_POS_UU, trxName, virtualColumns); + /** if (C_POS_UU == null) + { + setC_POS_ID (0); + setIsModifyPrice (false); +// N + setM_PriceList_ID (0); + setM_Warehouse_ID (0); + setName (null); + setSalesRep_ID (0); + } */ + } + /** Load Constructor */ public X_C_POS (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -350,10 +382,10 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent public boolean isModifyPrice() { Object oo = get_Value(COLUMNNAME_IsModifyPrice); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -434,7 +466,7 @@ public class X_C_POS extends PO implements I_C_POS, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_POSKey.java b/org.adempiere.base/src/org/compiere/model/X_C_POSKey.java index 462089c757..1cd8c7d201 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_POSKey.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_POSKey.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_POSKey - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_POSKey") -public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent +public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_POSKey (Properties ctx, int C_POSKey_ID, String trxName) @@ -63,6 +63,34 @@ public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent } */ } + /** Standard Constructor */ + public X_C_POSKey (Properties ctx, String C_POSKey_UU, String trxName) + { + super (ctx, C_POSKey_UU, trxName); + /** if (C_POSKey_UU == null) + { + setC_POSKey_ID (0); + setC_POSKeyLayout_ID (0); + setName (null); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM C_POSKey WHERE C_POSKeyLayout_ID=@C_POSKeyLayout_ID@ + } */ + } + + /** Standard Constructor */ + public X_C_POSKey (Properties ctx, String C_POSKey_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_POSKey_UU, trxName, virtualColumns); + /** if (C_POSKey_UU == null) + { + setC_POSKey_ID (0); + setC_POSKeyLayout_ID (0); + setName (null); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM C_POSKey WHERE C_POSKeyLayout_ID=@C_POSKeyLayout_ID@ + } */ + } + /** Load Constructor */ public X_C_POSKey (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +98,7 @@ public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -297,7 +325,7 @@ public class X_C_POSKey extends PO implements I_C_POSKey, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_POSKeyLayout.java b/org.adempiere.base/src/org/compiere/model/X_C_POSKeyLayout.java index 438ff2f28a..c146d06dfd 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_POSKeyLayout.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_POSKeyLayout.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_POSKeyLayout - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_POSKeyLayout") -public class X_C_POSKeyLayout extends PO implements I_C_POSKeyLayout, I_Persistent +public class X_C_POSKeyLayout extends PO implements I_C_POSKeyLayout, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_POSKeyLayout (Properties ctx, int C_POSKeyLayout_ID, String trxName) @@ -55,6 +55,28 @@ public class X_C_POSKeyLayout extends PO implements I_C_POSKeyLayout, I_Persiste } */ } + /** Standard Constructor */ + public X_C_POSKeyLayout (Properties ctx, String C_POSKeyLayout_UU, String trxName) + { + super (ctx, C_POSKeyLayout_UU, trxName); + /** if (C_POSKeyLayout_UU == null) + { + setC_POSKeyLayout_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_POSKeyLayout (Properties ctx, String C_POSKeyLayout_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_POSKeyLayout_UU, trxName, virtualColumns); + /** if (C_POSKeyLayout_UU == null) + { + setC_POSKeyLayout_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_C_POSKeyLayout (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_C_POSKeyLayout extends PO implements I_C_POSKeyLayout, I_Persiste } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -246,7 +268,7 @@ public class X_C_POSKeyLayout extends PO implements I_C_POSKeyLayout, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_POSPayment.java b/org.adempiere.base/src/org/compiere/model/X_C_POSPayment.java index 1253325ba5..45cad28439 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_POSPayment.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_POSPayment.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for C_POSPayment - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_POSPayment") -public class X_C_POSPayment extends PO implements I_C_POSPayment, I_Persistent +public class X_C_POSPayment extends PO implements I_C_POSPayment, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_POSPayment (Properties ctx, int C_POSPayment_ID, String trxName) @@ -67,6 +67,38 @@ public class X_C_POSPayment extends PO implements I_C_POSPayment, I_Persistent } */ } + /** Standard Constructor */ + public X_C_POSPayment (Properties ctx, String C_POSPayment_UU, String trxName) + { + super (ctx, C_POSPayment_UU, trxName); + /** if (C_POSPayment_UU == null) + { + setC_Order_ID (0); + setC_POSPayment_ID (0); + setC_POSTenderType_ID (0); + setIsPostDated (false); +// N + setPayAmt (Env.ZERO); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_C_POSPayment (Properties ctx, String C_POSPayment_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_POSPayment_UU, trxName, virtualColumns); + /** if (C_POSPayment_UU == null) + { + setC_Order_ID (0); + setC_POSPayment_ID (0); + setC_POSTenderType_ID (0); + setIsPostDated (false); +// N + setPayAmt (Env.ZERO); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_C_POSPayment (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +106,7 @@ public class X_C_POSPayment extends PO implements I_C_POSPayment, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -415,10 +447,10 @@ public class X_C_POSPayment extends PO implements I_C_POSPayment, I_Persistent public boolean isPostDated() { Object oo = get_Value(COLUMNNAME_IsPostDated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -473,10 +505,10 @@ public class X_C_POSPayment extends PO implements I_C_POSPayment, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_POSTenderType.java b/org.adempiere.base/src/org/compiere/model/X_C_POSTenderType.java index da6f36113b..ddd8272d90 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_POSTenderType.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_POSTenderType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_POSTenderType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_POSTenderType") -public class X_C_POSTenderType extends PO implements I_C_POSTenderType, I_Persistent +public class X_C_POSTenderType extends PO implements I_C_POSTenderType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_POSTenderType (Properties ctx, int C_POSTenderType_ID, String trxName) @@ -65,6 +65,38 @@ public class X_C_POSTenderType extends PO implements I_C_POSTenderType, I_Persis } */ } + /** Standard Constructor */ + public X_C_POSTenderType (Properties ctx, String C_POSTenderType_UU, String trxName) + { + super (ctx, C_POSTenderType_UU, trxName); + /** if (C_POSTenderType_UU == null) + { + setC_POSTenderType_ID (0); + setIsGuarantee (false); +// N + setIsPostDated (false); +// N + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_POSTenderType (Properties ctx, String C_POSTenderType_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_POSTenderType_UU, trxName, virtualColumns); + /** if (C_POSTenderType_UU == null) + { + setC_POSTenderType_ID (0); + setIsGuarantee (false); +// N + setIsPostDated (false); +// N + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_POSTenderType (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_C_POSTenderType extends PO implements I_C_POSTenderType, I_Persis } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -175,10 +207,10 @@ public class X_C_POSTenderType extends PO implements I_C_POSTenderType, I_Persis public boolean isGuarantee() { Object oo = get_Value(COLUMNNAME_IsGuarantee); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -197,10 +229,10 @@ public class X_C_POSTenderType extends PO implements I_C_POSTenderType, I_Persis public boolean isPostDated() { Object oo = get_Value(COLUMNNAME_IsPostDated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -225,7 +257,7 @@ public class X_C_POSTenderType extends PO implements I_C_POSTenderType, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_PaySchedule.java b/org.adempiere.base/src/org/compiere/model/X_C_PaySchedule.java index 8396c579e8..fdb690e8bf 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_PaySchedule.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_PaySchedule.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_PaySchedule - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_PaySchedule") -public class X_C_PaySchedule extends PO implements I_C_PaySchedule, I_Persistent +public class X_C_PaySchedule extends PO implements I_C_PaySchedule, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_PaySchedule (Properties ctx, int C_PaySchedule_ID, String trxName) @@ -69,6 +69,40 @@ public class X_C_PaySchedule extends PO implements I_C_PaySchedule, I_Persistent } */ } + /** Standard Constructor */ + public X_C_PaySchedule (Properties ctx, String C_PaySchedule_UU, String trxName) + { + super (ctx, C_PaySchedule_UU, trxName); + /** if (C_PaySchedule_UU == null) + { + setC_PaymentTerm_ID (0); + setC_PaySchedule_ID (0); + setDiscount (Env.ZERO); + setDiscountDays (0); + setGraceDays (0); + setIsValid (false); + setNetDays (0); + setPercentage (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_PaySchedule (Properties ctx, String C_PaySchedule_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_PaySchedule_UU, trxName, virtualColumns); + /** if (C_PaySchedule_UU == null) + { + setC_PaymentTerm_ID (0); + setC_PaySchedule_ID (0); + setDiscount (Env.ZERO); + setDiscountDays (0); + setGraceDays (0); + setIsValid (false); + setNetDays (0); + setPercentage (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_PaySchedule (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +110,7 @@ public class X_C_PaySchedule extends PO implements I_C_PaySchedule, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -128,7 +162,7 @@ public class X_C_PaySchedule extends PO implements I_C_PaySchedule, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_PaymentTerm_ID())); } @@ -241,10 +275,10 @@ public class X_C_PaySchedule extends PO implements I_C_PaySchedule, I_Persistent public boolean isValid() { Object oo = get_Value(COLUMNNAME_IsValid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_PaySelection.java b/org.adempiere.base/src/org/compiere/model/X_C_PaySelection.java index 2b01b0f0b6..27d38e9b3c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_PaySelection.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_PaySelection.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_PaySelection - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_PaySelection") -public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persistent +public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_PaySelection (Properties ctx, int C_PaySelection_ID, String trxName) @@ -74,6 +74,44 @@ public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persiste } */ } + /** Standard Constructor */ + public X_C_PaySelection (Properties ctx, String C_PaySelection_UU, String trxName) + { + super (ctx, C_PaySelection_UU, trxName); + /** if (C_PaySelection_UU == null) + { + setC_BankAccount_ID (0); + setC_PaySelection_ID (0); + setIsApproved (false); + setName (null); +// @#Date@ + setPayDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setProcessed (false); + setProcessing (false); + setTotalAmt (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_PaySelection (Properties ctx, String C_PaySelection_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_PaySelection_UU, trxName, virtualColumns); + /** if (C_PaySelection_UU == null) + { + setC_BankAccount_ID (0); + setC_PaySelection_ID (0); + setIsApproved (false); + setName (null); +// @#Date@ + setPayDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setProcessed (false); + setProcessing (false); + setTotalAmt (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_PaySelection (Properties ctx, ResultSet rs, String trxName) { @@ -81,7 +119,7 @@ public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persiste } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -213,10 +251,10 @@ public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persiste public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -235,10 +273,10 @@ public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persiste public boolean isOnePaymentPerInvoice() { Object oo = get_Value(COLUMNNAME_IsOnePaymentPerInvoice); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -263,7 +301,7 @@ public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -298,10 +336,10 @@ public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -320,10 +358,10 @@ public class X_C_PaySelection extends PO implements I_C_PaySelection, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_PaySelectionCheck.java b/org.adempiere.base/src/org/compiere/model/X_C_PaySelectionCheck.java index 03ac10c231..57713606b4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_PaySelectionCheck.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_PaySelectionCheck.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for C_PaySelectionCheck - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_PaySelectionCheck") -public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, I_Persistent +public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_PaySelectionCheck (Properties ctx, int C_PaySelectionCheck_ID, String trxName) @@ -82,6 +82,54 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, } */ } + /** Standard Constructor */ + public X_C_PaySelectionCheck (Properties ctx, String C_PaySelectionCheck_UU, String trxName) + { + super (ctx, C_PaySelectionCheck_UU, trxName); + /** if (C_PaySelectionCheck_UU == null) + { + setC_BPartner_ID (0); + setC_PaySelectionCheck_ID (0); + setC_PaySelection_ID (0); + setDiscountAmt (Env.ZERO); + setIsGeneratedDraft (false); +// N + setIsPrinted (false); + setIsReceipt (false); + setPayAmt (Env.ZERO); + setPaymentRule (null); + setProcessed (false); +// N + setQty (0); + setWriteOffAmt (Env.ZERO); +// 0 + } */ + } + + /** Standard Constructor */ + public X_C_PaySelectionCheck (Properties ctx, String C_PaySelectionCheck_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_PaySelectionCheck_UU, trxName, virtualColumns); + /** if (C_PaySelectionCheck_UU == null) + { + setC_BPartner_ID (0); + setC_PaySelectionCheck_ID (0); + setC_PaySelection_ID (0); + setDiscountAmt (Env.ZERO); + setIsGeneratedDraft (false); +// N + setIsPrinted (false); + setIsReceipt (false); + setPayAmt (Env.ZERO); + setPaymentRule (null); + setProcessed (false); +// N + setQty (0); + setWriteOffAmt (Env.ZERO); +// 0 + } */ + } + /** Load Constructor */ public X_C_PaySelectionCheck (Properties ctx, ResultSet rs, String trxName) { @@ -89,7 +137,7 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -307,10 +355,10 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, public boolean isGeneratedDraft() { Object oo = get_Value(COLUMNNAME_IsGeneratedDraft); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -330,10 +378,10 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -353,10 +401,10 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, public boolean isReceipt() { Object oo = get_Value(COLUMNNAME_IsReceipt); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -428,10 +476,10 @@ public class X_C_PaySelectionCheck extends PO implements I_C_PaySelectionCheck, public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_PaySelectionLine.java b/org.adempiere.base/src/org/compiere/model/X_C_PaySelectionLine.java index 29c5571b68..7c1ab430b7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_PaySelectionLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_PaySelectionLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_PaySelectionLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_PaySelectionLine") -public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_Persistent +public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_PaySelectionLine (Properties ctx, int C_PaySelectionLine_ID, String trxName) @@ -87,6 +87,58 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ } */ } + /** Standard Constructor */ + public X_C_PaySelectionLine (Properties ctx, String C_PaySelectionLine_UU, String trxName) + { + super (ctx, C_PaySelectionLine_UU, trxName); + /** if (C_PaySelectionLine_UU == null) + { + setC_Invoice_ID (0); + setC_PaySelection_ID (0); + setC_PaySelectionLine_ID (0); + setDifferenceAmt (Env.ZERO); + setDiscountAmt (Env.ZERO); + setIsManual (false); + setIsSOTrx (false); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_PaySelectionLine WHERE C_PaySelection_ID=@C_PaySelection_ID@ + setOpenAmt (Env.ZERO); + setPayAmt (Env.ZERO); + setPaymentRule (null); +// S + setProcessed (false); +// N + setWriteOffAmt (Env.ZERO); +// 0 + } */ + } + + /** Standard Constructor */ + public X_C_PaySelectionLine (Properties ctx, String C_PaySelectionLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_PaySelectionLine_UU, trxName, virtualColumns); + /** if (C_PaySelectionLine_UU == null) + { + setC_Invoice_ID (0); + setC_PaySelection_ID (0); + setC_PaySelectionLine_ID (0); + setDifferenceAmt (Env.ZERO); + setDiscountAmt (Env.ZERO); + setIsManual (false); + setIsSOTrx (false); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_PaySelectionLine WHERE C_PaySelection_ID=@C_PaySelection_ID@ + setOpenAmt (Env.ZERO); + setPayAmt (Env.ZERO); + setPaymentRule (null); +// S + setProcessed (false); +// N + setWriteOffAmt (Env.ZERO); +// 0 + } */ + } + /** Load Constructor */ public X_C_PaySelectionLine (Properties ctx, ResultSet rs, String trxName) { @@ -94,7 +146,7 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -224,7 +276,7 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_PaySelectionLine_ID())); } @@ -312,10 +364,10 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ public boolean isManual() { Object oo = get_Value(COLUMNNAME_IsManual); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -335,10 +387,10 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -448,10 +500,10 @@ public class X_C_PaySelectionLine extends PO implements I_C_PaySelectionLine, I_ public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Payment.java b/org.adempiere.base/src/org/compiere/model/X_C_Payment.java index e7405d3343..bca1fc2c13 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Payment.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Payment.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_Payment - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Payment") -public class X_C_Payment extends PO implements I_C_Payment, I_Persistent +public class X_C_Payment extends PO implements I_C_Payment, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Payment (Properties ctx, int C_Payment_ID, String trxName) @@ -128,6 +128,98 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Payment (Properties ctx, String C_Payment_UU, String trxName) + { + super (ctx, C_Payment_UU, trxName); + /** if (C_Payment_UU == null) + { + setC_BPartner_ID (0); + setC_Currency_ID (0); + setC_DocType_ID (0); + setC_Payment_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDateTrx (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setIsAllocated (false); + setIsApproved (false); +// N + setIsDelayedCapture (false); + setIsOnline (false); + setIsOverrideCurrencyRate (false); +// N + setIsOverUnderPayment (true); +// Y + setIsPrepayment (false); + setIsReceipt (false); + setIsReconciled (false); + setIsSelfService (false); + setIsVoided (false); +// N + setPayAmt (Env.ZERO); +// 0 + setPosted (false); +// N + setProcessed (false); + setTenderType (null); +// K + setTrxType (null); +// S + } */ + } + + /** Standard Constructor */ + public X_C_Payment (Properties ctx, String C_Payment_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Payment_UU, trxName, virtualColumns); + /** if (C_Payment_UU == null) + { + setC_BPartner_ID (0); + setC_Currency_ID (0); + setC_DocType_ID (0); + setC_Payment_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDateTrx (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setIsAllocated (false); + setIsApproved (false); +// N + setIsDelayedCapture (false); + setIsOnline (false); + setIsOverrideCurrencyRate (false); +// N + setIsOverUnderPayment (true); +// Y + setIsPrepayment (false); + setIsReceipt (false); + setIsReconciled (false); + setIsSelfService (false); + setIsVoided (false); +// N + setPayAmt (Env.ZERO); +// 0 + setPosted (false); +// N + setProcessed (false); + setTenderType (null); +// K + setTrxType (null); +// S + } */ + } + /** Load Constructor */ public X_C_Payment (Properties ctx, ResultSet rs, String trxName) { @@ -135,7 +227,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -1274,7 +1366,7 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -1309,10 +1401,10 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public boolean isAllocated() { Object oo = get_Value(COLUMNNAME_IsAllocated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1332,10 +1424,10 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1355,10 +1447,10 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public boolean isDelayedCapture() { Object oo = get_Value(COLUMNNAME_IsDelayedCapture); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1378,10 +1470,10 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public boolean isOnline() { Object oo = get_Value(COLUMNNAME_IsOnline); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1401,10 +1493,10 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public boolean isOverrideCurrencyRate() { Object oo = get_Value(COLUMNNAME_IsOverrideCurrencyRate); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1424,10 +1516,10 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public boolean isOverUnderPayment() { Object oo = get_Value(COLUMNNAME_IsOverUnderPayment); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1447,10 +1539,10 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public boolean isPrepayment() { Object oo = get_Value(COLUMNNAME_IsPrepayment); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1470,10 +1562,10 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public boolean isReceipt() { Object oo = get_Value(COLUMNNAME_IsReceipt); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1493,10 +1585,10 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public boolean isReconciled() { Object oo = get_Value(COLUMNNAME_IsReconciled); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1516,10 +1608,10 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1538,10 +1630,10 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public boolean isVoided() { Object oo = get_Value(COLUMNNAME_IsVoided); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1663,10 +1755,10 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1686,10 +1778,10 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1727,10 +1819,10 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1832,10 +1924,10 @@ public class X_C_Payment extends PO implements I_C_Payment, I_Persistent public boolean isR_CVV2Match() { Object oo = get_Value(COLUMNNAME_R_CVV2Match); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_PaymentAllocate.java b/org.adempiere.base/src/org/compiere/model/X_C_PaymentAllocate.java index 0d17823820..8fb9542ac6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_PaymentAllocate.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_PaymentAllocate.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_PaymentAllocate - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_PaymentAllocate") -public class X_C_PaymentAllocate extends PO implements I_C_PaymentAllocate, I_Persistent +public class X_C_PaymentAllocate extends PO implements I_C_PaymentAllocate, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_PaymentAllocate (Properties ctx, int C_PaymentAllocate_ID, String trxName) @@ -67,6 +67,38 @@ public class X_C_PaymentAllocate extends PO implements I_C_PaymentAllocate, I_Pe } */ } + /** Standard Constructor */ + public X_C_PaymentAllocate (Properties ctx, String C_PaymentAllocate_UU, String trxName) + { + super (ctx, C_PaymentAllocate_UU, trxName); + /** if (C_PaymentAllocate_UU == null) + { + setAmount (Env.ZERO); + setC_Invoice_ID (0); + setC_PaymentAllocate_ID (0); + setC_Payment_ID (0); + setDiscountAmt (Env.ZERO); + setOverUnderAmt (Env.ZERO); + setWriteOffAmt (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_PaymentAllocate (Properties ctx, String C_PaymentAllocate_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_PaymentAllocate_UU, trxName, virtualColumns); + /** if (C_PaymentAllocate_UU == null) + { + setAmount (Env.ZERO); + setC_Invoice_ID (0); + setC_PaymentAllocate_ID (0); + setC_Payment_ID (0); + setDiscountAmt (Env.ZERO); + setOverUnderAmt (Env.ZERO); + setWriteOffAmt (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_PaymentAllocate (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +106,7 @@ public class X_C_PaymentAllocate extends PO implements I_C_PaymentAllocate, I_Pe } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -173,7 +205,7 @@ public class X_C_PaymentAllocate extends PO implements I_C_PaymentAllocate, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_Invoice_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_PaymentBatch.java b/org.adempiere.base/src/org/compiere/model/X_C_PaymentBatch.java index 6e112826c5..390cc3715e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_PaymentBatch.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_PaymentBatch.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_PaymentBatch - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_PaymentBatch") -public class X_C_PaymentBatch extends PO implements I_C_PaymentBatch, I_Persistent +public class X_C_PaymentBatch extends PO implements I_C_PaymentBatch, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_PaymentBatch (Properties ctx, int C_PaymentBatch_ID, String trxName) @@ -62,6 +62,34 @@ public class X_C_PaymentBatch extends PO implements I_C_PaymentBatch, I_Persiste } */ } + /** Standard Constructor */ + public X_C_PaymentBatch (Properties ctx, String C_PaymentBatch_UU, String trxName) + { + super (ctx, C_PaymentBatch_UU, trxName); + /** if (C_PaymentBatch_UU == null) + { + setC_PaymentBatch_ID (0); + setC_PaymentProcessor_ID (0); + setName (null); + setProcessed (false); + setProcessing (false); + } */ + } + + /** Standard Constructor */ + public X_C_PaymentBatch (Properties ctx, String C_PaymentBatch_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_PaymentBatch_UU, trxName, virtualColumns); + /** if (C_PaymentBatch_UU == null) + { + setC_PaymentBatch_ID (0); + setC_PaymentProcessor_ID (0); + setName (null); + setProcessed (false); + setProcessing (false); + } */ + } + /** Load Constructor */ public X_C_PaymentBatch (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +97,7 @@ public class X_C_PaymentBatch extends PO implements I_C_PaymentBatch, I_Persiste } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -174,7 +202,7 @@ public class X_C_PaymentBatch extends PO implements I_C_PaymentBatch, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -209,10 +237,10 @@ public class X_C_PaymentBatch extends PO implements I_C_PaymentBatch, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -231,10 +259,10 @@ public class X_C_PaymentBatch extends PO implements I_C_PaymentBatch, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_PaymentProcessor.java b/org.adempiere.base/src/org/compiere/model/X_C_PaymentProcessor.java index 4b4bc76762..35e20fd7f2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_PaymentProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_PaymentProcessor.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_PaymentProcessor - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_PaymentProcessor") -public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_Persistent +public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_PaymentProcessor (Properties ctx, int C_PaymentProcessor_ID, String trxName) @@ -87,6 +87,58 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ } */ } + /** Standard Constructor */ + public X_C_PaymentProcessor (Properties ctx, String C_PaymentProcessor_UU, String trxName) + { + super (ctx, C_PaymentProcessor_UU, trxName); + /** if (C_PaymentProcessor_UU == null) + { + setAcceptAMEX (false); + setAcceptATM (false); + setAcceptCheck (false); + setAcceptCorporate (false); + setAcceptDiners (false); + setAcceptDirectDebit (false); + setAcceptDirectDeposit (false); + setAcceptDiscover (false); + setAcceptMC (false); + setAcceptVisa (false); + setCommission (Env.ZERO); + setCostPerTrx (Env.ZERO); + setC_PaymentProcessor_ID (0); + setHostAddress (null); + setHostPort (0); + setName (null); + setRequireVV (false); + } */ + } + + /** Standard Constructor */ + public X_C_PaymentProcessor (Properties ctx, String C_PaymentProcessor_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_PaymentProcessor_UU, trxName, virtualColumns); + /** if (C_PaymentProcessor_UU == null) + { + setAcceptAMEX (false); + setAcceptATM (false); + setAcceptCheck (false); + setAcceptCorporate (false); + setAcceptDiners (false); + setAcceptDirectDebit (false); + setAcceptDirectDeposit (false); + setAcceptDiscover (false); + setAcceptMC (false); + setAcceptVisa (false); + setCommission (Env.ZERO); + setCostPerTrx (Env.ZERO); + setC_PaymentProcessor_ID (0); + setHostAddress (null); + setHostPort (0); + setName (null); + setRequireVV (false); + } */ + } + /** Load Constructor */ public X_C_PaymentProcessor (Properties ctx, ResultSet rs, String trxName) { @@ -94,7 +146,7 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -129,10 +181,10 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ public boolean isAcceptAMEX() { Object oo = get_Value(COLUMNNAME_AcceptAMEX); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -152,10 +204,10 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ public boolean isAcceptATM() { Object oo = get_Value(COLUMNNAME_AcceptATM); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -175,10 +227,10 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ public boolean isAcceptCheck() { Object oo = get_Value(COLUMNNAME_AcceptCheck); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -198,10 +250,10 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ public boolean isAcceptCorporate() { Object oo = get_Value(COLUMNNAME_AcceptCorporate); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -221,10 +273,10 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ public boolean isAcceptDiners() { Object oo = get_Value(COLUMNNAME_AcceptDiners); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -244,10 +296,10 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ public boolean isAcceptDirectDebit() { Object oo = get_Value(COLUMNNAME_AcceptDirectDebit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -267,10 +319,10 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ public boolean isAcceptDirectDeposit() { Object oo = get_Value(COLUMNNAME_AcceptDirectDeposit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -290,10 +342,10 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ public boolean isAcceptDiscover() { Object oo = get_Value(COLUMNNAME_AcceptDiscover); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -313,10 +365,10 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ public boolean isAcceptMC() { Object oo = get_Value(COLUMNNAME_AcceptMC); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -336,10 +388,10 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ public boolean isAcceptVisa() { Object oo = get_Value(COLUMNNAME_AcceptVisa); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -593,7 +645,7 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -695,10 +747,10 @@ public class X_C_PaymentProcessor extends PO implements I_C_PaymentProcessor, I_ public boolean isRequireVV() { Object oo = get_Value(COLUMNNAME_RequireVV); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_PaymentTerm.java b/org.adempiere.base/src/org/compiere/model/X_C_PaymentTerm.java index 5351f97d0b..575b1c482d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_PaymentTerm.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_PaymentTerm.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_PaymentTerm - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_PaymentTerm") -public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent +public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_PaymentTerm (Properties ctx, int C_PaymentTerm_ID, String trxName) @@ -81,6 +81,52 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent } */ } + /** Standard Constructor */ + public X_C_PaymentTerm (Properties ctx, String C_PaymentTerm_UU, String trxName) + { + super (ctx, C_PaymentTerm_UU, trxName); + /** if (C_PaymentTerm_UU == null) + { + setAfterDelivery (false); + setC_PaymentTerm_ID (0); + setDiscount (Env.ZERO); + setDiscount2 (Env.ZERO); + setDiscountDays (0); + setDiscountDays2 (0); + setGraceDays (0); + setIsDueFixed (false); + setIsValid (false); + setName (null); + setNetDays (0); + setPaymentTermUsage (null); +// B + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_PaymentTerm (Properties ctx, String C_PaymentTerm_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_PaymentTerm_UU, trxName, virtualColumns); + /** if (C_PaymentTerm_UU == null) + { + setAfterDelivery (false); + setC_PaymentTerm_ID (0); + setDiscount (Env.ZERO); + setDiscount2 (Env.ZERO); + setDiscountDays (0); + setDiscountDays2 (0); + setGraceDays (0); + setIsDueFixed (false); + setIsValid (false); + setName (null); + setNetDays (0); + setPaymentTermUsage (null); +// B + setValue (null); + } */ + } + /** Load Constructor */ public X_C_PaymentTerm (Properties ctx, ResultSet rs, String trxName) { @@ -88,7 +134,7 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -123,10 +169,10 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent public boolean isAfterDelivery() { Object oo = get_Value(COLUMNNAME_AfterDelivery); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -367,10 +413,10 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -390,10 +436,10 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent public boolean isDueFixed() { Object oo = get_Value(COLUMNNAME_IsDueFixed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -413,10 +459,10 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent public boolean isNextBusinessDay() { Object oo = get_Value(COLUMNNAME_IsNextBusinessDay); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -436,10 +482,10 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent public boolean isValid() { Object oo = get_Value(COLUMNNAME_IsValid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -464,7 +510,7 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -559,10 +605,10 @@ public class X_C_PaymentTerm extends PO implements I_C_PaymentTerm, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_PaymentTransaction.java b/org.adempiere.base/src/org/compiere/model/X_C_PaymentTransaction.java index 050e408f53..8a54ffa633 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_PaymentTransaction.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_PaymentTransaction.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for C_PaymentTransaction - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_PaymentTransaction") -public class X_C_PaymentTransaction extends PO implements I_C_PaymentTransaction, I_Persistent +public class X_C_PaymentTransaction extends PO implements I_C_PaymentTransaction, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_PaymentTransaction (Properties ctx, int C_PaymentTransaction_ID, String trxName) @@ -95,6 +95,66 @@ public class X_C_PaymentTransaction extends PO implements I_C_PaymentTransaction } */ } + /** Standard Constructor */ + public X_C_PaymentTransaction (Properties ctx, String C_PaymentTransaction_UU, String trxName) + { + super (ctx, C_PaymentTransaction_UU, trxName); + /** if (C_PaymentTransaction_UU == null) + { + setC_BPartner_ID (0); + setC_Currency_ID (0); + setC_PaymentTransaction_ID (0); + setDateTrx (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setIsApproved (false); +// N + setIsDelayedCapture (false); + setIsOnline (false); + setIsReceipt (false); + setIsSelfService (false); + setIsVoided (false); +// N + setPayAmt (Env.ZERO); +// 0 + setProcessed (false); +// N + setTenderType (null); +// K + setTrxType (null); +// S + } */ + } + + /** Standard Constructor */ + public X_C_PaymentTransaction (Properties ctx, String C_PaymentTransaction_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_PaymentTransaction_UU, trxName, virtualColumns); + /** if (C_PaymentTransaction_UU == null) + { + setC_BPartner_ID (0); + setC_Currency_ID (0); + setC_PaymentTransaction_ID (0); + setDateTrx (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setIsApproved (false); +// N + setIsDelayedCapture (false); + setIsOnline (false); + setIsReceipt (false); + setIsSelfService (false); + setIsVoided (false); +// N + setPayAmt (Env.ZERO); +// 0 + setProcessed (false); +// N + setTenderType (null); +// K + setTrxType (null); +// S + } */ + } + /** Load Constructor */ public X_C_PaymentTransaction (Properties ctx, ResultSet rs, String trxName) { @@ -102,7 +162,7 @@ public class X_C_PaymentTransaction extends PO implements I_C_PaymentTransaction } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -1014,10 +1074,10 @@ public class X_C_PaymentTransaction extends PO implements I_C_PaymentTransaction public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1037,10 +1097,10 @@ public class X_C_PaymentTransaction extends PO implements I_C_PaymentTransaction public boolean isDelayedCapture() { Object oo = get_Value(COLUMNNAME_IsDelayedCapture); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1060,10 +1120,10 @@ public class X_C_PaymentTransaction extends PO implements I_C_PaymentTransaction public boolean isOnline() { Object oo = get_Value(COLUMNNAME_IsOnline); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1083,10 +1143,10 @@ public class X_C_PaymentTransaction extends PO implements I_C_PaymentTransaction public boolean isReceipt() { Object oo = get_Value(COLUMNNAME_IsReceipt); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1106,10 +1166,10 @@ public class X_C_PaymentTransaction extends PO implements I_C_PaymentTransaction public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1128,10 +1188,10 @@ public class X_C_PaymentTransaction extends PO implements I_C_PaymentTransaction public boolean isVoided() { Object oo = get_Value(COLUMNNAME_IsVoided); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1218,10 +1278,10 @@ public class X_C_PaymentTransaction extends PO implements I_C_PaymentTransaction public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1307,10 +1367,10 @@ public class X_C_PaymentTransaction extends PO implements I_C_PaymentTransaction public boolean isR_CVV2Match() { Object oo = get_Value(COLUMNNAME_R_CVV2Match); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Period.java b/org.adempiere.base/src/org/compiere/model/X_C_Period.java index a0557c1772..df8e6288c2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Period.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Period.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Period - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Period") -public class X_C_Period extends PO implements I_C_Period, I_Persistent +public class X_C_Period extends PO implements I_C_Period, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Period (Properties ctx, int C_Period_ID, String trxName) @@ -66,6 +66,38 @@ public class X_C_Period extends PO implements I_C_Period, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Period (Properties ctx, String C_Period_UU, String trxName) + { + super (ctx, C_Period_UU, trxName); + /** if (C_Period_UU == null) + { + setC_Period_ID (0); + setC_Year_ID (0); + setName (null); + setPeriodNo (0); + setPeriodType (null); +// S + setStartDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_C_Period (Properties ctx, String C_Period_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Period_UU, trxName, virtualColumns); + /** if (C_Period_UU == null) + { + setC_Period_ID (0); + setC_Year_ID (0); + setName (null); + setPeriodNo (0); + setPeriodType (null); +// S + setStartDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_C_Period (Properties ctx, ResultSet rs, String trxName) { @@ -73,7 +105,7 @@ public class X_C_Period extends PO implements I_C_Period, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -194,7 +226,7 @@ public class X_C_Period extends PO implements I_C_Period, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -254,10 +286,10 @@ public class X_C_Period extends PO implements I_C_Period, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_PeriodControl.java b/org.adempiere.base/src/org/compiere/model/X_C_PeriodControl.java index 3a8820a01f..80d79d627b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_PeriodControl.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_PeriodControl.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_PeriodControl - * @author iDempiere (generated) + * @author iDempiere (generated) * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_PeriodControl") -public class X_C_PeriodControl extends PO implements I_C_PeriodControl, I_Persistent +public class X_C_PeriodControl extends PO implements I_C_PeriodControl, I_Persistent { /** * */ - private static final long serialVersionUID = 20230215L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_PeriodControl (Properties ctx, int C_PeriodControl_ID, String trxName) @@ -61,6 +61,34 @@ public class X_C_PeriodControl extends PO implements I_C_PeriodControl, I_Persis } */ } + /** Standard Constructor */ + public X_C_PeriodControl (Properties ctx, String C_PeriodControl_UU, String trxName) + { + super (ctx, C_PeriodControl_UU, trxName); + /** if (C_PeriodControl_UU == null) + { + setC_PeriodControl_ID (0); + setC_Period_ID (0); + setDocBaseType (null); + setPeriodAction (null); +// N + } */ + } + + /** Standard Constructor */ + public X_C_PeriodControl (Properties ctx, String C_PeriodControl_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_PeriodControl_UU, trxName, virtualColumns); + /** if (C_PeriodControl_UU == null) + { + setC_PeriodControl_ID (0); + setC_Period_ID (0); + setDocBaseType (null); + setPeriodAction (null); +// N + } */ + } + /** Load Constructor */ public X_C_PeriodControl (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_C_PeriodControl extends PO implements I_C_PeriodControl, I_Persis } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -113,7 +141,7 @@ public class X_C_PeriodControl extends PO implements I_C_PeriodControl, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_PeriodControl_ID())); } @@ -315,10 +343,10 @@ public class X_C_PeriodControl extends PO implements I_C_PeriodControl, I_Persis public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Phase.java b/org.adempiere.base/src/org/compiere/model/X_C_Phase.java index b462f5dca8..9c35e89fc8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Phase.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Phase.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_Phase - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Phase") -public class X_C_Phase extends PO implements I_C_Phase, I_Persistent +public class X_C_Phase extends PO implements I_C_Phase, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Phase (Properties ctx, int C_Phase_ID, String trxName) @@ -67,6 +67,38 @@ public class X_C_Phase extends PO implements I_C_Phase, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Phase (Properties ctx, String C_Phase_UU, String trxName) + { + super (ctx, C_Phase_UU, trxName); + /** if (C_Phase_UU == null) + { + setC_Phase_ID (0); + setC_ProjectType_ID (0); + setName (null); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM C_Phase WHERE C_ProjectType_ID=@C_ProjectType_ID@ + setStandardQty (Env.ZERO); +// 1 + } */ + } + + /** Standard Constructor */ + public X_C_Phase (Properties ctx, String C_Phase_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Phase_UU, trxName, virtualColumns); + /** if (C_Phase_UU == null) + { + setC_Phase_ID (0); + setC_ProjectType_ID (0); + setName (null); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM C_Phase WHERE C_ProjectType_ID=@C_ProjectType_ID@ + setStandardQty (Env.ZERO); +// 1 + } */ + } + /** Load Constructor */ public X_C_Phase (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +106,7 @@ public class X_C_Phase extends PO implements I_C_Phase, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -239,7 +271,7 @@ public class X_C_Phase extends PO implements I_C_Phase, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Project.java b/org.adempiere.base/src/org/compiere/model/X_C_Project.java index 33295a0b96..6925daf7e1 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Project.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Project.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_Project - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Project") -public class X_C_Project extends PO implements I_C_Project, I_Persistent +public class X_C_Project extends PO implements I_C_Project, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Project (Properties ctx, int C_Project_ID, String trxName) @@ -94,6 +94,64 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Project (Properties ctx, String C_Project_UU, String trxName) + { + super (ctx, C_Project_UU, trxName); + /** if (C_Project_UU == null) + { + setC_Currency_ID (0); + setCommittedAmt (Env.ZERO); + setCommittedQty (Env.ZERO); + setC_Project_ID (0); + setInvoicedAmt (Env.ZERO); + setInvoicedQty (Env.ZERO); + setIsCommitCeiling (false); + setIsCommitment (false); + setIsSummary (false); + setName (null); + setPlannedAmt (Env.ZERO); + setPlannedMarginAmt (Env.ZERO); + setPlannedQty (Env.ZERO); + setProcessed (false); + setProjectBalanceAmt (Env.ZERO); + setProjectLineLevel (null); +// P + setProjInvoiceRule (null); +// - + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_Project (Properties ctx, String C_Project_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Project_UU, trxName, virtualColumns); + /** if (C_Project_UU == null) + { + setC_Currency_ID (0); + setCommittedAmt (Env.ZERO); + setCommittedQty (Env.ZERO); + setC_Project_ID (0); + setInvoicedAmt (Env.ZERO); + setInvoicedQty (Env.ZERO); + setIsCommitCeiling (false); + setIsCommitment (false); + setIsSummary (false); + setName (null); + setPlannedAmt (Env.ZERO); + setPlannedMarginAmt (Env.ZERO); + setPlannedQty (Env.ZERO); + setProcessed (false); + setProjectBalanceAmt (Env.ZERO); + setProjectLineLevel (null); +// P + setProjInvoiceRule (null); +// - + setValue (null); + } */ + } + /** Load Constructor */ public X_C_Project (Properties ctx, ResultSet rs, String trxName) { @@ -101,7 +159,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -625,10 +683,10 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent public boolean isCommitCeiling() { Object oo = get_Value(COLUMNNAME_IsCommitCeiling); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -648,10 +706,10 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent public boolean isCommitment() { Object oo = get_Value(COLUMNNAME_IsCommitment); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -671,10 +729,10 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent public boolean isSummary() { Object oo = get_Value(COLUMNNAME_IsSummary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -855,10 +913,10 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -877,10 +935,10 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1033,7 +1091,7 @@ public class X_C_Project extends PO implements I_C_Project, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getValue()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_ProjectIssue.java b/org.adempiere.base/src/org/compiere/model/X_C_ProjectIssue.java index a89bc91c32..82cb5c00e6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_ProjectIssue.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_ProjectIssue.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectIssue - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_ProjectIssue") -public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persistent +public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_ProjectIssue (Properties ctx, int C_ProjectIssue_ID, String trxName) @@ -90,6 +90,60 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste } */ } + /** Standard Constructor */ + public X_C_ProjectIssue (Properties ctx, String C_ProjectIssue_UU, String trxName) + { + super (ctx, C_ProjectIssue_UU, trxName); + /** if (C_ProjectIssue_UU == null) + { + setC_Project_ID (0); + setC_ProjectIssue_ID (0); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setIsApproved (false); +// N + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_ProjectIssue WHERE C_Project_ID=@C_Project_ID@ + setM_AttributeSetInstance_ID (0); + setM_Locator_ID (0); + setMovementDate (new Timestamp( System.currentTimeMillis() )); + setMovementQty (Env.ZERO); + setM_Product_ID (0); + setPosted (false); +// N + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_C_ProjectIssue (Properties ctx, String C_ProjectIssue_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_ProjectIssue_UU, trxName, virtualColumns); + /** if (C_ProjectIssue_UU == null) + { + setC_Project_ID (0); + setC_ProjectIssue_ID (0); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setIsApproved (false); +// N + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_ProjectIssue WHERE C_Project_ID=@C_Project_ID@ + setM_AttributeSetInstance_ID (0); + setM_Locator_ID (0); + setMovementDate (new Timestamp( System.currentTimeMillis() )); + setMovementQty (Env.ZERO); + setM_Product_ID (0); + setPosted (false); +// N + setProcessed (false); + } */ + } + /** Load Constructor */ public X_C_ProjectIssue (Properties ctx, ResultSet rs, String trxName) { @@ -97,7 +151,7 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -149,7 +203,7 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_Project_ID())); } @@ -311,10 +365,10 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -500,10 +554,10 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -523,10 +577,10 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -564,10 +618,10 @@ public class X_C_ProjectIssue extends PO implements I_C_ProjectIssue, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_ProjectIssueMA.java b/org.adempiere.base/src/org/compiere/model/X_C_ProjectIssueMA.java index c046a7506d..62743b1e1c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_ProjectIssueMA.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_ProjectIssueMA.java @@ -21,19 +21,19 @@ import java.math.BigDecimal; import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.Env; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for C_ProjectIssueMA - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_ProjectIssueMA") -public class X_C_ProjectIssueMA extends PO implements I_C_ProjectIssueMA, I_Persistent +public class X_C_ProjectIssueMA extends PO implements I_C_ProjectIssueMA, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_ProjectIssueMA (Properties ctx, int C_ProjectIssueMA_ID, String trxName) @@ -59,6 +59,30 @@ public class X_C_ProjectIssueMA extends PO implements I_C_ProjectIssueMA, I_Pers } */ } + /** Standard Constructor */ + public X_C_ProjectIssueMA (Properties ctx, String C_ProjectIssueMA_UU, String trxName) + { + super (ctx, C_ProjectIssueMA_UU, trxName); + /** if (C_ProjectIssueMA_UU == null) + { + setC_ProjectIssue_ID (0); + setM_AttributeSetInstance_ID (0); + setMovementQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_ProjectIssueMA (Properties ctx, String C_ProjectIssueMA_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_ProjectIssueMA_UU, trxName, virtualColumns); + /** if (C_ProjectIssueMA_UU == null) + { + setC_ProjectIssue_ID (0); + setM_AttributeSetInstance_ID (0); + setMovementQty (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_ProjectIssueMA (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +90,7 @@ public class X_C_ProjectIssueMA extends PO implements I_C_ProjectIssueMA, I_Pers } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -83,7 +107,7 @@ public class X_C_ProjectIssueMA extends PO implements I_C_ProjectIssueMA, I_Pers public String toString() { StringBuilder sb = new StringBuilder ("X_C_ProjectIssueMA[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -115,12 +139,12 @@ public class X_C_ProjectIssueMA extends PO implements I_C_ProjectIssueMA, I_Pers return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getC_ProjectIssue_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getC_ProjectIssue_ID())); } /** Set C_ProjectIssueMA_UU. diff --git a/org.adempiere.base/src/org/compiere/model/X_C_ProjectLine.java b/org.adempiere.base/src/org/compiere/model/X_C_ProjectLine.java index a58df312d2..bb4333a5db 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_ProjectLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_ProjectLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_ProjectLine") -public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent +public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_ProjectLine (Properties ctx, int C_ProjectLine_ID, String trxName) @@ -85,6 +85,56 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent } */ } + /** Standard Constructor */ + public X_C_ProjectLine (Properties ctx, String C_ProjectLine_UU, String trxName) + { + super (ctx, C_ProjectLine_UU, trxName); + /** if (C_ProjectLine_UU == null) + { + setC_Project_ID (0); + setC_ProjectLine_ID (0); + setInvoicedAmt (Env.ZERO); + setInvoicedQty (Env.ZERO); +// 0 + setIsPrinted (true); +// Y + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_ProjectLine WHERE C_Project_ID=@C_Project_ID@ + setPlannedAmt (Env.ZERO); + setPlannedMarginAmt (Env.ZERO); + setPlannedPrice (Env.ZERO); + setPlannedQty (Env.ZERO); +// 1 + setProcessed (false); +// N + } */ + } + + /** Standard Constructor */ + public X_C_ProjectLine (Properties ctx, String C_ProjectLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_ProjectLine_UU, trxName, virtualColumns); + /** if (C_ProjectLine_UU == null) + { + setC_Project_ID (0); + setC_ProjectLine_ID (0); + setInvoicedAmt (Env.ZERO); + setInvoicedQty (Env.ZERO); +// 0 + setIsPrinted (true); +// Y + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM C_ProjectLine WHERE C_Project_ID=@C_Project_ID@ + setPlannedAmt (Env.ZERO); + setPlannedMarginAmt (Env.ZERO); + setPlannedPrice (Env.ZERO); + setPlannedQty (Env.ZERO); +// 1 + setProcessed (false); +// N + } */ + } + /** Load Constructor */ public X_C_ProjectLine (Properties ctx, ResultSet rs, String trxName) { @@ -92,7 +142,7 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -439,10 +489,10 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -470,7 +520,7 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getLine())); } @@ -649,10 +699,10 @@ public class X_C_ProjectLine extends PO implements I_C_ProjectLine, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_ProjectPhase.java b/org.adempiere.base/src/org/compiere/model/X_C_ProjectPhase.java index f0cd219f4b..fe0abe23ff 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_ProjectPhase.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_ProjectPhase.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectPhase - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_ProjectPhase") -public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persistent +public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_ProjectPhase (Properties ctx, int C_ProjectPhase_ID, String trxName) @@ -76,6 +76,46 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste } */ } + /** Standard Constructor */ + public X_C_ProjectPhase (Properties ctx, String C_ProjectPhase_UU, String trxName) + { + super (ctx, C_ProjectPhase_UU, trxName); + /** if (C_ProjectPhase_UU == null) + { + setCommittedAmt (Env.ZERO); + setC_Project_ID (0); + setC_ProjectPhase_ID (0); + setIsCommitCeiling (false); + setIsComplete (false); + setName (null); + setPlannedAmt (Env.ZERO); + setProjInvoiceRule (null); +// @ProjInvoiceRule@ + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM C_ProjectPhase WHERE C_Project_ID=@C_Project_ID@ + } */ + } + + /** Standard Constructor */ + public X_C_ProjectPhase (Properties ctx, String C_ProjectPhase_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_ProjectPhase_UU, trxName, virtualColumns); + /** if (C_ProjectPhase_UU == null) + { + setCommittedAmt (Env.ZERO); + setC_Project_ID (0); + setC_ProjectPhase_ID (0); + setIsCommitCeiling (false); + setIsComplete (false); + setName (null); + setPlannedAmt (Env.ZERO); + setProjInvoiceRule (null); +// @ProjInvoiceRule@ + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM C_ProjectPhase WHERE C_Project_ID=@C_Project_ID@ + } */ + } + /** Load Constructor */ public X_C_ProjectPhase (Properties ctx, ResultSet rs, String trxName) { @@ -83,7 +123,7 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -322,10 +362,10 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste public boolean isCommitCeiling() { Object oo = get_Value(COLUMNNAME_IsCommitCeiling); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -345,10 +385,10 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste public boolean isComplete() { Object oo = get_Value(COLUMNNAME_IsComplete); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -506,7 +546,7 @@ public class X_C_ProjectPhase extends PO implements I_C_ProjectPhase, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getSeqNo())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_ProjectTask.java b/org.adempiere.base/src/org/compiere/model/X_C_ProjectTask.java index 3c120f1a22..ea372572e3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_ProjectTask.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_ProjectTask.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectTask - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_ProjectTask") -public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent +public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_ProjectTask (Properties ctx, int C_ProjectTask_ID, String trxName) @@ -71,6 +71,42 @@ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent } */ } + /** Standard Constructor */ + public X_C_ProjectTask (Properties ctx, String C_ProjectTask_UU, String trxName) + { + super (ctx, C_ProjectTask_UU, trxName); + /** if (C_ProjectTask_UU == null) + { + setCommittedAmt (Env.ZERO); + setC_ProjectPhase_ID (0); + setC_ProjectTask_ID (0); + setName (null); + setPlannedAmt (Env.ZERO); + setProjInvoiceRule (null); +// @ProjInvoiceRule@ + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM C_ProjectTask WHERE C_ProjectPhase_ID=@C_ProjectPhase_ID@ + } */ + } + + /** Standard Constructor */ + public X_C_ProjectTask (Properties ctx, String C_ProjectTask_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_ProjectTask_UU, trxName, virtualColumns); + /** if (C_ProjectTask_UU == null) + { + setCommittedAmt (Env.ZERO); + setC_ProjectPhase_ID (0); + setC_ProjectTask_ID (0); + setName (null); + setPlannedAmt (Env.ZERO); + setProjInvoiceRule (null); +// @ProjInvoiceRule@ + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM C_ProjectTask WHERE C_ProjectPhase_ID=@C_ProjectPhase_ID@ + } */ + } + /** Load Constructor */ public X_C_ProjectTask (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +114,7 @@ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -376,7 +412,7 @@ public class X_C_ProjectTask extends PO implements I_C_ProjectTask, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getSeqNo())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_ProjectType.java b/org.adempiere.base/src/org/compiere/model/X_C_ProjectType.java index c1502be42b..77c7b2ebeb 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_ProjectType.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_ProjectType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_ProjectType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_ProjectType") -public class X_C_ProjectType extends PO implements I_C_ProjectType, I_Persistent +public class X_C_ProjectType extends PO implements I_C_ProjectType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_ProjectType (Properties ctx, int C_ProjectType_ID, String trxName) @@ -59,6 +59,32 @@ public class X_C_ProjectType extends PO implements I_C_ProjectType, I_Persistent } */ } + /** Standard Constructor */ + public X_C_ProjectType (Properties ctx, String C_ProjectType_UU, String trxName) + { + super (ctx, C_ProjectType_UU, trxName); + /** if (C_ProjectType_UU == null) + { + setC_ProjectType_ID (0); + setName (null); + setProjectCategory (null); +// N + } */ + } + + /** Standard Constructor */ + public X_C_ProjectType (Properties ctx, String C_ProjectType_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_ProjectType_UU, trxName, virtualColumns); + /** if (C_ProjectType_UU == null) + { + setC_ProjectType_ID (0); + setName (null); + setProjectCategory (null); +// N + } */ + } + /** Load Constructor */ public X_C_ProjectType (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_C_ProjectType extends PO implements I_C_ProjectType, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -175,7 +201,7 @@ public class X_C_ProjectType extends PO implements I_C_ProjectType, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Project_Acct.java b/org.adempiere.base/src/org/compiere/model/X_C_Project_Acct.java index 19d0e2f675..cdb230da03 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Project_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Project_Acct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_Project_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Project_Acct") -public class X_C_Project_Acct extends PO implements I_C_Project_Acct, I_Persistent +public class X_C_Project_Acct extends PO implements I_C_Project_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Project_Acct (Properties ctx, int C_Project_Acct_ID, String trxName) @@ -58,6 +58,32 @@ public class X_C_Project_Acct extends PO implements I_C_Project_Acct, I_Persiste } */ } + /** Standard Constructor */ + public X_C_Project_Acct (Properties ctx, String C_Project_Acct_UU, String trxName) + { + super (ctx, C_Project_Acct_UU, trxName); + /** if (C_Project_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_Project_ID (0); + setPJ_Asset_Acct (0); + setPJ_WIP_Acct (0); + } */ + } + + /** Standard Constructor */ + public X_C_Project_Acct (Properties ctx, String C_Project_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Project_Acct_UU, trxName, virtualColumns); + /** if (C_Project_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_Project_ID (0); + setPJ_Asset_Acct (0); + setPJ_WIP_Acct (0); + } */ + } + /** Load Constructor */ public X_C_Project_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_C_Project_Acct extends PO implements I_C_Project_Acct, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -82,7 +108,7 @@ public class X_C_Project_Acct extends PO implements I_C_Project_Acct, I_Persiste public String toString() { StringBuilder sb = new StringBuilder ("X_C_Project_Acct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Recurring.java b/org.adempiere.base/src/org/compiere/model/X_C_Recurring.java index c2b4494dad..9e43e68a9d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Recurring.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Recurring.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Recurring - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Recurring") -public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent +public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Recurring (Properties ctx, int C_Recurring_ID, String trxName) @@ -68,6 +68,40 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Recurring (Properties ctx, String C_Recurring_UU, String trxName) + { + super (ctx, C_Recurring_UU, trxName); + /** if (C_Recurring_UU == null) + { + setC_Recurring_ID (0); + setDateNextRun (new Timestamp( System.currentTimeMillis() )); + setFrequencyType (null); +// M + setName (null); + setRecurringType (null); + setRunsMax (0); + setRunsRemaining (0); + } */ + } + + /** Standard Constructor */ + public X_C_Recurring (Properties ctx, String C_Recurring_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Recurring_UU, trxName, virtualColumns); + /** if (C_Recurring_UU == null) + { + setC_Recurring_ID (0); + setDateNextRun (new Timestamp( System.currentTimeMillis() )); + setFrequencyType (null); +// M + setName (null); + setRecurringType (null); + setRunsMax (0); + setRunsRemaining (0); + } */ + } + /** Load Constructor */ public X_C_Recurring (Properties ctx, ResultSet rs, String trxName) { @@ -75,7 +109,7 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -429,7 +463,7 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -447,10 +481,10 @@ public class X_C_Recurring extends PO implements I_C_Recurring, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_RecurringGroup.java b/org.adempiere.base/src/org/compiere/model/X_C_RecurringGroup.java index 2d14d9c9bd..a8cf36d3de 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_RecurringGroup.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_RecurringGroup.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_RecurringGroup - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_RecurringGroup") -public class X_C_RecurringGroup extends PO implements I_C_RecurringGroup, I_Persistent +public class X_C_RecurringGroup extends PO implements I_C_RecurringGroup, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_RecurringGroup (Properties ctx, int C_RecurringGroup_ID, String trxName) @@ -57,6 +57,30 @@ public class X_C_RecurringGroup extends PO implements I_C_RecurringGroup, I_Pers } */ } + /** Standard Constructor */ + public X_C_RecurringGroup (Properties ctx, String C_RecurringGroup_UU, String trxName) + { + super (ctx, C_RecurringGroup_UU, trxName); + /** if (C_RecurringGroup_UU == null) + { + setC_RecurringGroup_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_RecurringGroup (Properties ctx, String C_RecurringGroup_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_RecurringGroup_UU, trxName, virtualColumns); + /** if (C_RecurringGroup_UU == null) + { + setC_RecurringGroup_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_RecurringGroup (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_C_RecurringGroup extends PO implements I_C_RecurringGroup, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -172,7 +196,7 @@ public class X_C_RecurringGroup extends PO implements I_C_RecurringGroup, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Recurring_Run.java b/org.adempiere.base/src/org/compiere/model/X_C_Recurring_Run.java index f69bdfb735..059cd45afa 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Recurring_Run.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Recurring_Run.java @@ -22,16 +22,16 @@ import java.sql.Timestamp; import java.util.Properties; /** Generated Model for C_Recurring_Run - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Recurring_Run") -public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persistent +public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Recurring_Run (Properties ctx, int C_Recurring_Run_ID, String trxName) @@ -55,6 +55,28 @@ public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persis } */ } + /** Standard Constructor */ + public X_C_Recurring_Run (Properties ctx, String C_Recurring_Run_UU, String trxName) + { + super (ctx, C_Recurring_Run_UU, trxName); + /** if (C_Recurring_Run_UU == null) + { + setC_Recurring_ID (0); + setC_Recurring_Run_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_Recurring_Run (Properties ctx, String C_Recurring_Run_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Recurring_Run_UU, trxName, virtualColumns); + /** if (C_Recurring_Run_UU == null) + { + setC_Recurring_ID (0); + setC_Recurring_Run_ID (0); + } */ + } + /** Load Constructor */ public X_C_Recurring_Run (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_C_Recurring_Run extends PO implements I_C_Recurring_Run, I_Persis } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Region.java b/org.adempiere.base/src/org/compiere/model/X_C_Region.java index 2e5953f8ed..dca20b0fc2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Region.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Region.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Region - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Region") -public class X_C_Region extends PO implements I_C_Region, I_Persistent +public class X_C_Region extends PO implements I_C_Region, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Region (Properties ctx, int C_Region_ID, String trxName) @@ -57,6 +57,30 @@ public class X_C_Region extends PO implements I_C_Region, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Region (Properties ctx, String C_Region_UU, String trxName) + { + super (ctx, C_Region_UU, trxName); + /** if (C_Region_UU == null) + { + setC_Country_ID (0); + setC_Region_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_Region (Properties ctx, String C_Region_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Region_UU, trxName, virtualColumns); + /** if (C_Region_UU == null) + { + setC_Country_ID (0); + setC_Region_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_C_Region (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_C_Region extends PO implements I_C_Region, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -180,10 +204,10 @@ public class X_C_Region extends PO implements I_C_Region, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -208,7 +232,7 @@ public class X_C_Region extends PO implements I_C_Region, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Remuneration.java b/org.adempiere.base/src/org/compiere/model/X_C_Remuneration.java index f4c6512d10..7e13c5e203 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Remuneration.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Remuneration.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_Remuneration - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Remuneration") -public class X_C_Remuneration extends PO implements I_C_Remuneration, I_Persistent +public class X_C_Remuneration extends PO implements I_C_Remuneration, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Remuneration (Properties ctx, int C_Remuneration_ID, String trxName) @@ -69,6 +69,40 @@ public class X_C_Remuneration extends PO implements I_C_Remuneration, I_Persiste } */ } + /** Standard Constructor */ + public X_C_Remuneration (Properties ctx, String C_Remuneration_UU, String trxName) + { + super (ctx, C_Remuneration_UU, trxName); + /** if (C_Remuneration_UU == null) + { + setC_Remuneration_ID (0); + setGrossRAmt (Env.ZERO); + setGrossRCost (Env.ZERO); + setName (null); + setOvertimeAmt (Env.ZERO); + setOvertimeCost (Env.ZERO); + setRemunerationType (null); + setStandardHours (0); + } */ + } + + /** Standard Constructor */ + public X_C_Remuneration (Properties ctx, String C_Remuneration_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Remuneration_UU, trxName, virtualColumns); + /** if (C_Remuneration_UU == null) + { + setC_Remuneration_ID (0); + setGrossRAmt (Env.ZERO); + setGrossRCost (Env.ZERO); + setName (null); + setOvertimeAmt (Env.ZERO); + setOvertimeCost (Env.ZERO); + setRemunerationType (null); + setStandardHours (0); + } */ + } + /** Load Constructor */ public X_C_Remuneration (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +110,7 @@ public class X_C_Remuneration extends PO implements I_C_Remuneration, I_Persiste } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -223,7 +257,7 @@ public class X_C_Remuneration extends PO implements I_C_Remuneration, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_RevenueRecog_Service.java b/org.adempiere.base/src/org/compiere/model/X_C_RevenueRecog_Service.java index 5fe9c455d5..08acc69bd9 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_RevenueRecog_Service.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_RevenueRecog_Service.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_RevenueRecog_Service - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_RevenueRecog_Service") -public class X_C_RevenueRecog_Service extends PO implements I_C_RevenueRecog_Service, I_Persistent +public class X_C_RevenueRecog_Service extends PO implements I_C_RevenueRecog_Service, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_RevenueRecog_Service (Properties ctx, int C_RevenueRecog_Service_ID, String trxName) @@ -57,6 +57,28 @@ public class X_C_RevenueRecog_Service extends PO implements I_C_RevenueRecog_Ser } */ } + /** Standard Constructor */ + public X_C_RevenueRecog_Service (Properties ctx, String C_RevenueRecog_Service_UU, String trxName) + { + super (ctx, C_RevenueRecog_Service_UU, trxName); + /** if (C_RevenueRecog_Service_UU == null) + { + setC_RevenueRecognition_ID (0); + setC_RevenueRecog_Service_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_RevenueRecog_Service (Properties ctx, String C_RevenueRecog_Service_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_RevenueRecog_Service_UU, trxName, virtualColumns); + /** if (C_RevenueRecog_Service_UU == null) + { + setC_RevenueRecognition_ID (0); + setC_RevenueRecog_Service_ID (0); + } */ + } + /** Load Constructor */ public X_C_RevenueRecog_Service (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +86,7 @@ public class X_C_RevenueRecog_Service extends PO implements I_C_RevenueRecog_Ser } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -116,7 +138,7 @@ public class X_C_RevenueRecog_Service extends PO implements I_C_RevenueRecog_Ser /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_RevenueRecognition_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_RevenueRecognition.java b/org.adempiere.base/src/org/compiere/model/X_C_RevenueRecognition.java index 7c9de76563..b84d81f2b6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_RevenueRecognition.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_RevenueRecognition.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_RevenueRecognition - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_RevenueRecognition") -public class X_C_RevenueRecognition extends PO implements I_C_RevenueRecognition, I_Persistent +public class X_C_RevenueRecognition extends PO implements I_C_RevenueRecognition, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_RevenueRecognition (Properties ctx, int C_RevenueRecognition_ID, String trxName) @@ -59,6 +59,32 @@ public class X_C_RevenueRecognition extends PO implements I_C_RevenueRecognition } */ } + /** Standard Constructor */ + public X_C_RevenueRecognition (Properties ctx, String C_RevenueRecognition_UU, String trxName) + { + super (ctx, C_RevenueRecognition_UU, trxName); + /** if (C_RevenueRecognition_UU == null) + { + setC_RevenueRecognition_ID (0); + setIsTimeBased (false); + setName (null); + setRecognitionFrequency (null); + } */ + } + + /** Standard Constructor */ + public X_C_RevenueRecognition (Properties ctx, String C_RevenueRecognition_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_RevenueRecognition_UU, trxName, virtualColumns); + /** if (C_RevenueRecognition_UU == null) + { + setC_RevenueRecognition_ID (0); + setIsTimeBased (false); + setName (null); + setRecognitionFrequency (null); + } */ + } + /** Load Constructor */ public X_C_RevenueRecognition (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_C_RevenueRecognition extends PO implements I_C_RevenueRecognition } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -173,10 +199,10 @@ public class X_C_RevenueRecognition extends PO implements I_C_RevenueRecognition public boolean isTimeBased() { Object oo = get_Value(COLUMNNAME_IsTimeBased); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -201,7 +227,7 @@ public class X_C_RevenueRecognition extends PO implements I_C_RevenueRecognition /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_RevenueRecognition_Plan.java b/org.adempiere.base/src/org/compiere/model/X_C_RevenueRecognition_Plan.java index ead3145748..a9819caa9f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_RevenueRecognition_Plan.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_RevenueRecognition_Plan.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_RevenueRecognition_Plan - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_RevenueRecognition_Plan") -public class X_C_RevenueRecognition_Plan extends PO implements I_C_RevenueRecognition_Plan, I_Persistent +public class X_C_RevenueRecognition_Plan extends PO implements I_C_RevenueRecognition_Plan, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_RevenueRecognition_Plan (Properties ctx, int C_RevenueRecognition_Plan_ID, String trxName) @@ -71,6 +71,42 @@ public class X_C_RevenueRecognition_Plan extends PO implements I_C_RevenueRecogn } */ } + /** Standard Constructor */ + public X_C_RevenueRecognition_Plan (Properties ctx, String C_RevenueRecognition_Plan_UU, String trxName) + { + super (ctx, C_RevenueRecognition_Plan_UU, trxName); + /** if (C_RevenueRecognition_Plan_UU == null) + { + setC_AcctSchema_ID (0); + setC_Currency_ID (0); + setC_InvoiceLine_ID (0); + setC_RevenueRecognition_ID (0); + setC_RevenueRecognition_Plan_ID (0); + setP_Revenue_Acct (0); + setRecognizedAmt (Env.ZERO); + setTotalAmt (Env.ZERO); + setUnEarnedRevenue_Acct (0); + } */ + } + + /** Standard Constructor */ + public X_C_RevenueRecognition_Plan (Properties ctx, String C_RevenueRecognition_Plan_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_RevenueRecognition_Plan_UU, trxName, virtualColumns); + /** if (C_RevenueRecognition_Plan_UU == null) + { + setC_AcctSchema_ID (0); + setC_Currency_ID (0); + setC_InvoiceLine_ID (0); + setC_RevenueRecognition_ID (0); + setC_RevenueRecognition_Plan_ID (0); + setP_Revenue_Acct (0); + setRecognizedAmt (Env.ZERO); + setTotalAmt (Env.ZERO); + setUnEarnedRevenue_Acct (0); + } */ + } + /** Load Constructor */ public X_C_RevenueRecognition_Plan (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +114,7 @@ public class X_C_RevenueRecognition_Plan extends PO implements I_C_RevenueRecogn } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -214,7 +250,7 @@ public class X_C_RevenueRecognition_Plan extends PO implements I_C_RevenueRecogn /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_RevenueRecognition_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_RevenueRecognition_Run.java b/org.adempiere.base/src/org/compiere/model/X_C_RevenueRecognition_Run.java index dd66a23fbf..e8d0d360fe 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_RevenueRecognition_Run.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_RevenueRecognition_Run.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_RevenueRecognition_Run - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_RevenueRecognition_Run") -public class X_C_RevenueRecognition_Run extends PO implements I_C_RevenueRecognition_Run, I_Persistent +public class X_C_RevenueRecognition_Run extends PO implements I_C_RevenueRecognition_Run, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_RevenueRecognition_Run (Properties ctx, int C_RevenueRecognition_Run_ID, String trxName) @@ -60,6 +60,30 @@ public class X_C_RevenueRecognition_Run extends PO implements I_C_RevenueRecogni } */ } + /** Standard Constructor */ + public X_C_RevenueRecognition_Run (Properties ctx, String C_RevenueRecognition_Run_UU, String trxName) + { + super (ctx, C_RevenueRecognition_Run_UU, trxName); + /** if (C_RevenueRecognition_Run_UU == null) + { + setC_RevenueRecognition_Plan_ID (0); + setC_RevenueRecognition_Run_ID (0); + setRecognizedAmt (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_RevenueRecognition_Run (Properties ctx, String C_RevenueRecognition_Run_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_RevenueRecognition_Run_UU, trxName, virtualColumns); + /** if (C_RevenueRecognition_Run_UU == null) + { + setC_RevenueRecognition_Plan_ID (0); + setC_RevenueRecognition_Run_ID (0); + setRecognizedAmt (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_RevenueRecognition_Run (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +91,7 @@ public class X_C_RevenueRecognition_Run extends PO implements I_C_RevenueRecogni } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -119,7 +143,7 @@ public class X_C_RevenueRecognition_Run extends PO implements I_C_RevenueRecogni /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_RevenueRecognition_Plan_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_RfQ.java b/org.adempiere.base/src/org/compiere/model/X_C_RfQ.java index b9c67ead1b..70d5fb3ffb 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_RfQ.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_RfQ.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQ - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_RfQ") -public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent +public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_RfQ (Properties ctx, int C_RfQ_ID, String trxName) @@ -90,6 +90,60 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent } */ } + /** Standard Constructor */ + public X_C_RfQ (Properties ctx, String C_RfQ_UU, String trxName) + { + super (ctx, C_RfQ_UU, trxName); + /** if (C_RfQ_UU == null) + { + setC_Currency_ID (0); +// @$C_Currency_ID @ + setC_RfQ_ID (0); + setC_RfQ_Topic_ID (0); + setDateResponse (new Timestamp( System.currentTimeMillis() )); + setDocumentNo (null); + setIsInvitedVendorsOnly (false); + setIsQuoteAllQty (false); + setIsQuoteTotalAmt (false); + setIsRfQResponseAccepted (true); +// Y + setIsSelfService (true); +// Y + setName (null); + setProcessed (false); + setQuoteType (null); +// S + setSalesRep_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_RfQ (Properties ctx, String C_RfQ_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_RfQ_UU, trxName, virtualColumns); + /** if (C_RfQ_UU == null) + { + setC_Currency_ID (0); +// @$C_Currency_ID @ + setC_RfQ_ID (0); + setC_RfQ_Topic_ID (0); + setDateResponse (new Timestamp( System.currentTimeMillis() )); + setDocumentNo (null); + setIsInvitedVendorsOnly (false); + setIsQuoteAllQty (false); + setIsQuoteTotalAmt (false); + setIsRfQResponseAccepted (true); +// Y + setIsSelfService (true); +// Y + setName (null); + setProcessed (false); + setQuoteType (null); +// S + setSalesRep_ID (0); + } */ + } + /** Load Constructor */ public X_C_RfQ (Properties ctx, ResultSet rs, String trxName) { @@ -97,7 +151,7 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -471,7 +525,7 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -506,10 +560,10 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent public boolean isInvitedVendorsOnly() { Object oo = get_Value(COLUMNNAME_IsInvitedVendorsOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -529,10 +583,10 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent public boolean isQuoteAllQty() { Object oo = get_Value(COLUMNNAME_IsQuoteAllQty); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -552,10 +606,10 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent public boolean isQuoteTotalAmt() { Object oo = get_Value(COLUMNNAME_IsQuoteTotalAmt); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -575,10 +629,10 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent public boolean isRfQResponseAccepted() { Object oo = get_Value(COLUMNNAME_IsRfQResponseAccepted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -598,10 +652,10 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -656,10 +710,10 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -678,10 +732,10 @@ public class X_C_RfQ extends PO implements I_C_RfQ, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_RfQLine.java b/org.adempiere.base/src/org/compiere/model/X_C_RfQLine.java index 88fbf65ea6..be823177de 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_RfQLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_RfQLine.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_RfQLine") -public class X_C_RfQLine extends PO implements I_C_RfQLine, I_Persistent +public class X_C_RfQLine extends PO implements I_C_RfQLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_RfQLine (Properties ctx, int C_RfQLine_ID, String trxName) @@ -62,6 +62,34 @@ public class X_C_RfQLine extends PO implements I_C_RfQLine, I_Persistent } */ } + /** Standard Constructor */ + public X_C_RfQLine (Properties ctx, String C_RfQLine_UU, String trxName) + { + super (ctx, C_RfQLine_UU, trxName); + /** if (C_RfQLine_UU == null) + { + setC_RfQ_ID (0); + setC_RfQLine_ID (0); + setLine (0); +// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM C_RfQLine WHERE C_RfQ_ID=@C_RfQ_ID@ + setM_AttributeSetInstance_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_RfQLine (Properties ctx, String C_RfQLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_RfQLine_UU, trxName, virtualColumns); + /** if (C_RfQLine_UU == null) + { + setC_RfQ_ID (0); + setC_RfQLine_ID (0); + setLine (0); +// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM C_RfQLine WHERE C_RfQ_ID=@C_RfQ_ID@ + setM_AttributeSetInstance_ID (0); + } */ + } + /** Load Constructor */ public X_C_RfQLine (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +97,7 @@ public class X_C_RfQLine extends PO implements I_C_RfQLine, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -121,7 +149,7 @@ public class X_C_RfQLine extends PO implements I_C_RfQLine, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_RfQ_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_RfQLineQty.java b/org.adempiere.base/src/org/compiere/model/X_C_RfQLineQty.java index f4e58db1a5..a2c106ba2b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_RfQLineQty.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_RfQLineQty.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQLineQty - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_RfQLineQty") -public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent +public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_RfQLineQty (Properties ctx, int C_RfQLineQty_ID, String trxName) @@ -73,6 +73,44 @@ public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent } */ } + /** Standard Constructor */ + public X_C_RfQLineQty (Properties ctx, String C_RfQLineQty_UU, String trxName) + { + super (ctx, C_RfQLineQty_UU, trxName); + /** if (C_RfQLineQty_UU == null) + { + setBenchmarkPrice (Env.ZERO); + setC_RfQLine_ID (0); + setC_RfQLineQty_ID (0); + setC_UOM_ID (0); + setIsOfferQty (false); + setIsPurchaseQty (false); + setIsRfQQty (true); +// Y + setQty (Env.ZERO); +// 1 + } */ + } + + /** Standard Constructor */ + public X_C_RfQLineQty (Properties ctx, String C_RfQLineQty_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_RfQLineQty_UU, trxName, virtualColumns); + /** if (C_RfQLineQty_UU == null) + { + setBenchmarkPrice (Env.ZERO); + setC_RfQLine_ID (0); + setC_RfQLineQty_ID (0); + setC_UOM_ID (0); + setIsOfferQty (false); + setIsPurchaseQty (false); + setIsRfQQty (true); +// Y + setQty (Env.ZERO); +// 1 + } */ + } + /** Load Constructor */ public X_C_RfQLineQty (Properties ctx, ResultSet rs, String trxName) { @@ -80,7 +118,7 @@ public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -235,7 +273,7 @@ public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_UOM_ID())); } @@ -254,10 +292,10 @@ public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent public boolean isOfferQty() { Object oo = get_Value(COLUMNNAME_IsOfferQty); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -277,10 +315,10 @@ public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent public boolean isPurchaseQty() { Object oo = get_Value(COLUMNNAME_IsPurchaseQty); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -300,10 +338,10 @@ public class X_C_RfQLineQty extends PO implements I_C_RfQLineQty, I_Persistent public boolean isRfQQty() { Object oo = get_Value(COLUMNNAME_IsRfQQty); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_RfQResponse.java b/org.adempiere.base/src/org/compiere/model/X_C_RfQResponse.java index 3af86fd3d1..9d17d49670 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_RfQResponse.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_RfQResponse.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQResponse - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_RfQResponse") -public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent +public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_RfQResponse (Properties ctx, int C_RfQResponse_ID, String trxName) @@ -78,6 +78,48 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent } */ } + /** Standard Constructor */ + public X_C_RfQResponse (Properties ctx, String C_RfQResponse_UU, String trxName) + { + super (ctx, C_RfQResponse_UU, trxName); + /** if (C_RfQResponse_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_Currency_ID (0); +// @C_Currency_ID@ + setC_RfQ_ID (0); + setC_RfQResponse_ID (0); + setIsComplete (false); + setIsSelectedWinner (false); + setIsSelfService (false); + setName (null); + setPrice (Env.ZERO); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_C_RfQResponse (Properties ctx, String C_RfQResponse_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_RfQResponse_UU, trxName, virtualColumns); + /** if (C_RfQResponse_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_Currency_ID (0); +// @C_Currency_ID@ + setC_RfQ_ID (0); + setC_RfQResponse_ID (0); + setIsComplete (false); + setIsSelectedWinner (false); + setIsSelfService (false); + setName (null); + setPrice (Env.ZERO); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_C_RfQResponse (Properties ctx, ResultSet rs, String trxName) { @@ -85,7 +127,7 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -455,10 +497,10 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent public boolean isComplete() { Object oo = get_Value(COLUMNNAME_IsComplete); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -478,10 +520,10 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent public boolean isSelectedWinner() { Object oo = get_Value(COLUMNNAME_IsSelectedWinner); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -501,10 +543,10 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -529,7 +571,7 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -567,10 +609,10 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -589,10 +631,10 @@ public class X_C_RfQResponse extends PO implements I_C_RfQResponse, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_RfQResponseLine.java b/org.adempiere.base/src/org/compiere/model/X_C_RfQResponseLine.java index 7b6e37ffc7..f989e651a1 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_RfQResponseLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_RfQResponseLine.java @@ -22,16 +22,16 @@ import java.sql.Timestamp; import java.util.Properties; /** Generated Model for C_RfQResponseLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_RfQResponseLine") -public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Persistent +public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_RfQResponseLine (Properties ctx, int C_RfQResponseLine_ID, String trxName) @@ -61,6 +61,34 @@ public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Pe } */ } + /** Standard Constructor */ + public X_C_RfQResponseLine (Properties ctx, String C_RfQResponseLine_UU, String trxName) + { + super (ctx, C_RfQResponseLine_UU, trxName); + /** if (C_RfQResponseLine_UU == null) + { + setC_RfQLine_ID (0); + setC_RfQResponse_ID (0); + setC_RfQResponseLine_ID (0); + setIsSelectedWinner (false); + setIsSelfService (false); + } */ + } + + /** Standard Constructor */ + public X_C_RfQResponseLine (Properties ctx, String C_RfQResponseLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_RfQResponseLine_UU, trxName, virtualColumns); + /** if (C_RfQResponseLine_UU == null) + { + setC_RfQLine_ID (0); + setC_RfQResponse_ID (0); + setC_RfQResponseLine_ID (0); + setIsSelectedWinner (false); + setIsSelfService (false); + } */ + } + /** Load Constructor */ public X_C_RfQResponseLine (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Pe } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -279,10 +307,10 @@ public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Pe public boolean isSelectedWinner() { Object oo = get_Value(COLUMNNAME_IsSelectedWinner); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -302,10 +330,10 @@ public class X_C_RfQResponseLine extends PO implements I_C_RfQResponseLine, I_Pe public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_RfQResponseLineQty.java b/org.adempiere.base/src/org/compiere/model/X_C_RfQResponseLineQty.java index 6a2b5464bf..825d72018f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_RfQResponseLineQty.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_RfQResponseLineQty.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQResponseLineQty - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_RfQResponseLineQty") -public class X_C_RfQResponseLineQty extends PO implements I_C_RfQResponseLineQty, I_Persistent +public class X_C_RfQResponseLineQty extends PO implements I_C_RfQResponseLineQty, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_RfQResponseLineQty (Properties ctx, int C_RfQResponseLineQty_ID, String trxName) @@ -61,6 +61,32 @@ public class X_C_RfQResponseLineQty extends PO implements I_C_RfQResponseLineQty } */ } + /** Standard Constructor */ + public X_C_RfQResponseLineQty (Properties ctx, String C_RfQResponseLineQty_UU, String trxName) + { + super (ctx, C_RfQResponseLineQty_UU, trxName); + /** if (C_RfQResponseLineQty_UU == null) + { + setC_RfQLineQty_ID (0); + setC_RfQResponseLine_ID (0); + setC_RfQResponseLineQty_ID (0); + setPrice (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_RfQResponseLineQty (Properties ctx, String C_RfQResponseLineQty_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_RfQResponseLineQty_UU, trxName, virtualColumns); + /** if (C_RfQResponseLineQty_UU == null) + { + setC_RfQLineQty_ID (0); + setC_RfQResponseLine_ID (0); + setC_RfQResponseLineQty_ID (0); + setPrice (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_RfQResponseLineQty (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +94,7 @@ public class X_C_RfQResponseLineQty extends PO implements I_C_RfQResponseLineQty } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -148,7 +174,7 @@ public class X_C_RfQResponseLineQty extends PO implements I_C_RfQResponseLineQty /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_RfQResponseLine_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_RfQ_Topic.java b/org.adempiere.base/src/org/compiere/model/X_C_RfQ_Topic.java index c5d72529e0..574c381cce 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_RfQ_Topic.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_RfQ_Topic.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQ_Topic - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_RfQ_Topic") -public class X_C_RfQ_Topic extends PO implements I_C_RfQ_Topic, I_Persistent +public class X_C_RfQ_Topic extends PO implements I_C_RfQ_Topic, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_RfQ_Topic (Properties ctx, int C_RfQ_Topic_ID, String trxName) @@ -57,6 +57,30 @@ public class X_C_RfQ_Topic extends PO implements I_C_RfQ_Topic, I_Persistent } */ } + /** Standard Constructor */ + public X_C_RfQ_Topic (Properties ctx, String C_RfQ_Topic_UU, String trxName) + { + super (ctx, C_RfQ_Topic_UU, trxName); + /** if (C_RfQ_Topic_UU == null) + { + setC_RfQ_Topic_ID (0); + setIsSelfService (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_RfQ_Topic (Properties ctx, String C_RfQ_Topic_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_RfQ_Topic_UU, trxName, virtualColumns); + /** if (C_RfQ_Topic_UU == null) + { + setC_RfQ_Topic_ID (0); + setIsSelfService (false); + setName (null); + } */ + } + /** Load Constructor */ public X_C_RfQ_Topic (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_C_RfQ_Topic extends PO implements I_C_RfQ_Topic, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -180,10 +204,10 @@ public class X_C_RfQ_Topic extends PO implements I_C_RfQ_Topic, I_Persistent public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -208,7 +232,7 @@ public class X_C_RfQ_Topic extends PO implements I_C_RfQ_Topic, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_RfQ_TopicSubscriber.java b/org.adempiere.base/src/org/compiere/model/X_C_RfQ_TopicSubscriber.java index 61758abd0e..88d257d02b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_RfQ_TopicSubscriber.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_RfQ_TopicSubscriber.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQ_TopicSubscriber - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_RfQ_TopicSubscriber") -public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscriber, I_Persistent +public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscriber, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_RfQ_TopicSubscriber (Properties ctx, int C_RfQ_TopicSubscriber_ID, String trxName) @@ -60,6 +60,32 @@ public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscrib } */ } + /** Standard Constructor */ + public X_C_RfQ_TopicSubscriber (Properties ctx, String C_RfQ_TopicSubscriber_UU, String trxName) + { + super (ctx, C_RfQ_TopicSubscriber_UU, trxName); + /** if (C_RfQ_TopicSubscriber_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_RfQ_Topic_ID (0); + setC_RfQ_TopicSubscriber_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_RfQ_TopicSubscriber (Properties ctx, String C_RfQ_TopicSubscriber_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_RfQ_TopicSubscriber_UU, trxName, virtualColumns); + /** if (C_RfQ_TopicSubscriber_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_RfQ_Topic_ID (0); + setC_RfQ_TopicSubscriber_ID (0); + } */ + } + /** Load Constructor */ public X_C_RfQ_TopicSubscriber (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +93,7 @@ public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscrib } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -203,7 +229,7 @@ public class X_C_RfQ_TopicSubscriber extends PO implements I_C_RfQ_TopicSubscrib /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_RfQ_Topic_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_RfQ_TopicSubscriberOnly.java b/org.adempiere.base/src/org/compiere/model/X_C_RfQ_TopicSubscriberOnly.java index 9f63912ccf..6fe8d428e5 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_RfQ_TopicSubscriberOnly.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_RfQ_TopicSubscriberOnly.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_RfQ_TopicSubscriberOnly - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_RfQ_TopicSubscriberOnly") -public class X_C_RfQ_TopicSubscriberOnly extends PO implements I_C_RfQ_TopicSubscriberOnly, I_Persistent +public class X_C_RfQ_TopicSubscriberOnly extends PO implements I_C_RfQ_TopicSubscriberOnly, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_RfQ_TopicSubscriberOnly (Properties ctx, int C_RfQ_TopicSubscriberOnly_ID, String trxName) @@ -55,6 +55,28 @@ public class X_C_RfQ_TopicSubscriberOnly extends PO implements I_C_RfQ_TopicSubs } */ } + /** Standard Constructor */ + public X_C_RfQ_TopicSubscriberOnly (Properties ctx, String C_RfQ_TopicSubscriberOnly_UU, String trxName) + { + super (ctx, C_RfQ_TopicSubscriberOnly_UU, trxName); + /** if (C_RfQ_TopicSubscriberOnly_UU == null) + { + setC_RfQ_TopicSubscriber_ID (0); + setC_RfQ_TopicSubscriberOnly_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_RfQ_TopicSubscriberOnly (Properties ctx, String C_RfQ_TopicSubscriberOnly_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_RfQ_TopicSubscriberOnly_UU, trxName, virtualColumns); + /** if (C_RfQ_TopicSubscriberOnly_UU == null) + { + setC_RfQ_TopicSubscriber_ID (0); + setC_RfQ_TopicSubscriberOnly_ID (0); + } */ + } + /** Load Constructor */ public X_C_RfQ_TopicSubscriberOnly (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_C_RfQ_TopicSubscriberOnly extends PO implements I_C_RfQ_TopicSubs } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -195,7 +217,7 @@ public class X_C_RfQ_TopicSubscriberOnly extends PO implements I_C_RfQ_TopicSubs /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_Product_Category_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_SalesRegion.java b/org.adempiere.base/src/org/compiere/model/X_C_SalesRegion.java index db5c2044d5..5d77ca4742 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_SalesRegion.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_SalesRegion.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_SalesRegion - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_SalesRegion") -public class X_C_SalesRegion extends PO implements I_C_SalesRegion, I_Persistent +public class X_C_SalesRegion extends PO implements I_C_SalesRegion, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_SalesRegion (Properties ctx, int C_SalesRegion_ID, String trxName) @@ -61,6 +61,34 @@ public class X_C_SalesRegion extends PO implements I_C_SalesRegion, I_Persistent } */ } + /** Standard Constructor */ + public X_C_SalesRegion (Properties ctx, String C_SalesRegion_UU, String trxName) + { + super (ctx, C_SalesRegion_UU, trxName); + /** if (C_SalesRegion_UU == null) + { + setC_SalesRegion_ID (0); + setIsDefault (false); + setIsSummary (false); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_SalesRegion (Properties ctx, String C_SalesRegion_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_SalesRegion_UU, trxName, virtualColumns); + /** if (C_SalesRegion_UU == null) + { + setC_SalesRegion_ID (0); + setIsDefault (false); + setIsSummary (false); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_SalesRegion (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_C_SalesRegion extends PO implements I_C_SalesRegion, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -156,10 +184,10 @@ public class X_C_SalesRegion extends PO implements I_C_SalesRegion, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -179,10 +207,10 @@ public class X_C_SalesRegion extends PO implements I_C_SalesRegion, I_Persistent public boolean isSummary() { Object oo = get_Value(COLUMNNAME_IsSummary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -207,7 +235,7 @@ public class X_C_SalesRegion extends PO implements I_C_SalesRegion, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_SalesStage.java b/org.adempiere.base/src/org/compiere/model/X_C_SalesStage.java index 4b84435fec..c940d007c2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_SalesStage.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_SalesStage.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_SalesStage - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_SalesStage") -public class X_C_SalesStage extends PO implements I_C_SalesStage, I_Persistent +public class X_C_SalesStage extends PO implements I_C_SalesStage, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_SalesStage (Properties ctx, int C_SalesStage_ID, String trxName) @@ -65,6 +65,36 @@ public class X_C_SalesStage extends PO implements I_C_SalesStage, I_Persistent } */ } + /** Standard Constructor */ + public X_C_SalesStage (Properties ctx, String C_SalesStage_UU, String trxName) + { + super (ctx, C_SalesStage_UU, trxName); + /** if (C_SalesStage_UU == null) + { + setC_SalesStage_ID (0); + setIsClosed (false); +// N + setName (null); + setProbability (Env.ZERO); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_SalesStage (Properties ctx, String C_SalesStage_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_SalesStage_UU, trxName, virtualColumns); + /** if (C_SalesStage_UU == null) + { + setC_SalesStage_ID (0); + setIsClosed (false); +// N + setName (null); + setProbability (Env.ZERO); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_SalesStage (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +102,7 @@ public class X_C_SalesStage extends PO implements I_C_SalesStage, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -160,10 +190,10 @@ public class X_C_SalesStage extends PO implements I_C_SalesStage, I_Persistent public boolean isClosed() { Object oo = get_Value(COLUMNNAME_IsClosed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -183,10 +213,10 @@ public class X_C_SalesStage extends PO implements I_C_SalesStage, I_Persistent public boolean isWon() { Object oo = get_Value(COLUMNNAME_IsWon); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -211,7 +241,7 @@ public class X_C_SalesStage extends PO implements I_C_SalesStage, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_ServiceLevel.java b/org.adempiere.base/src/org/compiere/model/X_C_ServiceLevel.java index c755e080de..51c24ceca8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_ServiceLevel.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_ServiceLevel.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_ServiceLevel - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_ServiceLevel") -public class X_C_ServiceLevel extends PO implements I_C_ServiceLevel, I_Persistent +public class X_C_ServiceLevel extends PO implements I_C_ServiceLevel, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_ServiceLevel (Properties ctx, int C_ServiceLevel_ID, String trxName) @@ -63,6 +63,34 @@ public class X_C_ServiceLevel extends PO implements I_C_ServiceLevel, I_Persiste } */ } + /** Standard Constructor */ + public X_C_ServiceLevel (Properties ctx, String C_ServiceLevel_UU, String trxName) + { + super (ctx, C_ServiceLevel_UU, trxName); + /** if (C_ServiceLevel_UU == null) + { + setC_RevenueRecognition_Plan_ID (0); + setC_ServiceLevel_ID (0); + setM_Product_ID (0); + setServiceLevelInvoiced (Env.ZERO); + setServiceLevelProvided (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_ServiceLevel (Properties ctx, String C_ServiceLevel_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_ServiceLevel_UU, trxName, virtualColumns); + /** if (C_ServiceLevel_UU == null) + { + setC_RevenueRecognition_Plan_ID (0); + setC_ServiceLevel_ID (0); + setM_Product_ID (0); + setServiceLevelInvoiced (Env.ZERO); + setServiceLevelProvided (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_ServiceLevel (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +98,7 @@ public class X_C_ServiceLevel extends PO implements I_C_ServiceLevel, I_Persiste } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -175,7 +203,7 @@ public class X_C_ServiceLevel extends PO implements I_C_ServiceLevel, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDescription()); } @@ -222,10 +250,10 @@ public class X_C_ServiceLevel extends PO implements I_C_ServiceLevel, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -244,10 +272,10 @@ public class X_C_ServiceLevel extends PO implements I_C_ServiceLevel, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_ServiceLevelLine.java b/org.adempiere.base/src/org/compiere/model/X_C_ServiceLevelLine.java index 522fe9abb4..7040071d5b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_ServiceLevelLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_ServiceLevelLine.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_ServiceLevelLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_ServiceLevelLine") -public class X_C_ServiceLevelLine extends PO implements I_C_ServiceLevelLine, I_Persistent +public class X_C_ServiceLevelLine extends PO implements I_C_ServiceLevelLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_ServiceLevelLine (Properties ctx, int C_ServiceLevelLine_ID, String trxName) @@ -62,6 +62,32 @@ public class X_C_ServiceLevelLine extends PO implements I_C_ServiceLevelLine, I_ } */ } + /** Standard Constructor */ + public X_C_ServiceLevelLine (Properties ctx, String C_ServiceLevelLine_UU, String trxName) + { + super (ctx, C_ServiceLevelLine_UU, trxName); + /** if (C_ServiceLevelLine_UU == null) + { + setC_ServiceLevel_ID (0); + setC_ServiceLevelLine_ID (0); + setServiceDate (new Timestamp( System.currentTimeMillis() )); + setServiceLevelProvided (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_ServiceLevelLine (Properties ctx, String C_ServiceLevelLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_ServiceLevelLine_UU, trxName, virtualColumns); + /** if (C_ServiceLevelLine_UU == null) + { + setC_ServiceLevel_ID (0); + setC_ServiceLevelLine_ID (0); + setServiceDate (new Timestamp( System.currentTimeMillis() )); + setServiceLevelProvided (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_ServiceLevelLine (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +95,7 @@ public class X_C_ServiceLevelLine extends PO implements I_C_ServiceLevelLine, I_ } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -185,10 +211,10 @@ public class X_C_ServiceLevelLine extends PO implements I_C_ServiceLevelLine, I_ public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -213,7 +239,7 @@ public class X_C_ServiceLevelLine extends PO implements I_C_ServiceLevelLine, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getServiceDate())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_SubAcct.java b/org.adempiere.base/src/org/compiere/model/X_C_SubAcct.java index e8a0a5b3b0..384451cbdb 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_SubAcct.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_SubAcct.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_SubAcct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_SubAcct") -public class X_C_SubAcct extends PO implements I_C_SubAcct, I_Persistent +public class X_C_SubAcct extends PO implements I_C_SubAcct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_SubAcct (Properties ctx, int C_SubAcct_ID, String trxName) @@ -59,6 +59,32 @@ public class X_C_SubAcct extends PO implements I_C_SubAcct, I_Persistent } */ } + /** Standard Constructor */ + public X_C_SubAcct (Properties ctx, String C_SubAcct_UU, String trxName) + { + super (ctx, C_SubAcct_UU, trxName); + /** if (C_SubAcct_UU == null) + { + setC_ElementValue_ID (0); + setC_SubAcct_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_SubAcct (Properties ctx, String C_SubAcct_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_SubAcct_UU, trxName, virtualColumns); + /** if (C_SubAcct_UU == null) + { + setC_ElementValue_ID (0); + setC_SubAcct_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_SubAcct (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_C_SubAcct extends PO implements I_C_SubAcct, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -219,7 +245,7 @@ public class X_C_SubAcct extends PO implements I_C_SubAcct, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getValue()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Subscription.java b/org.adempiere.base/src/org/compiere/model/X_C_Subscription.java index f6897454d3..175396bcc2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Subscription.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Subscription.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Subscription - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Subscription") -public class X_C_Subscription extends PO implements I_C_Subscription, I_Persistent +public class X_C_Subscription extends PO implements I_C_Subscription, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Subscription (Properties ctx, int C_Subscription_ID, String trxName) @@ -70,6 +70,42 @@ public class X_C_Subscription extends PO implements I_C_Subscription, I_Persiste } */ } + /** Standard Constructor */ + public X_C_Subscription (Properties ctx, String C_Subscription_UU, String trxName) + { + super (ctx, C_Subscription_UU, trxName); + /** if (C_Subscription_UU == null) + { + setC_BPartner_ID (0); + setC_Subscription_ID (0); + setC_SubscriptionType_ID (0); + setIsDue (false); + setM_Product_ID (0); + setName (null); + setPaidUntilDate (new Timestamp( System.currentTimeMillis() )); + setRenewalDate (new Timestamp( System.currentTimeMillis() )); + setStartDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_C_Subscription (Properties ctx, String C_Subscription_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Subscription_UU, trxName, virtualColumns); + /** if (C_Subscription_UU == null) + { + setC_BPartner_ID (0); + setC_Subscription_ID (0); + setC_SubscriptionType_ID (0); + setIsDue (false); + setM_Product_ID (0); + setName (null); + setPaidUntilDate (new Timestamp( System.currentTimeMillis() )); + setRenewalDate (new Timestamp( System.currentTimeMillis() )); + setStartDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_C_Subscription (Properties ctx, ResultSet rs, String trxName) { @@ -77,7 +113,7 @@ public class X_C_Subscription extends PO implements I_C_Subscription, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -205,10 +241,10 @@ public class X_C_Subscription extends PO implements I_C_Subscription, I_Persiste public boolean isDue() { Object oo = get_Value(COLUMNNAME_IsDue); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -261,7 +297,7 @@ public class X_C_Subscription extends PO implements I_C_Subscription, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_SubscriptionType.java b/org.adempiere.base/src/org/compiere/model/X_C_SubscriptionType.java index e63d7a2358..4a6394b8ff 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_SubscriptionType.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_SubscriptionType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_SubscriptionType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_SubscriptionType") -public class X_C_SubscriptionType extends PO implements I_C_SubscriptionType, I_Persistent +public class X_C_SubscriptionType extends PO implements I_C_SubscriptionType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_SubscriptionType (Properties ctx, int C_SubscriptionType_ID, String trxName) @@ -59,6 +59,32 @@ public class X_C_SubscriptionType extends PO implements I_C_SubscriptionType, I_ } */ } + /** Standard Constructor */ + public X_C_SubscriptionType (Properties ctx, String C_SubscriptionType_UU, String trxName) + { + super (ctx, C_SubscriptionType_UU, trxName); + /** if (C_SubscriptionType_UU == null) + { + setC_SubscriptionType_ID (0); + setFrequency (0); + setFrequencyType (null); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_SubscriptionType (Properties ctx, String C_SubscriptionType_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_SubscriptionType_UU, trxName, virtualColumns); + /** if (C_SubscriptionType_UU == null) + { + setC_SubscriptionType_ID (0); + setFrequency (0); + setFrequencyType (null); + setName (null); + } */ + } + /** Load Constructor */ public X_C_SubscriptionType (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_C_SubscriptionType extends PO implements I_C_SubscriptionType, I_ } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -203,7 +229,7 @@ public class X_C_SubscriptionType extends PO implements I_C_SubscriptionType, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Subscription_Delivery.java b/org.adempiere.base/src/org/compiere/model/X_C_Subscription_Delivery.java index 1bc073f2af..4c1f9e4886 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Subscription_Delivery.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Subscription_Delivery.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Subscription_Delivery - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Subscription_Delivery") -public class X_C_Subscription_Delivery extends PO implements I_C_Subscription_Delivery, I_Persistent +public class X_C_Subscription_Delivery extends PO implements I_C_Subscription_Delivery, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Subscription_Delivery (Properties ctx, int C_Subscription_Delivery_ID, String trxName) @@ -55,6 +55,28 @@ public class X_C_Subscription_Delivery extends PO implements I_C_Subscription_De } */ } + /** Standard Constructor */ + public X_C_Subscription_Delivery (Properties ctx, String C_Subscription_Delivery_UU, String trxName) + { + super (ctx, C_Subscription_Delivery_UU, trxName); + /** if (C_Subscription_Delivery_UU == null) + { + setC_Subscription_Delivery_ID (0); + setC_Subscription_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_Subscription_Delivery (Properties ctx, String C_Subscription_Delivery_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Subscription_Delivery_UU, trxName, virtualColumns); + /** if (C_Subscription_Delivery_UU == null) + { + setC_Subscription_Delivery_ID (0); + setC_Subscription_ID (0); + } */ + } + /** Load Constructor */ public X_C_Subscription_Delivery (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_C_Subscription_Delivery extends PO implements I_C_Subscription_De } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -108,7 +130,7 @@ public class X_C_Subscription_Delivery extends PO implements I_C_Subscription_De /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_Subscription_Delivery_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Task.java b/org.adempiere.base/src/org/compiere/model/X_C_Task.java index bdf0d31bf4..2c9ebe6600 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Task.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Task.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_Task - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Task") -public class X_C_Task extends PO implements I_C_Task, I_Persistent +public class X_C_Task extends PO implements I_C_Task, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Task (Properties ctx, int C_Task_ID, String trxName) @@ -67,6 +67,38 @@ public class X_C_Task extends PO implements I_C_Task, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Task (Properties ctx, String C_Task_UU, String trxName) + { + super (ctx, C_Task_UU, trxName); + /** if (C_Task_UU == null) + { + setC_Phase_ID (0); + setC_Task_ID (0); + setName (null); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM C_Task WHERE C_Phase_ID=@C_Phase_ID@ + setStandardQty (Env.ZERO); +// 1 + } */ + } + + /** Standard Constructor */ + public X_C_Task (Properties ctx, String C_Task_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Task_UU, trxName, virtualColumns); + /** if (C_Task_UU == null) + { + setC_Phase_ID (0); + setC_Task_ID (0); + setName (null); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM C_Task WHERE C_Phase_ID=@C_Phase_ID@ + setStandardQty (Env.ZERO); +// 1 + } */ + } + /** Load Constructor */ public X_C_Task (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +106,7 @@ public class X_C_Task extends PO implements I_C_Task, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -239,7 +271,7 @@ public class X_C_Task extends PO implements I_C_Task, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Tax.java b/org.adempiere.base/src/org/compiere/model/X_C_Tax.java index 0c20b2c670..cb58daff99 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Tax.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Tax.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_Tax - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Tax") -public class X_C_Tax extends PO implements I_C_Tax, I_Persistent +public class X_C_Tax extends PO implements I_C_Tax, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Tax (Properties ctx, int C_Tax_ID, String trxName) @@ -82,6 +82,52 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Tax (Properties ctx, String C_Tax_UU, String trxName) + { + super (ctx, C_Tax_UU, trxName); + /** if (C_Tax_UU == null) + { + setC_TaxCategory_ID (0); + setC_Tax_ID (0); + setIsDefault (false); + setIsDocumentLevel (false); + setIsSalesTax (false); +// N + setIsSummary (false); + setIsTaxExempt (false); + setName (null); + setRate (Env.ZERO); + setRequiresTaxCertificate (false); + setSOPOType (null); +// B + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_C_Tax (Properties ctx, String C_Tax_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Tax_UU, trxName, virtualColumns); + /** if (C_Tax_UU == null) + { + setC_TaxCategory_ID (0); + setC_Tax_ID (0); + setIsDefault (false); + setIsDocumentLevel (false); + setIsSalesTax (false); +// N + setIsSummary (false); + setIsTaxExempt (false); + setName (null); + setRate (Env.ZERO); + setRequiresTaxCertificate (false); + setSOPOType (null); +// B + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_C_Tax (Properties ctx, ResultSet rs, String trxName) { @@ -89,7 +135,7 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -363,10 +409,10 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -386,10 +432,10 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent public boolean isDocumentLevel() { Object oo = get_Value(COLUMNNAME_IsDocumentLevel); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -409,10 +455,10 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent public boolean isSalesTax() { Object oo = get_Value(COLUMNNAME_IsSalesTax); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -432,10 +478,10 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent public boolean isSummary() { Object oo = get_Value(COLUMNNAME_IsSummary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -455,10 +501,10 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent public boolean isTaxExempt() { Object oo = get_Value(COLUMNNAME_IsTaxExempt); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -483,7 +529,7 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -549,10 +595,10 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent public boolean isRequiresTaxCertificate() { Object oo = get_Value(COLUMNNAME_RequiresTaxCertificate); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_TaxCategory.java b/org.adempiere.base/src/org/compiere/model/X_C_TaxCategory.java index c7142fa22f..171d26d912 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_TaxCategory.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_TaxCategory.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_TaxCategory - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_TaxCategory") -public class X_C_TaxCategory extends PO implements I_C_TaxCategory, I_Persistent +public class X_C_TaxCategory extends PO implements I_C_TaxCategory, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_TaxCategory (Properties ctx, int C_TaxCategory_ID, String trxName) @@ -57,6 +57,30 @@ public class X_C_TaxCategory extends PO implements I_C_TaxCategory, I_Persistent } */ } + /** Standard Constructor */ + public X_C_TaxCategory (Properties ctx, String C_TaxCategory_UU, String trxName) + { + super (ctx, C_TaxCategory_UU, trxName); + /** if (C_TaxCategory_UU == null) + { + setC_TaxCategory_ID (0); + setIsDefault (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_TaxCategory (Properties ctx, String C_TaxCategory_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_TaxCategory_UU, trxName, virtualColumns); + /** if (C_TaxCategory_UU == null) + { + setC_TaxCategory_ID (0); + setIsDefault (false); + setName (null); + } */ + } + /** Load Constructor */ public X_C_TaxCategory (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_C_TaxCategory extends PO implements I_C_TaxCategory, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -168,10 +192,10 @@ public class X_C_TaxCategory extends PO implements I_C_TaxCategory, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -196,7 +220,7 @@ public class X_C_TaxCategory extends PO implements I_C_TaxCategory, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_TaxDeclaration.java b/org.adempiere.base/src/org/compiere/model/X_C_TaxDeclaration.java index 8604454097..19887d2e51 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_TaxDeclaration.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_TaxDeclaration.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_TaxDeclaration - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_TaxDeclaration") -public class X_C_TaxDeclaration extends PO implements I_C_TaxDeclaration, I_Persistent +public class X_C_TaxDeclaration extends PO implements I_C_TaxDeclaration, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_TaxDeclaration (Properties ctx, int C_TaxDeclaration_ID, String trxName) @@ -64,6 +64,36 @@ public class X_C_TaxDeclaration extends PO implements I_C_TaxDeclaration, I_Pers } */ } + /** Standard Constructor */ + public X_C_TaxDeclaration (Properties ctx, String C_TaxDeclaration_UU, String trxName) + { + super (ctx, C_TaxDeclaration_UU, trxName); + /** if (C_TaxDeclaration_UU == null) + { + setC_TaxDeclaration_ID (0); + setDateFrom (new Timestamp( System.currentTimeMillis() )); + setDateTo (new Timestamp( System.currentTimeMillis() )); + setDateTrx (new Timestamp( System.currentTimeMillis() )); + setName (null); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_C_TaxDeclaration (Properties ctx, String C_TaxDeclaration_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_TaxDeclaration_UU, trxName, virtualColumns); + /** if (C_TaxDeclaration_UU == null) + { + setC_TaxDeclaration_ID (0); + setDateFrom (new Timestamp( System.currentTimeMillis() )); + setDateTo (new Timestamp( System.currentTimeMillis() )); + setDateTrx (new Timestamp( System.currentTimeMillis() )); + setName (null); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_C_TaxDeclaration (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +101,7 @@ public class X_C_TaxDeclaration extends PO implements I_C_TaxDeclaration, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -212,7 +242,7 @@ public class X_C_TaxDeclaration extends PO implements I_C_TaxDeclaration, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -231,10 +261,10 @@ public class X_C_TaxDeclaration extends PO implements I_C_TaxDeclaration, I_Pers public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -253,10 +283,10 @@ public class X_C_TaxDeclaration extends PO implements I_C_TaxDeclaration, I_Pers public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_TaxDeclarationAcct.java b/org.adempiere.base/src/org/compiere/model/X_C_TaxDeclarationAcct.java index 90df7e8e79..a39c3d7f5e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_TaxDeclarationAcct.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_TaxDeclarationAcct.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for C_TaxDeclarationAcct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_TaxDeclarationAcct") -public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct, I_Persistent +public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_TaxDeclarationAcct (Properties ctx, int C_TaxDeclarationAcct_ID, String trxName) @@ -61,6 +61,32 @@ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct } */ } + /** Standard Constructor */ + public X_C_TaxDeclarationAcct (Properties ctx, String C_TaxDeclarationAcct_UU, String trxName) + { + super (ctx, C_TaxDeclarationAcct_UU, trxName); + /** if (C_TaxDeclarationAcct_UU == null) + { + setC_AcctSchema_ID (0); + setC_TaxDeclarationAcct_ID (0); + setC_TaxDeclaration_ID (0); + setFact_Acct_ID (0); + } */ + } + + /** Standard Constructor */ + public X_C_TaxDeclarationAcct (Properties ctx, String C_TaxDeclarationAcct_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_TaxDeclarationAcct_UU, trxName, virtualColumns); + /** if (C_TaxDeclarationAcct_UU == null) + { + setC_AcctSchema_ID (0); + setC_TaxDeclarationAcct_ID (0); + setC_TaxDeclaration_ID (0); + setFact_Acct_ID (0); + } */ + } + /** Load Constructor */ public X_C_TaxDeclarationAcct (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +94,7 @@ public class X_C_TaxDeclarationAcct extends PO implements I_C_TaxDeclarationAcct } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_C_TaxDeclarationLine.java b/org.adempiere.base/src/org/compiere/model/X_C_TaxDeclarationLine.java index 3781b9968f..57e267bd4b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_TaxDeclarationLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_TaxDeclarationLine.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for C_TaxDeclarationLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_TaxDeclarationLine") -public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine, I_Persistent +public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_TaxDeclarationLine (Properties ctx, int C_TaxDeclarationLine_ID, String trxName) @@ -75,6 +75,46 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine } */ } + /** Standard Constructor */ + public X_C_TaxDeclarationLine (Properties ctx, String C_TaxDeclarationLine_UU, String trxName) + { + super (ctx, C_TaxDeclarationLine_UU, trxName); + /** if (C_TaxDeclarationLine_UU == null) + { + setC_BPartner_ID (0); + setC_Currency_ID (0); + setC_TaxDeclaration_ID (0); + setC_TaxDeclarationLine_ID (0); + setC_Tax_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setIsManual (true); +// Y + setLine (0); + setTaxAmt (Env.ZERO); + setTaxBaseAmt (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_TaxDeclarationLine (Properties ctx, String C_TaxDeclarationLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_TaxDeclarationLine_UU, trxName, virtualColumns); + /** if (C_TaxDeclarationLine_UU == null) + { + setC_BPartner_ID (0); + setC_Currency_ID (0); + setC_TaxDeclaration_ID (0); + setC_TaxDeclarationLine_ID (0); + setC_Tax_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setIsManual (true); +// Y + setLine (0); + setTaxAmt (Env.ZERO); + setTaxBaseAmt (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_TaxDeclarationLine (Properties ctx, ResultSet rs, String trxName) { @@ -82,7 +122,7 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -382,10 +422,10 @@ public class X_C_TaxDeclarationLine extends PO implements I_C_TaxDeclarationLine public boolean isManual() { Object oo = get_Value(COLUMNNAME_IsManual); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_TaxPostal.java b/org.adempiere.base/src/org/compiere/model/X_C_TaxPostal.java index d37c26acdd..49c1d54066 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_TaxPostal.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_TaxPostal.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_TaxPostal - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_TaxPostal") -public class X_C_TaxPostal extends PO implements I_C_TaxPostal, I_Persistent +public class X_C_TaxPostal extends PO implements I_C_TaxPostal, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_TaxPostal (Properties ctx, int C_TaxPostal_ID, String trxName) @@ -57,6 +57,30 @@ public class X_C_TaxPostal extends PO implements I_C_TaxPostal, I_Persistent } */ } + /** Standard Constructor */ + public X_C_TaxPostal (Properties ctx, String C_TaxPostal_UU, String trxName) + { + super (ctx, C_TaxPostal_UU, trxName); + /** if (C_TaxPostal_UU == null) + { + setC_Tax_ID (0); + setC_TaxPostal_ID (0); + setPostal (null); + } */ + } + + /** Standard Constructor */ + public X_C_TaxPostal (Properties ctx, String C_TaxPostal_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_TaxPostal_UU, trxName, virtualColumns); + /** if (C_TaxPostal_UU == null) + { + setC_Tax_ID (0); + setC_TaxPostal_ID (0); + setPostal (null); + } */ + } + /** Load Constructor */ public X_C_TaxPostal (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_C_TaxPostal extends PO implements I_C_TaxPostal, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -169,7 +193,7 @@ public class X_C_TaxPostal extends PO implements I_C_TaxPostal, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getPostal()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_TaxProvider.java b/org.adempiere.base/src/org/compiere/model/X_C_TaxProvider.java index 45e92c73bc..9f1d71978f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_TaxProvider.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_TaxProvider.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_TaxProvider - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_TaxProvider") -public class X_C_TaxProvider extends PO implements I_C_TaxProvider, I_Persistent +public class X_C_TaxProvider extends PO implements I_C_TaxProvider, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_TaxProvider (Properties ctx, int C_TaxProvider_ID, String trxName) @@ -60,6 +60,34 @@ public class X_C_TaxProvider extends PO implements I_C_TaxProvider, I_Persistent } */ } + /** Standard Constructor */ + public X_C_TaxProvider (Properties ctx, String C_TaxProvider_UU, String trxName) + { + super (ctx, C_TaxProvider_UU, trxName); + /** if (C_TaxProvider_UU == null) + { + setC_TaxProviderCfg_ID (0); + setC_TaxProvider_ID (0); + setName (null); + setSeqNo (0); +// 0 + } */ + } + + /** Standard Constructor */ + public X_C_TaxProvider (Properties ctx, String C_TaxProvider_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_TaxProvider_UU, trxName, virtualColumns); + /** if (C_TaxProvider_UU == null) + { + setC_TaxProviderCfg_ID (0); + setC_TaxProvider_ID (0); + setName (null); + setSeqNo (0); +// 0 + } */ + } + /** Load Constructor */ public X_C_TaxProvider (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +95,7 @@ public class X_C_TaxProvider extends PO implements I_C_TaxProvider, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_C_TaxProviderCfg.java b/org.adempiere.base/src/org/compiere/model/X_C_TaxProviderCfg.java index e6c53258b5..4ee43f9796 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_TaxProviderCfg.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_TaxProviderCfg.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_TaxProviderCfg - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_TaxProviderCfg") -public class X_C_TaxProviderCfg extends PO implements I_C_TaxProviderCfg, I_Persistent +public class X_C_TaxProviderCfg extends PO implements I_C_TaxProviderCfg, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_TaxProviderCfg (Properties ctx, int C_TaxProviderCfg_ID, String trxName) @@ -54,6 +54,28 @@ public class X_C_TaxProviderCfg extends PO implements I_C_TaxProviderCfg, I_Pers } */ } + /** Standard Constructor */ + public X_C_TaxProviderCfg (Properties ctx, String C_TaxProviderCfg_UU, String trxName) + { + super (ctx, C_TaxProviderCfg_UU, trxName); + /** if (C_TaxProviderCfg_UU == null) + { + setC_TaxProviderCfg_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_TaxProviderCfg (Properties ctx, String C_TaxProviderCfg_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_TaxProviderCfg_UU, trxName, virtualColumns); + /** if (C_TaxProviderCfg_UU == null) + { + setC_TaxProviderCfg_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_C_TaxProviderCfg (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_C_TaxProviderCfg extends PO implements I_C_TaxProviderCfg, I_Pers } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Tax_Acct.java b/org.adempiere.base/src/org/compiere/model/X_C_Tax_Acct.java index a222221510..506745ee53 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Tax_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Tax_Acct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_Tax_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Tax_Acct") -public class X_C_Tax_Acct extends PO implements I_C_Tax_Acct, I_Persistent +public class X_C_Tax_Acct extends PO implements I_C_Tax_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Tax_Acct (Properties ctx, int C_Tax_Acct_ID, String trxName) @@ -60,6 +60,34 @@ public class X_C_Tax_Acct extends PO implements I_C_Tax_Acct, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Tax_Acct (Properties ctx, String C_Tax_Acct_UU, String trxName) + { + super (ctx, C_Tax_Acct_UU, trxName); + /** if (C_Tax_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_Tax_ID (0); + setT_Credit_Acct (0); + setT_Due_Acct (0); + setT_Expense_Acct (0); + } */ + } + + /** Standard Constructor */ + public X_C_Tax_Acct (Properties ctx, String C_Tax_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Tax_Acct_UU, trxName, virtualColumns); + /** if (C_Tax_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_Tax_ID (0); + setT_Credit_Acct (0); + setT_Due_Acct (0); + setT_Expense_Acct (0); + } */ + } + /** Load Constructor */ public X_C_Tax_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +95,7 @@ public class X_C_Tax_Acct extends PO implements I_C_Tax_Acct, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -84,7 +112,7 @@ public class X_C_Tax_Acct extends PO implements I_C_Tax_Acct, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_C_Tax_Acct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_UOM.java b/org.adempiere.base/src/org/compiere/model/X_C_UOM.java index 53e43c84b2..d97f653847 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_UOM.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_UOM.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_UOM - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_UOM") -public class X_C_UOM extends PO implements I_C_UOM, I_Persistent +public class X_C_UOM extends PO implements I_C_UOM, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_UOM (Properties ctx, int C_UOM_ID, String trxName) @@ -63,6 +63,36 @@ public class X_C_UOM extends PO implements I_C_UOM, I_Persistent } */ } + /** Standard Constructor */ + public X_C_UOM (Properties ctx, String C_UOM_UU, String trxName) + { + super (ctx, C_UOM_UU, trxName); + /** if (C_UOM_UU == null) + { + setCostingPrecision (0); + setC_UOM_ID (0); + setIsDefault (false); + setName (null); + setStdPrecision (0); + setX12DE355 (null); + } */ + } + + /** Standard Constructor */ + public X_C_UOM (Properties ctx, String C_UOM_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_UOM_UU, trxName, virtualColumns); + /** if (C_UOM_UU == null) + { + setCostingPrecision (0); + setC_UOM_ID (0); + setIsDefault (false); + setName (null); + setStdPrecision (0); + setX12DE355 (null); + } */ + } + /** Load Constructor */ public X_C_UOM (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_C_UOM extends PO implements I_C_UOM, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -177,10 +207,10 @@ public class X_C_UOM extends PO implements I_C_UOM, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -205,7 +235,7 @@ public class X_C_UOM extends PO implements I_C_UOM, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_UOM_Conversion.java b/org.adempiere.base/src/org/compiere/model/X_C_UOM_Conversion.java index 29d7e2ad8c..84a3b16542 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_UOM_Conversion.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_UOM_Conversion.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_UOM_Conversion - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_UOM_Conversion") -public class X_C_UOM_Conversion extends PO implements I_C_UOM_Conversion, I_Persistent +public class X_C_UOM_Conversion extends PO implements I_C_UOM_Conversion, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_UOM_Conversion (Properties ctx, int C_UOM_Conversion_ID, String trxName) @@ -63,6 +63,34 @@ public class X_C_UOM_Conversion extends PO implements I_C_UOM_Conversion, I_Pers } */ } + /** Standard Constructor */ + public X_C_UOM_Conversion (Properties ctx, String C_UOM_Conversion_UU, String trxName) + { + super (ctx, C_UOM_Conversion_UU, trxName); + /** if (C_UOM_Conversion_UU == null) + { + setC_UOM_Conversion_ID (0); + setC_UOM_ID (0); + setC_UOM_To_ID (0); + setDivideRate (Env.ZERO); + setMultiplyRate (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_C_UOM_Conversion (Properties ctx, String C_UOM_Conversion_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_UOM_Conversion_UU, trxName, virtualColumns); + /** if (C_UOM_Conversion_UU == null) + { + setC_UOM_Conversion_ID (0); + setC_UOM_ID (0); + setC_UOM_To_ID (0); + setDivideRate (Env.ZERO); + setMultiplyRate (Env.ZERO); + } */ + } + /** Load Constructor */ public X_C_UOM_Conversion (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +98,7 @@ public class X_C_UOM_Conversion extends PO implements I_C_UOM_Conversion, I_Pers } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -116,7 +144,7 @@ public class X_C_UOM_Conversion extends PO implements I_C_UOM_Conversion, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_UOM_Conversion_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_UserRemuneration.java b/org.adempiere.base/src/org/compiere/model/X_C_UserRemuneration.java index 70069e1b62..1e4bad6749 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_UserRemuneration.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_UserRemuneration.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_UserRemuneration - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_UserRemuneration") -public class X_C_UserRemuneration extends PO implements I_C_UserRemuneration, I_Persistent +public class X_C_UserRemuneration extends PO implements I_C_UserRemuneration, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_UserRemuneration (Properties ctx, int C_UserRemuneration_ID, String trxName) @@ -70,6 +70,40 @@ public class X_C_UserRemuneration extends PO implements I_C_UserRemuneration, I_ } */ } + /** Standard Constructor */ + public X_C_UserRemuneration (Properties ctx, String C_UserRemuneration_UU, String trxName) + { + super (ctx, C_UserRemuneration_UU, trxName); + /** if (C_UserRemuneration_UU == null) + { + setAD_User_ID (0); + setC_Remuneration_ID (0); + setC_UserRemuneration_ID (0); + setGrossRAmt (Env.ZERO); + setGrossRCost (Env.ZERO); + setOvertimeAmt (Env.ZERO); + setOvertimeCost (Env.ZERO); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_C_UserRemuneration (Properties ctx, String C_UserRemuneration_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_UserRemuneration_UU, trxName, virtualColumns); + /** if (C_UserRemuneration_UU == null) + { + setAD_User_ID (0); + setC_Remuneration_ID (0); + setC_UserRemuneration_ID (0); + setGrossRAmt (Env.ZERO); + setGrossRCost (Env.ZERO); + setOvertimeAmt (Env.ZERO); + setOvertimeCost (Env.ZERO); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_C_UserRemuneration (Properties ctx, ResultSet rs, String trxName) { @@ -77,7 +111,7 @@ public class X_C_UserRemuneration extends PO implements I_C_UserRemuneration, I_ } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -129,7 +163,7 @@ public class X_C_UserRemuneration extends PO implements I_C_UserRemuneration, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_User_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_ValidCombination.java b/org.adempiere.base/src/org/compiere/model/X_C_ValidCombination.java index e9e9f1bd37..f0e9ad2f81 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_ValidCombination.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_ValidCombination.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_ValidCombination - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_ValidCombination") -public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_Persistent +public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_ValidCombination (Properties ctx, int C_ValidCombination_ID, String trxName) @@ -59,6 +59,32 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ } */ } + /** Standard Constructor */ + public X_C_ValidCombination (Properties ctx, String C_ValidCombination_UU, String trxName) + { + super (ctx, C_ValidCombination_UU, trxName); + /** if (C_ValidCombination_UU == null) + { + setAccount_ID (0); + setC_AcctSchema_ID (0); + setC_ValidCombination_ID (0); + setIsFullyQualified (false); + } */ + } + + /** Standard Constructor */ + public X_C_ValidCombination (Properties ctx, String C_ValidCombination_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_ValidCombination_UU, trxName, virtualColumns); + /** if (C_ValidCombination_UU == null) + { + setAccount_ID (0); + setC_AcctSchema_ID (0); + setC_ValidCombination_ID (0); + setIsFullyQualified (false); + } */ + } + /** Load Constructor */ public X_C_ValidCombination (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -340,7 +366,7 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getCombination()); } @@ -496,10 +522,10 @@ public class X_C_ValidCombination extends PO implements I_C_ValidCombination, I_ public boolean isFullyQualified() { Object oo = get_Value(COLUMNNAME_IsFullyQualified); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Withholding.java b/org.adempiere.base/src/org/compiere/model/X_C_Withholding.java index ad49de68b2..4e4eaa1285 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Withholding.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Withholding.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for C_Withholding - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Withholding") -public class X_C_Withholding extends PO implements I_C_Withholding, I_Persistent +public class X_C_Withholding extends PO implements I_C_Withholding, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Withholding (Properties ctx, int C_Withholding_ID, String trxName) @@ -69,6 +69,40 @@ public class X_C_Withholding extends PO implements I_C_Withholding, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Withholding (Properties ctx, String C_Withholding_UU, String trxName) + { + super (ctx, C_Withholding_UU, trxName); + /** if (C_Withholding_UU == null) + { + setBeneficiary (0); + setC_PaymentTerm_ID (0); + setC_Withholding_ID (0); + setIsPaidTo3Party (false); + setIsPercentWithholding (false); + setIsTaxProrated (false); + setIsTaxWithholding (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_C_Withholding (Properties ctx, String C_Withholding_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Withholding_UU, trxName, virtualColumns); + /** if (C_Withholding_UU == null) + { + setBeneficiary (0); + setC_PaymentTerm_ID (0); + setC_Withholding_ID (0); + setIsPaidTo3Party (false); + setIsPercentWithholding (false); + setIsTaxProrated (false); + setIsTaxWithholding (false); + setName (null); + } */ + } + /** Load Constructor */ public X_C_Withholding (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +110,7 @@ public class X_C_Withholding extends PO implements I_C_Withholding, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -236,10 +270,10 @@ public class X_C_Withholding extends PO implements I_C_Withholding, I_Persistent public boolean isPaidTo3Party() { Object oo = get_Value(COLUMNNAME_IsPaidTo3Party); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -259,10 +293,10 @@ public class X_C_Withholding extends PO implements I_C_Withholding, I_Persistent public boolean isPercentWithholding() { Object oo = get_Value(COLUMNNAME_IsPercentWithholding); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -282,10 +316,10 @@ public class X_C_Withholding extends PO implements I_C_Withholding, I_Persistent public boolean isTaxProrated() { Object oo = get_Value(COLUMNNAME_IsTaxProrated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -305,10 +339,10 @@ public class X_C_Withholding extends PO implements I_C_Withholding, I_Persistent public boolean isTaxWithholding() { Object oo = get_Value(COLUMNNAME_IsTaxWithholding); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -371,7 +405,7 @@ public class X_C_Withholding extends PO implements I_C_Withholding, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Withholding_Acct.java b/org.adempiere.base/src/org/compiere/model/X_C_Withholding_Acct.java index 1ab8882e4d..ee680c6dd5 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Withholding_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Withholding_Acct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for C_Withholding_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Withholding_Acct") -public class X_C_Withholding_Acct extends PO implements I_C_Withholding_Acct, I_Persistent +public class X_C_Withholding_Acct extends PO implements I_C_Withholding_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Withholding_Acct (Properties ctx, int C_Withholding_Acct_ID, String trxName) @@ -56,6 +56,30 @@ public class X_C_Withholding_Acct extends PO implements I_C_Withholding_Acct, I_ } */ } + /** Standard Constructor */ + public X_C_Withholding_Acct (Properties ctx, String C_Withholding_Acct_UU, String trxName) + { + super (ctx, C_Withholding_Acct_UU, trxName); + /** if (C_Withholding_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_Withholding_ID (0); + setWithholding_Acct (0); + } */ + } + + /** Standard Constructor */ + public X_C_Withholding_Acct (Properties ctx, String C_Withholding_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Withholding_Acct_UU, trxName, virtualColumns); + /** if (C_Withholding_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setC_Withholding_ID (0); + setWithholding_Acct (0); + } */ + } + /** Load Constructor */ public X_C_Withholding_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_C_Withholding_Acct extends PO implements I_C_Withholding_Acct, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_C_Withholding_Acct extends PO implements I_C_Withholding_Acct, I_ public String toString() { StringBuilder sb = new StringBuilder ("X_C_Withholding_Acct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_C_Year.java b/org.adempiere.base/src/org/compiere/model/X_C_Year.java index de8068b9ed..bb52b98a2d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_Year.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_Year.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for C_Year - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_Year") -public class X_C_Year extends PO implements I_C_Year, I_Persistent +public class X_C_Year extends PO implements I_C_Year, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_Year (Properties ctx, int C_Year_ID, String trxName) @@ -57,6 +57,30 @@ public class X_C_Year extends PO implements I_C_Year, I_Persistent } */ } + /** Standard Constructor */ + public X_C_Year (Properties ctx, String C_Year_UU, String trxName) + { + super (ctx, C_Year_UU, trxName); + /** if (C_Year_UU == null) + { + setC_Calendar_ID (0); + setC_Year_ID (0); + setFiscalYear (null); + } */ + } + + /** Standard Constructor */ + public X_C_Year (Properties ctx, String C_Year_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_Year_UU, trxName, virtualColumns); + /** if (C_Year_UU == null) + { + setC_Calendar_ID (0); + setC_Year_ID (0); + setFiscalYear (null); + } */ + } + /** Load Constructor */ public X_C_Year (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_C_Year extends PO implements I_C_Year, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -185,7 +209,7 @@ public class X_C_Year extends PO implements I_C_Year, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getFiscalYear()); } @@ -203,10 +227,10 @@ public class X_C_Year extends PO implements I_C_Year, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_EXP_Format.java b/org.adempiere.base/src/org/compiere/model/X_EXP_Format.java index 60a7e34f3c..ccba4c61b7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_EXP_Format.java +++ b/org.adempiere.base/src/org/compiere/model/X_EXP_Format.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for EXP_Format - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="EXP_Format") -public class X_EXP_Format extends PO implements I_EXP_Format, I_Persistent +public class X_EXP_Format extends PO implements I_EXP_Format, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_EXP_Format (Properties ctx, int EXP_Format_ID, String trxName) @@ -60,6 +60,34 @@ public class X_EXP_Format extends PO implements I_EXP_Format, I_Persistent } */ } + /** Standard Constructor */ + public X_EXP_Format (Properties ctx, String EXP_Format_UU, String trxName) + { + super (ctx, EXP_Format_UU, trxName); + /** if (EXP_Format_UU == null) + { + setAD_Table_ID (0); + setEXP_Format_ID (0); + setName (null); + setValue (null); + setVersion (null); + } */ + } + + /** Standard Constructor */ + public X_EXP_Format (Properties ctx, String EXP_Format_UU, String trxName, String ... virtualColumns) + { + super (ctx, EXP_Format_UU, trxName, virtualColumns); + /** if (EXP_Format_UU == null) + { + setAD_Table_ID (0); + setEXP_Format_ID (0); + setName (null); + setValue (null); + setVersion (null); + } */ + } + /** Load Constructor */ public X_EXP_Format (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +95,7 @@ public class X_EXP_Format extends PO implements I_EXP_Format, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -213,10 +241,10 @@ public class X_EXP_Format extends PO implements I_EXP_Format, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_EXP_FormatLine.java b/org.adempiere.base/src/org/compiere/model/X_EXP_FormatLine.java index f25331ff18..d6eb346512 100644 --- a/org.adempiere.base/src/org/compiere/model/X_EXP_FormatLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_EXP_FormatLine.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for EXP_FormatLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="EXP_FormatLine") -public class X_EXP_FormatLine extends PO implements I_EXP_FormatLine, I_Persistent +public class X_EXP_FormatLine extends PO implements I_EXP_FormatLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_EXP_FormatLine (Properties ctx, int EXP_FormatLine_ID, String trxName) @@ -62,6 +62,36 @@ public class X_EXP_FormatLine extends PO implements I_EXP_FormatLine, I_Persiste } */ } + /** Standard Constructor */ + public X_EXP_FormatLine (Properties ctx, String EXP_FormatLine_UU, String trxName) + { + super (ctx, EXP_FormatLine_UU, trxName); + /** if (EXP_FormatLine_UU == null) + { + setAD_Column_ID (0); + setEXP_FormatLine_ID (0); + setName (null); + setType (null); +// E + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_EXP_FormatLine (Properties ctx, String EXP_FormatLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, EXP_FormatLine_UU, trxName, virtualColumns); + /** if (EXP_FormatLine_UU == null) + { + setAD_Column_ID (0); + setEXP_FormatLine_ID (0); + setName (null); + setType (null); +// E + setValue (null); + } */ + } + /** Load Constructor */ public X_EXP_FormatLine (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +99,7 @@ public class X_EXP_FormatLine extends PO implements I_EXP_FormatLine, I_Persiste } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -294,10 +324,10 @@ public class X_EXP_FormatLine extends PO implements I_EXP_FormatLine, I_Persiste public boolean isMandatory() { Object oo = get_Value(COLUMNNAME_IsMandatory); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -316,10 +346,10 @@ public class X_EXP_FormatLine extends PO implements I_EXP_FormatLine, I_Persiste public boolean isPartUniqueIndex() { Object oo = get_Value(COLUMNNAME_IsPartUniqueIndex); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_EXP_Processor.java b/org.adempiere.base/src/org/compiere/model/X_EXP_Processor.java index 95d369abb8..b64108cb20 100644 --- a/org.adempiere.base/src/org/compiere/model/X_EXP_Processor.java +++ b/org.adempiere.base/src/org/compiere/model/X_EXP_Processor.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for EXP_Processor - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="EXP_Processor") -public class X_EXP_Processor extends PO implements I_EXP_Processor, I_Persistent +public class X_EXP_Processor extends PO implements I_EXP_Processor, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_EXP_Processor (Properties ctx, int EXP_Processor_ID, String trxName) @@ -58,6 +58,32 @@ public class X_EXP_Processor extends PO implements I_EXP_Processor, I_Persistent } */ } + /** Standard Constructor */ + public X_EXP_Processor (Properties ctx, String EXP_Processor_UU, String trxName) + { + super (ctx, EXP_Processor_UU, trxName); + /** if (EXP_Processor_UU == null) + { + setEXP_Processor_ID (0); + setEXP_Processor_Type_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_EXP_Processor (Properties ctx, String EXP_Processor_UU, String trxName, String ... virtualColumns) + { + super (ctx, EXP_Processor_UU, trxName, virtualColumns); + /** if (EXP_Processor_UU == null) + { + setEXP_Processor_ID (0); + setEXP_Processor_Type_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_EXP_Processor (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_EXP_Processor extends PO implements I_EXP_Processor, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_EXP_ProcessorParameter.java b/org.adempiere.base/src/org/compiere/model/X_EXP_ProcessorParameter.java index 30126f9ee7..ed26d7e6e3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_EXP_ProcessorParameter.java +++ b/org.adempiere.base/src/org/compiere/model/X_EXP_ProcessorParameter.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for EXP_ProcessorParameter - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="EXP_ProcessorParameter") -public class X_EXP_ProcessorParameter extends PO implements I_EXP_ProcessorParameter, I_Persistent +public class X_EXP_ProcessorParameter extends PO implements I_EXP_ProcessorParameter, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_EXP_ProcessorParameter (Properties ctx, int EXP_ProcessorParameter_ID, String trxName) @@ -58,6 +58,32 @@ public class X_EXP_ProcessorParameter extends PO implements I_EXP_ProcessorParam } */ } + /** Standard Constructor */ + public X_EXP_ProcessorParameter (Properties ctx, String EXP_ProcessorParameter_UU, String trxName) + { + super (ctx, EXP_ProcessorParameter_UU, trxName); + /** if (EXP_ProcessorParameter_UU == null) + { + setEXP_Processor_ID (0); + setEXP_ProcessorParameter_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_EXP_ProcessorParameter (Properties ctx, String EXP_ProcessorParameter_UU, String trxName, String ... virtualColumns) + { + super (ctx, EXP_ProcessorParameter_UU, trxName, virtualColumns); + /** if (EXP_ProcessorParameter_UU == null) + { + setEXP_Processor_ID (0); + setEXP_ProcessorParameter_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_EXP_ProcessorParameter (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_EXP_ProcessorParameter extends PO implements I_EXP_ProcessorParam } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_EXP_Processor_Type.java b/org.adempiere.base/src/org/compiere/model/X_EXP_Processor_Type.java index 8d57dd4e7e..5df64058e6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_EXP_Processor_Type.java +++ b/org.adempiere.base/src/org/compiere/model/X_EXP_Processor_Type.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for EXP_Processor_Type - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="EXP_Processor_Type") -public class X_EXP_Processor_Type extends PO implements I_EXP_Processor_Type, I_Persistent +public class X_EXP_Processor_Type extends PO implements I_EXP_Processor_Type, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_EXP_Processor_Type (Properties ctx, int EXP_Processor_Type_ID, String trxName) @@ -58,6 +58,32 @@ public class X_EXP_Processor_Type extends PO implements I_EXP_Processor_Type, I_ } */ } + /** Standard Constructor */ + public X_EXP_Processor_Type (Properties ctx, String EXP_Processor_Type_UU, String trxName) + { + super (ctx, EXP_Processor_Type_UU, trxName); + /** if (EXP_Processor_Type_UU == null) + { + setEXP_Processor_Type_ID (0); + setJavaClass (null); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_EXP_Processor_Type (Properties ctx, String EXP_Processor_Type_UU, String trxName, String ... virtualColumns) + { + super (ctx, EXP_Processor_Type_UU, trxName, virtualColumns); + /** if (EXP_Processor_Type_UU == null) + { + setEXP_Processor_Type_ID (0); + setJavaClass (null); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_EXP_Processor_Type (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_EXP_Processor_Type extends PO implements I_EXP_Processor_Type, I_ } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_Fact_Acct.java b/org.adempiere.base/src/org/compiere/model/X_Fact_Acct.java index 6207dba1e5..334856dd7e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_Fact_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_Fact_Acct.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for Fact_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="Fact_Acct") -public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent +public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_Fact_Acct (Properties ctx, int Fact_Acct_ID, String trxName) @@ -84,6 +84,54 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } */ } + /** Standard Constructor */ + public X_Fact_Acct (Properties ctx, String Fact_Acct_UU, String trxName) + { + super (ctx, Fact_Acct_UU, trxName); + /** if (Fact_Acct_UU == null) + { + setAccount_ID (0); + setAD_Table_ID (0); + setAmtAcctCr (Env.ZERO); + setAmtAcctDr (Env.ZERO); + setAmtSourceCr (Env.ZERO); + setAmtSourceDr (Env.ZERO); + setC_AcctSchema_ID (0); + setC_Currency_ID (0); + setC_Period_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setDateTrx (new Timestamp( System.currentTimeMillis() )); + setFact_Acct_ID (0); + setGL_Category_ID (0); + setPostingType (null); + setRecord_ID (0); + } */ + } + + /** Standard Constructor */ + public X_Fact_Acct (Properties ctx, String Fact_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, Fact_Acct_UU, trxName, virtualColumns); + /** if (Fact_Acct_UU == null) + { + setAccount_ID (0); + setAD_Table_ID (0); + setAmtAcctCr (Env.ZERO); + setAmtAcctDr (Env.ZERO); + setAmtSourceCr (Env.ZERO); + setAmtSourceDr (Env.ZERO); + setC_AcctSchema_ID (0); + setC_Currency_ID (0); + setC_Period_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setDateTrx (new Timestamp( System.currentTimeMillis() )); + setFact_Acct_ID (0); + setGL_Category_ID (0); + setPostingType (null); + setRecord_ID (0); + } */ + } + /** Load Constructor */ public X_Fact_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -91,7 +139,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -774,7 +822,7 @@ public class X_Fact_Acct extends PO implements I_Fact_Acct, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getFact_Acct_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_Fact_Acct_Summary.java b/org.adempiere.base/src/org/compiere/model/X_Fact_Acct_Summary.java index e56c9e6181..03ad33236f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_Fact_Acct_Summary.java +++ b/org.adempiere.base/src/org/compiere/model/X_Fact_Acct_Summary.java @@ -24,22 +24,22 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for Fact_Acct_Summary - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="Fact_Acct_Summary") -public class X_Fact_Acct_Summary extends PO implements I_Fact_Acct_Summary, I_Persistent +public class X_Fact_Acct_Summary extends PO implements I_Fact_Acct_Summary, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ - public X_Fact_Acct_Summary (Properties ctx, int Fact_Acct_Summary_ID, String trxName) + public X_Fact_Acct_Summary (Properties ctx, String Fact_Acct_Summary_UU, String trxName) { - super (ctx, Fact_Acct_Summary_ID, trxName); - /** if (Fact_Acct_Summary_ID == 0) + super (ctx, Fact_Acct_Summary_UU, trxName); + /** if (Fact_Acct_Summary_UU == null) { setAccount_ID (0); setAmtAcctCr (Env.ZERO); @@ -53,10 +53,10 @@ public class X_Fact_Acct_Summary extends PO implements I_Fact_Acct_Summary, I_Pe } /** Standard Constructor */ - public X_Fact_Acct_Summary (Properties ctx, int Fact_Acct_Summary_ID, String trxName, String ... virtualColumns) + public X_Fact_Acct_Summary (Properties ctx, String Fact_Acct_Summary_UU, String trxName, String ... virtualColumns) { - super (ctx, Fact_Acct_Summary_ID, trxName, virtualColumns); - /** if (Fact_Acct_Summary_ID == 0) + super (ctx, Fact_Acct_Summary_UU, trxName, virtualColumns); + /** if (Fact_Acct_Summary_UU == null) { setAccount_ID (0); setAmtAcctCr (Env.ZERO); @@ -76,7 +76,7 @@ public class X_Fact_Acct_Summary extends PO implements I_Fact_Acct_Summary, I_Pe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -93,7 +93,7 @@ public class X_Fact_Acct_Summary extends PO implements I_Fact_Acct_Summary, I_Pe public String toString() { StringBuilder sb = new StringBuilder ("X_Fact_Acct_Summary[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -650,10 +650,10 @@ public class X_Fact_Acct_Summary extends PO implements I_Fact_Acct_Summary, I_Pe public boolean isPostingType() { Object oo = get_Value(COLUMNNAME_PostingType); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_Fact_Reconciliation.java b/org.adempiere.base/src/org/compiere/model/X_Fact_Reconciliation.java index 8d1e116610..b006f23881 100644 --- a/org.adempiere.base/src/org/compiere/model/X_Fact_Reconciliation.java +++ b/org.adempiere.base/src/org/compiere/model/X_Fact_Reconciliation.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for Fact_Reconciliation - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="Fact_Reconciliation") -public class X_Fact_Reconciliation extends PO implements I_Fact_Reconciliation, I_Persistent +public class X_Fact_Reconciliation extends PO implements I_Fact_Reconciliation, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_Fact_Reconciliation (Properties ctx, int Fact_Reconciliation_ID, String trxName) @@ -58,6 +58,28 @@ public class X_Fact_Reconciliation extends PO implements I_Fact_Reconciliation, } */ } + /** Standard Constructor */ + public X_Fact_Reconciliation (Properties ctx, String Fact_Reconciliation_UU, String trxName) + { + super (ctx, Fact_Reconciliation_UU, trxName); + /** if (Fact_Reconciliation_UU == null) + { + setFact_Acct_ID (0); + setFact_Reconciliation_ID (0); + } */ + } + + /** Standard Constructor */ + public X_Fact_Reconciliation (Properties ctx, String Fact_Reconciliation_UU, String trxName, String ... virtualColumns) + { + super (ctx, Fact_Reconciliation_UU, trxName, virtualColumns); + /** if (Fact_Reconciliation_UU == null) + { + setFact_Acct_ID (0); + setFact_Reconciliation_ID (0); + } */ + } + /** Load Constructor */ public X_Fact_Reconciliation (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +87,7 @@ public class X_Fact_Reconciliation extends PO implements I_Fact_Reconciliation, } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -197,7 +219,7 @@ public class X_Fact_Reconciliation extends PO implements I_Fact_Reconciliation, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getFact_Acct_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_GL_Budget.java b/org.adempiere.base/src/org/compiere/model/X_GL_Budget.java index b126a442d5..452018d80a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_GL_Budget.java +++ b/org.adempiere.base/src/org/compiere/model/X_GL_Budget.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for GL_Budget - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="GL_Budget") -public class X_GL_Budget extends PO implements I_GL_Budget, I_Persistent +public class X_GL_Budget extends PO implements I_GL_Budget, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_GL_Budget (Properties ctx, int GL_Budget_ID, String trxName) @@ -57,6 +57,30 @@ public class X_GL_Budget extends PO implements I_GL_Budget, I_Persistent } */ } + /** Standard Constructor */ + public X_GL_Budget (Properties ctx, String GL_Budget_UU, String trxName) + { + super (ctx, GL_Budget_UU, trxName); + /** if (GL_Budget_UU == null) + { + setGL_Budget_ID (0); + setIsPrimary (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_GL_Budget (Properties ctx, String GL_Budget_UU, String trxName, String ... virtualColumns) + { + super (ctx, GL_Budget_UU, trxName, virtualColumns); + /** if (GL_Budget_UU == null) + { + setGL_Budget_ID (0); + setIsPrimary (false); + setName (null); + } */ + } + /** Load Constructor */ public X_GL_Budget (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_GL_Budget extends PO implements I_GL_Budget, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -175,10 +199,10 @@ public class X_GL_Budget extends PO implements I_GL_Budget, I_Persistent public boolean isPrimary() { Object oo = get_Value(COLUMNNAME_IsPrimary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -203,7 +227,7 @@ public class X_GL_Budget extends PO implements I_GL_Budget, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_GL_BudgetControl.java b/org.adempiere.base/src/org/compiere/model/X_GL_BudgetControl.java index a840f4a81f..c35fe20830 100644 --- a/org.adempiere.base/src/org/compiere/model/X_GL_BudgetControl.java +++ b/org.adempiere.base/src/org/compiere/model/X_GL_BudgetControl.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for GL_BudgetControl - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="GL_BudgetControl") -public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Persistent +public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_GL_BudgetControl (Properties ctx, int GL_BudgetControl_ID, String trxName) @@ -67,6 +67,40 @@ public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Pers } */ } + /** Standard Constructor */ + public X_GL_BudgetControl (Properties ctx, String GL_BudgetControl_UU, String trxName) + { + super (ctx, GL_BudgetControl_UU, trxName); + /** if (GL_BudgetControl_UU == null) + { + setBudgetControlScope (null); + setC_AcctSchema_ID (0); + setCommitmentType (null); +// C + setGL_BudgetControl_ID (0); + setGL_Budget_ID (0); + setIsBeforeApproval (false); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_GL_BudgetControl (Properties ctx, String GL_BudgetControl_UU, String trxName, String ... virtualColumns) + { + super (ctx, GL_BudgetControl_UU, trxName, virtualColumns); + /** if (GL_BudgetControl_UU == null) + { + setBudgetControlScope (null); + setC_AcctSchema_ID (0); + setCommitmentType (null); +// C + setGL_BudgetControl_ID (0); + setGL_Budget_ID (0); + setIsBeforeApproval (false); + setName (null); + } */ + } + /** Load Constructor */ public X_GL_BudgetControl (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +108,7 @@ public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Pers } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -290,10 +324,10 @@ public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Pers public boolean isBeforeApproval() { Object oo = get_Value(COLUMNNAME_IsBeforeApproval); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -318,7 +352,7 @@ public class X_GL_BudgetControl extends PO implements I_GL_BudgetControl, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_GL_Category.java b/org.adempiere.base/src/org/compiere/model/X_GL_Category.java index 10be89fa44..827d5f0429 100644 --- a/org.adempiere.base/src/org/compiere/model/X_GL_Category.java +++ b/org.adempiere.base/src/org/compiere/model/X_GL_Category.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for GL_Category - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="GL_Category") -public class X_GL_Category extends PO implements I_GL_Category, I_Persistent +public class X_GL_Category extends PO implements I_GL_Category, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_GL_Category (Properties ctx, int GL_Category_ID, String trxName) @@ -63,6 +63,36 @@ public class X_GL_Category extends PO implements I_GL_Category, I_Persistent } */ } + /** Standard Constructor */ + public X_GL_Category (Properties ctx, String GL_Category_UU, String trxName) + { + super (ctx, GL_Category_UU, trxName); + /** if (GL_Category_UU == null) + { + setCategoryType (null); +// M + setGL_Category_ID (0); + setIsDefault (false); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_GL_Category (Properties ctx, String GL_Category_UU, String trxName, String ... virtualColumns) + { + super (ctx, GL_Category_UU, trxName, virtualColumns); + /** if (GL_Category_UU == null) + { + setCategoryType (null); +// M + setGL_Category_ID (0); + setIsDefault (false); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_GL_Category (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_GL_Category extends PO implements I_GL_Category, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -185,10 +215,10 @@ public class X_GL_Category extends PO implements I_GL_Category, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -213,7 +243,7 @@ public class X_GL_Category extends PO implements I_GL_Category, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_GL_Distribution.java b/org.adempiere.base/src/org/compiere/model/X_GL_Distribution.java index 1a701cd507..08ba45264b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_GL_Distribution.java +++ b/org.adempiere.base/src/org/compiere/model/X_GL_Distribution.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for GL_Distribution - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="GL_Distribution") -public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persistent +public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_GL_Distribution (Properties ctx, int GL_Distribution_ID, String trxName) @@ -126,6 +126,96 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis } */ } + /** Standard Constructor */ + public X_GL_Distribution (Properties ctx, String GL_Distribution_UU, String trxName) + { + super (ctx, GL_Distribution_UU, trxName); + /** if (GL_Distribution_UU == null) + { + setAnyAcct (true); +// Y + setAnyActivity (true); +// Y + setAnyBPartner (true); +// Y + setAnyCampaign (true); +// Y + setAnyLocFrom (true); +// Y + setAnyLocTo (true); +// Y + setAnyOrg (true); +// Y + setAnyOrgTrx (true); +// Y + setAnyProduct (true); +// Y + setAnyProject (true); +// Y + setAnySalesRegion (true); +// Y + setAnyUser1 (true); +// Y + setAnyUser2 (true); +// Y + setC_AcctSchema_ID (0); + setGL_Distribution_ID (0); + setIsCreateReversal (true); +// Y + setIsValid (false); +// N + setName (null); + setPercentTotal (Env.ZERO); + setSeqNo (0); +// 0 + } */ + } + + /** Standard Constructor */ + public X_GL_Distribution (Properties ctx, String GL_Distribution_UU, String trxName, String ... virtualColumns) + { + super (ctx, GL_Distribution_UU, trxName, virtualColumns); + /** if (GL_Distribution_UU == null) + { + setAnyAcct (true); +// Y + setAnyActivity (true); +// Y + setAnyBPartner (true); +// Y + setAnyCampaign (true); +// Y + setAnyLocFrom (true); +// Y + setAnyLocTo (true); +// Y + setAnyOrg (true); +// Y + setAnyOrgTrx (true); +// Y + setAnyProduct (true); +// Y + setAnyProject (true); +// Y + setAnySalesRegion (true); +// Y + setAnyUser1 (true); +// Y + setAnyUser2 (true); +// Y + setC_AcctSchema_ID (0); + setGL_Distribution_ID (0); + setIsCreateReversal (true); +// Y + setIsValid (false); +// N + setName (null); + setPercentTotal (Env.ZERO); + setSeqNo (0); +// 0 + } */ + } + /** Load Constructor */ public X_GL_Distribution (Properties ctx, ResultSet rs, String trxName) { @@ -133,7 +223,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -218,10 +308,10 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public boolean isAnyAcct() { Object oo = get_Value(COLUMNNAME_AnyAcct); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -241,10 +331,10 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public boolean isAnyActivity() { Object oo = get_Value(COLUMNNAME_AnyActivity); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -264,10 +354,10 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public boolean isAnyBPartner() { Object oo = get_Value(COLUMNNAME_AnyBPartner); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -287,10 +377,10 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public boolean isAnyCampaign() { Object oo = get_Value(COLUMNNAME_AnyCampaign); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -310,10 +400,10 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public boolean isAnyLocFrom() { Object oo = get_Value(COLUMNNAME_AnyLocFrom); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -333,10 +423,10 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public boolean isAnyLocTo() { Object oo = get_Value(COLUMNNAME_AnyLocTo); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -356,10 +446,10 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public boolean isAnyOrg() { Object oo = get_Value(COLUMNNAME_AnyOrg); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -379,10 +469,10 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public boolean isAnyOrgTrx() { Object oo = get_Value(COLUMNNAME_AnyOrgTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -402,10 +492,10 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public boolean isAnyProduct() { Object oo = get_Value(COLUMNNAME_AnyProduct); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -425,10 +515,10 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public boolean isAnyProject() { Object oo = get_Value(COLUMNNAME_AnyProject); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -448,10 +538,10 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public boolean isAnySalesRegion() { Object oo = get_Value(COLUMNNAME_AnySalesRegion); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -471,10 +561,10 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public boolean isAnyUser1() { Object oo = get_Value(COLUMNNAME_AnyUser1); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -494,10 +584,10 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public boolean isAnyUser2() { Object oo = get_Value(COLUMNNAME_AnyUser2); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -838,10 +928,10 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public boolean isCreateReversal() { Object oo = get_Value(COLUMNNAME_IsCreateReversal); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -861,10 +951,10 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public boolean isValid() { Object oo = get_Value(COLUMNNAME_IsValid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -917,7 +1007,7 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -1005,10 +1095,10 @@ public class X_GL_Distribution extends PO implements I_GL_Distribution, I_Persis public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_GL_DistributionLine.java b/org.adempiere.base/src/org/compiere/model/X_GL_DistributionLine.java index 1f135b46d8..3683ac5191 100644 --- a/org.adempiere.base/src/org/compiere/model/X_GL_DistributionLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_GL_DistributionLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for GL_DistributionLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="GL_DistributionLine") -public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, I_Persistent +public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_GL_DistributionLine (Properties ctx, int GL_DistributionLine_ID, String trxName) @@ -89,6 +89,60 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, } */ } + /** Standard Constructor */ + public X_GL_DistributionLine (Properties ctx, String GL_DistributionLine_UU, String trxName) + { + super (ctx, GL_DistributionLine_UU, trxName); + /** if (GL_DistributionLine_UU == null) + { + setGL_Distribution_ID (0); + setGL_DistributionLine_ID (0); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM GL_DistributionLine WHERE GL_Distribution_ID=@GL_Distribution_ID@ + setOverwriteAcct (false); + setOverwriteActivity (false); + setOverwriteBPartner (false); + setOverwriteCampaign (false); + setOverwriteLocFrom (false); + setOverwriteLocTo (false); + setOverwriteOrg (false); + setOverwriteOrgTrx (false); + setOverwriteProduct (false); + setOverwriteProject (false); + setOverwriteSalesRegion (false); + setOverwriteUser1 (false); + setOverwriteUser2 (false); + setPercent (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_GL_DistributionLine (Properties ctx, String GL_DistributionLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, GL_DistributionLine_UU, trxName, virtualColumns); + /** if (GL_DistributionLine_UU == null) + { + setGL_Distribution_ID (0); + setGL_DistributionLine_ID (0); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM GL_DistributionLine WHERE GL_Distribution_ID=@GL_Distribution_ID@ + setOverwriteAcct (false); + setOverwriteActivity (false); + setOverwriteBPartner (false); + setOverwriteCampaign (false); + setOverwriteLocFrom (false); + setOverwriteLocTo (false); + setOverwriteOrg (false); + setOverwriteOrgTrx (false); + setOverwriteProduct (false); + setOverwriteProject (false); + setOverwriteSalesRegion (false); + setOverwriteUser1 (false); + setOverwriteUser2 (false); + setPercent (Env.ZERO); + } */ + } + /** Load Constructor */ public X_GL_DistributionLine (Properties ctx, ResultSet rs, String trxName) { @@ -96,7 +150,7 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -460,7 +514,7 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getLine())); } @@ -529,10 +583,10 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, public boolean isOverwriteAcct() { Object oo = get_Value(COLUMNNAME_OverwriteAcct); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -552,10 +606,10 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, public boolean isOverwriteActivity() { Object oo = get_Value(COLUMNNAME_OverwriteActivity); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -575,10 +629,10 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, public boolean isOverwriteBPartner() { Object oo = get_Value(COLUMNNAME_OverwriteBPartner); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -598,10 +652,10 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, public boolean isOverwriteCampaign() { Object oo = get_Value(COLUMNNAME_OverwriteCampaign); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -621,10 +675,10 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, public boolean isOverwriteLocFrom() { Object oo = get_Value(COLUMNNAME_OverwriteLocFrom); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -644,10 +698,10 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, public boolean isOverwriteLocTo() { Object oo = get_Value(COLUMNNAME_OverwriteLocTo); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -667,10 +721,10 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, public boolean isOverwriteOrg() { Object oo = get_Value(COLUMNNAME_OverwriteOrg); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -690,10 +744,10 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, public boolean isOverwriteOrgTrx() { Object oo = get_Value(COLUMNNAME_OverwriteOrgTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -713,10 +767,10 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, public boolean isOverwriteProduct() { Object oo = get_Value(COLUMNNAME_OverwriteProduct); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -736,10 +790,10 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, public boolean isOverwriteProject() { Object oo = get_Value(COLUMNNAME_OverwriteProject); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -759,10 +813,10 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, public boolean isOverwriteSalesRegion() { Object oo = get_Value(COLUMNNAME_OverwriteSalesRegion); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -782,10 +836,10 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, public boolean isOverwriteUser1() { Object oo = get_Value(COLUMNNAME_OverwriteUser1); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -805,10 +859,10 @@ public class X_GL_DistributionLine extends PO implements I_GL_DistributionLine, public boolean isOverwriteUser2() { Object oo = get_Value(COLUMNNAME_OverwriteUser2); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_GL_Fund.java b/org.adempiere.base/src/org/compiere/model/X_GL_Fund.java index d65b783572..66c65c20bc 100644 --- a/org.adempiere.base/src/org/compiere/model/X_GL_Fund.java +++ b/org.adempiere.base/src/org/compiere/model/X_GL_Fund.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for GL_Fund - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="GL_Fund") -public class X_GL_Fund extends PO implements I_GL_Fund, I_Persistent +public class X_GL_Fund extends PO implements I_GL_Fund, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_GL_Fund (Properties ctx, int GL_Fund_ID, String trxName) @@ -62,6 +62,32 @@ public class X_GL_Fund extends PO implements I_GL_Fund, I_Persistent } */ } + /** Standard Constructor */ + public X_GL_Fund (Properties ctx, String GL_Fund_UU, String trxName) + { + super (ctx, GL_Fund_UU, trxName); + /** if (GL_Fund_UU == null) + { + setAmt (Env.ZERO); + setC_AcctSchema_ID (0); + setGL_Fund_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_GL_Fund (Properties ctx, String GL_Fund_UU, String trxName, String ... virtualColumns) + { + super (ctx, GL_Fund_UU, trxName, virtualColumns); + /** if (GL_Fund_UU == null) + { + setAmt (Env.ZERO); + setC_AcctSchema_ID (0); + setGL_Fund_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_GL_Fund (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +95,7 @@ public class X_GL_Fund extends PO implements I_GL_Fund, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -257,7 +283,7 @@ public class X_GL_Fund extends PO implements I_GL_Fund, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_GL_FundRestriction.java b/org.adempiere.base/src/org/compiere/model/X_GL_FundRestriction.java index 1372228f89..58a9b52aed 100644 --- a/org.adempiere.base/src/org/compiere/model/X_GL_FundRestriction.java +++ b/org.adempiere.base/src/org/compiere/model/X_GL_FundRestriction.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for GL_FundRestriction - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="GL_FundRestriction") -public class X_GL_FundRestriction extends PO implements I_GL_FundRestriction, I_Persistent +public class X_GL_FundRestriction extends PO implements I_GL_FundRestriction, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_GL_FundRestriction (Properties ctx, int GL_FundRestriction_ID, String trxName) @@ -59,6 +59,32 @@ public class X_GL_FundRestriction extends PO implements I_GL_FundRestriction, I_ } */ } + /** Standard Constructor */ + public X_GL_FundRestriction (Properties ctx, String GL_FundRestriction_UU, String trxName) + { + super (ctx, GL_FundRestriction_UU, trxName); + /** if (GL_FundRestriction_UU == null) + { + setC_ElementValue_ID (0); + setGL_Fund_ID (0); + setGL_FundRestriction_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_GL_FundRestriction (Properties ctx, String GL_FundRestriction_UU, String trxName, String ... virtualColumns) + { + super (ctx, GL_FundRestriction_UU, trxName, virtualColumns); + /** if (GL_FundRestriction_UU == null) + { + setC_ElementValue_ID (0); + setGL_Fund_ID (0); + setGL_FundRestriction_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_GL_FundRestriction (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_GL_FundRestriction extends PO implements I_GL_FundRestriction, I_ } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -215,7 +241,7 @@ public class X_GL_FundRestriction extends PO implements I_GL_FundRestriction, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_GL_Journal.java b/org.adempiere.base/src/org/compiere/model/X_GL_Journal.java index 310fa12e8d..dbe777260a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_GL_Journal.java +++ b/org.adempiere.base/src/org/compiere/model/X_GL_Journal.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for GL_Journal - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="GL_Journal") -public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent +public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_GL_Journal (Properties ctx, int GL_Journal_ID, String trxName) @@ -126,6 +126,96 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent } */ } + /** Standard Constructor */ + public X_GL_Journal (Properties ctx, String GL_Journal_UU, String trxName) + { + super (ctx, GL_Journal_UU, trxName); + /** if (GL_Journal_UU == null) + { + setC_AcctSchema_ID (0); +// @$C_AcctSchema_ID@ + setC_ConversionType_ID (0); + setC_Currency_ID (0); +// @C_Currency_ID@ + setC_DocType_ID (0); +// @C_DocType_ID@ + setC_Period_ID (0); +// @C_Period_ID@ + setCurrencyRate (Env.ZERO); +// 1 + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @DateAcct@ + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @DateDoc@ + setDescription (null); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setGL_Category_ID (0); +// @GL_Category_ID@ + setGL_Journal_ID (0); + setIsApproved (true); +// Y + setIsPrinted (false); +// N + setPosted (false); +// N + setPostingType (null); +// @PostingType@ + setTotalCr (Env.ZERO); +// 0 + setTotalDr (Env.ZERO); +// 0 + } */ + } + + /** Standard Constructor */ + public X_GL_Journal (Properties ctx, String GL_Journal_UU, String trxName, String ... virtualColumns) + { + super (ctx, GL_Journal_UU, trxName, virtualColumns); + /** if (GL_Journal_UU == null) + { + setC_AcctSchema_ID (0); +// @$C_AcctSchema_ID@ + setC_ConversionType_ID (0); + setC_Currency_ID (0); +// @C_Currency_ID@ + setC_DocType_ID (0); +// @C_DocType_ID@ + setC_Period_ID (0); +// @C_Period_ID@ + setCurrencyRate (Env.ZERO); +// 1 + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @DateAcct@ + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @DateDoc@ + setDescription (null); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setGL_Category_ID (0); +// @GL_Category_ID@ + setGL_Journal_ID (0); + setIsApproved (true); +// Y + setIsPrinted (false); +// N + setPosted (false); +// N + setPostingType (null); +// @PostingType@ + setTotalCr (Env.ZERO); +// 0 + setTotalDr (Env.ZERO); +// 0 + } */ + } + /** Load Constructor */ public X_GL_Journal (Properties ctx, ResultSet rs, String trxName) { @@ -133,7 +223,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -505,7 +595,7 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -645,10 +735,10 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -668,10 +758,10 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -691,10 +781,10 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -743,10 +833,10 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -784,10 +874,10 @@ public class X_GL_Journal extends PO implements I_GL_Journal, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_GL_JournalBatch.java b/org.adempiere.base/src/org/compiere/model/X_GL_JournalBatch.java index fc61e37712..0ab4451cb8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_GL_JournalBatch.java +++ b/org.adempiere.base/src/org/compiere/model/X_GL_JournalBatch.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for GL_JournalBatch - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="GL_JournalBatch") -public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persistent +public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_GL_JournalBatch (Properties ctx, int GL_JournalBatch_ID, String trxName) @@ -82,6 +82,52 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis } */ } + /** Standard Constructor */ + public X_GL_JournalBatch (Properties ctx, String GL_JournalBatch_UU, String trxName) + { + super (ctx, GL_JournalBatch_UU, trxName); + /** if (GL_JournalBatch_UU == null) + { + setC_DocType_ID (0); + setDescription (null); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setGL_JournalBatch_ID (0); + setPostingType (null); +// A + setProcessed (false); + setProcessing (false); + setTotalCr (Env.ZERO); + setTotalDr (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_GL_JournalBatch (Properties ctx, String GL_JournalBatch_UU, String trxName, String ... virtualColumns) + { + super (ctx, GL_JournalBatch_UU, trxName, virtualColumns); + /** if (GL_JournalBatch_UU == null) + { + setC_DocType_ID (0); + setDescription (null); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setGL_JournalBatch_ID (0); + setPostingType (null); +// A + setProcessed (false); + setProcessing (false); + setTotalCr (Env.ZERO); + setTotalDr (Env.ZERO); + } */ + } + /** Load Constructor */ public X_GL_JournalBatch (Properties ctx, ResultSet rs, String trxName) { @@ -89,7 +135,7 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -386,7 +432,7 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -470,10 +516,10 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -522,10 +568,10 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -544,10 +590,10 @@ public class X_GL_JournalBatch extends PO implements I_GL_JournalBatch, I_Persis public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_GL_JournalGenerator.java b/org.adempiere.base/src/org/compiere/model/X_GL_JournalGenerator.java index 402f91bfb7..e35e8ff9cc 100644 --- a/org.adempiere.base/src/org/compiere/model/X_GL_JournalGenerator.java +++ b/org.adempiere.base/src/org/compiere/model/X_GL_JournalGenerator.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for GL_JournalGenerator - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="GL_JournalGenerator") -public class X_GL_JournalGenerator extends PO implements I_GL_JournalGenerator, I_Persistent +public class X_GL_JournalGenerator extends PO implements I_GL_JournalGenerator, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_GL_JournalGenerator (Properties ctx, int GL_JournalGenerator_ID, String trxName) @@ -55,6 +55,28 @@ public class X_GL_JournalGenerator extends PO implements I_GL_JournalGenerator, } */ } + /** Standard Constructor */ + public X_GL_JournalGenerator (Properties ctx, String GL_JournalGenerator_UU, String trxName) + { + super (ctx, GL_JournalGenerator_UU, trxName); + /** if (GL_JournalGenerator_UU == null) + { + setGL_JournalGenerator_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_GL_JournalGenerator (Properties ctx, String GL_JournalGenerator_UU, String trxName, String ... virtualColumns) + { + super (ctx, GL_JournalGenerator_UU, trxName, virtualColumns); + /** if (GL_JournalGenerator_UU == null) + { + setGL_JournalGenerator_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_GL_JournalGenerator (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_GL_JournalGenerator extends PO implements I_GL_JournalGenerator, } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -323,7 +345,7 @@ public class X_GL_JournalGenerator extends PO implements I_GL_JournalGenerator, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_GL_JournalGeneratorLine.java b/org.adempiere.base/src/org/compiere/model/X_GL_JournalGeneratorLine.java index 6fe408a2ad..bc31e0f6e9 100644 --- a/org.adempiere.base/src/org/compiere/model/X_GL_JournalGeneratorLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_GL_JournalGeneratorLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for GL_JournalGeneratorLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="GL_JournalGeneratorLine") -public class X_GL_JournalGeneratorLine extends PO implements I_GL_JournalGeneratorLine, I_Persistent +public class X_GL_JournalGeneratorLine extends PO implements I_GL_JournalGeneratorLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_GL_JournalGeneratorLine (Properties ctx, int GL_JournalGeneratorLine_ID, String trxName) @@ -69,6 +69,40 @@ public class X_GL_JournalGeneratorLine extends PO implements I_GL_JournalGenerat } */ } + /** Standard Constructor */ + public X_GL_JournalGeneratorLine (Properties ctx, String GL_JournalGeneratorLine_UU, String trxName) + { + super (ctx, GL_JournalGeneratorLine_UU, trxName); + /** if (GL_JournalGeneratorLine_UU == null) + { + setGL_JournalGenerator_ID (0); + setGL_JournalGeneratorLine_ID (0); + setIsCopyAllDimensions (false); +// N + setIsSameProduct (false); +// N + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM GL_JournalGeneratorLine WHERE GL_JournalGenerator_ID=@GL_JournalGenerator_ID@ + } */ + } + + /** Standard Constructor */ + public X_GL_JournalGeneratorLine (Properties ctx, String GL_JournalGeneratorLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, GL_JournalGeneratorLine_UU, trxName, virtualColumns); + /** if (GL_JournalGeneratorLine_UU == null) + { + setGL_JournalGenerator_ID (0); + setGL_JournalGeneratorLine_ID (0); + setIsCopyAllDimensions (false); +// N + setIsSameProduct (false); +// N + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM GL_JournalGeneratorLine WHERE GL_JournalGenerator_ID=@GL_JournalGenerator_ID@ + } */ + } + /** Load Constructor */ public X_GL_JournalGeneratorLine (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +110,7 @@ public class X_GL_JournalGeneratorLine extends PO implements I_GL_JournalGenerat } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -283,7 +317,7 @@ public class X_GL_JournalGeneratorLine extends PO implements I_GL_JournalGenerat /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getGL_JournalGenerator_ID())); } @@ -353,10 +387,10 @@ public class X_GL_JournalGeneratorLine extends PO implements I_GL_JournalGenerat public boolean isCopyAllDimensions() { Object oo = get_Value(COLUMNNAME_IsCopyAllDimensions); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -375,10 +409,10 @@ public class X_GL_JournalGeneratorLine extends PO implements I_GL_JournalGenerat public boolean isSameProduct() { Object oo = get_Value(COLUMNNAME_IsSameProduct); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_GL_JournalGeneratorSource.java b/org.adempiere.base/src/org/compiere/model/X_GL_JournalGeneratorSource.java index 57553ed7c1..aaf880e572 100644 --- a/org.adempiere.base/src/org/compiere/model/X_GL_JournalGeneratorSource.java +++ b/org.adempiere.base/src/org/compiere/model/X_GL_JournalGeneratorSource.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for GL_JournalGeneratorSource - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="GL_JournalGeneratorSource") -public class X_GL_JournalGeneratorSource extends PO implements I_GL_JournalGeneratorSource, I_Persistent +public class X_GL_JournalGeneratorSource extends PO implements I_GL_JournalGeneratorSource, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_GL_JournalGeneratorSource (Properties ctx, int GL_JournalGeneratorSource_ID, String trxName) @@ -62,6 +62,34 @@ public class X_GL_JournalGeneratorSource extends PO implements I_GL_JournalGener } */ } + /** Standard Constructor */ + public X_GL_JournalGeneratorSource (Properties ctx, String GL_JournalGeneratorSource_UU, String trxName) + { + super (ctx, GL_JournalGeneratorSource_UU, trxName); + /** if (GL_JournalGeneratorSource_UU == null) + { + setAmtMultiplier (Env.ZERO); +// 1 + setC_ElementValue_ID (0); + setGL_JournalGeneratorLine_ID (0); + setGL_JournalGeneratorSource_ID (0); + } */ + } + + /** Standard Constructor */ + public X_GL_JournalGeneratorSource (Properties ctx, String GL_JournalGeneratorSource_UU, String trxName, String ... virtualColumns) + { + super (ctx, GL_JournalGeneratorSource_UU, trxName, virtualColumns); + /** if (GL_JournalGeneratorSource_UU == null) + { + setAmtMultiplier (Env.ZERO); +// 1 + setC_ElementValue_ID (0); + setGL_JournalGeneratorLine_ID (0); + setGL_JournalGeneratorSource_ID (0); + } */ + } + /** Load Constructor */ public X_GL_JournalGeneratorSource (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +97,7 @@ public class X_GL_JournalGeneratorSource extends PO implements I_GL_JournalGener } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_GL_JournalLine.java b/org.adempiere.base/src/org/compiere/model/X_GL_JournalLine.java index 92016b2b8c..8ea86dd73b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_GL_JournalLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_GL_JournalLine.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for GL_JournalLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="GL_JournalLine") -public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persistent +public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_GL_JournalLine (Properties ctx, int GL_JournalLine_ID, String trxName) @@ -88,6 +88,58 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste } */ } + /** Standard Constructor */ + public X_GL_JournalLine (Properties ctx, String GL_JournalLine_UU, String trxName) + { + super (ctx, GL_JournalLine_UU, trxName); + /** if (GL_JournalLine_UU == null) + { + setAmtAcctCr (Env.ZERO); + setAmtAcctDr (Env.ZERO); + setAmtSourceCr (Env.ZERO); + setAmtSourceDr (Env.ZERO); + setC_ConversionType_ID (0); + setC_Currency_ID (0); +// @C_Currency_ID@ + setCurrencyRate (Env.ZERO); +// @CurrencyRate@;1 + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @DateAcct@ + setGL_Journal_ID (0); + setGL_JournalLine_ID (0); + setIsGenerated (false); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM GL_JournalLine WHERE GL_Journal_ID=@GL_Journal_ID@ + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_GL_JournalLine (Properties ctx, String GL_JournalLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, GL_JournalLine_UU, trxName, virtualColumns); + /** if (GL_JournalLine_UU == null) + { + setAmtAcctCr (Env.ZERO); + setAmtAcctDr (Env.ZERO); + setAmtSourceCr (Env.ZERO); + setAmtSourceDr (Env.ZERO); + setC_ConversionType_ID (0); + setC_Currency_ID (0); +// @C_Currency_ID@ + setCurrencyRate (Env.ZERO); +// @CurrencyRate@;1 + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @DateAcct@ + setGL_Journal_ID (0); + setGL_JournalLine_ID (0); + setIsGenerated (false); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM GL_JournalLine WHERE GL_Journal_ID=@GL_Journal_ID@ + setProcessed (false); + } */ + } + /** Load Constructor */ public X_GL_JournalLine (Properties ctx, ResultSet rs, String trxName) { @@ -95,7 +147,7 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -213,10 +265,10 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste public boolean isA_CreateAsset() { Object oo = get_Value(COLUMNNAME_A_CreateAsset); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -361,10 +413,10 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste public boolean isA_Processed() { Object oo = get_Value(COLUMNNAME_A_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -836,10 +888,10 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste public boolean isGenerated() { Object oo = get_Value(COLUMNNAME_IsGenerated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -867,7 +919,7 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getLine())); } @@ -914,10 +966,10 @@ public class X_GL_JournalLine extends PO implements I_GL_JournalLine, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_IMP_Processor.java b/org.adempiere.base/src/org/compiere/model/X_IMP_Processor.java index 2c618b116c..1cbb098418 100644 --- a/org.adempiere.base/src/org/compiere/model/X_IMP_Processor.java +++ b/org.adempiere.base/src/org/compiere/model/X_IMP_Processor.java @@ -22,16 +22,16 @@ import java.sql.Timestamp; import java.util.Properties; /** Generated Model for IMP_Processor - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="IMP_Processor") -public class X_IMP_Processor extends PO implements I_IMP_Processor, I_Persistent +public class X_IMP_Processor extends PO implements I_IMP_Processor, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_IMP_Processor (Properties ctx, int IMP_Processor_ID, String trxName) @@ -67,6 +67,40 @@ public class X_IMP_Processor extends PO implements I_IMP_Processor, I_Persistent } */ } + /** Standard Constructor */ + public X_IMP_Processor (Properties ctx, String IMP_Processor_UU, String trxName) + { + super (ctx, IMP_Processor_UU, trxName); + /** if (IMP_Processor_UU == null) + { + setFrequency (0); + setFrequencyType (null); + setIMP_Processor_ID (0); + setIMP_Processor_Type_ID (0); + setKeepLogDays (0); +// 7 + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_IMP_Processor (Properties ctx, String IMP_Processor_UU, String trxName, String ... virtualColumns) + { + super (ctx, IMP_Processor_UU, trxName, virtualColumns); + /** if (IMP_Processor_UU == null) + { + setFrequency (0); + setFrequencyType (null); + setIMP_Processor_ID (0); + setIMP_Processor_Type_ID (0); + setKeepLogDays (0); +// 7 + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_IMP_Processor (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +108,7 @@ public class X_IMP_Processor extends PO implements I_IMP_Processor, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -377,10 +411,10 @@ public class X_IMP_Processor extends PO implements I_IMP_Processor, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_IMP_ProcessorLog.java b/org.adempiere.base/src/org/compiere/model/X_IMP_ProcessorLog.java index adb2c67142..c71a52d0bd 100644 --- a/org.adempiere.base/src/org/compiere/model/X_IMP_ProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/X_IMP_ProcessorLog.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for IMP_ProcessorLog - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="IMP_ProcessorLog") -public class X_IMP_ProcessorLog extends PO implements I_IMP_ProcessorLog, I_Persistent +public class X_IMP_ProcessorLog extends PO implements I_IMP_ProcessorLog, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_IMP_ProcessorLog (Properties ctx, int IMP_ProcessorLog_ID, String trxName) @@ -58,6 +58,32 @@ public class X_IMP_ProcessorLog extends PO implements I_IMP_ProcessorLog, I_Pers } */ } + /** Standard Constructor */ + public X_IMP_ProcessorLog (Properties ctx, String IMP_ProcessorLog_UU, String trxName) + { + super (ctx, IMP_ProcessorLog_UU, trxName); + /** if (IMP_ProcessorLog_UU == null) + { + setIMP_Processor_ID (0); + setIMP_ProcessorLog_ID (0); + setIsError (true); +// 'Y' + } */ + } + + /** Standard Constructor */ + public X_IMP_ProcessorLog (Properties ctx, String IMP_ProcessorLog_UU, String trxName, String ... virtualColumns) + { + super (ctx, IMP_ProcessorLog_UU, trxName, virtualColumns); + /** if (IMP_ProcessorLog_UU == null) + { + setIMP_Processor_ID (0); + setIMP_ProcessorLog_ID (0); + setIsError (true); +// 'Y' + } */ + } + /** Load Constructor */ public X_IMP_ProcessorLog (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_IMP_ProcessorLog extends PO implements I_IMP_ProcessorLog, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -211,10 +237,10 @@ public class X_IMP_ProcessorLog extends PO implements I_IMP_ProcessorLog, I_Pers public boolean isError() { Object oo = get_Value(COLUMNNAME_IsError); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_IMP_ProcessorParameter.java b/org.adempiere.base/src/org/compiere/model/X_IMP_ProcessorParameter.java index 52daecba46..9250bda9ca 100644 --- a/org.adempiere.base/src/org/compiere/model/X_IMP_ProcessorParameter.java +++ b/org.adempiere.base/src/org/compiere/model/X_IMP_ProcessorParameter.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for IMP_ProcessorParameter - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="IMP_ProcessorParameter") -public class X_IMP_ProcessorParameter extends PO implements I_IMP_ProcessorParameter, I_Persistent +public class X_IMP_ProcessorParameter extends PO implements I_IMP_ProcessorParameter, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_IMP_ProcessorParameter (Properties ctx, int IMP_ProcessorParameter_ID, String trxName) @@ -58,6 +58,32 @@ public class X_IMP_ProcessorParameter extends PO implements I_IMP_ProcessorParam } */ } + /** Standard Constructor */ + public X_IMP_ProcessorParameter (Properties ctx, String IMP_ProcessorParameter_UU, String trxName) + { + super (ctx, IMP_ProcessorParameter_UU, trxName); + /** if (IMP_ProcessorParameter_UU == null) + { + setIMP_Processor_ID (0); + setIMP_ProcessorParameter_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_IMP_ProcessorParameter (Properties ctx, String IMP_ProcessorParameter_UU, String trxName, String ... virtualColumns) + { + super (ctx, IMP_ProcessorParameter_UU, trxName, virtualColumns); + /** if (IMP_ProcessorParameter_UU == null) + { + setIMP_Processor_ID (0); + setIMP_ProcessorParameter_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_IMP_ProcessorParameter (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_IMP_ProcessorParameter extends PO implements I_IMP_ProcessorParam } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_IMP_Processor_Type.java b/org.adempiere.base/src/org/compiere/model/X_IMP_Processor_Type.java index cdb6e9f3e4..4836b0a99e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_IMP_Processor_Type.java +++ b/org.adempiere.base/src/org/compiere/model/X_IMP_Processor_Type.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for IMP_Processor_Type - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="IMP_Processor_Type") -public class X_IMP_Processor_Type extends PO implements I_IMP_Processor_Type, I_Persistent +public class X_IMP_Processor_Type extends PO implements I_IMP_Processor_Type, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_IMP_Processor_Type (Properties ctx, int IMP_Processor_Type_ID, String trxName) @@ -58,6 +58,32 @@ public class X_IMP_Processor_Type extends PO implements I_IMP_Processor_Type, I_ } */ } + /** Standard Constructor */ + public X_IMP_Processor_Type (Properties ctx, String IMP_Processor_Type_UU, String trxName) + { + super (ctx, IMP_Processor_Type_UU, trxName); + /** if (IMP_Processor_Type_UU == null) + { + setIMP_Processor_Type_ID (0); + setJavaClass (null); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_IMP_Processor_Type (Properties ctx, String IMP_Processor_Type_UU, String trxName, String ... virtualColumns) + { + super (ctx, IMP_Processor_Type_UU, trxName, virtualColumns); + /** if (IMP_Processor_Type_UU == null) + { + setIMP_Processor_Type_ID (0); + setJavaClass (null); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_IMP_Processor_Type (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_IMP_Processor_Type extends PO implements I_IMP_Processor_Type, I_ } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_I_Asset.java b/org.adempiere.base/src/org/compiere/model/X_I_Asset.java index b610508b73..13a9dc2e1b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_Asset.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_Asset.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for I_Asset - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_Asset") -public class X_I_Asset extends PO implements I_I_Asset, I_Persistent +public class X_I_Asset extends PO implements I_I_Asset, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_Asset (Properties ctx, int I_Asset_ID, String trxName) @@ -56,6 +56,26 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent } */ } + /** Standard Constructor */ + public X_I_Asset (Properties ctx, String I_Asset_UU, String trxName) + { + super (ctx, I_Asset_UU, trxName); + /** if (I_Asset_UU == null) + { + setI_Asset_ID (0); + } */ + } + + /** Standard Constructor */ + public X_I_Asset (Properties ctx, String I_Asset_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_Asset_UU, trxName, virtualColumns); + /** if (I_Asset_UU == null) + { + setI_Asset_ID (0); + } */ + } + /** Load Constructor */ public X_I_Asset (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +83,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -915,7 +935,7 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getI_Asset_ID())); } @@ -965,10 +985,10 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -988,10 +1008,10 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent public boolean isDepreciated() { Object oo = get_Value(COLUMNNAME_IsDepreciated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1011,10 +1031,10 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent public boolean isDisposed() { Object oo = get_Value(COLUMNNAME_IsDisposed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1034,10 +1054,10 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent public boolean isFullyDepreciated() { Object oo = get_Value(COLUMNNAME_IsFullyDepreciated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1057,10 +1077,10 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent public boolean isInPosession() { Object oo = get_Value(COLUMNNAME_IsInPosession); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1080,10 +1100,10 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent public boolean isOwned() { Object oo = get_Value(COLUMNNAME_IsOwned); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1283,10 +1303,10 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1305,10 +1325,10 @@ public class X_I_Asset extends PO implements I_I_Asset, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_I_BPartner.java b/org.adempiere.base/src/org/compiere/model/X_I_BPartner.java index d1e5431c89..a904a0489a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_BPartner.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_BPartner.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for I_BPartner - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_BPartner") -public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent +public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_BPartner (Properties ctx, int I_BPartner_ID, String trxName) @@ -58,6 +58,30 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent } */ } + /** Standard Constructor */ + public X_I_BPartner (Properties ctx, String I_BPartner_UU, String trxName) + { + super (ctx, I_BPartner_UU, trxName); + /** if (I_BPartner_UU == null) + { + setI_BPartner_ID (0); + setI_IsImported (false); +// N + } */ + } + + /** Standard Constructor */ + public X_I_BPartner (Properties ctx, String I_BPartner_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_BPartner_UU, trxName, virtualColumns); + /** if (I_BPartner_UU == null) + { + setI_BPartner_ID (0); + setI_IsImported (false); +// N + } */ + } + /** Load Constructor */ public X_I_BPartner (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +89,7 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -572,10 +596,10 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -611,10 +635,10 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent public boolean isCustomer() { Object oo = get_Value(COLUMNNAME_IsCustomer); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -634,10 +658,10 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent public boolean isEmployee() { Object oo = get_Value(COLUMNNAME_IsEmployee); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -657,10 +681,10 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent public boolean isVendor() { Object oo = get_Value(COLUMNNAME_IsVendor); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -808,10 +832,10 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -830,10 +854,10 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -934,7 +958,7 @@ public class X_I_BPartner extends PO implements I_I_BPartner, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getValue()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_I_BankStatement.java b/org.adempiere.base/src/org/compiere/model/X_I_BankStatement.java index a016180b24..65b5e39d26 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_BankStatement.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_BankStatement.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for I_BankStatement - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_BankStatement") -public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persistent +public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_BankStatement (Properties ctx, int I_BankStatement_ID, String trxName) @@ -57,6 +57,28 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis } */ } + /** Standard Constructor */ + public X_I_BankStatement (Properties ctx, String I_BankStatement_UU, String trxName) + { + super (ctx, I_BankStatement_UU, trxName); + /** if (I_BankStatement_UU == null) + { + setI_BankStatement_ID (0); + setI_IsImported (false); + } */ + } + + /** Standard Constructor */ + public X_I_BankStatement (Properties ctx, String I_BankStatement_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_BankStatement_UU, trxName, virtualColumns); + /** if (I_BankStatement_UU == null) + { + setI_BankStatement_ID (0); + setI_IsImported (false); + } */ + } + /** Load Constructor */ public X_I_BankStatement (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +86,7 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -717,10 +739,10 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -791,10 +813,10 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis public boolean isReversal() { Object oo = get_Value(COLUMNNAME_IsReversal); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -912,10 +934,10 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -934,10 +956,10 @@ public class X_I_BankStatement extends PO implements I_I_BankStatement, I_Persis public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_I_Conversion_Rate.java b/org.adempiere.base/src/org/compiere/model/X_I_Conversion_Rate.java index 41c9617bf9..83b3838337 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_Conversion_Rate.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_Conversion_Rate.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for I_Conversion_Rate - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_Conversion_Rate") -public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Persistent +public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_Conversion_Rate (Properties ctx, int I_Conversion_Rate_ID, String trxName) @@ -56,6 +56,26 @@ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Pe } */ } + /** Standard Constructor */ + public X_I_Conversion_Rate (Properties ctx, String I_Conversion_Rate_UU, String trxName) + { + super (ctx, I_Conversion_Rate_UU, trxName); + /** if (I_Conversion_Rate_UU == null) + { + setI_Conversion_Rate_ID (0); + } */ + } + + /** Standard Constructor */ + public X_I_Conversion_Rate (Properties ctx, String I_Conversion_Rate_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_Conversion_Rate_UU, trxName, virtualColumns); + /** if (I_Conversion_Rate_UU == null) + { + setI_Conversion_Rate_ID (0); + } */ + } + /** Load Constructor */ public X_I_Conversion_Rate (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +83,7 @@ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Pe } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -223,10 +243,10 @@ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Pe public boolean isCreateReciprocalRate() { Object oo = get_Value(COLUMNNAME_CreateReciprocalRate); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -276,7 +296,7 @@ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getI_Conversion_Rate_ID())); } @@ -326,10 +346,10 @@ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Pe public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -400,10 +420,10 @@ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Pe public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -422,10 +442,10 @@ public class X_I_Conversion_Rate extends PO implements I_I_Conversion_Rate, I_Pe public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_I_ElementValue.java b/org.adempiere.base/src/org/compiere/model/X_I_ElementValue.java index f29d7d2042..ee48e4b4cf 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_ElementValue.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_ElementValue.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for I_ElementValue - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_ElementValue") -public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persistent +public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_ElementValue (Properties ctx, int I_ElementValue_ID, String trxName) @@ -55,6 +55,28 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste } */ } + /** Standard Constructor */ + public X_I_ElementValue (Properties ctx, String I_ElementValue_UU, String trxName) + { + super (ctx, I_ElementValue_UU, trxName); + /** if (I_ElementValue_UU == null) + { + setI_ElementValue_ID (0); + setI_IsImported (false); + } */ + } + + /** Standard Constructor */ + public X_I_ElementValue (Properties ctx, String I_ElementValue_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_ElementValue_UU, trxName, virtualColumns); + /** if (I_ElementValue_UU == null) + { + setI_ElementValue_ID (0); + setI_IsImported (false); + } */ + } + /** Load Constructor */ public X_I_ElementValue (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -338,10 +360,10 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -361,10 +383,10 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste public boolean isDocControlled() { Object oo = get_Value(COLUMNNAME_IsDocControlled); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -384,10 +406,10 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste public boolean isSummary() { Object oo = get_Value(COLUMNNAME_IsSummary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -467,10 +489,10 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste public boolean isPostActual() { Object oo = get_Value(COLUMNNAME_PostActual); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -490,10 +512,10 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste public boolean isPostBudget() { Object oo = get_Value(COLUMNNAME_PostBudget); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -513,10 +535,10 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste public boolean isPostEncumbrance() { Object oo = get_Value(COLUMNNAME_PostEncumbrance); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -536,10 +558,10 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste public boolean isPostStatistical() { Object oo = get_Value(COLUMNNAME_PostStatistical); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -559,10 +581,10 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -581,10 +603,10 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -609,7 +631,7 @@ public class X_I_ElementValue extends PO implements I_I_ElementValue, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getValue()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_I_FAJournal.java b/org.adempiere.base/src/org/compiere/model/X_I_FAJournal.java index 0c56d269ea..001188db61 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_FAJournal.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_FAJournal.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for I_FAJournal - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_FAJournal") -public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent +public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_FAJournal (Properties ctx, int I_FAJournal_ID, String trxName) @@ -58,6 +58,28 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent } */ } + /** Standard Constructor */ + public X_I_FAJournal (Properties ctx, String I_FAJournal_UU, String trxName) + { + super (ctx, I_FAJournal_UU, trxName); + /** if (I_FAJournal_UU == null) + { + setI_FAJournal_ID (0); + setI_IsImported (false); + } */ + } + + /** Standard Constructor */ + public X_I_FAJournal (Properties ctx, String I_FAJournal_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_FAJournal_UU, trxName, virtualColumns); + /** if (I_FAJournal_UU == null) + { + setI_FAJournal_ID (0); + setI_IsImported (false); + } */ + } + /** Load Constructor */ public X_I_FAJournal (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +87,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -1088,7 +1110,7 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getI_FAJournal_ID())); } @@ -1122,10 +1144,10 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1301,10 +1323,10 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1323,10 +1345,10 @@ public class X_I_FAJournal extends PO implements I_I_FAJournal, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_I_FixedAsset.java b/org.adempiere.base/src/org/compiere/model/X_I_FixedAsset.java index e712f1d4f2..611aa90feb 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_FixedAsset.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_FixedAsset.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for I_FixedAsset - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_FixedAsset") -public class X_I_FixedAsset extends PO implements I_I_FixedAsset, I_Persistent +public class X_I_FixedAsset extends PO implements I_I_FixedAsset, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_FixedAsset (Properties ctx, int I_FixedAsset_ID, String trxName) @@ -81,6 +81,52 @@ public class X_I_FixedAsset extends PO implements I_I_FixedAsset, I_Persistent } */ } + /** Standard Constructor */ + public X_I_FixedAsset (Properties ctx, String I_FixedAsset_UU, String trxName) + { + super (ctx, I_FixedAsset_UU, trxName); + /** if (I_FixedAsset_UU == null) + { + setA_Asset_Cost (Env.ZERO); +// 0 + setA_Remaining_Period (0); +// 0 + setAssetAmtEntered (Env.ZERO); +// 0 + setAssetPeriodDepreciationAmt (Env.ZERO); +// 0 + setAssetSourceAmt (Env.ZERO); +// 0 + setDocAction (null); +// 'CO' + setI_IsImported (false); +// 'N' + } */ + } + + /** Standard Constructor */ + public X_I_FixedAsset (Properties ctx, String I_FixedAsset_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_FixedAsset_UU, trxName, virtualColumns); + /** if (I_FixedAsset_UU == null) + { + setA_Asset_Cost (Env.ZERO); +// 0 + setA_Remaining_Period (0); +// 0 + setAssetAmtEntered (Env.ZERO); +// 0 + setAssetPeriodDepreciationAmt (Env.ZERO); +// 0 + setAssetSourceAmt (Env.ZERO); +// 0 + setDocAction (null); +// 'CO' + setI_IsImported (false); +// 'N' + } */ + } + /** Load Constructor */ public X_I_FixedAsset (Properties ctx, ResultSet rs, String trxName) { @@ -88,7 +134,7 @@ public class X_I_FixedAsset extends PO implements I_I_FixedAsset, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -791,10 +837,10 @@ public class X_I_FixedAsset extends PO implements I_I_FixedAsset, I_Persistent public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -933,10 +979,10 @@ public class X_I_FixedAsset extends PO implements I_I_FixedAsset, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -955,10 +1001,10 @@ public class X_I_FixedAsset extends PO implements I_I_FixedAsset, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_I_GLJournal.java b/org.adempiere.base/src/org/compiere/model/X_I_GLJournal.java index 49d6c95bcd..8d5c11f9a9 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_GLJournal.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_GLJournal.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for I_GLJournal - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_GLJournal") -public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent +public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_GLJournal (Properties ctx, int I_GLJournal_ID, String trxName) @@ -58,6 +58,28 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent } */ } + /** Standard Constructor */ + public X_I_GLJournal (Properties ctx, String I_GLJournal_UU, String trxName) + { + super (ctx, I_GLJournal_UU, trxName); + /** if (I_GLJournal_UU == null) + { + setI_GLJournal_ID (0); + setI_IsImported (false); + } */ + } + + /** Standard Constructor */ + public X_I_GLJournal (Properties ctx, String I_GLJournal_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_GLJournal_UU, trxName, virtualColumns); + /** if (I_GLJournal_UU == null) + { + setI_GLJournal_ID (0); + setI_IsImported (false); + } */ + } + /** Load Constructor */ public X_I_GLJournal (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +87,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -1034,7 +1056,7 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getI_GLJournal_ID())); } @@ -1068,10 +1090,10 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1091,10 +1113,10 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent public boolean isCreateNewBatch() { Object oo = get_Value(COLUMNNAME_IsCreateNewBatch); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1114,10 +1136,10 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent public boolean isCreateNewJournal() { Object oo = get_Value(COLUMNNAME_IsCreateNewJournal); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1277,10 +1299,10 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1299,10 +1321,10 @@ public class X_I_GLJournal extends PO implements I_I_GLJournal, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_I_InOutLineConfirm.java b/org.adempiere.base/src/org/compiere/model/X_I_InOutLineConfirm.java index c5bde7a823..917c544438 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_InOutLineConfirm.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_InOutLineConfirm.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for I_InOutLineConfirm - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_InOutLineConfirm") -public class X_I_InOutLineConfirm extends PO implements I_I_InOutLineConfirm, I_Persistent +public class X_I_InOutLineConfirm extends PO implements I_I_InOutLineConfirm, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_InOutLineConfirm (Properties ctx, int I_InOutLineConfirm_ID, String trxName) @@ -67,6 +67,38 @@ public class X_I_InOutLineConfirm extends PO implements I_I_InOutLineConfirm, I_ } */ } + /** Standard Constructor */ + public X_I_InOutLineConfirm (Properties ctx, String I_InOutLineConfirm_UU, String trxName) + { + super (ctx, I_InOutLineConfirm_UU, trxName); + /** if (I_InOutLineConfirm_UU == null) + { + setConfirmationNo (null); + setConfirmedQty (Env.ZERO); + setDifferenceQty (Env.ZERO); + setI_InOutLineConfirm_ID (0); + setI_IsImported (false); + setM_InOutLineConfirm_ID (0); + setScrappedQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_I_InOutLineConfirm (Properties ctx, String I_InOutLineConfirm_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_InOutLineConfirm_UU, trxName, virtualColumns); + /** if (I_InOutLineConfirm_UU == null) + { + setConfirmationNo (null); + setConfirmedQty (Env.ZERO); + setDifferenceQty (Env.ZERO); + setI_InOutLineConfirm_ID (0); + setI_IsImported (false); + setM_InOutLineConfirm_ID (0); + setScrappedQty (Env.ZERO); + } */ + } + /** Load Constructor */ public X_I_InOutLineConfirm (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +106,7 @@ public class X_I_InOutLineConfirm extends PO implements I_I_InOutLineConfirm, I_ } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -206,7 +238,7 @@ public class X_I_InOutLineConfirm extends PO implements I_I_InOutLineConfirm, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getI_InOutLineConfirm_ID())); } @@ -240,10 +272,10 @@ public class X_I_InOutLineConfirm extends PO implements I_I_InOutLineConfirm, I_ public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -291,10 +323,10 @@ public class X_I_InOutLineConfirm extends PO implements I_I_InOutLineConfirm, I_ public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -313,10 +345,10 @@ public class X_I_InOutLineConfirm extends PO implements I_I_InOutLineConfirm, I_ public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_I_Inventory.java b/org.adempiere.base/src/org/compiere/model/X_I_Inventory.java index 8889c63cf0..fa98d69a1a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_Inventory.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_Inventory.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for I_Inventory - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_Inventory") -public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent +public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_Inventory (Properties ctx, int I_Inventory_ID, String trxName) @@ -58,6 +58,28 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent } */ } + /** Standard Constructor */ + public X_I_Inventory (Properties ctx, String I_Inventory_UU, String trxName) + { + super (ctx, I_Inventory_UU, trxName); + /** if (I_Inventory_UU == null) + { + setI_Inventory_ID (0); + setI_IsImported (false); + } */ + } + + /** Standard Constructor */ + public X_I_Inventory (Properties ctx, String I_Inventory_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_Inventory_UU, trxName, virtualColumns); + /** if (I_Inventory_UU == null) + { + setI_Inventory_ID (0); + setI_IsImported (false); + } */ + } + /** Load Constructor */ public X_I_Inventory (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +87,7 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -250,7 +272,7 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getI_Inventory_ID())); } @@ -284,10 +306,10 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -523,10 +545,10 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -545,10 +567,10 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_I_Invoice.java b/org.adempiere.base/src/org/compiere/model/X_I_Invoice.java index 57b0e3f05d..46b21c971b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_Invoice.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_Invoice.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for I_Invoice - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_Invoice") -public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent +public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_Invoice (Properties ctx, int I_Invoice_ID, String trxName) @@ -57,6 +57,28 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent } */ } + /** Standard Constructor */ + public X_I_Invoice (Properties ctx, String I_Invoice_UU, String trxName) + { + super (ctx, I_Invoice_UU, trxName); + /** if (I_Invoice_UU == null) + { + setI_Invoice_ID (0); + setI_IsImported (false); + } */ + } + + /** Standard Constructor */ + public X_I_Invoice (Properties ctx, String I_Invoice_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_Invoice_UU, trxName, virtualColumns); + /** if (I_Invoice_UU == null) + { + setI_Invoice_ID (0); + setI_IsImported (false); + } */ + } + /** Load Constructor */ public X_I_Invoice (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +86,7 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -611,10 +633,10 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent public boolean isCountryCode() { Object oo = get_Value(COLUMNNAME_CountryCode); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -895,10 +917,10 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -918,10 +940,10 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1096,10 +1118,10 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1118,10 +1140,10 @@ public class X_I_Invoice extends PO implements I_I_Invoice, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_I_Order.java b/org.adempiere.base/src/org/compiere/model/X_I_Order.java index b85154577d..3bcebe6984 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_Order.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_Order.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for I_Order - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_Order") -public class X_I_Order extends PO implements I_I_Order, I_Persistent +public class X_I_Order extends PO implements I_I_Order, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_Order (Properties ctx, int I_Order_ID, String trxName) @@ -57,6 +57,28 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent } */ } + /** Standard Constructor */ + public X_I_Order (Properties ctx, String I_Order_UU, String trxName) + { + super (ctx, I_Order_UU, trxName); + /** if (I_Order_UU == null) + { + setI_IsImported (false); + setI_Order_ID (0); + } */ + } + + /** Standard Constructor */ + public X_I_Order (Properties ctx, String I_Order_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_Order_UU, trxName, virtualColumns); + /** if (I_Order_UU == null) + { + setI_IsImported (false); + setI_Order_ID (0); + } */ + } + /** Load Constructor */ public X_I_Order (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +86,7 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -941,10 +963,10 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1001,10 +1023,10 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1235,10 +1257,10 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1257,10 +1279,10 @@ public class X_I_Order extends PO implements I_I_Order, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_I_Payment.java b/org.adempiere.base/src/org/compiere/model/X_I_Payment.java index 5e8558655b..f688764c23 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_Payment.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_Payment.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for I_Payment - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_Payment") -public class X_I_Payment extends PO implements I_I_Payment, I_Persistent +public class X_I_Payment extends PO implements I_I_Payment, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_Payment (Properties ctx, int I_Payment_ID, String trxName) @@ -57,6 +57,28 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent } */ } + /** Standard Constructor */ + public X_I_Payment (Properties ctx, String I_Payment_UU, String trxName) + { + super (ctx, I_Payment_UU, trxName); + /** if (I_Payment_UU == null) + { + setI_IsImported (false); + setI_Payment_ID (0); + } */ + } + + /** Standard Constructor */ + public X_I_Payment (Properties ctx, String I_Payment_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_Payment_UU, trxName, virtualColumns); + /** if (I_Payment_UU == null) + { + setI_IsImported (false); + setI_Payment_ID (0); + } */ + } + /** Load Constructor */ public X_I_Payment (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +86,7 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -756,10 +778,10 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -832,10 +854,10 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -855,10 +877,10 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent public boolean isDelayedCapture() { Object oo = get_Value(COLUMNNAME_IsDelayedCapture); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -894,10 +916,10 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent public boolean isOverUnderPayment() { Object oo = get_Value(COLUMNNAME_IsOverUnderPayment); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -917,10 +939,10 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent public boolean isReceipt() { Object oo = get_Value(COLUMNNAME_IsReceipt); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -940,10 +962,10 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1049,10 +1071,10 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1071,10 +1093,10 @@ public class X_I_Payment extends PO implements I_I_Payment, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_I_PriceList.java b/org.adempiere.base/src/org/compiere/model/X_I_PriceList.java index 7d91874370..2a6654ba33 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_PriceList.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_PriceList.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for I_PriceList - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_PriceList") -public class X_I_PriceList extends PO implements I_I_PriceList, I_Persistent +public class X_I_PriceList extends PO implements I_I_PriceList, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_PriceList (Properties ctx, int I_PriceList_ID, String trxName) @@ -59,6 +59,30 @@ public class X_I_PriceList extends PO implements I_I_PriceList, I_Persistent } */ } + /** Standard Constructor */ + public X_I_PriceList (Properties ctx, String I_PriceList_UU, String trxName) + { + super (ctx, I_PriceList_UU, trxName); + /** if (I_PriceList_UU == null) + { + setI_IsImported (false); +// N + setI_PriceList_ID (0); + } */ + } + + /** Standard Constructor */ + public X_I_PriceList (Properties ctx, String I_PriceList_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_PriceList_UU, trxName, virtualColumns); + /** if (I_PriceList_UU == null) + { + setI_IsImported (false); +// N + setI_PriceList_ID (0); + } */ + } + /** Load Constructor */ public X_I_PriceList (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +90,7 @@ public class X_I_PriceList extends PO implements I_I_PriceList, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -236,10 +260,10 @@ public class X_I_PriceList extends PO implements I_I_PriceList, I_Persistent public boolean isEnforcePriceLimit() { Object oo = get_Value(COLUMNNAME_EnforcePriceLimit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -275,10 +299,10 @@ public class X_I_PriceList extends PO implements I_I_PriceList, I_Persistent public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -350,10 +374,10 @@ public class X_I_PriceList extends PO implements I_I_PriceList, I_Persistent public boolean isSOPriceList() { Object oo = get_Value(COLUMNNAME_IsSOPriceList); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -373,10 +397,10 @@ public class X_I_PriceList extends PO implements I_I_PriceList, I_Persistent public boolean isTaxIncluded() { Object oo = get_Value(COLUMNNAME_IsTaxIncluded); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -572,10 +596,10 @@ public class X_I_PriceList extends PO implements I_I_PriceList, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -594,10 +618,10 @@ public class X_I_PriceList extends PO implements I_I_PriceList, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_I_Product.java b/org.adempiere.base/src/org/compiere/model/X_I_Product.java index befbd67d08..4e44aa9992 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_Product.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_Product.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for I_Product - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_Product") -public class X_I_Product extends PO implements I_I_Product, I_Persistent +public class X_I_Product extends PO implements I_I_Product, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_Product (Properties ctx, int I_Product_ID, String trxName) @@ -58,6 +58,28 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent } */ } + /** Standard Constructor */ + public X_I_Product (Properties ctx, String I_Product_UU, String trxName) + { + super (ctx, I_Product_UU, trxName); + /** if (I_Product_UU == null) + { + setI_IsImported (false); + setI_Product_ID (0); + } */ + } + + /** Standard Constructor */ + public X_I_Product (Properties ctx, String I_Product_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_Product_UU, trxName, virtualColumns); + /** if (I_Product_UU == null) + { + setI_IsImported (false); + setI_Product_ID (0); + } */ + } + /** Load Constructor */ public X_I_Product (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +87,7 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -302,10 +324,10 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent public boolean isDiscontinued() { Object oo = get_Value(COLUMNNAME_Discontinued); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -419,10 +441,10 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -729,10 +751,10 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -751,10 +773,10 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -952,7 +974,7 @@ public class X_I_Product extends PO implements I_I_Product, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getValue()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_I_ReportLine.java b/org.adempiere.base/src/org/compiere/model/X_I_ReportLine.java index e9fb9615fc..cf0a66ce7e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_I_ReportLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_I_ReportLine.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for I_ReportLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_ReportLine") -public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent +public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_ReportLine (Properties ctx, int I_ReportLine_ID, String trxName) @@ -55,6 +55,28 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent } */ } + /** Standard Constructor */ + public X_I_ReportLine (Properties ctx, String I_ReportLine_UU, String trxName) + { + super (ctx, I_ReportLine_UU, trxName); + /** if (I_ReportLine_UU == null) + { + setI_IsImported (false); + setI_ReportLine_ID (0); + } */ + } + + /** Standard Constructor */ + public X_I_ReportLine (Properties ctx, String I_ReportLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_ReportLine_UU, trxName, virtualColumns); + /** if (I_ReportLine_UU == null) + { + setI_IsImported (false); + setI_ReportLine_ID (0); + } */ + } + /** Load Constructor */ public X_I_ReportLine (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -199,10 +221,10 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -259,10 +281,10 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -282,10 +304,10 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent public boolean isSummary() { Object oo = get_Value(COLUMNNAME_IsSummary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -334,7 +356,7 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -522,10 +544,10 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -544,10 +566,10 @@ public class X_I_ReportLine extends PO implements I_I_ReportLine, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_MFA_Method.java b/org.adempiere.base/src/org/compiere/model/X_MFA_Method.java index 3dfc407cf7..d9883c33c1 100644 --- a/org.adempiere.base/src/org/compiere/model/X_MFA_Method.java +++ b/org.adempiere.base/src/org/compiere/model/X_MFA_Method.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for MFA_Method - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="MFA_Method") -public class X_MFA_Method extends PO implements I_MFA_Method, I_Persistent +public class X_MFA_Method extends PO implements I_MFA_Method, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_MFA_Method (Properties ctx, int MFA_Method_ID, String trxName) @@ -57,6 +57,30 @@ public class X_MFA_Method extends PO implements I_MFA_Method, I_Persistent } */ } + /** Standard Constructor */ + public X_MFA_Method (Properties ctx, String MFA_Method_UU, String trxName) + { + super (ctx, MFA_Method_UU, trxName); + /** if (MFA_Method_UU == null) + { + setMethod (null); + setMFA_Method_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_MFA_Method (Properties ctx, String MFA_Method_UU, String trxName, String ... virtualColumns) + { + super (ctx, MFA_Method_UU, trxName, virtualColumns); + /** if (MFA_Method_UU == null) + { + setMethod (null); + setMFA_Method_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_MFA_Method (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_MFA_Method extends PO implements I_MFA_Method, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -337,7 +361,7 @@ public class X_MFA_Method extends PO implements I_MFA_Method, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_MFA_RegisteredDevice.java b/org.adempiere.base/src/org/compiere/model/X_MFA_RegisteredDevice.java index b03dfb424d..3d513b9011 100644 --- a/org.adempiere.base/src/org/compiere/model/X_MFA_RegisteredDevice.java +++ b/org.adempiere.base/src/org/compiere/model/X_MFA_RegisteredDevice.java @@ -22,16 +22,16 @@ import java.sql.Timestamp; import java.util.Properties; /** Generated Model for MFA_RegisteredDevice - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="MFA_RegisteredDevice") -public class X_MFA_RegisteredDevice extends PO implements I_MFA_RegisteredDevice, I_Persistent +public class X_MFA_RegisteredDevice extends PO implements I_MFA_RegisteredDevice, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_MFA_RegisteredDevice (Properties ctx, int MFA_RegisteredDevice_ID, String trxName) @@ -57,6 +57,30 @@ public class X_MFA_RegisteredDevice extends PO implements I_MFA_RegisteredDevice } */ } + /** Standard Constructor */ + public X_MFA_RegisteredDevice (Properties ctx, String MFA_RegisteredDevice_UU, String trxName) + { + super (ctx, MFA_RegisteredDevice_UU, trxName); + /** if (MFA_RegisteredDevice_UU == null) + { + setAD_User_ID (0); + setMFADeviceIdentifier (null); + setMFA_RegisteredDevice_ID (0); + } */ + } + + /** Standard Constructor */ + public X_MFA_RegisteredDevice (Properties ctx, String MFA_RegisteredDevice_UU, String trxName, String ... virtualColumns) + { + super (ctx, MFA_RegisteredDevice_UU, trxName, virtualColumns); + /** if (MFA_RegisteredDevice_UU == null) + { + setAD_User_ID (0); + setMFADeviceIdentifier (null); + setMFA_RegisteredDevice_ID (0); + } */ + } + /** Load Constructor */ public X_MFA_RegisteredDevice (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_MFA_RegisteredDevice extends PO implements I_MFA_RegisteredDevice } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_MFA_Registration.java b/org.adempiere.base/src/org/compiere/model/X_MFA_Registration.java index 9139cc699a..4154e97585 100644 --- a/org.adempiere.base/src/org/compiere/model/X_MFA_Registration.java +++ b/org.adempiere.base/src/org/compiere/model/X_MFA_Registration.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for MFA_Registration - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="MFA_Registration") -public class X_MFA_Registration extends PO implements I_MFA_Registration, I_Persistent +public class X_MFA_Registration extends PO implements I_MFA_Registration, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_MFA_Registration (Properties ctx, int MFA_Registration_ID, String trxName) @@ -66,6 +66,38 @@ public class X_MFA_Registration extends PO implements I_MFA_Registration, I_Pers } */ } + /** Standard Constructor */ + public X_MFA_Registration (Properties ctx, String MFA_Registration_UU, String trxName) + { + super (ctx, MFA_Registration_UU, trxName); + /** if (MFA_Registration_UU == null) + { + setAD_User_ID (0); + setIsUserMFAPreferred (false); +// N + setIsValid (false); +// N + setMFA_Method_ID (0); + setMFA_Registration_ID (0); + } */ + } + + /** Standard Constructor */ + public X_MFA_Registration (Properties ctx, String MFA_Registration_UU, String trxName, String ... virtualColumns) + { + super (ctx, MFA_Registration_UU, trxName, virtualColumns); + /** if (MFA_Registration_UU == null) + { + setAD_User_ID (0); + setIsUserMFAPreferred (false); +// N + setIsValid (false); +// N + setMFA_Method_ID (0); + setMFA_Registration_ID (0); + } */ + } + /** Load Constructor */ public X_MFA_Registration (Properties ctx, ResultSet rs, String trxName) { @@ -73,7 +105,7 @@ public class X_MFA_Registration extends PO implements I_MFA_Registration, I_Pers } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -125,7 +157,7 @@ public class X_MFA_Registration extends PO implements I_MFA_Registration, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getAD_User_ID())); } @@ -193,10 +225,10 @@ public class X_MFA_Registration extends PO implements I_MFA_Registration, I_Pers public boolean isUserMFAPreferred() { Object oo = get_Value(COLUMNNAME_IsUserMFAPreferred); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -216,10 +248,10 @@ public class X_MFA_Registration extends PO implements I_MFA_Registration, I_Pers public boolean isValid() { Object oo = get_Value(COLUMNNAME_IsValid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_MFA_Rule.java b/org.adempiere.base/src/org/compiere/model/X_MFA_Rule.java index 825f6a6116..c919b3d6c2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_MFA_Rule.java +++ b/org.adempiere.base/src/org/compiere/model/X_MFA_Rule.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for MFA_Rule - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="MFA_Rule") -public class X_MFA_Rule extends PO implements I_MFA_Rule, I_Persistent +public class X_MFA_Rule extends PO implements I_MFA_Rule, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_MFA_Rule (Properties ctx, int MFA_Rule_ID, String trxName) @@ -54,6 +54,28 @@ public class X_MFA_Rule extends PO implements I_MFA_Rule, I_Persistent } */ } + /** Standard Constructor */ + public X_MFA_Rule (Properties ctx, String MFA_Rule_UU, String trxName) + { + super (ctx, MFA_Rule_UU, trxName); + /** if (MFA_Rule_UU == null) + { + setMFA_Method_ID (0); + setMFA_Rule_ID (0); + } */ + } + + /** Standard Constructor */ + public X_MFA_Rule (Properties ctx, String MFA_Rule_UU, String trxName, String ... virtualColumns) + { + super (ctx, MFA_Rule_UU, trxName, virtualColumns); + /** if (MFA_Rule_UU == null) + { + setMFA_Method_ID (0); + setMFA_Rule_ID (0); + } */ + } + /** Load Constructor */ public X_MFA_Rule (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_MFA_Rule extends PO implements I_MFA_Rule, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Attribute.java b/org.adempiere.base/src/org/compiere/model/X_M_Attribute.java index 6840e88ce1..67126139a6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Attribute.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Attribute.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_Attribute - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Attribute") -public class X_M_Attribute extends PO implements I_M_Attribute, I_Persistent +public class X_M_Attribute extends PO implements I_M_Attribute, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Attribute (Properties ctx, int M_Attribute_ID, String trxName) @@ -63,6 +63,36 @@ public class X_M_Attribute extends PO implements I_M_Attribute, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Attribute (Properties ctx, String M_Attribute_UU, String trxName) + { + super (ctx, M_Attribute_UU, trxName); + /** if (M_Attribute_UU == null) + { + setAttributeValueType (null); +// S + setIsInstanceAttribute (false); + setIsMandatory (false); + setM_Attribute_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_Attribute (Properties ctx, String M_Attribute_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Attribute_UU, trxName, virtualColumns); + /** if (M_Attribute_UU == null) + { + setAttributeValueType (null); +// S + setIsInstanceAttribute (false); + setIsMandatory (false); + setM_Attribute_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_Attribute (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_M_Attribute extends PO implements I_M_Attribute, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -250,10 +280,10 @@ public class X_M_Attribute extends PO implements I_M_Attribute, I_Persistent public boolean isInstanceAttribute() { Object oo = get_Value(COLUMNNAME_IsInstanceAttribute); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -273,10 +303,10 @@ public class X_M_Attribute extends PO implements I_M_Attribute, I_Persistent public boolean isMandatory() { Object oo = get_Value(COLUMNNAME_IsMandatory); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -366,7 +396,7 @@ public class X_M_Attribute extends PO implements I_M_Attribute, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_AttributeInstance.java b/org.adempiere.base/src/org/compiere/model/X_M_AttributeInstance.java index 7c9483a7cc..a10d10f7ab 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_AttributeInstance.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_AttributeInstance.java @@ -22,19 +22,19 @@ import java.sql.ResultSet; import java.sql.Timestamp; import java.util.Properties; import org.compiere.util.Env; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for M_AttributeInstance - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_AttributeInstance") -public class X_M_AttributeInstance extends PO implements I_M_AttributeInstance, I_Persistent +public class X_M_AttributeInstance extends PO implements I_M_AttributeInstance, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_AttributeInstance (Properties ctx, int M_AttributeInstance_ID, String trxName) @@ -58,6 +58,28 @@ public class X_M_AttributeInstance extends PO implements I_M_AttributeInstance, } */ } + /** Standard Constructor */ + public X_M_AttributeInstance (Properties ctx, String M_AttributeInstance_UU, String trxName) + { + super (ctx, M_AttributeInstance_UU, trxName); + /** if (M_AttributeInstance_UU == null) + { + setM_Attribute_ID (0); + setM_AttributeSetInstance_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_AttributeInstance (Properties ctx, String M_AttributeInstance_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_AttributeInstance_UU, trxName, virtualColumns); + /** if (M_AttributeInstance_UU == null) + { + setM_Attribute_ID (0); + setM_AttributeSetInstance_ID (0); + } */ + } + /** Load Constructor */ public X_M_AttributeInstance (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +87,7 @@ public class X_M_AttributeInstance extends PO implements I_M_AttributeInstance, } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -82,7 +104,7 @@ public class X_M_AttributeInstance extends PO implements I_M_AttributeInstance, public String toString() { StringBuilder sb = new StringBuilder ("X_M_AttributeInstance[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -185,12 +207,12 @@ public class X_M_AttributeInstance extends PO implements I_M_AttributeInstance, return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getM_AttributeValue_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getM_AttributeValue_ID())); } /** Set Search Key. diff --git a/org.adempiere.base/src/org/compiere/model/X_M_AttributeSearch.java b/org.adempiere.base/src/org/compiere/model/X_M_AttributeSearch.java index 86b0a2c0b6..cabbc1464f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_AttributeSearch.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_AttributeSearch.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_AttributeSearch - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_AttributeSearch") -public class X_M_AttributeSearch extends PO implements I_M_AttributeSearch, I_Persistent +public class X_M_AttributeSearch extends PO implements I_M_AttributeSearch, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_AttributeSearch (Properties ctx, int M_AttributeSearch_ID, String trxName) @@ -55,6 +55,28 @@ public class X_M_AttributeSearch extends PO implements I_M_AttributeSearch, I_Pe } */ } + /** Standard Constructor */ + public X_M_AttributeSearch (Properties ctx, String M_AttributeSearch_UU, String trxName) + { + super (ctx, M_AttributeSearch_UU, trxName); + /** if (M_AttributeSearch_UU == null) + { + setM_AttributeSearch_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_AttributeSearch (Properties ctx, String M_AttributeSearch_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_AttributeSearch_UU, trxName, virtualColumns); + /** if (M_AttributeSearch_UU == null) + { + setM_AttributeSearch_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_AttributeSearch (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_M_AttributeSearch extends PO implements I_M_AttributeSearch, I_Pe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -155,7 +177,7 @@ public class X_M_AttributeSearch extends PO implements I_M_AttributeSearch, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_AttributeSet.java b/org.adempiere.base/src/org/compiere/model/X_M_AttributeSet.java index fcf23262aa..129d5070d4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_AttributeSet.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_AttributeSet.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_AttributeSet - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_AttributeSet") -public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persistent +public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_AttributeSet (Properties ctx, int M_AttributeSet_ID, String trxName) @@ -75,6 +75,48 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste } */ } + /** Standard Constructor */ + public X_M_AttributeSet (Properties ctx, String M_AttributeSet_UU, String trxName) + { + super (ctx, M_AttributeSet_UU, trxName); + /** if (M_AttributeSet_UU == null) + { + setIsGuaranteeDate (false); + setIsGuaranteeDateMandatory (false); + setIsInstanceAttribute (false); + setIsLot (false); + setIsLotMandatory (false); + setIsSerNo (false); + setIsSerNoMandatory (false); + setMandatoryType (null); + setM_AttributeSet_ID (0); + setM_AttributeSet_Type (null); +// MMS + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_AttributeSet (Properties ctx, String M_AttributeSet_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_AttributeSet_UU, trxName, virtualColumns); + /** if (M_AttributeSet_UU == null) + { + setIsGuaranteeDate (false); + setIsGuaranteeDateMandatory (false); + setIsInstanceAttribute (false); + setIsLot (false); + setIsLotMandatory (false); + setIsSerNo (false); + setIsSerNoMandatory (false); + setMandatoryType (null); + setM_AttributeSet_ID (0); + setM_AttributeSet_Type (null); +// MMS + setName (null); + } */ + } + /** Load Constructor */ public X_M_AttributeSet (Properties ctx, ResultSet rs, String trxName) { @@ -82,7 +124,7 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -151,10 +193,10 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste public boolean isAutoGenerateLot() { Object oo = get_Value(COLUMNNAME_IsAutoGenerateLot); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -174,10 +216,10 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste public boolean isGuaranteeDate() { Object oo = get_Value(COLUMNNAME_IsGuaranteeDate); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -197,10 +239,10 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste public boolean isGuaranteeDateMandatory() { Object oo = get_Value(COLUMNNAME_IsGuaranteeDateMandatory); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -220,10 +262,10 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste public boolean isInstanceAttribute() { Object oo = get_Value(COLUMNNAME_IsInstanceAttribute); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -243,10 +285,10 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste public boolean isLot() { Object oo = get_Value(COLUMNNAME_IsLot); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -266,10 +308,10 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste public boolean isLotMandatory() { Object oo = get_Value(COLUMNNAME_IsLotMandatory); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -289,10 +331,10 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste public boolean isSerNo() { Object oo = get_Value(COLUMNNAME_IsSerNo); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -312,10 +354,10 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste public boolean isSerNoMandatory() { Object oo = get_Value(COLUMNNAME_IsSerNoMandatory); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -510,7 +552,7 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -560,10 +602,10 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste public boolean isUseGuaranteeDateForMPolicy() { Object oo = get_Value(COLUMNNAME_UseGuaranteeDateForMPolicy); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_AttributeSetExclude.java b/org.adempiere.base/src/org/compiere/model/X_M_AttributeSetExclude.java index da5e245972..9cd8b10f21 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_AttributeSetExclude.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_AttributeSetExclude.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for M_AttributeSetExclude - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_AttributeSetExclude") -public class X_M_AttributeSetExclude extends PO implements I_M_AttributeSetExclude, I_Persistent +public class X_M_AttributeSetExclude extends PO implements I_M_AttributeSetExclude, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_AttributeSetExclude (Properties ctx, int M_AttributeSetExclude_ID, String trxName) @@ -58,6 +58,32 @@ public class X_M_AttributeSetExclude extends PO implements I_M_AttributeSetExclu } */ } + /** Standard Constructor */ + public X_M_AttributeSetExclude (Properties ctx, String M_AttributeSetExclude_UU, String trxName) + { + super (ctx, M_AttributeSetExclude_UU, trxName); + /** if (M_AttributeSetExclude_UU == null) + { + setAD_Table_ID (0); + setIsSOTrx (false); + setM_AttributeSetExclude_ID (0); + setM_AttributeSet_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_AttributeSetExclude (Properties ctx, String M_AttributeSetExclude_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_AttributeSetExclude_UU, trxName, virtualColumns); + /** if (M_AttributeSetExclude_UU == null) + { + setAD_Table_ID (0); + setIsSOTrx (false); + setM_AttributeSetExclude_ID (0); + setM_AttributeSet_ID (0); + } */ + } + /** Load Constructor */ public X_M_AttributeSetExclude (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_M_AttributeSetExclude extends PO implements I_M_AttributeSetExclu } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -128,10 +154,10 @@ public class X_M_AttributeSetExclude extends PO implements I_M_AttributeSetExclu public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_AttributeSetInstance.java b/org.adempiere.base/src/org/compiere/model/X_M_AttributeSetInstance.java index 3b31756b96..345bb8b646 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_AttributeSetInstance.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_AttributeSetInstance.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_AttributeSetInstance - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_AttributeSetInstance") -public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInstance, I_Persistent +public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInstance, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_AttributeSetInstance (Properties ctx, int M_AttributeSetInstance_ID, String trxName) @@ -56,6 +56,28 @@ public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInst } */ } + /** Standard Constructor */ + public X_M_AttributeSetInstance (Properties ctx, String M_AttributeSetInstance_UU, String trxName) + { + super (ctx, M_AttributeSetInstance_UU, trxName); + /** if (M_AttributeSetInstance_UU == null) + { + setM_AttributeSet_ID (0); + setM_AttributeSetInstance_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_AttributeSetInstance (Properties ctx, String M_AttributeSetInstance_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_AttributeSetInstance_UU, trxName, virtualColumns); + /** if (M_AttributeSetInstance_UU == null) + { + setM_AttributeSet_ID (0); + setM_AttributeSetInstance_ID (0); + } */ + } + /** Load Constructor */ public X_M_AttributeSetInstance (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +85,7 @@ public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInst } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -185,7 +207,7 @@ public class X_M_AttributeSetInstance extends PO implements I_M_AttributeSetInst /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_AttributeSetInstance_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_AttributeUse.java b/org.adempiere.base/src/org/compiere/model/X_M_AttributeUse.java index c5a89c0e96..a707a6b252 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_AttributeUse.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_AttributeUse.java @@ -19,19 +19,19 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for M_AttributeUse - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_AttributeUse") -public class X_M_AttributeUse extends PO implements I_M_AttributeUse, I_Persistent +public class X_M_AttributeUse extends PO implements I_M_AttributeUse, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_AttributeUse (Properties ctx, int M_AttributeUse_ID, String trxName) @@ -59,6 +59,32 @@ public class X_M_AttributeUse extends PO implements I_M_AttributeUse, I_Persiste } */ } + /** Standard Constructor */ + public X_M_AttributeUse (Properties ctx, String M_AttributeUse_UU, String trxName) + { + super (ctx, M_AttributeUse_UU, trxName); + /** if (M_AttributeUse_UU == null) + { + setM_Attribute_ID (0); + setM_AttributeSet_ID (0); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM M_AttributeUse WHERE M_AttributeSet_ID=@M_AttributeSet_ID@ + } */ + } + + /** Standard Constructor */ + public X_M_AttributeUse (Properties ctx, String M_AttributeUse_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_AttributeUse_UU, trxName, virtualColumns); + /** if (M_AttributeUse_UU == null) + { + setM_Attribute_ID (0); + setM_AttributeSet_ID (0); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM M_AttributeUse WHERE M_AttributeSet_ID=@M_AttributeSet_ID@ + } */ + } + /** Load Constructor */ public X_M_AttributeUse (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_M_AttributeUse extends PO implements I_M_AttributeUse, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -83,7 +109,7 @@ public class X_M_AttributeUse extends PO implements I_M_AttributeUse, I_Persiste public String toString() { StringBuilder sb = new StringBuilder ("X_M_AttributeUse[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -143,12 +169,12 @@ public class X_M_AttributeUse extends PO implements I_M_AttributeUse, I_Persiste return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getM_AttributeSet_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getM_AttributeSet_ID())); } /** Set M_AttributeUse_UU. diff --git a/org.adempiere.base/src/org/compiere/model/X_M_AttributeValue.java b/org.adempiere.base/src/org/compiere/model/X_M_AttributeValue.java index 0f5da776e9..ce9370a6da 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_AttributeValue.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_AttributeValue.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_AttributeValue - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_AttributeValue") -public class X_M_AttributeValue extends PO implements I_M_AttributeValue, I_Persistent +public class X_M_AttributeValue extends PO implements I_M_AttributeValue, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_AttributeValue (Properties ctx, int M_AttributeValue_ID, String trxName) @@ -59,6 +59,32 @@ public class X_M_AttributeValue extends PO implements I_M_AttributeValue, I_Pers } */ } + /** Standard Constructor */ + public X_M_AttributeValue (Properties ctx, String M_AttributeValue_UU, String trxName) + { + super (ctx, M_AttributeValue_UU, trxName); + /** if (M_AttributeValue_UU == null) + { + setM_Attribute_ID (0); + setM_AttributeValue_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_M_AttributeValue (Properties ctx, String M_AttributeValue_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_AttributeValue_UU, trxName, virtualColumns); + /** if (M_AttributeValue_UU == null) + { + setM_Attribute_ID (0); + setM_AttributeValue_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_M_AttributeValue (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_M_AttributeValue extends PO implements I_M_AttributeValue, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -187,7 +213,7 @@ public class X_M_AttributeValue extends PO implements I_M_AttributeValue, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_BOM.java b/org.adempiere.base/src/org/compiere/model/X_M_BOM.java index f9b3e1470c..aa447e9ab5 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_BOM.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_BOM.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_BOM - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_BOM") -public class X_M_BOM extends PO implements I_M_BOM, I_Persistent +public class X_M_BOM extends PO implements I_M_BOM, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_BOM (Properties ctx, int M_BOM_ID, String trxName) @@ -65,6 +65,38 @@ public class X_M_BOM extends PO implements I_M_BOM, I_Persistent } */ } + /** Standard Constructor */ + public X_M_BOM (Properties ctx, String M_BOM_UU, String trxName) + { + super (ctx, M_BOM_UU, trxName); + /** if (M_BOM_UU == null) + { + setBOMType (null); +// A + setBOMUse (null); +// A + setM_BOM_ID (0); + setM_Product_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_BOM (Properties ctx, String M_BOM_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_BOM_UU, trxName, virtualColumns); + /** if (M_BOM_UU == null) + { + setBOMType (null); +// A + setBOMUse (null); +// A + setM_BOM_ID (0); + setM_Product_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_BOM (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_M_BOM extends PO implements I_M_BOM, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -303,7 +335,7 @@ public class X_M_BOM extends PO implements I_M_BOM, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -321,10 +353,10 @@ public class X_M_BOM extends PO implements I_M_BOM, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_BOMAlternative.java b/org.adempiere.base/src/org/compiere/model/X_M_BOMAlternative.java index 00a8782007..cd8cd3fcca 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_BOMAlternative.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_BOMAlternative.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_BOMAlternative - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_BOMAlternative") -public class X_M_BOMAlternative extends PO implements I_M_BOMAlternative, I_Persistent +public class X_M_BOMAlternative extends PO implements I_M_BOMAlternative, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_BOMAlternative (Properties ctx, int M_BOMAlternative_ID, String trxName) @@ -57,6 +57,30 @@ public class X_M_BOMAlternative extends PO implements I_M_BOMAlternative, I_Pers } */ } + /** Standard Constructor */ + public X_M_BOMAlternative (Properties ctx, String M_BOMAlternative_UU, String trxName) + { + super (ctx, M_BOMAlternative_UU, trxName); + /** if (M_BOMAlternative_UU == null) + { + setM_BOMAlternative_ID (0); + setM_Product_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_BOMAlternative (Properties ctx, String M_BOMAlternative_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_BOMAlternative_UU, trxName, virtualColumns); + /** if (M_BOMAlternative_UU == null) + { + setM_BOMAlternative_ID (0); + setM_Product_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_BOMAlternative (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_M_BOMAlternative extends PO implements I_M_BOMAlternative, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -185,7 +209,7 @@ public class X_M_BOMAlternative extends PO implements I_M_BOMAlternative, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_BOMProduct.java b/org.adempiere.base/src/org/compiere/model/X_M_BOMProduct.java index 67578a4246..03e517f5c0 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_BOMProduct.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_BOMProduct.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_BOMProduct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_BOMProduct") -public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent +public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_BOMProduct (Properties ctx, int M_BOMProduct_ID, String trxName) @@ -73,6 +73,44 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent } */ } + /** Standard Constructor */ + public X_M_BOMProduct (Properties ctx, String M_BOMProduct_UU, String trxName) + { + super (ctx, M_BOMProduct_UU, trxName); + /** if (M_BOMProduct_UU == null) + { + setBOMProductType (null); +// S + setBOMQty (Env.ZERO); +// 1 + setIsPhantom (false); + setLeadTimeOffset (0); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_BOMProduct WHERE M_BOM_ID=@M_BOM_ID@ + setM_BOM_ID (0); + setM_BOMProduct_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_BOMProduct (Properties ctx, String M_BOMProduct_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_BOMProduct_UU, trxName, virtualColumns); + /** if (M_BOMProduct_UU == null) + { + setBOMProductType (null); +// S + setBOMQty (Env.ZERO); +// 1 + setIsPhantom (false); + setLeadTimeOffset (0); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_BOMProduct WHERE M_BOM_ID=@M_BOM_ID@ + setM_BOM_ID (0); + setM_BOMProduct_ID (0); + } */ + } + /** Load Constructor */ public X_M_BOMProduct (Properties ctx, ResultSet rs, String trxName) { @@ -80,7 +118,7 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -195,10 +233,10 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent public boolean isPhantom() { Object oo = get_Value(COLUMNNAME_IsPhantom); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -245,7 +283,7 @@ public class X_M_BOMProduct extends PO implements I_M_BOMProduct, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getLine())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_BP_Price.java b/org.adempiere.base/src/org/compiere/model/X_M_BP_Price.java index 9640e2596c..ad547ab68e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_BP_Price.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_BP_Price.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_BP_Price - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_BP_Price") -public class X_M_BP_Price extends PO implements I_M_BP_Price, I_Persistent +public class X_M_BP_Price extends PO implements I_M_BP_Price, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_BP_Price (Properties ctx, int M_BP_Price_ID, String trxName) @@ -70,6 +70,40 @@ public class X_M_BP_Price extends PO implements I_M_BP_Price, I_Persistent } */ } + /** Standard Constructor */ + public X_M_BP_Price (Properties ctx, String M_BP_Price_UU, String trxName) + { + super (ctx, M_BP_Price_UU, trxName); + /** if (M_BP_Price_UU == null) + { + setBreakValue (Env.ZERO); + setC_BPartner_ID (0); + setC_Currency_ID (0); + setM_BP_Price_ID (0); + setM_Product_ID (0); + setPriceLimit (Env.ZERO); + setPriceList (Env.ZERO); + setPriceStd (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_BP_Price (Properties ctx, String M_BP_Price_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_BP_Price_UU, trxName, virtualColumns); + /** if (M_BP_Price_UU == null) + { + setBreakValue (Env.ZERO); + setC_BPartner_ID (0); + setC_Currency_ID (0); + setM_BP_Price_ID (0); + setM_Product_ID (0); + setPriceLimit (Env.ZERO); + setPriceList (Env.ZERO); + setPriceStd (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_BP_Price (Properties ctx, ResultSet rs, String trxName) { @@ -77,7 +111,7 @@ public class X_M_BP_Price extends PO implements I_M_BP_Price, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -222,10 +256,10 @@ public class X_M_BP_Price extends PO implements I_M_BP_Price, I_Persistent public boolean isNetPrice() { Object oo = get_Value(COLUMNNAME_IsNetPrice); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -298,7 +332,7 @@ public class X_M_BP_Price extends PO implements I_M_BP_Price, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_Product_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ChangeNotice.java b/org.adempiere.base/src/org/compiere/model/X_M_ChangeNotice.java index 5731276235..91cf51989a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ChangeNotice.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ChangeNotice.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_ChangeNotice - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ChangeNotice") -public class X_M_ChangeNotice extends PO implements I_M_ChangeNotice, I_Persistent +public class X_M_ChangeNotice extends PO implements I_M_ChangeNotice, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ChangeNotice (Properties ctx, int M_ChangeNotice_ID, String trxName) @@ -61,6 +61,34 @@ public class X_M_ChangeNotice extends PO implements I_M_ChangeNotice, I_Persiste } */ } + /** Standard Constructor */ + public X_M_ChangeNotice (Properties ctx, String M_ChangeNotice_UU, String trxName) + { + super (ctx, M_ChangeNotice_UU, trxName); + /** if (M_ChangeNotice_UU == null) + { + setIsApproved (false); +// N + setM_ChangeNotice_ID (0); + setName (null); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_M_ChangeNotice (Properties ctx, String M_ChangeNotice_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ChangeNotice_UU, trxName, virtualColumns); + /** if (M_ChangeNotice_UU == null) + { + setIsApproved (false); +// N + setM_ChangeNotice_ID (0); + setName (null); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_M_ChangeNotice (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_M_ChangeNotice extends PO implements I_M_ChangeNotice, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -151,10 +179,10 @@ public class X_M_ChangeNotice extends PO implements I_M_ChangeNotice, I_Persiste public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -216,7 +244,7 @@ public class X_M_ChangeNotice extends PO implements I_M_ChangeNotice, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -235,10 +263,10 @@ public class X_M_ChangeNotice extends PO implements I_M_ChangeNotice, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -257,10 +285,10 @@ public class X_M_ChangeNotice extends PO implements I_M_ChangeNotice, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ChangeRequest.java b/org.adempiere.base/src/org/compiere/model/X_M_ChangeRequest.java index d26d0fd81f..b87f302bab 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ChangeRequest.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ChangeRequest.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_ChangeRequest - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ChangeRequest") -public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, I_Persistent +public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ChangeRequest (Properties ctx, int M_ChangeRequest_ID, String trxName) @@ -63,6 +63,36 @@ public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, I_Persis } */ } + /** Standard Constructor */ + public X_M_ChangeRequest (Properties ctx, String M_ChangeRequest_UU, String trxName) + { + super (ctx, M_ChangeRequest_UU, trxName); + /** if (M_ChangeRequest_UU == null) + { + setDocumentNo (null); + setIsApproved (false); +// N + setM_ChangeRequest_ID (0); + setName (null); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_M_ChangeRequest (Properties ctx, String M_ChangeRequest_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ChangeRequest_UU, trxName, virtualColumns); + /** if (M_ChangeRequest_UU == null) + { + setDocumentNo (null); + setIsApproved (false); +// N + setM_ChangeRequest_ID (0); + setName (null); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_M_ChangeRequest (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, I_Persis } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -142,7 +172,7 @@ public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -177,10 +207,10 @@ public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, I_Persis public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -337,10 +367,10 @@ public class X_M_ChangeRequest extends PO implements I_M_ChangeRequest, I_Persis public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_CommodityShipment.java b/org.adempiere.base/src/org/compiere/model/X_M_CommodityShipment.java index e0f4e0c557..5450e82f10 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_CommodityShipment.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_CommodityShipment.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for M_CommodityShipment - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_CommodityShipment") -public class X_M_CommodityShipment extends PO implements I_M_CommodityShipment, I_Persistent +public class X_M_CommodityShipment extends PO implements I_M_CommodityShipment, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_CommodityShipment (Properties ctx, int M_CommodityShipment_ID, String trxName) @@ -56,6 +56,30 @@ public class X_M_CommodityShipment extends PO implements I_M_CommodityShipment, } */ } + /** Standard Constructor */ + public X_M_CommodityShipment (Properties ctx, String M_CommodityShipment_UU, String trxName) + { + super (ctx, M_CommodityShipment_UU, trxName); + /** if (M_CommodityShipment_UU == null) + { + setCountryOfManufacture_ID (0); + setHarmonizedCode (null); + setM_CommodityShipment_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_CommodityShipment (Properties ctx, String M_CommodityShipment_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_CommodityShipment_UU, trxName, virtualColumns); + /** if (M_CommodityShipment_UU == null) + { + setCountryOfManufacture_ID (0); + setHarmonizedCode (null); + setM_CommodityShipment_ID (0); + } */ + } + /** Load Constructor */ public X_M_CommodityShipment (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_M_CommodityShipment extends PO implements I_M_CommodityShipment, } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Cost.java b/org.adempiere.base/src/org/compiere/model/X_M_Cost.java index 9d04e3b1a9..eb6b5bf725 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Cost.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Cost.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_Cost - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Cost") -public class X_M_Cost extends PO implements I_M_Cost, I_Persistent +public class X_M_Cost extends PO implements I_M_Cost, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Cost (Properties ctx, int M_Cost_ID, String trxName) @@ -70,6 +70,42 @@ public class X_M_Cost extends PO implements I_M_Cost, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Cost (Properties ctx, String M_Cost_UU, String trxName) + { + super (ctx, M_Cost_UU, trxName); + /** if (M_Cost_UU == null) + { + setC_AcctSchema_ID (0); + setCurrentCostPrice (Env.ZERO); + setCurrentCostPriceLL (Env.ZERO); + setCurrentQty (Env.ZERO); + setFutureCostPrice (Env.ZERO); + setM_AttributeSetInstance_ID (0); + setM_CostElement_ID (0); + setM_CostType_ID (0); + setM_Product_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_Cost (Properties ctx, String M_Cost_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Cost_UU, trxName, virtualColumns); + /** if (M_Cost_UU == null) + { + setC_AcctSchema_ID (0); + setCurrentCostPrice (Env.ZERO); + setCurrentCostPriceLL (Env.ZERO); + setCurrentQty (Env.ZERO); + setFutureCostPrice (Env.ZERO); + setM_AttributeSetInstance_ID (0); + setM_CostElement_ID (0); + setM_CostType_ID (0); + setM_Product_ID (0); + } */ + } + /** Load Constructor */ public X_M_Cost (Properties ctx, ResultSet rs, String trxName) { @@ -77,7 +113,7 @@ public class X_M_Cost extends PO implements I_M_Cost, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -94,7 +130,7 @@ public class X_M_Cost extends PO implements I_M_Cost, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_M_Cost[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -323,10 +359,10 @@ public class X_M_Cost extends PO implements I_M_Cost, I_Persistent public boolean isCostFrozen() { Object oo = get_Value(COLUMNNAME_IsCostFrozen); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -491,10 +527,10 @@ public class X_M_Cost extends PO implements I_M_Cost, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_CostDetail.java b/org.adempiere.base/src/org/compiere/model/X_M_CostDetail.java index 34c62b639c..d822b2bd6e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_CostDetail.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_CostDetail.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_CostDetail - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_CostDetail") -public class X_M_CostDetail extends PO implements I_M_CostDetail, I_Persistent +public class X_M_CostDetail extends PO implements I_M_CostDetail, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_CostDetail (Properties ctx, int M_CostDetail_ID, String trxName) @@ -68,6 +68,40 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, I_Persistent } */ } + /** Standard Constructor */ + public X_M_CostDetail (Properties ctx, String M_CostDetail_UU, String trxName) + { + super (ctx, M_CostDetail_UU, trxName); + /** if (M_CostDetail_UU == null) + { + setAmt (Env.ZERO); + setC_AcctSchema_ID (0); + setIsSOTrx (false); + setM_AttributeSetInstance_ID (0); + setM_CostDetail_ID (0); + setM_Product_ID (0); + setProcessed (false); + setQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_CostDetail (Properties ctx, String M_CostDetail_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_CostDetail_UU, trxName, virtualColumns); + /** if (M_CostDetail_UU == null) + { + setAmt (Env.ZERO); + setC_AcctSchema_ID (0); + setIsSOTrx (false); + setM_AttributeSetInstance_ID (0); + setM_CostDetail_ID (0); + setM_Product_ID (0); + setProcessed (false); + setQty (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_CostDetail (Properties ctx, ResultSet rs, String trxName) { @@ -75,7 +109,7 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -371,10 +405,10 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, I_Persistent public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -700,10 +734,10 @@ public class X_M_CostDetail extends PO implements I_M_CostDetail, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_CostElement.java b/org.adempiere.base/src/org/compiere/model/X_M_CostElement.java index 5bdd4a6677..659aa6e8b6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_CostElement.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_CostElement.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_CostElement - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_CostElement") -public class X_M_CostElement extends PO implements I_M_CostElement, I_Persistent +public class X_M_CostElement extends PO implements I_M_CostElement, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_CostElement (Properties ctx, int M_CostElement_ID, String trxName) @@ -59,6 +59,32 @@ public class X_M_CostElement extends PO implements I_M_CostElement, I_Persistent } */ } + /** Standard Constructor */ + public X_M_CostElement (Properties ctx, String M_CostElement_UU, String trxName) + { + super (ctx, M_CostElement_UU, trxName); + /** if (M_CostElement_UU == null) + { + setCostElementType (null); + setIsCalculated (false); + setM_CostElement_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_CostElement (Properties ctx, String M_CostElement_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_CostElement_UU, trxName, virtualColumns); + /** if (M_CostElement_UU == null) + { + setCostElementType (null); + setIsCalculated (false); + setM_CostElement_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_CostElement (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_M_CostElement extends PO implements I_M_CostElement, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -183,10 +209,10 @@ public class X_M_CostElement extends PO implements I_M_CostElement, I_Persistent public boolean isCalculated() { Object oo = get_Value(COLUMNNAME_IsCalculated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -248,7 +274,7 @@ public class X_M_CostElement extends PO implements I_M_CostElement, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_CostHistory.java b/org.adempiere.base/src/org/compiere/model/X_M_CostHistory.java index 20b606bf36..3b6410cb40 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_CostHistory.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_CostHistory.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_CostHistory - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_CostHistory") -public class X_M_CostHistory extends PO implements I_M_CostHistory, I_Persistent +public class X_M_CostHistory extends PO implements I_M_CostHistory, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_CostHistory (Properties ctx, int M_CostHistory_ID, String trxName) @@ -72,6 +72,44 @@ public class X_M_CostHistory extends PO implements I_M_CostHistory, I_Persistent } */ } + /** Standard Constructor */ + public X_M_CostHistory (Properties ctx, String M_CostHistory_UU, String trxName) + { + super (ctx, M_CostHistory_UU, trxName); + /** if (M_CostHistory_UU == null) + { + setM_AttributeSetInstance_ID (0); + setM_CostDetail_ID (0); + setM_CostElement_ID (0); + setM_CostHistory_ID (0); + setM_CostHistory_UU (null); + setM_CostType_ID (0); + setNewCostPrice (Env.ZERO); + setNewQty (Env.ZERO); + setOldCostPrice (Env.ZERO); + setOldQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_CostHistory (Properties ctx, String M_CostHistory_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_CostHistory_UU, trxName, virtualColumns); + /** if (M_CostHistory_UU == null) + { + setM_AttributeSetInstance_ID (0); + setM_CostDetail_ID (0); + setM_CostElement_ID (0); + setM_CostHistory_ID (0); + setM_CostHistory_UU (null); + setM_CostType_ID (0); + setNewCostPrice (Env.ZERO); + setNewQty (Env.ZERO); + setOldCostPrice (Env.ZERO); + setOldQty (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_CostHistory (Properties ctx, ResultSet rs, String trxName) { @@ -79,7 +117,7 @@ public class X_M_CostHistory extends PO implements I_M_CostHistory, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_M_CostQueue.java b/org.adempiere.base/src/org/compiere/model/X_M_CostQueue.java index 11539612b4..ebad202bb0 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_CostQueue.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_CostQueue.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_CostQueue - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_CostQueue") -public class X_M_CostQueue extends PO implements I_M_CostQueue, I_Persistent +public class X_M_CostQueue extends PO implements I_M_CostQueue, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_CostQueue (Properties ctx, int M_CostQueue_ID, String trxName) @@ -68,6 +68,40 @@ public class X_M_CostQueue extends PO implements I_M_CostQueue, I_Persistent } */ } + /** Standard Constructor */ + public X_M_CostQueue (Properties ctx, String M_CostQueue_UU, String trxName) + { + super (ctx, M_CostQueue_UU, trxName); + /** if (M_CostQueue_UU == null) + { + setC_AcctSchema_ID (0); + setCurrentCostPrice (Env.ZERO); + setCurrentQty (Env.ZERO); + setM_AttributeSetInstance_ID (0); + setM_CostElement_ID (0); + setM_CostQueue_ID (0); + setM_CostType_ID (0); + setM_Product_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_CostQueue (Properties ctx, String M_CostQueue_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_CostQueue_UU, trxName, virtualColumns); + /** if (M_CostQueue_UU == null) + { + setC_AcctSchema_ID (0); + setCurrentCostPrice (Env.ZERO); + setCurrentQty (Env.ZERO); + setM_AttributeSetInstance_ID (0); + setM_CostElement_ID (0); + setM_CostQueue_ID (0); + setM_CostType_ID (0); + setM_Product_ID (0); + } */ + } + /** Load Constructor */ public X_M_CostQueue (Properties ctx, ResultSet rs, String trxName) { @@ -75,7 +109,7 @@ public class X_M_CostQueue extends PO implements I_M_CostQueue, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_M_CostType.java b/org.adempiere.base/src/org/compiere/model/X_M_CostType.java index daafb69439..cd9c26d4f4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_CostType.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_CostType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_CostType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_CostType") -public class X_M_CostType extends PO implements I_M_CostType, I_Persistent +public class X_M_CostType extends PO implements I_M_CostType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_CostType (Properties ctx, int M_CostType_ID, String trxName) @@ -55,6 +55,28 @@ public class X_M_CostType extends PO implements I_M_CostType, I_Persistent } */ } + /** Standard Constructor */ + public X_M_CostType (Properties ctx, String M_CostType_UU, String trxName) + { + super (ctx, M_CostType_UU, trxName); + /** if (M_CostType_UU == null) + { + setM_CostType_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_CostType (Properties ctx, String M_CostType_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_CostType_UU, trxName, virtualColumns); + /** if (M_CostType_UU == null) + { + setM_CostType_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_CostType (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_M_CostType extends PO implements I_M_CostType, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -171,7 +193,7 @@ public class X_M_CostType extends PO implements I_M_CostType, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Demand.java b/org.adempiere.base/src/org/compiere/model/X_M_Demand.java index 562326e098..51f11c96a8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Demand.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Demand.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_Demand - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Demand") -public class X_M_Demand extends PO implements I_M_Demand, I_Persistent +public class X_M_Demand extends PO implements I_M_Demand, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Demand (Properties ctx, int M_Demand_ID, String trxName) @@ -61,6 +61,34 @@ public class X_M_Demand extends PO implements I_M_Demand, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Demand (Properties ctx, String M_Demand_UU, String trxName) + { + super (ctx, M_Demand_UU, trxName); + /** if (M_Demand_UU == null) + { + setC_Calendar_ID (0); + setC_Year_ID (0); + setIsDefault (false); + setM_Demand_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_Demand (Properties ctx, String M_Demand_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Demand_UU, trxName, virtualColumns); + /** if (M_Demand_UU == null) + { + setC_Calendar_ID (0); + setC_Year_ID (0); + setIsDefault (false); + setM_Demand_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_Demand (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_M_Demand extends PO implements I_M_Demand, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -191,10 +219,10 @@ public class X_M_Demand extends PO implements I_M_Demand, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -256,7 +284,7 @@ public class X_M_Demand extends PO implements I_M_Demand, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -274,10 +302,10 @@ public class X_M_Demand extends PO implements I_M_Demand, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_DemandDetail.java b/org.adempiere.base/src/org/compiere/model/X_M_DemandDetail.java index 67f2759ee5..5c68fa938a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_DemandDetail.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_DemandDetail.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_DemandDetail - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_DemandDetail") -public class X_M_DemandDetail extends PO implements I_M_DemandDetail, I_Persistent +public class X_M_DemandDetail extends PO implements I_M_DemandDetail, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_DemandDetail (Properties ctx, int M_DemandDetail_ID, String trxName) @@ -55,6 +55,28 @@ public class X_M_DemandDetail extends PO implements I_M_DemandDetail, I_Persiste } */ } + /** Standard Constructor */ + public X_M_DemandDetail (Properties ctx, String M_DemandDetail_UU, String trxName) + { + super (ctx, M_DemandDetail_UU, trxName); + /** if (M_DemandDetail_UU == null) + { + setM_DemandDetail_ID (0); + setM_DemandLine_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_DemandDetail (Properties ctx, String M_DemandDetail_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_DemandDetail_UU, trxName, virtualColumns); + /** if (M_DemandDetail_UU == null) + { + setM_DemandDetail_ID (0); + setM_DemandLine_ID (0); + } */ + } + /** Load Constructor */ public X_M_DemandDetail (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_M_DemandDetail extends PO implements I_M_DemandDetail, I_Persiste } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -136,7 +158,7 @@ public class X_M_DemandDetail extends PO implements I_M_DemandDetail, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_DemandDetail_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_DemandLine.java b/org.adempiere.base/src/org/compiere/model/X_M_DemandLine.java index f98221d415..4df5441ca3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_DemandLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_DemandLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_DemandLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_DemandLine") -public class X_M_DemandLine extends PO implements I_M_DemandLine, I_Persistent +public class X_M_DemandLine extends PO implements I_M_DemandLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_DemandLine (Properties ctx, int M_DemandLine_ID, String trxName) @@ -65,6 +65,36 @@ public class X_M_DemandLine extends PO implements I_M_DemandLine, I_Persistent } */ } + /** Standard Constructor */ + public X_M_DemandLine (Properties ctx, String M_DemandLine_UU, String trxName) + { + super (ctx, M_DemandLine_UU, trxName); + /** if (M_DemandLine_UU == null) + { + setC_Period_ID (0); + setM_Demand_ID (0); + setM_DemandLine_ID (0); + setM_Product_ID (0); + setQty (Env.ZERO); + setQtyCalculated (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_DemandLine (Properties ctx, String M_DemandLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_DemandLine_UU, trxName, virtualColumns); + /** if (M_DemandLine_UU == null) + { + setC_Period_ID (0); + setM_Demand_ID (0); + setM_DemandLine_ID (0); + setM_Product_ID (0); + setQty (Env.ZERO); + setQtyCalculated (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_DemandLine (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +102,7 @@ public class X_M_DemandLine extends PO implements I_M_DemandLine, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -124,7 +154,7 @@ public class X_M_DemandLine extends PO implements I_M_DemandLine, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_Period_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_DiscountSchema.java b/org.adempiere.base/src/org/compiere/model/X_M_DiscountSchema.java index 0874096652..a2edc0d717 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_DiscountSchema.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_DiscountSchema.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_DiscountSchema - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_DiscountSchema") -public class X_M_DiscountSchema extends PO implements I_M_DiscountSchema, I_Persistent +public class X_M_DiscountSchema extends PO implements I_M_DiscountSchema, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_DiscountSchema (Properties ctx, int M_DiscountSchema_ID, String trxName) @@ -68,6 +68,38 @@ public class X_M_DiscountSchema extends PO implements I_M_DiscountSchema, I_Pers } */ } + /** Standard Constructor */ + public X_M_DiscountSchema (Properties ctx, String M_DiscountSchema_UU, String trxName) + { + super (ctx, M_DiscountSchema_UU, trxName); + /** if (M_DiscountSchema_UU == null) + { + setDiscountType (null); + setIsBPartnerFlatDiscount (false); + setIsQuantityBased (true); +// Y + setM_DiscountSchema_ID (0); + setName (null); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_M_DiscountSchema (Properties ctx, String M_DiscountSchema_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_DiscountSchema_UU, trxName, virtualColumns); + /** if (M_DiscountSchema_UU == null) + { + setDiscountType (null); + setIsBPartnerFlatDiscount (false); + setIsQuantityBased (true); +// Y + setM_DiscountSchema_ID (0); + setName (null); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_M_DiscountSchema (Properties ctx, ResultSet rs, String trxName) { @@ -75,7 +107,7 @@ public class X_M_DiscountSchema extends PO implements I_M_DiscountSchema, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -193,10 +225,10 @@ public class X_M_DiscountSchema extends PO implements I_M_DiscountSchema, I_Pers public boolean isBPartnerFlatDiscount() { Object oo = get_Value(COLUMNNAME_IsBPartnerFlatDiscount); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -216,10 +248,10 @@ public class X_M_DiscountSchema extends PO implements I_M_DiscountSchema, I_Pers public boolean isQuantityBased() { Object oo = get_Value(COLUMNNAME_IsQuantityBased); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -281,7 +313,7 @@ public class X_M_DiscountSchema extends PO implements I_M_DiscountSchema, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -299,10 +331,10 @@ public class X_M_DiscountSchema extends PO implements I_M_DiscountSchema, I_Pers public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_DiscountSchemaBreak.java b/org.adempiere.base/src/org/compiere/model/X_M_DiscountSchemaBreak.java index d5be1ddbef..4eac28062e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_DiscountSchemaBreak.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_DiscountSchemaBreak.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_DiscountSchemaBreak - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_DiscountSchemaBreak") -public class X_M_DiscountSchemaBreak extends PO implements I_M_DiscountSchemaBreak, I_Persistent +public class X_M_DiscountSchemaBreak extends PO implements I_M_DiscountSchemaBreak, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_DiscountSchemaBreak (Properties ctx, int M_DiscountSchemaBreak_ID, String trxName) @@ -69,6 +69,40 @@ public class X_M_DiscountSchemaBreak extends PO implements I_M_DiscountSchemaBre } */ } + /** Standard Constructor */ + public X_M_DiscountSchemaBreak (Properties ctx, String M_DiscountSchemaBreak_UU, String trxName) + { + super (ctx, M_DiscountSchemaBreak_UU, trxName); + /** if (M_DiscountSchemaBreak_UU == null) + { + setBreakDiscount (Env.ZERO); + setBreakValue (Env.ZERO); + setIsBPartnerFlatDiscount (false); +// N + setM_DiscountSchemaBreak_ID (0); + setM_DiscountSchema_ID (0); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM M_DiscountSchemaBreak WHERE M_DiscountSchema_ID=@M_DiscountSchema_ID@ + } */ + } + + /** Standard Constructor */ + public X_M_DiscountSchemaBreak (Properties ctx, String M_DiscountSchemaBreak_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_DiscountSchemaBreak_UU, trxName, virtualColumns); + /** if (M_DiscountSchemaBreak_UU == null) + { + setBreakDiscount (Env.ZERO); + setBreakValue (Env.ZERO); + setIsBPartnerFlatDiscount (false); +// N + setM_DiscountSchemaBreak_ID (0); + setM_DiscountSchema_ID (0); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM M_DiscountSchemaBreak WHERE M_DiscountSchema_ID=@M_DiscountSchema_ID@ + } */ + } + /** Load Constructor */ public X_M_DiscountSchemaBreak (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +110,7 @@ public class X_M_DiscountSchemaBreak extends PO implements I_M_DiscountSchemaBre } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -168,10 +202,10 @@ public class X_M_DiscountSchemaBreak extends PO implements I_M_DiscountSchemaBre public boolean isBPartnerFlatDiscount() { Object oo = get_Value(COLUMNNAME_IsBPartnerFlatDiscount); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -320,7 +354,7 @@ public class X_M_DiscountSchemaBreak extends PO implements I_M_DiscountSchemaBre /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getSeqNo())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_DiscountSchemaLine.java b/org.adempiere.base/src/org/compiere/model/X_M_DiscountSchemaLine.java index 50f1e9d3a6..a7c614797b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_DiscountSchemaLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_DiscountSchemaLine.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_DiscountSchemaLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_DiscountSchemaLine") -public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine, I_Persistent +public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_DiscountSchemaLine (Properties ctx, int M_DiscountSchemaLine_ID, String trxName) @@ -120,6 +120,90 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine } */ } + /** Standard Constructor */ + public X_M_DiscountSchemaLine (Properties ctx, String M_DiscountSchemaLine_UU, String trxName) + { + super (ctx, M_DiscountSchemaLine_UU, trxName); + /** if (M_DiscountSchemaLine_UU == null) + { + setC_ConversionType_ID (0); + setConversionDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setIsIgnoreIsCurrentVendor (false); +// N + setLimit_AddAmt (Env.ZERO); + setLimit_Base (null); +// X + setLimit_Discount (Env.ZERO); + setLimit_MaxAmt (Env.ZERO); + setLimit_MinAmt (Env.ZERO); + setLimit_Rounding (null); +// C + setList_AddAmt (Env.ZERO); + setList_Base (null); +// L + setList_Discount (Env.ZERO); + setList_MaxAmt (Env.ZERO); + setList_MinAmt (Env.ZERO); + setList_Rounding (null); +// C + setM_DiscountSchema_ID (0); + setM_DiscountSchemaLine_ID (0); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM M_DiscountSchemaLine WHERE M_DiscountSchema_ID=@M_DiscountSchema_ID@ + setStd_AddAmt (Env.ZERO); + setStd_Base (null); +// S + setStd_Discount (Env.ZERO); + setStd_MaxAmt (Env.ZERO); + setStd_MinAmt (Env.ZERO); + setStd_Rounding (null); +// C + } */ + } + + /** Standard Constructor */ + public X_M_DiscountSchemaLine (Properties ctx, String M_DiscountSchemaLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_DiscountSchemaLine_UU, trxName, virtualColumns); + /** if (M_DiscountSchemaLine_UU == null) + { + setC_ConversionType_ID (0); + setConversionDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setIsIgnoreIsCurrentVendor (false); +// N + setLimit_AddAmt (Env.ZERO); + setLimit_Base (null); +// X + setLimit_Discount (Env.ZERO); + setLimit_MaxAmt (Env.ZERO); + setLimit_MinAmt (Env.ZERO); + setLimit_Rounding (null); +// C + setList_AddAmt (Env.ZERO); + setList_Base (null); +// L + setList_Discount (Env.ZERO); + setList_MaxAmt (Env.ZERO); + setList_MinAmt (Env.ZERO); + setList_Rounding (null); +// C + setM_DiscountSchema_ID (0); + setM_DiscountSchemaLine_ID (0); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM M_DiscountSchemaLine WHERE M_DiscountSchema_ID=@M_DiscountSchema_ID@ + setStd_AddAmt (Env.ZERO); + setStd_Base (null); +// S + setStd_Discount (Env.ZERO); + setStd_MaxAmt (Env.ZERO); + setStd_MinAmt (Env.ZERO); + setStd_Rounding (null); +// C + } */ + } + /** Load Constructor */ public X_M_DiscountSchemaLine (Properties ctx, ResultSet rs, String trxName) { @@ -127,7 +211,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -296,10 +380,10 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine public boolean isIgnoreIsCurrentVendor() { Object oo = get_Value(COLUMNNAME_IsIgnoreIsCurrentVendor); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -774,7 +858,7 @@ public class X_M_DiscountSchemaLine extends PO implements I_M_DiscountSchemaLine /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getSeqNo())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_DistributionList.java b/org.adempiere.base/src/org/compiere/model/X_M_DistributionList.java index 8c00c8589a..e100f72e5b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_DistributionList.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_DistributionList.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_DistributionList - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_DistributionList") -public class X_M_DistributionList extends PO implements I_M_DistributionList, I_Persistent +public class X_M_DistributionList extends PO implements I_M_DistributionList, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_DistributionList (Properties ctx, int M_DistributionList_ID, String trxName) @@ -57,6 +57,28 @@ public class X_M_DistributionList extends PO implements I_M_DistributionList, I_ } */ } + /** Standard Constructor */ + public X_M_DistributionList (Properties ctx, String M_DistributionList_UU, String trxName) + { + super (ctx, M_DistributionList_UU, trxName); + /** if (M_DistributionList_UU == null) + { + setM_DistributionList_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_DistributionList (Properties ctx, String M_DistributionList_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_DistributionList_UU, trxName, virtualColumns); + /** if (M_DistributionList_UU == null) + { + setM_DistributionList_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_DistributionList (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +86,7 @@ public class X_M_DistributionList extends PO implements I_M_DistributionList, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -173,7 +195,7 @@ public class X_M_DistributionList extends PO implements I_M_DistributionList, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -191,10 +213,10 @@ public class X_M_DistributionList extends PO implements I_M_DistributionList, I_ public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_DistributionListLine.java b/org.adempiere.base/src/org/compiere/model/X_M_DistributionListLine.java index ed0bdebb94..820da0fb35 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_DistributionListLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_DistributionListLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_DistributionListLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_DistributionListLine") -public class X_M_DistributionListLine extends PO implements I_M_DistributionListLine, I_Persistent +public class X_M_DistributionListLine extends PO implements I_M_DistributionListLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_DistributionListLine (Properties ctx, int M_DistributionListLine_ID, String trxName) @@ -63,6 +63,34 @@ public class X_M_DistributionListLine extends PO implements I_M_DistributionList } */ } + /** Standard Constructor */ + public X_M_DistributionListLine (Properties ctx, String M_DistributionListLine_UU, String trxName) + { + super (ctx, M_DistributionListLine_UU, trxName); + /** if (M_DistributionListLine_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setM_DistributionList_ID (0); + setM_DistributionListLine_ID (0); + setMinQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_DistributionListLine (Properties ctx, String M_DistributionListLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_DistributionListLine_UU, trxName, virtualColumns); + /** if (M_DistributionListLine_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setM_DistributionList_ID (0); + setM_DistributionListLine_ID (0); + setMinQty (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_DistributionListLine (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +98,7 @@ public class X_M_DistributionListLine extends PO implements I_M_DistributionList } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -194,7 +222,7 @@ public class X_M_DistributionListLine extends PO implements I_M_DistributionList /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_DistributionList_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_DistributionRun.java b/org.adempiere.base/src/org/compiere/model/X_M_DistributionRun.java index d05c927147..423db4d16f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_DistributionRun.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_DistributionRun.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_DistributionRun - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_DistributionRun") -public class X_M_DistributionRun extends PO implements I_M_DistributionRun, I_Persistent +public class X_M_DistributionRun extends PO implements I_M_DistributionRun, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_DistributionRun (Properties ctx, int M_DistributionRun_ID, String trxName) @@ -59,6 +59,32 @@ public class X_M_DistributionRun extends PO implements I_M_DistributionRun, I_Pe } */ } + /** Standard Constructor */ + public X_M_DistributionRun (Properties ctx, String M_DistributionRun_UU, String trxName) + { + super (ctx, M_DistributionRun_UU, trxName); + /** if (M_DistributionRun_UU == null) + { + setIsCreateSingleOrder (false); +// N + setM_DistributionRun_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_DistributionRun (Properties ctx, String M_DistributionRun_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_DistributionRun_UU, trxName, virtualColumns); + /** if (M_DistributionRun_UU == null) + { + setIsCreateSingleOrder (false); +// N + setM_DistributionRun_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_DistributionRun (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_M_DistributionRun extends PO implements I_M_DistributionRun, I_Pe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -173,10 +199,10 @@ public class X_M_DistributionRun extends PO implements I_M_DistributionRun, I_Pe public boolean isCreateSingleOrder() { Object oo = get_Value(COLUMNNAME_IsCreateSingleOrder); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -238,7 +264,7 @@ public class X_M_DistributionRun extends PO implements I_M_DistributionRun, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -256,10 +282,10 @@ public class X_M_DistributionRun extends PO implements I_M_DistributionRun, I_Pe public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_DistributionRunLine.java b/org.adempiere.base/src/org/compiere/model/X_M_DistributionRunLine.java index 0b7ff8f4e9..7b21da5fc2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_DistributionRunLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_DistributionRunLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_DistributionRunLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_DistributionRunLine") -public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLine, I_Persistent +public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_DistributionRunLine (Properties ctx, int M_DistributionRunLine_ID, String trxName) @@ -71,6 +71,42 @@ public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLi } */ } + /** Standard Constructor */ + public X_M_DistributionRunLine (Properties ctx, String M_DistributionRunLine_UU, String trxName) + { + super (ctx, M_DistributionRunLine_UU, trxName); + /** if (M_DistributionRunLine_UU == null) + { + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_DistributionRunLine WHERE M_DistributionRun_ID=@M_DistributionRun_ID@ + setM_DistributionList_ID (0); + setM_DistributionRun_ID (0); + setM_DistributionRunLine_ID (0); + setMinQty (Env.ZERO); +// 0 + setM_Product_ID (0); + setTotalQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_DistributionRunLine (Properties ctx, String M_DistributionRunLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_DistributionRunLine_UU, trxName, virtualColumns); + /** if (M_DistributionRunLine_UU == null) + { + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_DistributionRunLine WHERE M_DistributionRun_ID=@M_DistributionRun_ID@ + setM_DistributionList_ID (0); + setM_DistributionRun_ID (0); + setM_DistributionRunLine_ID (0); + setMinQty (Env.ZERO); +// 0 + setM_Product_ID (0); + setTotalQty (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_DistributionRunLine (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +114,7 @@ public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLi } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -193,7 +229,7 @@ public class X_M_DistributionRunLine extends PO implements I_M_DistributionRunLi /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_DistributionRun_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Forecast.java b/org.adempiere.base/src/org/compiere/model/X_M_Forecast.java index bbb0407cc1..a90ec957e7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Forecast.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Forecast.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_Forecast - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Forecast") -public class X_M_Forecast extends PO implements I_M_Forecast, I_Persistent +public class X_M_Forecast extends PO implements I_M_Forecast, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Forecast (Properties ctx, int M_Forecast_ID, String trxName) @@ -61,6 +61,34 @@ public class X_M_Forecast extends PO implements I_M_Forecast, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Forecast (Properties ctx, String M_Forecast_UU, String trxName) + { + super (ctx, M_Forecast_UU, trxName); + /** if (M_Forecast_UU == null) + { + setC_Calendar_ID (0); + setC_Year_ID (0); + setIsDefault (false); + setM_Forecast_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_Forecast (Properties ctx, String M_Forecast_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Forecast_UU, trxName, virtualColumns); + /** if (M_Forecast_UU == null) + { + setC_Calendar_ID (0); + setC_Year_ID (0); + setIsDefault (false); + setM_Forecast_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_Forecast (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_M_Forecast extends PO implements I_M_Forecast, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -191,10 +219,10 @@ public class X_M_Forecast extends PO implements I_M_Forecast, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -284,7 +312,7 @@ public class X_M_Forecast extends PO implements I_M_Forecast, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -302,10 +330,10 @@ public class X_M_Forecast extends PO implements I_M_Forecast, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ForecastLine.java b/org.adempiere.base/src/org/compiere/model/X_M_ForecastLine.java index a790c465d2..9f6ae4e402 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ForecastLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ForecastLine.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_ForecastLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ForecastLine") -public class X_M_ForecastLine extends PO implements I_M_ForecastLine, I_Persistent +public class X_M_ForecastLine extends PO implements I_M_ForecastLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ForecastLine (Properties ctx, int M_ForecastLine_ID, String trxName) @@ -72,6 +72,42 @@ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, I_Persiste } */ } + /** Standard Constructor */ + public X_M_ForecastLine (Properties ctx, String M_ForecastLine_UU, String trxName) + { + super (ctx, M_ForecastLine_UU, trxName); + /** if (M_ForecastLine_UU == null) + { + setC_Period_ID (0); + setDatePromised (new Timestamp( System.currentTimeMillis() )); + setM_Forecast_ID (0); + setM_ForecastLine_ID (0); + setM_Product_ID (0); + setM_Warehouse_ID (0); +// @M_Warehouse_ID@ + setQty (Env.ZERO); + setQtyCalculated (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_ForecastLine (Properties ctx, String M_ForecastLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ForecastLine_UU, trxName, virtualColumns); + /** if (M_ForecastLine_UU == null) + { + setC_Period_ID (0); + setDatePromised (new Timestamp( System.currentTimeMillis() )); + setM_Forecast_ID (0); + setM_ForecastLine_ID (0); + setM_Product_ID (0); + setM_Warehouse_ID (0); +// @M_Warehouse_ID@ + setQty (Env.ZERO); + setQtyCalculated (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_ForecastLine (Properties ctx, ResultSet rs, String trxName) { @@ -79,7 +115,7 @@ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -131,7 +167,7 @@ public class X_M_ForecastLine extends PO implements I_M_ForecastLine, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getC_Period_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Freight.java b/org.adempiere.base/src/org/compiere/model/X_M_Freight.java index 586985b46f..87731e0646 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Freight.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Freight.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_Freight - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Freight") -public class X_M_Freight extends PO implements I_M_Freight, I_Persistent +public class X_M_Freight extends PO implements I_M_Freight, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Freight (Properties ctx, int M_Freight_ID, String trxName) @@ -66,6 +66,36 @@ public class X_M_Freight extends PO implements I_M_Freight, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Freight (Properties ctx, String M_Freight_UU, String trxName) + { + super (ctx, M_Freight_UU, trxName); + /** if (M_Freight_UU == null) + { + setC_Currency_ID (0); + setFreightAmt (Env.ZERO); + setM_FreightCategory_ID (0); + setM_Freight_ID (0); + setM_Shipper_ID (0); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_M_Freight (Properties ctx, String M_Freight_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Freight_UU, trxName, virtualColumns); + /** if (M_Freight_UU == null) + { + setC_Currency_ID (0); + setFreightAmt (Env.ZERO); + setM_FreightCategory_ID (0); + setM_Freight_ID (0); + setM_Shipper_ID (0); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_M_Freight (Properties ctx, ResultSet rs, String trxName) { @@ -73,7 +103,7 @@ public class X_M_Freight extends PO implements I_M_Freight, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -329,7 +359,7 @@ public class X_M_Freight extends PO implements I_M_Freight, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_Shipper_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_FreightCategory.java b/org.adempiere.base/src/org/compiere/model/X_M_FreightCategory.java index d43fa3db76..324afa4750 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_FreightCategory.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_FreightCategory.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_FreightCategory - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_FreightCategory") -public class X_M_FreightCategory extends PO implements I_M_FreightCategory, I_Persistent +public class X_M_FreightCategory extends PO implements I_M_FreightCategory, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_FreightCategory (Properties ctx, int M_FreightCategory_ID, String trxName) @@ -57,6 +57,30 @@ public class X_M_FreightCategory extends PO implements I_M_FreightCategory, I_Pe } */ } + /** Standard Constructor */ + public X_M_FreightCategory (Properties ctx, String M_FreightCategory_UU, String trxName) + { + super (ctx, M_FreightCategory_UU, trxName); + /** if (M_FreightCategory_UU == null) + { + setM_FreightCategory_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_M_FreightCategory (Properties ctx, String M_FreightCategory_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_FreightCategory_UU, trxName, virtualColumns); + /** if (M_FreightCategory_UU == null) + { + setM_FreightCategory_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_M_FreightCategory (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_M_FreightCategory extends PO implements I_M_FreightCategory, I_Pe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -173,7 +197,7 @@ public class X_M_FreightCategory extends PO implements I_M_FreightCategory, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_InOut.java b/org.adempiere.base/src/org/compiere/model/X_M_InOut.java index db5e5a9d3b..1687e57241 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_InOut.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_InOut.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_InOut - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_InOut") -public class X_M_InOut extends PO implements I_M_InOut, I_Persistent +public class X_M_InOut extends PO implements I_M_InOut, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_InOut (Properties ctx, int M_InOut_ID, String trxName) @@ -122,6 +122,92 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent } */ } + /** Standard Constructor */ + public X_M_InOut (Properties ctx, String M_InOut_UU, String trxName) + { + super (ctx, M_InOut_UU, trxName); + /** if (M_InOut_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_DocType_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDeliveryRule (null); +// A + setDeliveryViaRule (null); +// P + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setFreightCostRule (null); +// I + setIsAlternateReturnAddress (false); +// N + setIsApproved (false); + setIsInDispute (false); + setIsInTransit (false); + setIsPrinted (false); + setIsSOTrx (false); +// @IsSOTrx@ + setM_InOut_ID (0); + setMovementDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setMovementType (null); + setM_Warehouse_ID (0); + setPosted (false); + setPriorityRule (null); +// 5 + setProcessed (false); + setSendEMail (false); + } */ + } + + /** Standard Constructor */ + public X_M_InOut (Properties ctx, String M_InOut_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_InOut_UU, trxName, virtualColumns); + /** if (M_InOut_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_DocType_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDeliveryRule (null); +// A + setDeliveryViaRule (null); +// P + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setFreightCostRule (null); +// I + setIsAlternateReturnAddress (false); +// N + setIsApproved (false); + setIsInDispute (false); + setIsInTransit (false); + setIsPrinted (false); + setIsSOTrx (false); +// @IsSOTrx@ + setM_InOut_ID (0); + setMovementDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setMovementType (null); + setM_Warehouse_ID (0); + setPosted (false); + setPriorityRule (null); +// 5 + setProcessed (false); + setSendEMail (false); + } */ + } + /** Load Constructor */ public X_M_InOut (Properties ctx, ResultSet rs, String trxName) { @@ -129,7 +215,7 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -778,7 +864,7 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -1044,10 +1130,10 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public boolean isAlternateReturnAddress() { Object oo = get_Value(COLUMNNAME_IsAlternateReturnAddress); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1067,10 +1153,10 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1090,10 +1176,10 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public boolean isDropShip() { Object oo = get_Value(COLUMNNAME_IsDropShip); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1113,10 +1199,10 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public boolean isInDispute() { Object oo = get_Value(COLUMNNAME_IsInDispute); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1136,10 +1222,10 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public boolean isInTransit() { Object oo = get_Value(COLUMNNAME_IsInTransit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1159,10 +1245,10 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1182,10 +1268,10 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1436,10 +1522,10 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1488,10 +1574,10 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1529,10 +1615,10 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1710,10 +1796,10 @@ public class X_M_InOut extends PO implements I_M_InOut, I_Persistent public boolean isSendEMail() { Object oo = get_Value(COLUMNNAME_SendEMail); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_InOutConfirm.java b/org.adempiere.base/src/org/compiere/model/X_M_InOutConfirm.java index eb9c3e162a..db52e7fe44 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_InOutConfirm.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_InOutConfirm.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_InOutConfirm - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_InOutConfirm") -public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persistent +public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_InOutConfirm (Properties ctx, int M_InOutConfirm_ID, String trxName) @@ -79,6 +79,50 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste } */ } + /** Standard Constructor */ + public X_M_InOutConfirm (Properties ctx, String M_InOutConfirm_UU, String trxName) + { + super (ctx, M_InOutConfirm_UU, trxName); + /** if (M_InOutConfirm_UU == null) + { + setConfirmType (null); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setIsApproved (false); + setIsCancelled (false); + setIsInDispute (false); +// N + setM_InOutConfirm_ID (0); + setM_InOut_ID (0); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_M_InOutConfirm (Properties ctx, String M_InOutConfirm_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_InOutConfirm_UU, trxName, virtualColumns); + /** if (M_InOutConfirm_UU == null) + { + setConfirmType (null); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setIsApproved (false); + setIsCancelled (false); + setIsInDispute (false); +// N + setM_InOutConfirm_ID (0); + setM_InOut_ID (0); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_M_InOutConfirm (Properties ctx, ResultSet rs, String trxName) { @@ -86,7 +130,7 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -339,7 +383,7 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -358,10 +402,10 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -381,10 +425,10 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste public boolean isCancelled() { Object oo = get_Value(COLUMNNAME_IsCancelled); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -404,10 +448,10 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste public boolean isInDispute() { Object oo = get_Value(COLUMNNAME_IsInDispute); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -520,10 +564,10 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -542,10 +586,10 @@ public class X_M_InOutConfirm extends PO implements I_M_InOutConfirm, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_InOutLine.java b/org.adempiere.base/src/org/compiere/model/X_M_InOutLine.java index ec541848c8..cd7e7b5540 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_InOutLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_InOutLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_InOutLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_InOutLine") -public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent +public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_InOutLine (Properties ctx, int M_InOutLine_ID, String trxName) @@ -83,6 +83,54 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent } */ } + /** Standard Constructor */ + public X_M_InOutLine (Properties ctx, String M_InOutLine_UU, String trxName) + { + super (ctx, M_InOutLine_UU, trxName); + /** if (M_InOutLine_UU == null) + { + setC_UOM_ID (0); +// @#C_UOM_ID@ + setIsDescription (false); +// N + setIsInvoiced (false); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_InOutLine WHERE M_InOut_ID=@M_InOut_ID@ + setM_AttributeSetInstance_ID (0); + setM_InOut_ID (0); + setM_InOutLine_ID (0); + setMovementQty (Env.ZERO); +// 1 + setProcessed (false); + setQtyEntered (Env.ZERO); +// 1 + } */ + } + + /** Standard Constructor */ + public X_M_InOutLine (Properties ctx, String M_InOutLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_InOutLine_UU, trxName, virtualColumns); + /** if (M_InOutLine_UU == null) + { + setC_UOM_ID (0); +// @#C_UOM_ID@ + setIsDescription (false); +// N + setIsInvoiced (false); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_InOutLine WHERE M_InOut_ID=@M_InOut_ID@ + setM_AttributeSetInstance_ID (0); + setM_InOut_ID (0); + setM_InOutLine_ID (0); + setMovementQty (Env.ZERO); +// 1 + setProcessed (false); + setQtyEntered (Env.ZERO); +// 1 + } */ + } + /** Load Constructor */ public X_M_InOutLine (Properties ctx, ResultSet rs, String trxName) { @@ -90,7 +138,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -406,10 +454,10 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent public boolean isAutoProduce() { Object oo = get_Value(COLUMNNAME_IsAutoProduce); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -429,10 +477,10 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent public boolean isDescription() { Object oo = get_Value(COLUMNNAME_IsDescription); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -452,10 +500,10 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent public boolean isInvoiced() { Object oo = get_Value(COLUMNNAME_IsInvoiced); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -483,7 +531,7 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getLine())); } @@ -716,10 +764,10 @@ public class X_M_InOutLine extends PO implements I_M_InOutLine, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_InOutLineConfirm.java b/org.adempiere.base/src/org/compiere/model/X_M_InOutLineConfirm.java index a4841c106f..11a7f6ec1b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_InOutLineConfirm.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_InOutLineConfirm.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_InOutLineConfirm - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_InOutLineConfirm") -public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, I_Persistent +public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_InOutLineConfirm (Properties ctx, int M_InOutLineConfirm_ID, String trxName) @@ -65,6 +65,36 @@ public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, I_ } */ } + /** Standard Constructor */ + public X_M_InOutLineConfirm (Properties ctx, String M_InOutLineConfirm_UU, String trxName) + { + super (ctx, M_InOutLineConfirm_UU, trxName); + /** if (M_InOutLineConfirm_UU == null) + { + setConfirmedQty (Env.ZERO); + setM_InOutConfirm_ID (0); + setM_InOutLineConfirm_ID (0); + setM_InOutLine_ID (0); + setProcessed (false); + setTargetQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_InOutLineConfirm (Properties ctx, String M_InOutLineConfirm_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_InOutLineConfirm_UU, trxName, virtualColumns); + /** if (M_InOutLineConfirm_UU == null) + { + setConfirmedQty (Env.ZERO); + setM_InOutConfirm_ID (0); + setM_InOutLineConfirm_ID (0); + setM_InOutLine_ID (0); + setProcessed (false); + setTargetQty (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_InOutLineConfirm (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +102,7 @@ public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, I_ } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -287,7 +317,7 @@ public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_InOutLine_ID())); } @@ -334,10 +364,10 @@ public class X_M_InOutLineConfirm extends PO implements I_M_InOutLineConfirm, I_ public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_InOutLineMA.java b/org.adempiere.base/src/org/compiere/model/X_M_InOutLineMA.java index 7eba887db3..f18d0c5e07 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_InOutLineMA.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_InOutLineMA.java @@ -22,19 +22,19 @@ import java.sql.ResultSet; import java.sql.Timestamp; import java.util.Properties; import org.compiere.util.Env; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for M_InOutLineMA - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_InOutLineMA") -public class X_M_InOutLineMA extends PO implements I_M_InOutLineMA, I_Persistent +public class X_M_InOutLineMA extends PO implements I_M_InOutLineMA, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_InOutLineMA (Properties ctx, int M_InOutLineMA_ID, String trxName) @@ -62,6 +62,32 @@ public class X_M_InOutLineMA extends PO implements I_M_InOutLineMA, I_Persistent } */ } + /** Standard Constructor */ + public X_M_InOutLineMA (Properties ctx, String M_InOutLineMA_UU, String trxName) + { + super (ctx, M_InOutLineMA_UU, trxName); + /** if (M_InOutLineMA_UU == null) + { + setM_AttributeSetInstance_ID (0); + setM_InOutLine_ID (0); + setMovementQty (Env.ZERO); +// 1 + } */ + } + + /** Standard Constructor */ + public X_M_InOutLineMA (Properties ctx, String M_InOutLineMA_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_InOutLineMA_UU, trxName, virtualColumns); + /** if (M_InOutLineMA_UU == null) + { + setM_AttributeSetInstance_ID (0); + setM_InOutLine_ID (0); + setMovementQty (Env.ZERO); +// 1 + } */ + } + /** Load Constructor */ public X_M_InOutLineMA (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +95,7 @@ public class X_M_InOutLineMA extends PO implements I_M_InOutLineMA, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -86,7 +112,7 @@ public class X_M_InOutLineMA extends PO implements I_M_InOutLineMA, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_M_InOutLineMA[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -119,10 +145,10 @@ public class X_M_InOutLineMA extends PO implements I_M_InOutLineMA, I_Persistent public boolean isAutoGenerated() { Object oo = get_Value(COLUMNNAME_IsAutoGenerated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -184,12 +210,12 @@ public class X_M_InOutLineMA extends PO implements I_M_InOutLineMA, I_Persistent return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getM_InOutLine_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getM_InOutLine_ID())); } /** Set M_InOutLineMA_UU. diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Inventory.java b/org.adempiere.base/src/org/compiere/model/X_M_Inventory.java index 5c062623a8..0d7f6ffca5 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Inventory.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Inventory.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_Inventory - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Inventory") -public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent +public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Inventory (Properties ctx, int M_Inventory_ID, String trxName) @@ -78,6 +78,48 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Inventory (Properties ctx, String M_Inventory_UU, String trxName) + { + super (ctx, M_Inventory_UU, trxName); + /** if (M_Inventory_UU == null) + { + setC_DocType_ID (0); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setIsApproved (false); + setM_Inventory_ID (0); + setMovementDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setPosted (false); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_M_Inventory (Properties ctx, String M_Inventory_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Inventory_UU, trxName, virtualColumns); + /** if (M_Inventory_UU == null) + { + setC_DocType_ID (0); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setIsApproved (false); + setM_Inventory_ID (0); + setMovementDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setPosted (false); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_M_Inventory (Properties ctx, ResultSet rs, String trxName) { @@ -85,7 +127,7 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -477,7 +519,7 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -512,10 +554,10 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -644,10 +686,10 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -667,10 +709,10 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -708,10 +750,10 @@ public class X_M_Inventory extends PO implements I_M_Inventory, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_InventoryLine.java b/org.adempiere.base/src/org/compiere/model/X_M_InventoryLine.java index b5055d37b4..bceab3da36 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_InventoryLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_InventoryLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_InventoryLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_InventoryLine") -public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persistent +public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_InventoryLine (Properties ctx, int M_InventoryLine_ID, String trxName) @@ -73,6 +73,44 @@ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persis } */ } + /** Standard Constructor */ + public X_M_InventoryLine (Properties ctx, String M_InventoryLine_UU, String trxName) + { + super (ctx, M_InventoryLine_UU, trxName); + /** if (M_InventoryLine_UU == null) + { + setInventoryType (null); +// D + setM_AttributeSetInstance_ID (0); + setM_Inventory_ID (0); + setM_InventoryLine_ID (0); + setM_Product_ID (0); + setProcessed (false); + setQtyBook (Env.ZERO); + setQtyCount (Env.ZERO); + setQtyCsv (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_InventoryLine (Properties ctx, String M_InventoryLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_InventoryLine_UU, trxName, virtualColumns); + /** if (M_InventoryLine_UU == null) + { + setInventoryType (null); +// D + setM_AttributeSetInstance_ID (0); + setM_Inventory_ID (0); + setM_InventoryLine_ID (0); + setM_Product_ID (0); + setProcessed (false); + setQtyBook (Env.ZERO); + setQtyCount (Env.ZERO); + setQtyCsv (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_InventoryLine (Properties ctx, ResultSet rs, String trxName) { @@ -80,7 +118,7 @@ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persis } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -209,7 +247,7 @@ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getLine())); } @@ -396,10 +434,10 @@ public class X_M_InventoryLine extends PO implements I_M_InventoryLine, I_Persis public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_InventoryLineMA.java b/org.adempiere.base/src/org/compiere/model/X_M_InventoryLineMA.java index dfc94c1661..705e758e0a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_InventoryLineMA.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_InventoryLineMA.java @@ -22,19 +22,19 @@ import java.sql.ResultSet; import java.sql.Timestamp; import java.util.Properties; import org.compiere.util.Env; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for M_InventoryLineMA - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_InventoryLineMA") -public class X_M_InventoryLineMA extends PO implements I_M_InventoryLineMA, I_Persistent +public class X_M_InventoryLineMA extends PO implements I_M_InventoryLineMA, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_InventoryLineMA (Properties ctx, int M_InventoryLineMA_ID, String trxName) @@ -62,6 +62,32 @@ public class X_M_InventoryLineMA extends PO implements I_M_InventoryLineMA, I_Pe } */ } + /** Standard Constructor */ + public X_M_InventoryLineMA (Properties ctx, String M_InventoryLineMA_UU, String trxName) + { + super (ctx, M_InventoryLineMA_UU, trxName); + /** if (M_InventoryLineMA_UU == null) + { + setM_AttributeSetInstance_ID (0); + setM_InventoryLine_ID (0); + setMovementQty (Env.ZERO); +// 1 + } */ + } + + /** Standard Constructor */ + public X_M_InventoryLineMA (Properties ctx, String M_InventoryLineMA_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_InventoryLineMA_UU, trxName, virtualColumns); + /** if (M_InventoryLineMA_UU == null) + { + setM_AttributeSetInstance_ID (0); + setM_InventoryLine_ID (0); + setMovementQty (Env.ZERO); +// 1 + } */ + } + /** Load Constructor */ public X_M_InventoryLineMA (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +95,7 @@ public class X_M_InventoryLineMA extends PO implements I_M_InventoryLineMA, I_Pe } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -86,7 +112,7 @@ public class X_M_InventoryLineMA extends PO implements I_M_InventoryLineMA, I_Pe public String toString() { StringBuilder sb = new StringBuilder ("X_M_InventoryLineMA[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -119,10 +145,10 @@ public class X_M_InventoryLineMA extends PO implements I_M_InventoryLineMA, I_Pe public boolean isAutoGenerated() { Object oo = get_Value(COLUMNNAME_IsAutoGenerated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -184,12 +210,12 @@ public class X_M_InventoryLineMA extends PO implements I_M_InventoryLineMA, I_Pe return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getM_InventoryLine_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getM_InventoryLine_ID())); } /** Set M_InventoryLineMA_UU. diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Locator.java b/org.adempiere.base/src/org/compiere/model/X_M_Locator.java index f6d6112ed5..799947ff6c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Locator.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Locator.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_Locator - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Locator") -public class X_M_Locator extends PO implements I_M_Locator, I_Persistent +public class X_M_Locator extends PO implements I_M_Locator, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Locator (Properties ctx, int M_Locator_ID, String trxName) @@ -69,6 +69,42 @@ public class X_M_Locator extends PO implements I_M_Locator, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Locator (Properties ctx, String M_Locator_UU, String trxName) + { + super (ctx, M_Locator_UU, trxName); + /** if (M_Locator_UU == null) + { + setIsDefault (false); + setM_Locator_ID (0); + setM_Warehouse_ID (0); + setPriorityNo (0); +// 50 + setValue (null); + setX (null); + setY (null); + setZ (null); + } */ + } + + /** Standard Constructor */ + public X_M_Locator (Properties ctx, String M_Locator_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Locator_UU, trxName, virtualColumns); + /** if (M_Locator_UU == null) + { + setIsDefault (false); + setM_Locator_ID (0); + setM_Warehouse_ID (0); + setPriorityNo (0); +// 50 + setValue (null); + setX (null); + setY (null); + setZ (null); + } */ + } + /** Load Constructor */ public X_M_Locator (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +112,7 @@ public class X_M_Locator extends PO implements I_M_Locator, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -111,10 +147,10 @@ public class X_M_Locator extends PO implements I_M_Locator, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -250,7 +286,7 @@ public class X_M_Locator extends PO implements I_M_Locator, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getValue()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_LocatorType.java b/org.adempiere.base/src/org/compiere/model/X_M_LocatorType.java index b765e0a727..c868cc10e4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_LocatorType.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_LocatorType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_LocatorType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_LocatorType") -public class X_M_LocatorType extends PO implements I_M_LocatorType, I_Persistent +public class X_M_LocatorType extends PO implements I_M_LocatorType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_LocatorType (Properties ctx, int M_LocatorType_ID, String trxName) @@ -67,6 +67,40 @@ public class X_M_LocatorType extends PO implements I_M_LocatorType, I_Persistent } */ } + /** Standard Constructor */ + public X_M_LocatorType (Properties ctx, String M_LocatorType_UU, String trxName) + { + super (ctx, M_LocatorType_UU, trxName); + /** if (M_LocatorType_UU == null) + { + setIsAvailableForReplenishment (true); +// Y + setIsAvailableForReservation (true); +// Y + setIsAvailableForShipping (true); +// Y + setM_LocatorType_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_LocatorType (Properties ctx, String M_LocatorType_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_LocatorType_UU, trxName, virtualColumns); + /** if (M_LocatorType_UU == null) + { + setIsAvailableForReplenishment (true); +// Y + setIsAvailableForReservation (true); +// Y + setIsAvailableForShipping (true); +// Y + setM_LocatorType_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_LocatorType (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +108,7 @@ public class X_M_LocatorType extends PO implements I_M_LocatorType, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -140,10 +174,10 @@ public class X_M_LocatorType extends PO implements I_M_LocatorType, I_Persistent public boolean isAvailableForReplenishment() { Object oo = get_Value(COLUMNNAME_IsAvailableForReplenishment); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -162,10 +196,10 @@ public class X_M_LocatorType extends PO implements I_M_LocatorType, I_Persistent public boolean isAvailableForReservation() { Object oo = get_Value(COLUMNNAME_IsAvailableForReservation); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -184,10 +218,10 @@ public class X_M_LocatorType extends PO implements I_M_LocatorType, I_Persistent public boolean isAvailableForShipping() { Object oo = get_Value(COLUMNNAME_IsAvailableForShipping); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -248,7 +282,7 @@ public class X_M_LocatorType extends PO implements I_M_LocatorType, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Lot.java b/org.adempiere.base/src/org/compiere/model/X_M_Lot.java index 07ee7a0305..5197dfc123 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Lot.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Lot.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_Lot - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Lot") -public class X_M_Lot extends PO implements I_M_Lot, I_Persistent +public class X_M_Lot extends PO implements I_M_Lot, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Lot (Properties ctx, int M_Lot_ID, String trxName) @@ -58,6 +58,30 @@ public class X_M_Lot extends PO implements I_M_Lot, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Lot (Properties ctx, String M_Lot_UU, String trxName) + { + super (ctx, M_Lot_UU, trxName); + /** if (M_Lot_UU == null) + { + setM_Lot_ID (0); + setM_Product_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_Lot (Properties ctx, String M_Lot_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Lot_UU, trxName, virtualColumns); + /** if (M_Lot_UU == null) + { + setM_Lot_ID (0); + setM_Product_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_Lot (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +89,7 @@ public class X_M_Lot extends PO implements I_M_Lot, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -246,7 +270,7 @@ public class X_M_Lot extends PO implements I_M_Lot, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_Product_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_LotCtl.java b/org.adempiere.base/src/org/compiere/model/X_M_LotCtl.java index 54c2ffff68..5e228b4e7a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_LotCtl.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_LotCtl.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_LotCtl - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_LotCtl") -public class X_M_LotCtl extends PO implements I_M_LotCtl, I_Persistent +public class X_M_LotCtl extends PO implements I_M_LotCtl, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_LotCtl (Properties ctx, int M_LotCtl_ID, String trxName) @@ -67,6 +67,40 @@ public class X_M_LotCtl extends PO implements I_M_LotCtl, I_Persistent } */ } + /** Standard Constructor */ + public X_M_LotCtl (Properties ctx, String M_LotCtl_UU, String trxName) + { + super (ctx, M_LotCtl_UU, trxName); + /** if (M_LotCtl_UU == null) + { + setCurrentNext (0); +// 100 + setIncrementNo (0); +// 1 + setM_LotCtl_ID (0); + setName (null); + setStartNo (0); +// 100 + } */ + } + + /** Standard Constructor */ + public X_M_LotCtl (Properties ctx, String M_LotCtl_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_LotCtl_UU, trxName, virtualColumns); + /** if (M_LotCtl_UU == null) + { + setCurrentNext (0); +// 100 + setIncrementNo (0); +// 1 + setM_LotCtl_ID (0); + setName (null); + setStartNo (0); +// 100 + } */ + } + /** Load Constructor */ public X_M_LotCtl (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +108,7 @@ public class X_M_LotCtl extends PO implements I_M_LotCtl, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -205,7 +239,7 @@ public class X_M_LotCtl extends PO implements I_M_LotCtl, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_LotCtlExclude.java b/org.adempiere.base/src/org/compiere/model/X_M_LotCtlExclude.java index fb46902316..e981098f34 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_LotCtlExclude.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_LotCtlExclude.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for M_LotCtlExclude - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_LotCtlExclude") -public class X_M_LotCtlExclude extends PO implements I_M_LotCtlExclude, I_Persistent +public class X_M_LotCtlExclude extends PO implements I_M_LotCtlExclude, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_LotCtlExclude (Properties ctx, int M_LotCtlExclude_ID, String trxName) @@ -58,6 +58,32 @@ public class X_M_LotCtlExclude extends PO implements I_M_LotCtlExclude, I_Persis } */ } + /** Standard Constructor */ + public X_M_LotCtlExclude (Properties ctx, String M_LotCtlExclude_UU, String trxName) + { + super (ctx, M_LotCtlExclude_UU, trxName); + /** if (M_LotCtlExclude_UU == null) + { + setAD_Table_ID (0); + setIsSOTrx (false); + setM_LotCtlExclude_ID (0); + setM_LotCtl_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_LotCtlExclude (Properties ctx, String M_LotCtlExclude_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_LotCtlExclude_UU, trxName, virtualColumns); + /** if (M_LotCtlExclude_UU == null) + { + setAD_Table_ID (0); + setIsSOTrx (false); + setM_LotCtlExclude_ID (0); + setM_LotCtl_ID (0); + } */ + } + /** Load Constructor */ public X_M_LotCtlExclude (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_M_LotCtlExclude extends PO implements I_M_LotCtlExclude, I_Persis } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -128,10 +154,10 @@ public class X_M_LotCtlExclude extends PO implements I_M_LotCtlExclude, I_Persis public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_MatchInv.java b/org.adempiere.base/src/org/compiere/model/X_M_MatchInv.java index 93d4071460..01b9570b1a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_MatchInv.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_MatchInv.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_MatchInv - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_MatchInv") -public class X_M_MatchInv extends PO implements I_M_MatchInv, I_Persistent +public class X_M_MatchInv extends PO implements I_M_MatchInv, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_MatchInv (Properties ctx, int M_MatchInv_ID, String trxName) @@ -72,6 +72,42 @@ public class X_M_MatchInv extends PO implements I_M_MatchInv, I_Persistent } */ } + /** Standard Constructor */ + public X_M_MatchInv (Properties ctx, String M_MatchInv_UU, String trxName) + { + super (ctx, M_MatchInv_UU, trxName); + /** if (M_MatchInv_UU == null) + { + setC_InvoiceLine_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setDateTrx (new Timestamp( System.currentTimeMillis() )); + setM_MatchInv_ID (0); + setM_Product_ID (0); + setPosted (false); + setProcessed (false); + setProcessing (false); + setQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_MatchInv (Properties ctx, String M_MatchInv_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_MatchInv_UU, trxName, virtualColumns); + /** if (M_MatchInv_UU == null) + { + setC_InvoiceLine_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setDateTrx (new Timestamp( System.currentTimeMillis() )); + setM_MatchInv_ID (0); + setM_Product_ID (0); + setPosted (false); + setProcessed (false); + setProcessing (false); + setQty (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_MatchInv (Properties ctx, ResultSet rs, String trxName) { @@ -79,7 +115,7 @@ public class X_M_MatchInv extends PO implements I_M_MatchInv, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -195,7 +231,7 @@ public class X_M_MatchInv extends PO implements I_M_MatchInv, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -335,10 +371,10 @@ public class X_M_MatchInv extends PO implements I_M_MatchInv, I_Persistent public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -358,10 +394,10 @@ public class X_M_MatchInv extends PO implements I_M_MatchInv, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -399,10 +435,10 @@ public class X_M_MatchInv extends PO implements I_M_MatchInv, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_MatchPO.java b/org.adempiere.base/src/org/compiere/model/X_M_MatchPO.java index e2e9766fc6..32dbd5aee6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_MatchPO.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_MatchPO.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_MatchPO - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_MatchPO") -public class X_M_MatchPO extends PO implements I_M_MatchPO, I_Persistent +public class X_M_MatchPO extends PO implements I_M_MatchPO, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_MatchPO (Properties ctx, int M_MatchPO_ID, String trxName) @@ -74,6 +74,44 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, I_Persistent } */ } + /** Standard Constructor */ + public X_M_MatchPO (Properties ctx, String M_MatchPO_UU, String trxName) + { + super (ctx, M_MatchPO_UU, trxName); + /** if (M_MatchPO_UU == null) + { + setC_OrderLine_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setDateTrx (new Timestamp( System.currentTimeMillis() )); + setM_InOutLine_ID (0); + setM_MatchPO_ID (0); + setM_Product_ID (0); + setPosted (false); + setProcessed (false); + setProcessing (false); + setQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_MatchPO (Properties ctx, String M_MatchPO_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_MatchPO_UU, trxName, virtualColumns); + /** if (M_MatchPO_UU == null) + { + setC_OrderLine_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setDateTrx (new Timestamp( System.currentTimeMillis() )); + setM_InOutLine_ID (0); + setM_MatchPO_ID (0); + setM_Product_ID (0); + setPosted (false); + setProcessed (false); + setProcessing (false); + setQty (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_MatchPO (Properties ctx, ResultSet rs, String trxName) { @@ -81,7 +119,7 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -225,7 +263,7 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -244,10 +282,10 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, I_Persistent public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -388,10 +426,10 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, I_Persistent public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -430,10 +468,10 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -471,10 +509,10 @@ public class X_M_MatchPO extends PO implements I_M_MatchPO, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Movement.java b/org.adempiere.base/src/org/compiere/model/X_M_Movement.java index e707038a5c..0ab013fce8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Movement.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Movement.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_Movement - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Movement") -public class X_M_Movement extends PO implements I_M_Movement, I_Persistent +public class X_M_Movement extends PO implements I_M_Movement, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Movement (Properties ctx, int M_Movement_ID, String trxName) @@ -80,6 +80,50 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Movement (Properties ctx, String M_Movement_UU, String trxName) + { + super (ctx, M_Movement_UU, trxName); + /** if (M_Movement_UU == null) + { + setC_DocType_ID (0); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setIsApproved (false); + setIsInTransit (false); + setM_Movement_ID (0); + setMovementDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setPosted (false); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_M_Movement (Properties ctx, String M_Movement_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Movement_UU, trxName, virtualColumns); + /** if (M_Movement_UU == null) + { + setC_DocType_ID (0); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setIsApproved (false); + setIsInTransit (false); + setM_Movement_ID (0); + setMovementDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setPosted (false); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_M_Movement (Properties ctx, ResultSet rs, String trxName) { @@ -87,7 +131,7 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -632,7 +676,7 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -699,10 +743,10 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -722,10 +766,10 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent public boolean isInTransit() { Object oo = get_Value(COLUMNNAME_IsInTransit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -898,10 +942,10 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -950,10 +994,10 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -991,10 +1035,10 @@ public class X_M_Movement extends PO implements I_M_Movement, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_MovementConfirm.java b/org.adempiere.base/src/org/compiere/model/X_M_MovementConfirm.java index 964628a9f0..a4778f53eb 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_MovementConfirm.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_MovementConfirm.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_MovementConfirm - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_MovementConfirm") -public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, I_Persistent +public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_MovementConfirm (Properties ctx, int M_MovementConfirm_ID, String trxName) @@ -69,6 +69,40 @@ public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, I_Pe } */ } + /** Standard Constructor */ + public X_M_MovementConfirm (Properties ctx, String M_MovementConfirm_UU, String trxName) + { + super (ctx, M_MovementConfirm_UU, trxName); + /** if (M_MovementConfirm_UU == null) + { + setDocAction (null); + setDocStatus (null); + setDocumentNo (null); + setIsApproved (false); +// N + setM_MovementConfirm_ID (0); + setM_Movement_ID (0); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_M_MovementConfirm (Properties ctx, String M_MovementConfirm_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_MovementConfirm_UU, trxName, virtualColumns); + /** if (M_MovementConfirm_UU == null) + { + setDocAction (null); + setDocStatus (null); + setDocumentNo (null); + setIsApproved (false); +// N + setM_MovementConfirm_ID (0); + setM_Movement_ID (0); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_M_MovementConfirm (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +110,7 @@ public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, I_Pe } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -241,7 +275,7 @@ public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -260,10 +294,10 @@ public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, I_Pe public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -376,10 +410,10 @@ public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, I_Pe public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -398,10 +432,10 @@ public class X_M_MovementConfirm extends PO implements I_M_MovementConfirm, I_Pe public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_MovementLine.java b/org.adempiere.base/src/org/compiere/model/X_M_MovementLine.java index 41d58ad8b4..451882f34b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_MovementLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_MovementLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_MovementLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_MovementLine") -public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persistent +public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_MovementLine (Properties ctx, int M_MovementLine_ID, String trxName) @@ -81,6 +81,52 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste } */ } + /** Standard Constructor */ + public X_M_MovementLine (Properties ctx, String M_MovementLine_UU, String trxName) + { + super (ctx, M_MovementLine_UU, trxName); + /** if (M_MovementLine_UU == null) + { + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_MovementLine WHERE M_Movement_ID=@M_Movement_ID@ + setM_Locator_ID (0); +// @M_Locator_ID@ + setM_LocatorTo_ID (0); +// @M_LocatorTo_ID@ + setM_Movement_ID (0); + setM_MovementLine_ID (0); + setMovementQty (Env.ZERO); +// 1 + setM_Product_ID (0); + setProcessed (false); + setTargetQty (Env.ZERO); +// 0 + } */ + } + + /** Standard Constructor */ + public X_M_MovementLine (Properties ctx, String M_MovementLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_MovementLine_UU, trxName, virtualColumns); + /** if (M_MovementLine_UU == null) + { + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_MovementLine WHERE M_Movement_ID=@M_Movement_ID@ + setM_Locator_ID (0); +// @M_Locator_ID@ + setM_LocatorTo_ID (0); +// @M_LocatorTo_ID@ + setM_Movement_ID (0); + setM_MovementLine_ID (0); + setMovementQty (Env.ZERO); +// 1 + setM_Product_ID (0); + setProcessed (false); + setTargetQty (Env.ZERO); +// 0 + } */ + } + /** Load Constructor */ public X_M_MovementLine (Properties ctx, ResultSet rs, String trxName) { @@ -88,7 +134,7 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -193,7 +239,7 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getLine())); } @@ -436,10 +482,10 @@ public class X_M_MovementLine extends PO implements I_M_MovementLine, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_MovementLineConfirm.java b/org.adempiere.base/src/org/compiere/model/X_M_MovementLineConfirm.java index 56f06d0416..ff593f7d58 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_MovementLineConfirm.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_MovementLineConfirm.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_MovementLineConfirm - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_MovementLineConfirm") -public class X_M_MovementLineConfirm extends PO implements I_M_MovementLineConfirm, I_Persistent +public class X_M_MovementLineConfirm extends PO implements I_M_MovementLineConfirm, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_MovementLineConfirm (Properties ctx, int M_MovementLineConfirm_ID, String trxName) @@ -69,6 +69,40 @@ public class X_M_MovementLineConfirm extends PO implements I_M_MovementLineConfi } */ } + /** Standard Constructor */ + public X_M_MovementLineConfirm (Properties ctx, String M_MovementLineConfirm_UU, String trxName) + { + super (ctx, M_MovementLineConfirm_UU, trxName); + /** if (M_MovementLineConfirm_UU == null) + { + setConfirmedQty (Env.ZERO); + setDifferenceQty (Env.ZERO); + setM_MovementConfirm_ID (0); + setM_MovementLineConfirm_ID (0); + setM_MovementLine_ID (0); + setProcessed (false); + setScrappedQty (Env.ZERO); + setTargetQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_MovementLineConfirm (Properties ctx, String M_MovementLineConfirm_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_MovementLineConfirm_UU, trxName, virtualColumns); + /** if (M_MovementLineConfirm_UU == null) + { + setConfirmedQty (Env.ZERO); + setDifferenceQty (Env.ZERO); + setM_MovementConfirm_ID (0); + setM_MovementLineConfirm_ID (0); + setM_MovementLine_ID (0); + setProcessed (false); + setScrappedQty (Env.ZERO); + setTargetQty (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_MovementLineConfirm (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +110,7 @@ public class X_M_MovementLineConfirm extends PO implements I_M_MovementLineConfi } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -210,7 +244,7 @@ public class X_M_MovementLineConfirm extends PO implements I_M_MovementLineConfi /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_MovementConfirm_ID())); } @@ -294,10 +328,10 @@ public class X_M_MovementLineConfirm extends PO implements I_M_MovementLineConfi public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_MovementLineMA.java b/org.adempiere.base/src/org/compiere/model/X_M_MovementLineMA.java index abe2d1fe2e..c22afc30e4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_MovementLineMA.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_MovementLineMA.java @@ -22,19 +22,19 @@ import java.sql.ResultSet; import java.sql.Timestamp; import java.util.Properties; import org.compiere.util.Env; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for M_MovementLineMA - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_MovementLineMA") -public class X_M_MovementLineMA extends PO implements I_M_MovementLineMA, I_Persistent +public class X_M_MovementLineMA extends PO implements I_M_MovementLineMA, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_MovementLineMA (Properties ctx, int M_MovementLineMA_ID, String trxName) @@ -58,6 +58,28 @@ public class X_M_MovementLineMA extends PO implements I_M_MovementLineMA, I_Pers } */ } + /** Standard Constructor */ + public X_M_MovementLineMA (Properties ctx, String M_MovementLineMA_UU, String trxName) + { + super (ctx, M_MovementLineMA_UU, trxName); + /** if (M_MovementLineMA_UU == null) + { + setM_AttributeSetInstance_ID (0); + setM_MovementLine_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_MovementLineMA (Properties ctx, String M_MovementLineMA_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_MovementLineMA_UU, trxName, virtualColumns); + /** if (M_MovementLineMA_UU == null) + { + setM_AttributeSetInstance_ID (0); + setM_MovementLine_ID (0); + } */ + } + /** Load Constructor */ public X_M_MovementLineMA (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +87,7 @@ public class X_M_MovementLineMA extends PO implements I_M_MovementLineMA, I_Pers } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -82,7 +104,7 @@ public class X_M_MovementLineMA extends PO implements I_M_MovementLineMA, I_Pers public String toString() { StringBuilder sb = new StringBuilder ("X_M_MovementLineMA[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -115,10 +137,10 @@ public class X_M_MovementLineMA extends PO implements I_M_MovementLineMA, I_Pers public boolean isAutoGenerated() { Object oo = get_Value(COLUMNNAME_IsAutoGenerated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -180,12 +202,12 @@ public class X_M_MovementLineMA extends PO implements I_M_MovementLineMA, I_Pers return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getM_MovementLine_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getM_MovementLine_ID())); } /** Set M_MovementLineMA_UU. diff --git a/org.adempiere.base/src/org/compiere/model/X_M_OperationResource.java b/org.adempiere.base/src/org/compiere/model/X_M_OperationResource.java index 2bf9b6bd95..d305c17031 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_OperationResource.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_OperationResource.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_OperationResource - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_OperationResource") -public class X_M_OperationResource extends PO implements I_M_OperationResource, I_Persistent +public class X_M_OperationResource extends PO implements I_M_OperationResource, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_OperationResource (Properties ctx, int M_OperationResource_ID, String trxName) @@ -65,6 +65,36 @@ public class X_M_OperationResource extends PO implements I_M_OperationResource, } */ } + /** Standard Constructor */ + public X_M_OperationResource (Properties ctx, String M_OperationResource_UU, String trxName) + { + super (ctx, M_OperationResource_UU, trxName); + /** if (M_OperationResource_UU == null) + { + setM_OperationResource_ID (0); + setM_ProductOperation_ID (0); + setName (null); + setSetupTime (Env.ZERO); + setTeardownTime (Env.ZERO); + setUnitRuntime (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_OperationResource (Properties ctx, String M_OperationResource_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_OperationResource_UU, trxName, virtualColumns); + /** if (M_OperationResource_UU == null) + { + setM_OperationResource_ID (0); + setM_ProductOperation_ID (0); + setName (null); + setSetupTime (Env.ZERO); + setTeardownTime (Env.ZERO); + setUnitRuntime (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_OperationResource (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +102,7 @@ public class X_M_OperationResource extends PO implements I_M_OperationResource, } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -265,7 +295,7 @@ public class X_M_OperationResource extends PO implements I_M_OperationResource, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Package.java b/org.adempiere.base/src/org/compiere/model/X_M_Package.java index 64aeeb97c8..6b6a4e2d04 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Package.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Package.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_Package - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Package") -public class X_M_Package extends PO implements I_M_Package, I_Persistent +public class X_M_Package extends PO implements I_M_Package, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Package (Properties ctx, int M_Package_ID, String trxName) @@ -129,6 +129,100 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Package (Properties ctx, String M_Package_UU, String trxName) + { + super (ctx, M_Package_UU, trxName); + /** if (M_Package_UU == null) + { + setCashOnDelivery (false); +// N + setDeliveryConfirmation (false); +// N + setDocumentNo (null); + setIsAccessible (false); +// N + setIsAddedHandling (false); +// N + setIsCargoAircraftOnly (false); +// N + setIsDryIce (false); +// N + setIsDutiable (false); +// N + setIsFutureDayShipment (false); +// N + setIsHazMat (false); +// N + setIsHoldAtLocation (false); +// N + setIsIgnoreZipNotFound (false); +// N + setIsIgnoreZipStateNotMatch (false); +// N + setIsResidential (true); +// Y + setIsSaturdayDelivery (false); +// N + setIsSaturdayPickup (false); +// N + setIsVerbalConfirmation (false); +// N + setM_InOut_ID (0); + setM_Package_ID (0); + setM_Shipper_ID (0); + setProcessed (false); +// N + } */ + } + + /** Standard Constructor */ + public X_M_Package (Properties ctx, String M_Package_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Package_UU, trxName, virtualColumns); + /** if (M_Package_UU == null) + { + setCashOnDelivery (false); +// N + setDeliveryConfirmation (false); +// N + setDocumentNo (null); + setIsAccessible (false); +// N + setIsAddedHandling (false); +// N + setIsCargoAircraftOnly (false); +// N + setIsDryIce (false); +// N + setIsDutiable (false); +// N + setIsFutureDayShipment (false); +// N + setIsHazMat (false); +// N + setIsHoldAtLocation (false); +// N + setIsIgnoreZipNotFound (false); +// N + setIsIgnoreZipStateNotMatch (false); +// N + setIsResidential (true); +// Y + setIsSaturdayDelivery (false); +// N + setIsSaturdayPickup (false); +// N + setIsVerbalConfirmation (false); +// N + setM_InOut_ID (0); + setM_Package_ID (0); + setM_Shipper_ID (0); + setProcessed (false); +// N + } */ + } + /** Load Constructor */ public X_M_Package (Properties ctx, ResultSet rs, String trxName) { @@ -136,7 +230,7 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -188,10 +282,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isCashOnDelivery() { Object oo = get_Value(COLUMNNAME_CashOnDelivery); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -366,10 +460,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isDeliveryConfirmation() { Object oo = get_Value(COLUMNNAME_DeliveryConfirmation); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -782,10 +876,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isAccessible() { Object oo = get_Value(COLUMNNAME_IsAccessible); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -804,10 +898,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isAddedHandling() { Object oo = get_Value(COLUMNNAME_IsAddedHandling); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -826,10 +920,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isCargoAircraftOnly() { Object oo = get_Value(COLUMNNAME_IsCargoAircraftOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -848,10 +942,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isDryIce() { Object oo = get_Value(COLUMNNAME_IsDryIce); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -870,10 +964,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isDutiable() { Object oo = get_Value(COLUMNNAME_IsDutiable); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -892,10 +986,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isFutureDayShipment() { Object oo = get_Value(COLUMNNAME_IsFutureDayShipment); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -914,10 +1008,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isHazMat() { Object oo = get_Value(COLUMNNAME_IsHazMat); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -936,10 +1030,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isHoldAtLocation() { Object oo = get_Value(COLUMNNAME_IsHoldAtLocation); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -958,10 +1052,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isIgnoreZipNotFound() { Object oo = get_Value(COLUMNNAME_IsIgnoreZipNotFound); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -980,10 +1074,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isIgnoreZipStateNotMatch() { Object oo = get_Value(COLUMNNAME_IsIgnoreZipStateNotMatch); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1002,10 +1096,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isResidential() { Object oo = get_Value(COLUMNNAME_IsResidential); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1024,10 +1118,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isSaturdayDelivery() { Object oo = get_Value(COLUMNNAME_IsSaturdayDelivery); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1046,10 +1140,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isSaturdayPickup() { Object oo = get_Value(COLUMNNAME_IsSaturdayPickup); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1068,10 +1162,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isVerbalConfirmation() { Object oo = get_Value(COLUMNNAME_IsVerbalConfirmation); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1463,10 +1557,10 @@ public class X_M_Package extends PO implements I_M_Package, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_PackageLine.java b/org.adempiere.base/src/org/compiere/model/X_M_PackageLine.java index 55d1fa28e3..10076a7670 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_PackageLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_PackageLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_PackageLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_PackageLine") -public class X_M_PackageLine extends PO implements I_M_PackageLine, I_Persistent +public class X_M_PackageLine extends PO implements I_M_PackageLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_PackageLine (Properties ctx, int M_PackageLine_ID, String trxName) @@ -61,6 +61,32 @@ public class X_M_PackageLine extends PO implements I_M_PackageLine, I_Persistent } */ } + /** Standard Constructor */ + public X_M_PackageLine (Properties ctx, String M_PackageLine_UU, String trxName) + { + super (ctx, M_PackageLine_UU, trxName); + /** if (M_PackageLine_UU == null) + { + setM_InOutLine_ID (0); + setM_Package_ID (0); + setM_PackageLine_ID (0); + setQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_PackageLine (Properties ctx, String M_PackageLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_PackageLine_UU, trxName, virtualColumns); + /** if (M_PackageLine_UU == null) + { + setM_InOutLine_ID (0); + setM_Package_ID (0); + setM_PackageLine_ID (0); + setQty (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_PackageLine (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +94,7 @@ public class X_M_PackageLine extends PO implements I_M_PackageLine, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -164,7 +190,7 @@ public class X_M_PackageLine extends PO implements I_M_PackageLine, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_Package_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_PackageMPS.java b/org.adempiere.base/src/org/compiere/model/X_M_PackageMPS.java index 73606290cc..5dd0c1d4d2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_PackageMPS.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_PackageMPS.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_PackageMPS - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_PackageMPS") -public class X_M_PackageMPS extends PO implements I_M_PackageMPS, I_Persistent +public class X_M_PackageMPS extends PO implements I_M_PackageMPS, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_PackageMPS (Properties ctx, int M_PackageMPS_ID, String trxName) @@ -61,6 +61,32 @@ public class X_M_PackageMPS extends PO implements I_M_PackageMPS, I_Persistent } */ } + /** Standard Constructor */ + public X_M_PackageMPS (Properties ctx, String M_PackageMPS_UU, String trxName) + { + super (ctx, M_PackageMPS_UU, trxName); + /** if (M_PackageMPS_UU == null) + { + setM_Package_ID (0); + setM_PackageMPS_ID (0); + setProcessed (false); +// N + } */ + } + + /** Standard Constructor */ + public X_M_PackageMPS (Properties ctx, String M_PackageMPS_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_PackageMPS_UU, trxName, virtualColumns); + /** if (M_PackageMPS_UU == null) + { + setM_Package_ID (0); + setM_PackageMPS_ID (0); + setProcessed (false); +// N + } */ + } + /** Load Constructor */ public X_M_PackageMPS (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +94,7 @@ public class X_M_PackageMPS extends PO implements I_M_PackageMPS, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -276,7 +302,7 @@ public class X_M_PackageMPS extends PO implements I_M_PackageMPS, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_Package_ID())); } @@ -350,10 +376,10 @@ public class X_M_PackageMPS extends PO implements I_M_PackageMPS, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_PartType.java b/org.adempiere.base/src/org/compiere/model/X_M_PartType.java index 136fea017c..99c705093c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_PartType.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_PartType.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for M_PartType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_PartType") -public class X_M_PartType extends PO implements I_M_PartType, I_Persistent +public class X_M_PartType extends PO implements I_M_PartType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_PartType (Properties ctx, int M_PartType_ID, String trxName) @@ -54,6 +54,28 @@ public class X_M_PartType extends PO implements I_M_PartType, I_Persistent } */ } + /** Standard Constructor */ + public X_M_PartType (Properties ctx, String M_PartType_UU, String trxName) + { + super (ctx, M_PartType_UU, trxName); + /** if (M_PartType_UU == null) + { + setM_PartType_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_PartType (Properties ctx, String M_PartType_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_PartType_UU, trxName, virtualColumns); + /** if (M_PartType_UU == null) + { + setM_PartType_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_PartType (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_M_PartType extends PO implements I_M_PartType, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_M_PerpetualInv.java b/org.adempiere.base/src/org/compiere/model/X_M_PerpetualInv.java index 395f26010b..89deb54d9e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_PerpetualInv.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_PerpetualInv.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_PerpetualInv - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_PerpetualInv") -public class X_M_PerpetualInv extends PO implements I_M_PerpetualInv, I_Persistent +public class X_M_PerpetualInv extends PO implements I_M_PerpetualInv, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_PerpetualInv (Properties ctx, int M_PerpetualInv_ID, String trxName) @@ -72,6 +72,44 @@ public class X_M_PerpetualInv extends PO implements I_M_PerpetualInv, I_Persiste } */ } + /** Standard Constructor */ + public X_M_PerpetualInv (Properties ctx, String M_PerpetualInv_UU, String trxName) + { + super (ctx, M_PerpetualInv_UU, trxName); + /** if (M_PerpetualInv_UU == null) + { + setCountHighMovement (false); + setDateNextRun (new Timestamp( System.currentTimeMillis() )); + setM_PerpetualInv_ID (0); + setName (null); + setNoInventoryCount (0); +// 1 + setNoProductCount (0); +// 1 + setNumberOfRuns (0); +// 1 + } */ + } + + /** Standard Constructor */ + public X_M_PerpetualInv (Properties ctx, String M_PerpetualInv_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_PerpetualInv_UU, trxName, virtualColumns); + /** if (M_PerpetualInv_UU == null) + { + setCountHighMovement (false); + setDateNextRun (new Timestamp( System.currentTimeMillis() )); + setM_PerpetualInv_ID (0); + setName (null); + setNoInventoryCount (0); +// 1 + setNoProductCount (0); +// 1 + setNumberOfRuns (0); +// 1 + } */ + } + /** Load Constructor */ public X_M_PerpetualInv (Properties ctx, ResultSet rs, String trxName) { @@ -79,7 +117,7 @@ public class X_M_PerpetualInv extends PO implements I_M_PerpetualInv, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -114,10 +152,10 @@ public class X_M_PerpetualInv extends PO implements I_M_PerpetualInv, I_Persiste public boolean isCountHighMovement() { Object oo = get_Value(COLUMNNAME_CountHighMovement); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -283,7 +321,7 @@ public class X_M_PerpetualInv extends PO implements I_M_PerpetualInv, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -358,10 +396,10 @@ public class X_M_PerpetualInv extends PO implements I_M_PerpetualInv, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_PriceList.java b/org.adempiere.base/src/org/compiere/model/X_M_PriceList.java index 490810f626..93173d0a82 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_PriceList.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_PriceList.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_PriceList - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_PriceList") -public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent +public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_PriceList (Properties ctx, int M_PriceList_ID, String trxName) @@ -69,6 +69,42 @@ public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent } */ } + /** Standard Constructor */ + public X_M_PriceList (Properties ctx, String M_PriceList_UU, String trxName) + { + super (ctx, M_PriceList_UU, trxName); + /** if (M_PriceList_UU == null) + { + setC_Currency_ID (0); + setEnforcePriceLimit (false); + setIsDefault (false); + setIsSOPriceList (false); + setIsTaxIncluded (false); + setM_PriceList_ID (0); + setName (null); + setPricePrecision (0); +// 2 + } */ + } + + /** Standard Constructor */ + public X_M_PriceList (Properties ctx, String M_PriceList_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_PriceList_UU, trxName, virtualColumns); + /** if (M_PriceList_UU == null) + { + setC_Currency_ID (0); + setEnforcePriceLimit (false); + setIsDefault (false); + setIsSOPriceList (false); + setIsTaxIncluded (false); + setM_PriceList_ID (0); + setName (null); + setPricePrecision (0); +// 2 + } */ + } + /** Load Constructor */ public X_M_PriceList (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +112,7 @@ public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -183,10 +219,10 @@ public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent public boolean isEnforcePriceLimit() { Object oo = get_Value(COLUMNNAME_EnforcePriceLimit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -206,10 +242,10 @@ public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -229,10 +265,10 @@ public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent public boolean isMandatory() { Object oo = get_Value(COLUMNNAME_IsMandatory); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -251,10 +287,10 @@ public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent public boolean isPresentForProduct() { Object oo = get_Value(COLUMNNAME_isPresentForProduct); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -274,10 +310,10 @@ public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent public boolean isSOPriceList() { Object oo = get_Value(COLUMNNAME_IsSOPriceList); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -297,10 +333,10 @@ public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent public boolean isTaxIncluded() { Object oo = get_Value(COLUMNNAME_IsTaxIncluded); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -362,7 +398,7 @@ public class X_M_PriceList extends PO implements I_M_PriceList, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_PriceList_Version.java b/org.adempiere.base/src/org/compiere/model/X_M_PriceList_Version.java index 861d6aba58..79dab86581 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_PriceList_Version.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_PriceList_Version.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_PriceList_Version - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_PriceList_Version") -public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, I_Persistent +public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_PriceList_Version (Properties ctx, int M_PriceList_Version_ID, String trxName) @@ -66,6 +66,38 @@ public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, } */ } + /** Standard Constructor */ + public X_M_PriceList_Version (Properties ctx, String M_PriceList_Version_UU, String trxName) + { + super (ctx, M_PriceList_Version_UU, trxName); + /** if (M_PriceList_Version_UU == null) + { + setM_DiscountSchema_ID (0); + setM_PriceList_ID (0); + setM_PriceList_Version_ID (0); + setName (null); +// @#Date@ + setValidFrom (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + } */ + } + + /** Standard Constructor */ + public X_M_PriceList_Version (Properties ctx, String M_PriceList_Version_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_PriceList_Version_UU, trxName, virtualColumns); + /** if (M_PriceList_Version_UU == null) + { + setM_DiscountSchema_ID (0); + setM_PriceList_ID (0); + setM_PriceList_Version_ID (0); + setName (null); +// @#Date@ + setValidFrom (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + } */ + } + /** Load Constructor */ public X_M_PriceList_Version (Properties ctx, ResultSet rs, String trxName) { @@ -73,7 +105,7 @@ public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -250,7 +282,7 @@ public class X_M_PriceList_Version extends PO implements I_M_PriceList_Version, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Product.java b/org.adempiere.base/src/org/compiere/model/X_M_Product.java index c0ce495169..8f88e8e636 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Product.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Product.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_Product - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Product") -public class X_M_Product extends PO implements I_M_Product, I_Persistent +public class X_M_Product extends PO implements I_M_Product, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Product (Properties ctx, int M_Product_ID, String trxName) @@ -134,6 +134,104 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Product (Properties ctx, String M_Product_UU, String trxName) + { + super (ctx, M_Product_UU, trxName); + /** if (M_Product_UU == null) + { + setC_TaxCategory_ID (0); + setC_UOM_ID (0); + setIsAutoProduce (false); +// N + setIsBOM (false); +// N + setIsDropShip (false); + setIsExcludeAutoDelivery (false); +// N + setIsInvoicePrintDetails (false); + setIsKanban (false); +// N + setIsManufactured (false); +// N + setIsOwnBox (false); +// N + setIsPhantom (false); +// N + setIsPickListPrintDetails (false); + setIsPurchased (true); +// Y + setIsSelfService (true); +// Y + setIsSold (true); +// Y + setIsStocked (true); +// Y + setIsSummary (false); + setIsVerified (false); +// N + setIsWebStoreFeatured (false); + setLowLevel (0); +// 0 + setM_AttributeSetInstance_ID (0); + setM_Product_Category_ID (0); + setM_Product_ID (0); + setName (null); + setProductType (null); +// I + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_M_Product (Properties ctx, String M_Product_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Product_UU, trxName, virtualColumns); + /** if (M_Product_UU == null) + { + setC_TaxCategory_ID (0); + setC_UOM_ID (0); + setIsAutoProduce (false); +// N + setIsBOM (false); +// N + setIsDropShip (false); + setIsExcludeAutoDelivery (false); +// N + setIsInvoicePrintDetails (false); + setIsKanban (false); +// N + setIsManufactured (false); +// N + setIsOwnBox (false); +// N + setIsPhantom (false); +// N + setIsPickListPrintDetails (false); + setIsPurchased (true); +// Y + setIsSelfService (true); +// Y + setIsSold (true); +// Y + setIsStocked (true); +// Y + setIsSummary (false); + setIsVerified (false); +// N + setIsWebStoreFeatured (false); + setLowLevel (0); +// 0 + setM_AttributeSetInstance_ID (0); + setM_Product_Category_ID (0); + setM_Product_ID (0); + setName (null); + setProductType (null); +// I + setValue (null); + } */ + } + /** Load Constructor */ public X_M_Product (Properties ctx, ResultSet rs, String trxName) { @@ -141,7 +239,7 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -368,10 +466,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isDiscontinued() { Object oo = get_Value(COLUMNNAME_Discontinued); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -523,10 +621,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isAutoProduce() { Object oo = get_Value(COLUMNNAME_IsAutoProduce); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -546,10 +644,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isBOM() { Object oo = get_Value(COLUMNNAME_IsBOM); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -569,10 +667,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isDropShip() { Object oo = get_Value(COLUMNNAME_IsDropShip); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -592,10 +690,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isExcludeAutoDelivery() { Object oo = get_Value(COLUMNNAME_IsExcludeAutoDelivery); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -615,10 +713,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isInvoicePrintDetails() { Object oo = get_Value(COLUMNNAME_IsInvoicePrintDetails); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -638,10 +736,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isKanban() { Object oo = get_Value(COLUMNNAME_IsKanban); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -661,10 +759,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isManufactured() { Object oo = get_Value(COLUMNNAME_IsManufactured); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -683,10 +781,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isOwnBox() { Object oo = get_Value(COLUMNNAME_IsOwnBox); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -706,10 +804,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isPhantom() { Object oo = get_Value(COLUMNNAME_IsPhantom); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -729,10 +827,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isPickListPrintDetails() { Object oo = get_Value(COLUMNNAME_IsPickListPrintDetails); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -752,10 +850,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isPurchased() { Object oo = get_Value(COLUMNNAME_IsPurchased); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -775,10 +873,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -798,10 +896,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isSold() { Object oo = get_Value(COLUMNNAME_IsSold); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -821,10 +919,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isStocked() { Object oo = get_Value(COLUMNNAME_IsStocked); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -844,10 +942,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isSummary() { Object oo = get_Value(COLUMNNAME_IsSummary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -867,10 +965,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isVerified() { Object oo = get_Value(COLUMNNAME_IsVerified); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -890,10 +988,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isWebStoreFeatured() { Object oo = get_Value(COLUMNNAME_IsWebStoreFeatured); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1151,10 +1249,10 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1449,7 +1547,7 @@ public class X_M_Product extends PO implements I_M_Product, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getValue()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ProductDownload.java b/org.adempiere.base/src/org/compiere/model/X_M_ProductDownload.java index b00ecda98e..c6a0fb41d6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ProductDownload.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ProductDownload.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_ProductDownload - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ProductDownload") -public class X_M_ProductDownload extends PO implements I_M_ProductDownload, I_Persistent +public class X_M_ProductDownload extends PO implements I_M_ProductDownload, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ProductDownload (Properties ctx, int M_ProductDownload_ID, String trxName) @@ -59,6 +59,32 @@ public class X_M_ProductDownload extends PO implements I_M_ProductDownload, I_Pe } */ } + /** Standard Constructor */ + public X_M_ProductDownload (Properties ctx, String M_ProductDownload_UU, String trxName) + { + super (ctx, M_ProductDownload_UU, trxName); + /** if (M_ProductDownload_UU == null) + { + setDownloadURL (null); + setM_ProductDownload_ID (0); + setM_Product_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_ProductDownload (Properties ctx, String M_ProductDownload_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ProductDownload_UU, trxName, virtualColumns); + /** if (M_ProductDownload_UU == null) + { + setDownloadURL (null); + setM_ProductDownload_ID (0); + setM_Product_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_ProductDownload (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_M_ProductDownload extends PO implements I_M_ProductDownload, I_Pe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -187,7 +213,7 @@ public class X_M_ProductDownload extends PO implements I_M_ProductDownload, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ProductOperation.java b/org.adempiere.base/src/org/compiere/model/X_M_ProductOperation.java index 81b5a3d513..c1a6f8c4ef 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ProductOperation.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ProductOperation.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_ProductOperation - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ProductOperation") -public class X_M_ProductOperation extends PO implements I_M_ProductOperation, I_Persistent +public class X_M_ProductOperation extends PO implements I_M_ProductOperation, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ProductOperation (Properties ctx, int M_ProductOperation_ID, String trxName) @@ -59,6 +59,30 @@ public class X_M_ProductOperation extends PO implements I_M_ProductOperation, I_ } */ } + /** Standard Constructor */ + public X_M_ProductOperation (Properties ctx, String M_ProductOperation_UU, String trxName) + { + super (ctx, M_ProductOperation_UU, trxName); + /** if (M_ProductOperation_UU == null) + { + setM_Product_ID (0); + setM_ProductOperation_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_ProductOperation (Properties ctx, String M_ProductOperation_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ProductOperation_UU, trxName, virtualColumns); + /** if (M_ProductOperation_UU == null) + { + setM_Product_ID (0); + setM_ProductOperation_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_ProductOperation (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +90,7 @@ public class X_M_ProductOperation extends PO implements I_M_ProductOperation, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -203,7 +227,7 @@ public class X_M_ProductOperation extends PO implements I_M_ProductOperation, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ProductPrice.java b/org.adempiere.base/src/org/compiere/model/X_M_ProductPrice.java index 7489a0d944..21a3fd992d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ProductPrice.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ProductPrice.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_ProductPrice - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ProductPrice") -public class X_M_ProductPrice extends PO implements I_M_ProductPrice, I_Persistent +public class X_M_ProductPrice extends PO implements I_M_ProductPrice, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ProductPrice (Properties ctx, int M_ProductPrice_ID, String trxName) @@ -62,6 +62,34 @@ public class X_M_ProductPrice extends PO implements I_M_ProductPrice, I_Persiste } */ } + /** Standard Constructor */ + public X_M_ProductPrice (Properties ctx, String M_ProductPrice_UU, String trxName) + { + super (ctx, M_ProductPrice_UU, trxName); + /** if (M_ProductPrice_UU == null) + { + setM_PriceList_Version_ID (0); + setM_Product_ID (0); + setPriceLimit (Env.ZERO); + setPriceList (Env.ZERO); + setPriceStd (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_ProductPrice (Properties ctx, String M_ProductPrice_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ProductPrice_UU, trxName, virtualColumns); + /** if (M_ProductPrice_UU == null) + { + setM_PriceList_Version_ID (0); + setM_Product_ID (0); + setPriceLimit (Env.ZERO); + setPriceList (Env.ZERO); + setPriceStd (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_ProductPrice (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +97,7 @@ public class X_M_ProductPrice extends PO implements I_M_ProductPrice, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ProductPriceVendorBreak.java b/org.adempiere.base/src/org/compiere/model/X_M_ProductPriceVendorBreak.java index 1979ad4523..5506a7e94e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ProductPriceVendorBreak.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ProductPriceVendorBreak.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_ProductPriceVendorBreak - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ProductPriceVendorBreak") -public class X_M_ProductPriceVendorBreak extends PO implements I_M_ProductPriceVendorBreak, I_Persistent +public class X_M_ProductPriceVendorBreak extends PO implements I_M_ProductPriceVendorBreak, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ProductPriceVendorBreak (Properties ctx, int M_ProductPriceVendorBreak_ID, String trxName) @@ -66,6 +66,38 @@ public class X_M_ProductPriceVendorBreak extends PO implements I_M_ProductPriceV } */ } + /** Standard Constructor */ + public X_M_ProductPriceVendorBreak (Properties ctx, String M_ProductPriceVendorBreak_UU, String trxName) + { + super (ctx, M_ProductPriceVendorBreak_UU, trxName); + /** if (M_ProductPriceVendorBreak_UU == null) + { + setBreakValue (Env.ZERO); + setM_PriceList_Version_ID (0); + setM_Product_ID (0); + setM_ProductPriceVendorBreak_ID (0); + setPriceLimit (Env.ZERO); + setPriceList (Env.ZERO); + setPriceStd (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_ProductPriceVendorBreak (Properties ctx, String M_ProductPriceVendorBreak_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ProductPriceVendorBreak_UU, trxName, virtualColumns); + /** if (M_ProductPriceVendorBreak_UU == null) + { + setBreakValue (Env.ZERO); + setM_PriceList_Version_ID (0); + setM_Product_ID (0); + setM_ProductPriceVendorBreak_ID (0); + setPriceLimit (Env.ZERO); + setPriceList (Env.ZERO); + setPriceStd (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_ProductPriceVendorBreak (Properties ctx, ResultSet rs, String trxName) { @@ -73,7 +105,7 @@ public class X_M_ProductPriceVendorBreak extends PO implements I_M_ProductPriceV } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Product_Acct.java b/org.adempiere.base/src/org/compiere/model/X_M_Product_Acct.java index cf570d2e9e..7ba0a1f17c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Product_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Product_Acct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for M_Product_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Product_Acct") -public class X_M_Product_Acct extends PO implements I_M_Product_Acct, I_Persistent +public class X_M_Product_Acct extends PO implements I_M_Product_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Product_Acct (Properties ctx, int M_Product_Acct_ID, String trxName) @@ -76,6 +76,50 @@ public class X_M_Product_Acct extends PO implements I_M_Product_Acct, I_Persiste } */ } + /** Standard Constructor */ + public X_M_Product_Acct (Properties ctx, String M_Product_Acct_UU, String trxName) + { + super (ctx, M_Product_Acct_UU, trxName); + /** if (M_Product_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setM_Product_ID (0); + setP_Asset_Acct (0); + setP_COGS_Acct (0); + setP_CostAdjustment_Acct (0); + setP_Expense_Acct (0); + setP_InventoryClearing_Acct (0); + setP_InvoicePriceVariance_Acct (0); + setP_PurchasePriceVariance_Acct (0); + setP_RateVariance_Acct (0); + setP_Revenue_Acct (0); + setP_TradeDiscountGrant_Acct (0); + setP_TradeDiscountRec_Acct (0); + } */ + } + + /** Standard Constructor */ + public X_M_Product_Acct (Properties ctx, String M_Product_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Product_Acct_UU, trxName, virtualColumns); + /** if (M_Product_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setM_Product_ID (0); + setP_Asset_Acct (0); + setP_COGS_Acct (0); + setP_CostAdjustment_Acct (0); + setP_Expense_Acct (0); + setP_InventoryClearing_Acct (0); + setP_InvoicePriceVariance_Acct (0); + setP_PurchasePriceVariance_Acct (0); + setP_RateVariance_Acct (0); + setP_Revenue_Acct (0); + setP_TradeDiscountGrant_Acct (0); + setP_TradeDiscountRec_Acct (0); + } */ + } + /** Load Constructor */ public X_M_Product_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -83,7 +127,7 @@ public class X_M_Product_Acct extends PO implements I_M_Product_Acct, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -100,7 +144,7 @@ public class X_M_Product_Acct extends PO implements I_M_Product_Acct, I_Persiste public String toString() { StringBuilder sb = new StringBuilder ("X_M_Product_Acct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Product_BOM.java b/org.adempiere.base/src/org/compiere/model/X_M_Product_BOM.java index 2597b9ae44..40f502e1dd 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Product_BOM.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Product_BOM.java @@ -25,6 +25,8 @@ import org.compiere.util.KeyNamePair; /** Generated Model for M_Product_BOM * @author iDempiere (generated) + * Replace by X_PP_Product_BOM and X_PP_Product_BOMLine since version 9 + * @deprecated * @version Development 9.0 - $Id$ */ @org.adempiere.base.Model(table="M_Product_BOM") public class X_M_Product_BOM extends PO implements I_M_Product_BOM, I_Persistent diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Product_Category.java b/org.adempiere.base/src/org/compiere/model/X_M_Product_Category.java index 261e6f5ab5..fa056b358d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Product_Category.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Product_Category.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_Product_Category - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Product_Category") -public class X_M_Product_Category extends PO implements I_M_Product_Category, I_Persistent +public class X_M_Product_Category extends PO implements I_M_Product_Category, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Product_Category (Properties ctx, int M_Product_Category_ID, String trxName) @@ -71,6 +71,42 @@ public class X_M_Product_Category extends PO implements I_M_Product_Category, I_ } */ } + /** Standard Constructor */ + public X_M_Product_Category (Properties ctx, String M_Product_Category_UU, String trxName) + { + super (ctx, M_Product_Category_UU, trxName); + /** if (M_Product_Category_UU == null) + { + setIsDefault (false); + setIsSelfService (true); +// Y + setMMPolicy (null); +// F + setM_Product_Category_ID (0); + setName (null); + setPlannedMargin (Env.ZERO); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_M_Product_Category (Properties ctx, String M_Product_Category_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Product_Category_UU, trxName, virtualColumns); + /** if (M_Product_Category_UU == null) + { + setIsDefault (false); + setIsSelfService (true); +// Y + setMMPolicy (null); +// F + setM_Product_Category_ID (0); + setName (null); + setPlannedMargin (Env.ZERO); + setValue (null); + } */ + } + /** Load Constructor */ public X_M_Product_Category (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +114,7 @@ public class X_M_Product_Category extends PO implements I_M_Product_Category, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -185,10 +221,10 @@ public class X_M_Product_Category extends PO implements I_M_Product_Category, I_ public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -208,10 +244,10 @@ public class X_M_Product_Category extends PO implements I_M_Product_Category, I_ public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -323,7 +359,7 @@ public class X_M_Product_Category extends PO implements I_M_Product_Category, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Product_Category_Acct.java b/org.adempiere.base/src/org/compiere/model/X_M_Product_Category_Acct.java index bf5e1b5ee5..82c8f1fbe1 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Product_Category_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Product_Category_Acct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for M_Product_Category_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Product_Category_Acct") -public class X_M_Product_Category_Acct extends PO implements I_M_Product_Category_Acct, I_Persistent +public class X_M_Product_Category_Acct extends PO implements I_M_Product_Category_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Product_Category_Acct (Properties ctx, int M_Product_Category_Acct_ID, String trxName) @@ -76,6 +76,50 @@ public class X_M_Product_Category_Acct extends PO implements I_M_Product_Categor } */ } + /** Standard Constructor */ + public X_M_Product_Category_Acct (Properties ctx, String M_Product_Category_Acct_UU, String trxName) + { + super (ctx, M_Product_Category_Acct_UU, trxName); + /** if (M_Product_Category_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setM_Product_Category_ID (0); + setP_Asset_Acct (0); + setP_COGS_Acct (0); + setP_CostAdjustment_Acct (0); + setP_Expense_Acct (0); + setP_InventoryClearing_Acct (0); + setP_InvoicePriceVariance_Acct (0); + setP_PurchasePriceVariance_Acct (0); + setP_RateVariance_Acct (0); + setP_Revenue_Acct (0); + setP_TradeDiscountGrant_Acct (0); + setP_TradeDiscountRec_Acct (0); + } */ + } + + /** Standard Constructor */ + public X_M_Product_Category_Acct (Properties ctx, String M_Product_Category_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Product_Category_Acct_UU, trxName, virtualColumns); + /** if (M_Product_Category_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setM_Product_Category_ID (0); + setP_Asset_Acct (0); + setP_COGS_Acct (0); + setP_CostAdjustment_Acct (0); + setP_Expense_Acct (0); + setP_InventoryClearing_Acct (0); + setP_InvoicePriceVariance_Acct (0); + setP_PurchasePriceVariance_Acct (0); + setP_RateVariance_Acct (0); + setP_Revenue_Acct (0); + setP_TradeDiscountGrant_Acct (0); + setP_TradeDiscountRec_Acct (0); + } */ + } + /** Load Constructor */ public X_M_Product_Category_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -83,7 +127,7 @@ public class X_M_Product_Category_Acct extends PO implements I_M_Product_Categor } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -100,7 +144,7 @@ public class X_M_Product_Category_Acct extends PO implements I_M_Product_Categor public String toString() { StringBuilder sb = new StringBuilder ("X_M_Product_Category_Acct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -525,10 +569,10 @@ public class X_M_Product_Category_Acct extends PO implements I_M_Product_Categor public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Product_PO.java b/org.adempiere.base/src/org/compiere/model/X_M_Product_PO.java index 019f00b678..0e94b1a2c6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Product_PO.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Product_PO.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_Product_PO - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Product_PO") -public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent +public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Product_PO (Properties ctx, int M_Product_PO_ID, String trxName) @@ -67,6 +67,38 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Product_PO (Properties ctx, String M_Product_PO_UU, String trxName) + { + super (ctx, M_Product_PO_UU, trxName); + /** if (M_Product_PO_UU == null) + { + setC_BPartner_ID (0); + setIsCurrentVendor (true); +// Y + setM_Product_ID (0); +// @M_Product_ID@ + setVendorProductNo (null); +// @Value@ + } */ + } + + /** Standard Constructor */ + public X_M_Product_PO (Properties ctx, String M_Product_PO_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Product_PO_UU, trxName, virtualColumns); + /** if (M_Product_PO_UU == null) + { + setC_BPartner_ID (0); + setIsCurrentVendor (true); +// Y + setM_Product_ID (0); +// @M_Product_ID@ + setVendorProductNo (null); +// @Value@ + } */ + } + /** Load Constructor */ public X_M_Product_PO (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +106,7 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -91,7 +123,7 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_M_Product_PO[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -250,10 +282,10 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent public boolean isDiscontinued() { Object oo = get_Value(COLUMNNAME_Discontinued); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -289,10 +321,10 @@ public class X_M_Product_PO extends PO implements I_M_Product_PO, I_Persistent public boolean isCurrentVendor() { Object oo = get_Value(COLUMNNAME_IsCurrentVendor); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Product_QualityTest.java b/org.adempiere.base/src/org/compiere/model/X_M_Product_QualityTest.java index 28a8a31dba..da331f67a0 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Product_QualityTest.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Product_QualityTest.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_Product_QualityTest - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Product_QualityTest") -public class X_M_Product_QualityTest extends PO implements I_M_Product_QualityTest, I_Persistent +public class X_M_Product_QualityTest extends PO implements I_M_Product_QualityTest, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Product_QualityTest (Properties ctx, int M_Product_QualityTest_ID, String trxName) @@ -59,6 +59,32 @@ public class X_M_Product_QualityTest extends PO implements I_M_Product_QualityTe } */ } + /** Standard Constructor */ + public X_M_Product_QualityTest (Properties ctx, String M_Product_QualityTest_UU, String trxName) + { + super (ctx, M_Product_QualityTest_UU, trxName); + /** if (M_Product_QualityTest_UU == null) + { + setExpectedResult (null); + setM_Product_ID (0); + setM_Product_QualityTest_ID (0); + setM_QualityTest_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_Product_QualityTest (Properties ctx, String M_Product_QualityTest_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Product_QualityTest_UU, trxName, virtualColumns); + /** if (M_Product_QualityTest_UU == null) + { + setExpectedResult (null); + setM_Product_ID (0); + setM_Product_QualityTest_ID (0); + setM_QualityTest_ID (0); + } */ + } + /** Load Constructor */ public X_M_Product_QualityTest (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_M_Product_QualityTest extends PO implements I_M_Product_QualityTe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -196,7 +222,7 @@ public class X_M_Product_QualityTest extends PO implements I_M_Product_QualityTe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_QualityTest_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Production.java b/org.adempiere.base/src/org/compiere/model/X_M_Production.java index b118bbabda..3ef7df0422 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Production.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Production.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_Production - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Production") -public class X_M_Production extends PO implements I_M_Production, I_Persistent +public class X_M_Production extends PO implements I_M_Production, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Production (Properties ctx, int M_Production_ID, String trxName) @@ -78,6 +78,48 @@ public class X_M_Production extends PO implements I_M_Production, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Production (Properties ctx, String M_Production_UU, String trxName) + { + super (ctx, M_Production_UU, trxName); + /** if (M_Production_UU == null) + { + setDocumentNo (null); + setIsCreated (null); +// N + setIsUseProductionPlan (false); +// N + setMovementDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setM_Production_ID (0); + setPosted (false); + setProcessed (false); + setProductionQty (Env.ZERO); +// 0 + } */ + } + + /** Standard Constructor */ + public X_M_Production (Properties ctx, String M_Production_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Production_UU, trxName, virtualColumns); + /** if (M_Production_UU == null) + { + setDocumentNo (null); + setIsCreated (null); +// N + setIsUseProductionPlan (false); +// N + setMovementDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setM_Production_ID (0); + setPosted (false); + setProcessed (false); + setProductionQty (Env.ZERO); +// 0 + } */ + } + /** Load Constructor */ public X_M_Production (Properties ctx, ResultSet rs, String trxName) { @@ -85,7 +127,7 @@ public class X_M_Production extends PO implements I_M_Production, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -481,7 +523,7 @@ public class X_M_Production extends PO implements I_M_Production, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -500,10 +542,10 @@ public class X_M_Production extends PO implements I_M_Production, I_Persistent public boolean isComplete() { Object oo = get_Value(COLUMNNAME_IsComplete); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -544,10 +586,10 @@ public class X_M_Production extends PO implements I_M_Production, I_Persistent public boolean isUseProductionPlan() { Object oo = get_Value(COLUMNNAME_IsUseProductionPlan); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -720,10 +762,10 @@ public class X_M_Production extends PO implements I_M_Production, I_Persistent public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -771,10 +813,10 @@ public class X_M_Production extends PO implements I_M_Production, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -812,10 +854,10 @@ public class X_M_Production extends PO implements I_M_Production, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ProductionLine.java b/org.adempiere.base/src/org/compiere/model/X_M_ProductionLine.java index 217f6b5b78..c52206c0e3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ProductionLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ProductionLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_ProductionLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ProductionLine") -public class X_M_ProductionLine extends PO implements I_M_ProductionLine, I_Persistent +public class X_M_ProductionLine extends PO implements I_M_ProductionLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ProductionLine (Properties ctx, int M_ProductionLine_ID, String trxName) @@ -71,6 +71,42 @@ public class X_M_ProductionLine extends PO implements I_M_ProductionLine, I_Pers } */ } + /** Standard Constructor */ + public X_M_ProductionLine (Properties ctx, String M_ProductionLine_UU, String trxName) + { + super (ctx, M_ProductionLine_UU, trxName); + /** if (M_ProductionLine_UU == null) + { + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_ProductionLine WHERE M_Production_ID=@M_Production_ID@ + setM_AttributeSetInstance_ID (0); + setM_Locator_ID (0); +// @M_Locator_ID@ + setMovementQty (Env.ZERO); + setM_Product_ID (0); + setM_ProductionLine_ID (0); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_M_ProductionLine (Properties ctx, String M_ProductionLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ProductionLine_UU, trxName, virtualColumns); + /** if (M_ProductionLine_UU == null) + { + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_ProductionLine WHERE M_Production_ID=@M_Production_ID@ + setM_AttributeSetInstance_ID (0); + setM_Locator_ID (0); +// @M_Locator_ID@ + setMovementQty (Env.ZERO); + setM_Product_ID (0); + setM_ProductionLine_ID (0); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_M_ProductionLine (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +114,7 @@ public class X_M_ProductionLine extends PO implements I_M_ProductionLine, I_Pers } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -129,10 +165,10 @@ public class X_M_ProductionLine extends PO implements I_M_ProductionLine, I_Pers public boolean isEndProduct() { Object oo = get_Value(COLUMNNAME_IsEndProduct); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -291,7 +327,7 @@ public class X_M_ProductionLine extends PO implements I_M_ProductionLine, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_Production_ID())); } @@ -394,10 +430,10 @@ public class X_M_ProductionLine extends PO implements I_M_ProductionLine, I_Pers public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ProductionLineMA.java b/org.adempiere.base/src/org/compiere/model/X_M_ProductionLineMA.java index 478099caeb..633e3e2fdd 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ProductionLineMA.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ProductionLineMA.java @@ -22,19 +22,19 @@ import java.sql.ResultSet; import java.sql.Timestamp; import java.util.Properties; import org.compiere.util.Env; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for M_ProductionLineMA - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ProductionLineMA") -public class X_M_ProductionLineMA extends PO implements I_M_ProductionLineMA, I_Persistent +public class X_M_ProductionLineMA extends PO implements I_M_ProductionLineMA, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ProductionLineMA (Properties ctx, int M_ProductionLineMA_ID, String trxName) @@ -60,6 +60,30 @@ public class X_M_ProductionLineMA extends PO implements I_M_ProductionLineMA, I_ } */ } + /** Standard Constructor */ + public X_M_ProductionLineMA (Properties ctx, String M_ProductionLineMA_UU, String trxName) + { + super (ctx, M_ProductionLineMA_UU, trxName); + /** if (M_ProductionLineMA_UU == null) + { + setM_AttributeSetInstance_ID (0); + setMovementQty (Env.ZERO); + setM_ProductionLine_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_ProductionLineMA (Properties ctx, String M_ProductionLineMA_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ProductionLineMA_UU, trxName, virtualColumns); + /** if (M_ProductionLineMA_UU == null) + { + setM_AttributeSetInstance_ID (0); + setMovementQty (Env.ZERO); + setM_ProductionLine_ID (0); + } */ + } + /** Load Constructor */ public X_M_ProductionLineMA (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +91,7 @@ public class X_M_ProductionLineMA extends PO implements I_M_ProductionLineMA, I_ } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -84,7 +108,7 @@ public class X_M_ProductionLineMA extends PO implements I_M_ProductionLineMA, I_ public String toString() { StringBuilder sb = new StringBuilder ("X_M_ProductionLineMA[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -179,12 +203,12 @@ public class X_M_ProductionLineMA extends PO implements I_M_ProductionLineMA, I_ return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getM_ProductionLine_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getM_ProductionLine_ID())); } /** Set M_ProductionLineMA_UU. diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ProductionPlan.java b/org.adempiere.base/src/org/compiere/model/X_M_ProductionPlan.java index a1e7280cb1..ee8c9a51dc 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ProductionPlan.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ProductionPlan.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_ProductionPlan - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ProductionPlan") -public class X_M_ProductionPlan extends PO implements I_M_ProductionPlan, I_Persistent +public class X_M_ProductionPlan extends PO implements I_M_ProductionPlan, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ProductionPlan (Properties ctx, int M_ProductionPlan_ID, String trxName) @@ -73,6 +73,44 @@ public class X_M_ProductionPlan extends PO implements I_M_ProductionPlan, I_Pers } */ } + /** Standard Constructor */ + public X_M_ProductionPlan (Properties ctx, String M_ProductionPlan_UU, String trxName) + { + super (ctx, M_ProductionPlan_UU, trxName); + /** if (M_ProductionPlan_UU == null) + { + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_ProductionPlan WHERE M_Production_ID=@M_Production_ID@ + setM_Locator_ID (0); +// @M_Locator_ID@ + setM_Product_ID (0); + setM_Production_ID (0); + setM_ProductionPlan_ID (0); + setProcessed (false); + setProductionQty (Env.ZERO); +// 1 + } */ + } + + /** Standard Constructor */ + public X_M_ProductionPlan (Properties ctx, String M_ProductionPlan_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ProductionPlan_UU, trxName, virtualColumns); + /** if (M_ProductionPlan_UU == null) + { + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM M_ProductionPlan WHERE M_Production_ID=@M_Production_ID@ + setM_Locator_ID (0); +// @M_Locator_ID@ + setM_Product_ID (0); + setM_Production_ID (0); + setM_ProductionPlan_ID (0); + setProcessed (false); + setProductionQty (Env.ZERO); +// 1 + } */ + } + /** Load Constructor */ public X_M_ProductionPlan (Properties ctx, ResultSet rs, String trxName) { @@ -80,7 +118,7 @@ public class X_M_ProductionPlan extends PO implements I_M_ProductionPlan, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -139,7 +177,7 @@ public class X_M_ProductionPlan extends PO implements I_M_ProductionPlan, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getLine())); } @@ -279,10 +317,10 @@ public class X_M_ProductionPlan extends PO implements I_M_ProductionPlan, I_Pers public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Promotion.java b/org.adempiere.base/src/org/compiere/model/X_M_Promotion.java index e3bb0c47c7..be8c86e54d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Promotion.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Promotion.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_Promotion - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Promotion") -public class X_M_Promotion extends PO implements I_M_Promotion, I_Persistent +public class X_M_Promotion extends PO implements I_M_Promotion, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Promotion (Properties ctx, int M_Promotion_ID, String trxName) @@ -59,6 +59,32 @@ public class X_M_Promotion extends PO implements I_M_Promotion, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Promotion (Properties ctx, String M_Promotion_UU, String trxName) + { + super (ctx, M_Promotion_UU, trxName); + /** if (M_Promotion_UU == null) + { + setM_Promotion_ID (0); + setName (null); + setPromotionPriority (0); +// 0 + } */ + } + + /** Standard Constructor */ + public X_M_Promotion (Properties ctx, String M_Promotion_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Promotion_UU, trxName, virtualColumns); + /** if (M_Promotion_UU == null) + { + setM_Promotion_ID (0); + setName (null); + setPromotionPriority (0); +// 0 + } */ + } + /** Load Constructor */ public X_M_Promotion (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_M_Promotion extends PO implements I_M_Promotion, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -186,7 +212,7 @@ public class X_M_Promotion extends PO implements I_M_Promotion, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_PromotionDistribution.java b/org.adempiere.base/src/org/compiere/model/X_M_PromotionDistribution.java index e132d93fe9..fa34d1f479 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_PromotionDistribution.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_PromotionDistribution.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_PromotionDistribution - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_PromotionDistribution") -public class X_M_PromotionDistribution extends PO implements I_M_PromotionDistribution, I_Persistent +public class X_M_PromotionDistribution extends PO implements I_M_PromotionDistribution, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_PromotionDistribution (Properties ctx, int M_PromotionDistribution_ID, String trxName) @@ -70,6 +70,42 @@ public class X_M_PromotionDistribution extends PO implements I_M_PromotionDistri } */ } + /** Standard Constructor */ + public X_M_PromotionDistribution (Properties ctx, String M_PromotionDistribution_UU, String trxName) + { + super (ctx, M_PromotionDistribution_UU, trxName); + /** if (M_PromotionDistribution_UU == null) + { + setDistributionType (null); + setM_PromotionDistribution_ID (0); + setM_Promotion_ID (0); + setM_PromotionLine_ID (0); + setOperation (null); + setQty (Env.ZERO); +// 0 + setSeqNo (0); +// @SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM M_PromotionDistribution WHERE M_Promotion_ID=@M_Promotion_ID@ + } */ + } + + /** Standard Constructor */ + public X_M_PromotionDistribution (Properties ctx, String M_PromotionDistribution_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_PromotionDistribution_UU, trxName, virtualColumns); + /** if (M_PromotionDistribution_UU == null) + { + setDistributionType (null); + setM_PromotionDistribution_ID (0); + setM_Promotion_ID (0); + setM_PromotionLine_ID (0); + setOperation (null); + setQty (Env.ZERO); +// 0 + setSeqNo (0); +// @SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM M_PromotionDistribution WHERE M_Promotion_ID=@M_Promotion_ID@ + } */ + } + /** Load Constructor */ public X_M_PromotionDistribution (Properties ctx, ResultSet rs, String trxName) { @@ -77,7 +113,7 @@ public class X_M_PromotionDistribution extends PO implements I_M_PromotionDistri } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_M_PromotionGroup.java b/org.adempiere.base/src/org/compiere/model/X_M_PromotionGroup.java index 05bf9f89a0..56ba35d788 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_PromotionGroup.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_PromotionGroup.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_PromotionGroup - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_PromotionGroup") -public class X_M_PromotionGroup extends PO implements I_M_PromotionGroup, I_Persistent +public class X_M_PromotionGroup extends PO implements I_M_PromotionGroup, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_PromotionGroup (Properties ctx, int M_PromotionGroup_ID, String trxName) @@ -55,6 +55,28 @@ public class X_M_PromotionGroup extends PO implements I_M_PromotionGroup, I_Pers } */ } + /** Standard Constructor */ + public X_M_PromotionGroup (Properties ctx, String M_PromotionGroup_UU, String trxName) + { + super (ctx, M_PromotionGroup_UU, trxName); + /** if (M_PromotionGroup_UU == null) + { + setM_PromotionGroup_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_PromotionGroup (Properties ctx, String M_PromotionGroup_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_PromotionGroup_UU, trxName, virtualColumns); + /** if (M_PromotionGroup_UU == null) + { + setM_PromotionGroup_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_PromotionGroup (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_M_PromotionGroup extends PO implements I_M_PromotionGroup, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -154,7 +176,7 @@ public class X_M_PromotionGroup extends PO implements I_M_PromotionGroup, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_PromotionGroupLine.java b/org.adempiere.base/src/org/compiere/model/X_M_PromotionGroupLine.java index 65ecb90876..57d90ad800 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_PromotionGroupLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_PromotionGroupLine.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for M_PromotionGroupLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_PromotionGroupLine") -public class X_M_PromotionGroupLine extends PO implements I_M_PromotionGroupLine, I_Persistent +public class X_M_PromotionGroupLine extends PO implements I_M_PromotionGroupLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_PromotionGroupLine (Properties ctx, int M_PromotionGroupLine_ID, String trxName) @@ -56,6 +56,30 @@ public class X_M_PromotionGroupLine extends PO implements I_M_PromotionGroupLine } */ } + /** Standard Constructor */ + public X_M_PromotionGroupLine (Properties ctx, String M_PromotionGroupLine_UU, String trxName) + { + super (ctx, M_PromotionGroupLine_UU, trxName); + /** if (M_PromotionGroupLine_UU == null) + { + setM_Product_ID (0); + setM_PromotionGroup_ID (0); + setM_PromotionGroupLine_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_PromotionGroupLine (Properties ctx, String M_PromotionGroupLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_PromotionGroupLine_UU, trxName, virtualColumns); + /** if (M_PromotionGroupLine_UU == null) + { + setM_Product_ID (0); + setM_PromotionGroup_ID (0); + setM_PromotionGroupLine_ID (0); + } */ + } + /** Load Constructor */ public X_M_PromotionGroupLine (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_M_PromotionGroupLine extends PO implements I_M_PromotionGroupLine } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_M_PromotionLine.java b/org.adempiere.base/src/org/compiere/model/X_M_PromotionLine.java index 9f704c5bd6..8349873c0d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_PromotionLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_PromotionLine.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_PromotionLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_PromotionLine") -public class X_M_PromotionLine extends PO implements I_M_PromotionLine, I_Persistent +public class X_M_PromotionLine extends PO implements I_M_PromotionLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_PromotionLine (Properties ctx, int M_PromotionLine_ID, String trxName) @@ -60,6 +60,32 @@ public class X_M_PromotionLine extends PO implements I_M_PromotionLine, I_Persis } */ } + /** Standard Constructor */ + public X_M_PromotionLine (Properties ctx, String M_PromotionLine_UU, String trxName) + { + super (ctx, M_PromotionLine_UU, trxName); + /** if (M_PromotionLine_UU == null) + { + setIsMandatoryPL (true); +// Y + setM_Promotion_ID (0); + setM_PromotionLine_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_PromotionLine (Properties ctx, String M_PromotionLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_PromotionLine_UU, trxName, virtualColumns); + /** if (M_PromotionLine_UU == null) + { + setIsMandatoryPL (true); +// Y + setM_Promotion_ID (0); + setM_PromotionLine_ID (0); + } */ + } + /** Load Constructor */ public X_M_PromotionLine (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +93,7 @@ public class X_M_PromotionLine extends PO implements I_M_PromotionLine, I_Persis } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -102,10 +128,10 @@ public class X_M_PromotionLine extends PO implements I_M_PromotionLine, I_Persis public boolean isMandatoryPL() { Object oo = get_Value(COLUMNNAME_IsMandatoryPL); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_PromotionPreCondition.java b/org.adempiere.base/src/org/compiere/model/X_M_PromotionPreCondition.java index 8d780024b7..ec9d42890b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_PromotionPreCondition.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_PromotionPreCondition.java @@ -22,16 +22,16 @@ import java.sql.Timestamp; import java.util.Properties; /** Generated Model for M_PromotionPreCondition - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_PromotionPreCondition") -public class X_M_PromotionPreCondition extends PO implements I_M_PromotionPreCondition, I_Persistent +public class X_M_PromotionPreCondition extends PO implements I_M_PromotionPreCondition, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_PromotionPreCondition (Properties ctx, int M_PromotionPreCondition_ID, String trxName) @@ -61,6 +61,34 @@ public class X_M_PromotionPreCondition extends PO implements I_M_PromotionPreCon } */ } + /** Standard Constructor */ + public X_M_PromotionPreCondition (Properties ctx, String M_PromotionPreCondition_UU, String trxName) + { + super (ctx, M_PromotionPreCondition_UU, trxName); + /** if (M_PromotionPreCondition_UU == null) + { + setM_Promotion_ID (0); + setM_PromotionPreCondition_ID (0); + setSeqNo (0); +// 0 + setStartDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_M_PromotionPreCondition (Properties ctx, String M_PromotionPreCondition_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_PromotionPreCondition_UU, trxName, virtualColumns); + /** if (M_PromotionPreCondition_UU == null) + { + setM_Promotion_ID (0); + setM_PromotionPreCondition_ID (0); + setSeqNo (0); +// 0 + setStartDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_M_PromotionPreCondition (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_M_PromotionPreCondition extends PO implements I_M_PromotionPreCon } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_M_PromotionReward.java b/org.adempiere.base/src/org/compiere/model/X_M_PromotionReward.java index e7d864c987..4376e8cd0e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_PromotionReward.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_PromotionReward.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_PromotionReward - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_PromotionReward") -public class X_M_PromotionReward extends PO implements I_M_PromotionReward, I_Persistent +public class X_M_PromotionReward extends PO implements I_M_PromotionReward, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_PromotionReward (Properties ctx, int M_PromotionReward_ID, String trxName) @@ -68,6 +68,40 @@ public class X_M_PromotionReward extends PO implements I_M_PromotionReward, I_Pe } */ } + /** Standard Constructor */ + public X_M_PromotionReward (Properties ctx, String M_PromotionReward_UU, String trxName) + { + super (ctx, M_PromotionReward_UU, trxName); + /** if (M_PromotionReward_UU == null) + { + setC_Charge_ID (0); + setIsForAllDistribution (false); +// N + setM_Promotion_ID (0); + setM_PromotionReward_ID (0); + setRewardType (null); + setSeqNo (0); +// @SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM M_PromotionReward WHERE M_Promotion_ID=@M_Promotion_ID@ + } */ + } + + /** Standard Constructor */ + public X_M_PromotionReward (Properties ctx, String M_PromotionReward_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_PromotionReward_UU, trxName, virtualColumns); + /** if (M_PromotionReward_UU == null) + { + setC_Charge_ID (0); + setIsForAllDistribution (false); +// N + setM_Promotion_ID (0); + setM_PromotionReward_ID (0); + setRewardType (null); + setSeqNo (0); +// @SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM M_PromotionReward WHERE M_Promotion_ID=@M_Promotion_ID@ + } */ + } + /** Load Constructor */ public X_M_PromotionReward (Properties ctx, ResultSet rs, String trxName) { @@ -75,7 +109,7 @@ public class X_M_PromotionReward extends PO implements I_M_PromotionReward, I_Pe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -180,10 +214,10 @@ public class X_M_PromotionReward extends PO implements I_M_PromotionReward, I_Pe public boolean isForAllDistribution() { Object oo = get_Value(COLUMNNAME_IsForAllDistribution); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -203,10 +237,10 @@ public class X_M_PromotionReward extends PO implements I_M_PromotionReward, I_Pe public boolean isSameDistribution() { Object oo = get_Value(COLUMNNAME_IsSameDistribution); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_QualityTest.java b/org.adempiere.base/src/org/compiere/model/X_M_QualityTest.java index a69548d13d..2db4b70f61 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_QualityTest.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_QualityTest.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_QualityTest - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_QualityTest") -public class X_M_QualityTest extends PO implements I_M_QualityTest, I_Persistent +public class X_M_QualityTest extends PO implements I_M_QualityTest, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_QualityTest (Properties ctx, int M_QualityTest_ID, String trxName) @@ -55,6 +55,28 @@ public class X_M_QualityTest extends PO implements I_M_QualityTest, I_Persistent } */ } + /** Standard Constructor */ + public X_M_QualityTest (Properties ctx, String M_QualityTest_UU, String trxName) + { + super (ctx, M_QualityTest_UU, trxName); + /** if (M_QualityTest_UU == null) + { + setM_QualityTest_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_QualityTest (Properties ctx, String M_QualityTest_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_QualityTest_UU, trxName, virtualColumns); + /** if (M_QualityTest_UU == null) + { + setM_QualityTest_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_QualityTest (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_M_QualityTest extends PO implements I_M_QualityTest, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -170,7 +192,7 @@ public class X_M_QualityTest extends PO implements I_M_QualityTest, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_QualityTestResult.java b/org.adempiere.base/src/org/compiere/model/X_M_QualityTestResult.java index fd05f6e882..08b48915e2 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_QualityTestResult.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_QualityTestResult.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for M_QualityTestResult - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_QualityTestResult") -public class X_M_QualityTestResult extends PO implements I_M_QualityTestResult, I_Persistent +public class X_M_QualityTestResult extends PO implements I_M_QualityTestResult, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_QualityTestResult (Properties ctx, int M_QualityTestResult_ID, String trxName) @@ -64,6 +64,38 @@ public class X_M_QualityTestResult extends PO implements I_M_QualityTestResult, } */ } + /** Standard Constructor */ + public X_M_QualityTestResult (Properties ctx, String M_QualityTestResult_UU, String trxName) + { + super (ctx, M_QualityTestResult_UU, trxName); + /** if (M_QualityTestResult_UU == null) + { + setIsQCPass (false); +// N + setM_AttributeSetInstance_ID (0); + setM_QualityTest_ID (0); + setM_QualityTestResult_ID (0); + setProcessed (false); +// N + } */ + } + + /** Standard Constructor */ + public X_M_QualityTestResult (Properties ctx, String M_QualityTestResult_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_QualityTestResult_UU, trxName, virtualColumns); + /** if (M_QualityTestResult_UU == null) + { + setIsQCPass (false); +// N + setM_AttributeSetInstance_ID (0); + setM_QualityTest_ID (0); + setM_QualityTestResult_ID (0); + setProcessed (false); +// N + } */ + } + /** Load Constructor */ public X_M_QualityTestResult (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +103,7 @@ public class X_M_QualityTestResult extends PO implements I_M_QualityTestResult, } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -134,10 +166,10 @@ public class X_M_QualityTestResult extends PO implements I_M_QualityTestResult, public boolean isQCPass() { Object oo = get_Value(COLUMNNAME_IsQCPass); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -248,10 +280,10 @@ public class X_M_QualityTestResult extends PO implements I_M_QualityTestResult, public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_RMA.java b/org.adempiere.base/src/org/compiere/model/X_M_RMA.java index 3e291990b0..d9d901d785 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_RMA.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_RMA.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_RMA - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_RMA") -public class X_M_RMA extends PO implements I_M_RMA, I_Persistent +public class X_M_RMA extends PO implements I_M_RMA, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_RMA (Properties ctx, int M_RMA_ID, String trxName) @@ -83,6 +83,54 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent } */ } + /** Standard Constructor */ + public X_M_RMA (Properties ctx, String M_RMA_UU, String trxName) + { + super (ctx, M_RMA_UU, trxName); + /** if (M_RMA_UU == null) + { + setC_DocType_ID (0); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setInOut_ID (0); + setIsApproved (false); + setIsSOTrx (false); +// @IsSOTrx@ + setM_RMA_ID (0); + setM_RMAType_ID (0); + setName (null); + setProcessed (false); + setSalesRep_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_RMA (Properties ctx, String M_RMA_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_RMA_UU, trxName, virtualColumns); + /** if (M_RMA_UU == null) + { + setC_DocType_ID (0); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setInOut_ID (0); + setIsApproved (false); + setIsSOTrx (false); +// @IsSOTrx@ + setM_RMA_ID (0); + setM_RMAType_ID (0); + setName (null); + setProcessed (false); + setSalesRep_ID (0); + } */ + } + /** Load Constructor */ public X_M_RMA (Properties ctx, ResultSet rs, String trxName) { @@ -90,7 +138,7 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -399,7 +447,7 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -478,10 +526,10 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -501,10 +549,10 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -605,10 +653,10 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -627,10 +675,10 @@ public class X_M_RMA extends PO implements I_M_RMA, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_RMALine.java b/org.adempiere.base/src/org/compiere/model/X_M_RMALine.java index c78b5b0fd1..441dd877df 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_RMALine.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_RMALine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_RMALine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_RMALine") -public class X_M_RMALine extends PO implements I_M_RMALine, I_Persistent +public class X_M_RMALine extends PO implements I_M_RMALine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_RMALine (Properties ctx, int M_RMALine_ID, String trxName) @@ -63,6 +63,34 @@ public class X_M_RMALine extends PO implements I_M_RMALine, I_Persistent } */ } + /** Standard Constructor */ + public X_M_RMALine (Properties ctx, String M_RMALine_UU, String trxName) + { + super (ctx, M_RMALine_UU, trxName); + /** if (M_RMALine_UU == null) + { + setC_Tax_ID (0); + setM_RMA_ID (0); + setM_RMALine_ID (0); + setProcessed (false); + setQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_RMALine (Properties ctx, String M_RMALine_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_RMALine_UU, trxName, virtualColumns); + /** if (M_RMALine_UU == null) + { + setC_Tax_ID (0); + setM_RMA_ID (0); + setM_RMALine_ID (0); + setProcessed (false); + setQty (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_RMALine (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +98,7 @@ public class X_M_RMALine extends PO implements I_M_RMALine, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -307,7 +335,7 @@ public class X_M_RMALine extends PO implements I_M_RMALine, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_RMA_ID())); } @@ -363,10 +391,10 @@ public class X_M_RMALine extends PO implements I_M_RMALine, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_RMATax.java b/org.adempiere.base/src/org/compiere/model/X_M_RMATax.java index 1951ec9d4c..3534605948 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_RMATax.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_RMATax.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_RMATax - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_RMATax") -public class X_M_RMATax extends PO implements I_M_RMATax, I_Persistent +public class X_M_RMATax extends PO implements I_M_RMATax, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_RMATax (Properties ctx, int M_RMATax_ID, String trxName) @@ -64,6 +64,36 @@ public class X_M_RMATax extends PO implements I_M_RMATax, I_Persistent } */ } + /** Standard Constructor */ + public X_M_RMATax (Properties ctx, String M_RMATax_UU, String trxName) + { + super (ctx, M_RMATax_UU, trxName); + /** if (M_RMATax_UU == null) + { + setC_Tax_ID (0); + setIsTaxIncluded (false); + setM_RMA_ID (0); + setProcessed (false); + setTaxAmt (Env.ZERO); + setTaxBaseAmt (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_RMATax (Properties ctx, String M_RMATax_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_RMATax_UU, trxName, virtualColumns); + /** if (M_RMATax_UU == null) + { + setC_Tax_ID (0); + setIsTaxIncluded (false); + setM_RMA_ID (0); + setProcessed (false); + setTaxAmt (Env.ZERO); + setTaxBaseAmt (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_RMATax (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +101,7 @@ public class X_M_RMATax extends PO implements I_M_RMATax, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -88,7 +118,7 @@ public class X_M_RMATax extends PO implements I_M_RMATax, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_M_RMATax[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -161,10 +191,10 @@ public class X_M_RMATax extends PO implements I_M_RMATax, I_Persistent public boolean isTaxIncluded() { Object oo = get_Value(COLUMNNAME_IsTaxIncluded); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -227,10 +257,10 @@ public class X_M_RMATax extends PO implements I_M_RMATax, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_RMAType.java b/org.adempiere.base/src/org/compiere/model/X_M_RMAType.java index f300b890b9..699c3e5733 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_RMAType.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_RMAType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_RMAType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_RMAType") -public class X_M_RMAType extends PO implements I_M_RMAType, I_Persistent +public class X_M_RMAType extends PO implements I_M_RMAType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_RMAType (Properties ctx, int M_RMAType_ID, String trxName) @@ -55,6 +55,28 @@ public class X_M_RMAType extends PO implements I_M_RMAType, I_Persistent } */ } + /** Standard Constructor */ + public X_M_RMAType (Properties ctx, String M_RMAType_UU, String trxName) + { + super (ctx, M_RMAType_UU, trxName); + /** if (M_RMAType_UU == null) + { + setM_RMAType_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_RMAType (Properties ctx, String M_RMAType_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_RMAType_UU, trxName, virtualColumns); + /** if (M_RMAType_UU == null) + { + setM_RMAType_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_RMAType (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_M_RMAType extends PO implements I_M_RMAType, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -171,7 +193,7 @@ public class X_M_RMAType extends PO implements I_M_RMAType, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_RelatedProduct.java b/org.adempiere.base/src/org/compiere/model/X_M_RelatedProduct.java index 4f7dc403a1..837d33f506 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_RelatedProduct.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_RelatedProduct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for M_RelatedProduct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_RelatedProduct") -public class X_M_RelatedProduct extends PO implements I_M_RelatedProduct, I_Persistent +public class X_M_RelatedProduct extends PO implements I_M_RelatedProduct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_RelatedProduct (Properties ctx, int M_RelatedProduct_ID, String trxName) @@ -58,6 +58,32 @@ public class X_M_RelatedProduct extends PO implements I_M_RelatedProduct, I_Pers } */ } + /** Standard Constructor */ + public X_M_RelatedProduct (Properties ctx, String M_RelatedProduct_UU, String trxName) + { + super (ctx, M_RelatedProduct_UU, trxName); + /** if (M_RelatedProduct_UU == null) + { + setM_Product_ID (0); + setName (null); + setRelatedProduct_ID (0); + setRelatedProductType (null); + } */ + } + + /** Standard Constructor */ + public X_M_RelatedProduct (Properties ctx, String M_RelatedProduct_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_RelatedProduct_UU, trxName, virtualColumns); + /** if (M_RelatedProduct_UU == null) + { + setM_Product_ID (0); + setName (null); + setRelatedProduct_ID (0); + setRelatedProductType (null); + } */ + } + /** Load Constructor */ public X_M_RelatedProduct (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_M_RelatedProduct extends PO implements I_M_RelatedProduct, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -82,7 +108,7 @@ public class X_M_RelatedProduct extends PO implements I_M_RelatedProduct, I_Pers public String toString() { StringBuilder sb = new StringBuilder ("X_M_RelatedProduct[") - .append(get_ID()).append(",Name=").append(getName()).append("]"); + .append(get_UUID()).append(",Name=").append(getName()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Replenish.java b/org.adempiere.base/src/org/compiere/model/X_M_Replenish.java index 222023c3de..e2992400ff 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Replenish.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Replenish.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_Replenish - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Replenish") -public class X_M_Replenish extends PO implements I_M_Replenish, I_Persistent +public class X_M_Replenish extends PO implements I_M_Replenish, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Replenish (Properties ctx, int M_Replenish_ID, String trxName) @@ -62,6 +62,34 @@ public class X_M_Replenish extends PO implements I_M_Replenish, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Replenish (Properties ctx, String M_Replenish_UU, String trxName) + { + super (ctx, M_Replenish_UU, trxName); + /** if (M_Replenish_UU == null) + { + setLevel_Max (Env.ZERO); + setLevel_Min (Env.ZERO); + setM_Product_ID (0); + setM_Warehouse_ID (0); + setReplenishType (null); + } */ + } + + /** Standard Constructor */ + public X_M_Replenish (Properties ctx, String M_Replenish_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Replenish_UU, trxName, virtualColumns); + /** if (M_Replenish_UU == null) + { + setLevel_Max (Env.ZERO); + setLevel_Min (Env.ZERO); + setM_Product_ID (0); + setM_Warehouse_ID (0); + setReplenishType (null); + } */ + } + /** Load Constructor */ public X_M_Replenish (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +97,7 @@ public class X_M_Replenish extends PO implements I_M_Replenish, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -86,7 +114,7 @@ public class X_M_Replenish extends PO implements I_M_Replenish, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_M_Replenish[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Requisition.java b/org.adempiere.base/src/org/compiere/model/X_M_Requisition.java index adeb053c48..6158f2810e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Requisition.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Requisition.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_Requisition - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Requisition") -public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent +public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Requisition (Properties ctx, int M_Requisition_ID, String trxName) @@ -92,6 +92,62 @@ public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Requisition (Properties ctx, String M_Requisition_UU, String trxName) + { + super (ctx, M_Requisition_UU, trxName); + /** if (M_Requisition_UU == null) + { + setAD_User_ID (0); + setC_DocType_ID (0); + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDateRequired (new Timestamp( System.currentTimeMillis() )); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setIsApproved (false); + setM_PriceList_ID (0); + setM_Requisition_ID (0); + setM_Warehouse_ID (0); + setPosted (false); + setPriorityRule (null); +// 5 + setProcessed (false); + setTotalLines (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_Requisition (Properties ctx, String M_Requisition_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Requisition_UU, trxName, virtualColumns); + /** if (M_Requisition_UU == null) + { + setAD_User_ID (0); + setC_DocType_ID (0); + setDateDoc (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDateRequired (new Timestamp( System.currentTimeMillis() )); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setIsApproved (false); + setM_PriceList_ID (0); + setM_Requisition_ID (0); + setM_Warehouse_ID (0); + setPosted (false); + setPriorityRule (null); +// 5 + setProcessed (false); + setTotalLines (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_Requisition (Properties ctx, ResultSet rs, String trxName) { @@ -99,7 +155,7 @@ public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -333,7 +389,7 @@ public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -368,10 +424,10 @@ public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -484,10 +540,10 @@ public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -536,10 +592,10 @@ public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -577,10 +633,10 @@ public class X_M_Requisition extends PO implements I_M_Requisition, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_RequisitionLine.java b/org.adempiere.base/src/org/compiere/model/X_M_RequisitionLine.java index 9e559f2838..be3ab94965 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_RequisitionLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_RequisitionLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_RequisitionLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_RequisitionLine") -public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Persistent +public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_RequisitionLine (Properties ctx, int M_RequisitionLine_ID, String trxName) @@ -69,6 +69,40 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe } */ } + /** Standard Constructor */ + public X_M_RequisitionLine (Properties ctx, String M_RequisitionLine_UU, String trxName) + { + super (ctx, M_RequisitionLine_UU, trxName); + /** if (M_RequisitionLine_UU == null) + { + setLine (0); +// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM M_RequisitionLine WHERE M_Requisition_ID=@M_Requisition_ID@ + setLineNetAmt (Env.ZERO); + setM_Requisition_ID (0); + setM_RequisitionLine_ID (0); + setPriceActual (Env.ZERO); + setQty (Env.ZERO); +// 1 + } */ + } + + /** Standard Constructor */ + public X_M_RequisitionLine (Properties ctx, String M_RequisitionLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_RequisitionLine_UU, trxName, virtualColumns); + /** if (M_RequisitionLine_UU == null) + { + setLine (0); +// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM M_RequisitionLine WHERE M_Requisition_ID=@M_Requisition_ID@ + setLineNetAmt (Env.ZERO); + setM_Requisition_ID (0); + setM_RequisitionLine_ID (0); + setPriceActual (Env.ZERO); + setQty (Env.ZERO); +// 1 + } */ + } + /** Load Constructor */ public X_M_RequisitionLine (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +110,7 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -247,7 +281,7 @@ public class X_M_RequisitionLine extends PO implements I_M_RequisitionLine, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getLine())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_SerNoCtl.java b/org.adempiere.base/src/org/compiere/model/X_M_SerNoCtl.java index 4f287738f8..c4677f56a4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_SerNoCtl.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_SerNoCtl.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_SerNoCtl - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_SerNoCtl") -public class X_M_SerNoCtl extends PO implements I_M_SerNoCtl, I_Persistent +public class X_M_SerNoCtl extends PO implements I_M_SerNoCtl, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_SerNoCtl (Properties ctx, int M_SerNoCtl_ID, String trxName) @@ -67,6 +67,40 @@ public class X_M_SerNoCtl extends PO implements I_M_SerNoCtl, I_Persistent } */ } + /** Standard Constructor */ + public X_M_SerNoCtl (Properties ctx, String M_SerNoCtl_UU, String trxName) + { + super (ctx, M_SerNoCtl_UU, trxName); + /** if (M_SerNoCtl_UU == null) + { + setCurrentNext (0); +// 100 + setIncrementNo (0); +// 1 + setM_SerNoCtl_ID (0); + setName (null); + setStartNo (0); +// 100 + } */ + } + + /** Standard Constructor */ + public X_M_SerNoCtl (Properties ctx, String M_SerNoCtl_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_SerNoCtl_UU, trxName, virtualColumns); + /** if (M_SerNoCtl_UU == null) + { + setCurrentNext (0); +// 100 + setIncrementNo (0); +// 1 + setM_SerNoCtl_ID (0); + setName (null); + setStartNo (0); +// 100 + } */ + } + /** Load Constructor */ public X_M_SerNoCtl (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +108,7 @@ public class X_M_SerNoCtl extends PO implements I_M_SerNoCtl, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -205,7 +239,7 @@ public class X_M_SerNoCtl extends PO implements I_M_SerNoCtl, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_SerNoCtlExclude.java b/org.adempiere.base/src/org/compiere/model/X_M_SerNoCtlExclude.java index 56c2676942..8ec2d2f729 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_SerNoCtlExclude.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_SerNoCtlExclude.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for M_SerNoCtlExclude - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_SerNoCtlExclude") -public class X_M_SerNoCtlExclude extends PO implements I_M_SerNoCtlExclude, I_Persistent +public class X_M_SerNoCtlExclude extends PO implements I_M_SerNoCtlExclude, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_SerNoCtlExclude (Properties ctx, int M_SerNoCtlExclude_ID, String trxName) @@ -58,6 +58,32 @@ public class X_M_SerNoCtlExclude extends PO implements I_M_SerNoCtlExclude, I_Pe } */ } + /** Standard Constructor */ + public X_M_SerNoCtlExclude (Properties ctx, String M_SerNoCtlExclude_UU, String trxName) + { + super (ctx, M_SerNoCtlExclude_UU, trxName); + /** if (M_SerNoCtlExclude_UU == null) + { + setAD_Table_ID (0); + setIsSOTrx (false); + setM_SerNoCtlExclude_ID (0); + setM_SerNoCtl_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_SerNoCtlExclude (Properties ctx, String M_SerNoCtlExclude_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_SerNoCtlExclude_UU, trxName, virtualColumns); + /** if (M_SerNoCtlExclude_UU == null) + { + setAD_Table_ID (0); + setIsSOTrx (false); + setM_SerNoCtlExclude_ID (0); + setM_SerNoCtl_ID (0); + } */ + } + /** Load Constructor */ public X_M_SerNoCtlExclude (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +91,7 @@ public class X_M_SerNoCtlExclude extends PO implements I_M_SerNoCtlExclude, I_Pe } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -128,10 +154,10 @@ public class X_M_SerNoCtlExclude extends PO implements I_M_SerNoCtlExclude, I_Pe public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Shipper.java b/org.adempiere.base/src/org/compiere/model/X_M_Shipper.java index afb6236d23..73b867fb50 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Shipper.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Shipper.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for M_Shipper - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Shipper") -public class X_M_Shipper extends PO implements I_M_Shipper, I_Persistent +public class X_M_Shipper extends PO implements I_M_Shipper, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Shipper (Properties ctx, int M_Shipper_ID, String trxName) @@ -54,6 +54,28 @@ public class X_M_Shipper extends PO implements I_M_Shipper, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Shipper (Properties ctx, String M_Shipper_UU, String trxName) + { + super (ctx, M_Shipper_UU, trxName); + /** if (M_Shipper_UU == null) + { + setM_Shipper_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_Shipper (Properties ctx, String M_Shipper_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Shipper_UU, trxName, virtualColumns); + /** if (M_Shipper_UU == null) + { + setM_Shipper_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_Shipper (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +83,7 @@ public class X_M_Shipper extends PO implements I_M_Shipper, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ShipperCfg.java b/org.adempiere.base/src/org/compiere/model/X_M_ShipperCfg.java index 43089671eb..f19d108a7e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ShipperCfg.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ShipperCfg.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_ShipperCfg - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ShipperCfg") -public class X_M_ShipperCfg extends PO implements I_M_ShipperCfg, I_Persistent +public class X_M_ShipperCfg extends PO implements I_M_ShipperCfg, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ShipperCfg (Properties ctx, int M_ShipperCfg_ID, String trxName) @@ -71,6 +71,44 @@ public class X_M_ShipperCfg extends PO implements I_M_ShipperCfg, I_Persistent } */ } + /** Standard Constructor */ + public X_M_ShipperCfg (Properties ctx, String M_ShipperCfg_UU, String trxName) + { + super (ctx, M_ShipperCfg_UU, trxName); + /** if (M_ShipperCfg_UU == null) + { + setIsInternational (false); +// N + setIsOnline (false); +// N + setIsResidential (false); +// N + setIsSaturdayDelivery (false); +// N + setM_ShipperCfg_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_ShipperCfg (Properties ctx, String M_ShipperCfg_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ShipperCfg_UU, trxName, virtualColumns); + /** if (M_ShipperCfg_UU == null) + { + setIsInternational (false); +// N + setIsOnline (false); +// N + setIsResidential (false); +// N + setIsSaturdayDelivery (false); +// N + setM_ShipperCfg_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_ShipperCfg (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +116,7 @@ public class X_M_ShipperCfg extends PO implements I_M_ShipperCfg, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -144,10 +182,10 @@ public class X_M_ShipperCfg extends PO implements I_M_ShipperCfg, I_Persistent public boolean isInternational() { Object oo = get_Value(COLUMNNAME_IsInternational); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -167,10 +205,10 @@ public class X_M_ShipperCfg extends PO implements I_M_ShipperCfg, I_Persistent public boolean isOnline() { Object oo = get_Value(COLUMNNAME_IsOnline); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -189,10 +227,10 @@ public class X_M_ShipperCfg extends PO implements I_M_ShipperCfg, I_Persistent public boolean isResidential() { Object oo = get_Value(COLUMNNAME_IsResidential); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -211,10 +249,10 @@ public class X_M_ShipperCfg extends PO implements I_M_ShipperCfg, I_Persistent public boolean isSaturdayDelivery() { Object oo = get_Value(COLUMNNAME_IsSaturdayDelivery); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -302,7 +340,7 @@ public class X_M_ShipperCfg extends PO implements I_M_ShipperCfg, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ShipperLabels.java b/org.adempiere.base/src/org/compiere/model/X_M_ShipperLabels.java index 12fc39d0f0..edda7d4a1b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ShipperLabels.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ShipperLabels.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for M_ShipperLabels - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ShipperLabels") -public class X_M_ShipperLabels extends PO implements I_M_ShipperLabels, I_Persistent +public class X_M_ShipperLabels extends PO implements I_M_ShipperLabels, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ShipperLabels (Properties ctx, int M_ShipperLabels_ID, String trxName) @@ -62,6 +62,36 @@ public class X_M_ShipperLabels extends PO implements I_M_ShipperLabels, I_Persis } */ } + /** Standard Constructor */ + public X_M_ShipperLabels (Properties ctx, String M_ShipperLabels_UU, String trxName) + { + super (ctx, M_ShipperLabels_UU, trxName); + /** if (M_ShipperLabels_UU == null) + { + setIsDefault (false); +// N + setM_Shipper_ID (0); + setM_ShipperLabelsCfg_ID (0); + setM_ShipperLabels_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_ShipperLabels (Properties ctx, String M_ShipperLabels_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ShipperLabels_UU, trxName, virtualColumns); + /** if (M_ShipperLabels_UU == null) + { + setIsDefault (false); +// N + setM_Shipper_ID (0); + setM_ShipperLabelsCfg_ID (0); + setM_ShipperLabels_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_ShipperLabels (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +99,7 @@ public class X_M_ShipperLabels extends PO implements I_M_ShipperLabels, I_Persis } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -104,10 +134,10 @@ public class X_M_ShipperLabels extends PO implements I_M_ShipperLabels, I_Persis public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ShipperLabelsCfg.java b/org.adempiere.base/src/org/compiere/model/X_M_ShipperLabelsCfg.java index 0104942b84..9a47d961e8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ShipperLabelsCfg.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ShipperLabelsCfg.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_ShipperLabelsCfg - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ShipperLabelsCfg") -public class X_M_ShipperLabelsCfg extends PO implements I_M_ShipperLabelsCfg, I_Persistent +public class X_M_ShipperLabelsCfg extends PO implements I_M_ShipperLabelsCfg, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ShipperLabelsCfg (Properties ctx, int M_ShipperLabelsCfg_ID, String trxName) @@ -65,6 +65,36 @@ public class X_M_ShipperLabelsCfg extends PO implements I_M_ShipperLabelsCfg, I_ } */ } + /** Standard Constructor */ + public X_M_ShipperLabelsCfg (Properties ctx, String M_ShipperLabelsCfg_UU, String trxName) + { + super (ctx, M_ShipperLabelsCfg_UU, trxName); + /** if (M_ShipperLabelsCfg_UU == null) + { + setIsDefault (false); +// N + setM_ShipperCfg_ID (0); + setM_ShipperLabelsCfg_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_M_ShipperLabelsCfg (Properties ctx, String M_ShipperLabelsCfg_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ShipperLabelsCfg_UU, trxName, virtualColumns); + /** if (M_ShipperLabelsCfg_UU == null) + { + setIsDefault (false); +// N + setM_ShipperCfg_ID (0); + setM_ShipperLabelsCfg_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_M_ShipperLabelsCfg (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +102,7 @@ public class X_M_ShipperLabelsCfg extends PO implements I_M_ShipperLabelsCfg, I_ } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -141,10 +171,10 @@ public class X_M_ShipperLabelsCfg extends PO implements I_M_ShipperLabelsCfg, I_ public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -256,7 +286,7 @@ public class X_M_ShipperLabelsCfg extends PO implements I_M_ShipperLabelsCfg, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ShipperPackaging.java b/org.adempiere.base/src/org/compiere/model/X_M_ShipperPackaging.java index a75c16180d..d4507b962d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ShipperPackaging.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ShipperPackaging.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_ShipperPackaging - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ShipperPackaging") -public class X_M_ShipperPackaging extends PO implements I_M_ShipperPackaging, I_Persistent +public class X_M_ShipperPackaging extends PO implements I_M_ShipperPackaging, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ShipperPackaging (Properties ctx, int M_ShipperPackaging_ID, String trxName) @@ -64,6 +64,36 @@ public class X_M_ShipperPackaging extends PO implements I_M_ShipperPackaging, I_ } */ } + /** Standard Constructor */ + public X_M_ShipperPackaging (Properties ctx, String M_ShipperPackaging_UU, String trxName) + { + super (ctx, M_ShipperPackaging_UU, trxName); + /** if (M_ShipperPackaging_UU == null) + { + setIsDefault (false); +// N + setM_Shipper_ID (0); + setM_ShipperPackagingCfg_ID (0); + setM_ShipperPackaging_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_ShipperPackaging (Properties ctx, String M_ShipperPackaging_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ShipperPackaging_UU, trxName, virtualColumns); + /** if (M_ShipperPackaging_UU == null) + { + setIsDefault (false); +// N + setM_Shipper_ID (0); + setM_ShipperPackagingCfg_ID (0); + setM_ShipperPackaging_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_ShipperPackaging (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +101,7 @@ public class X_M_ShipperPackaging extends PO implements I_M_ShipperPackaging, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -106,10 +136,10 @@ public class X_M_ShipperPackaging extends PO implements I_M_ShipperPackaging, I_ public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ShipperPackagingCfg.java b/org.adempiere.base/src/org/compiere/model/X_M_ShipperPackagingCfg.java index febb3e3aad..10df79e03a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ShipperPackagingCfg.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ShipperPackagingCfg.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_ShipperPackagingCfg - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ShipperPackagingCfg") -public class X_M_ShipperPackagingCfg extends PO implements I_M_ShipperPackagingCfg, I_Persistent +public class X_M_ShipperPackagingCfg extends PO implements I_M_ShipperPackagingCfg, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ShipperPackagingCfg (Properties ctx, int M_ShipperPackagingCfg_ID, String trxName) @@ -65,6 +65,36 @@ public class X_M_ShipperPackagingCfg extends PO implements I_M_ShipperPackagingC } */ } + /** Standard Constructor */ + public X_M_ShipperPackagingCfg (Properties ctx, String M_ShipperPackagingCfg_UU, String trxName) + { + super (ctx, M_ShipperPackagingCfg_UU, trxName); + /** if (M_ShipperPackagingCfg_UU == null) + { + setIsDefault (false); +// N + setM_ShipperCfg_ID (0); + setM_ShipperPackagingCfg_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_M_ShipperPackagingCfg (Properties ctx, String M_ShipperPackagingCfg_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ShipperPackagingCfg_UU, trxName, virtualColumns); + /** if (M_ShipperPackagingCfg_UU == null) + { + setIsDefault (false); +// N + setM_ShipperCfg_ID (0); + setM_ShipperPackagingCfg_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_M_ShipperPackagingCfg (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +102,7 @@ public class X_M_ShipperPackagingCfg extends PO implements I_M_ShipperPackagingC } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -123,10 +153,10 @@ public class X_M_ShipperPackagingCfg extends PO implements I_M_ShipperPackagingC public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -214,7 +244,7 @@ public class X_M_ShipperPackagingCfg extends PO implements I_M_ShipperPackagingC /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ShipperPickupTypes.java b/org.adempiere.base/src/org/compiere/model/X_M_ShipperPickupTypes.java index 7f9194bb37..aceaeb5d64 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ShipperPickupTypes.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ShipperPickupTypes.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for M_ShipperPickupTypes - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ShipperPickupTypes") -public class X_M_ShipperPickupTypes extends PO implements I_M_ShipperPickupTypes, I_Persistent +public class X_M_ShipperPickupTypes extends PO implements I_M_ShipperPickupTypes, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ShipperPickupTypes (Properties ctx, int M_ShipperPickupTypes_ID, String trxName) @@ -62,6 +62,36 @@ public class X_M_ShipperPickupTypes extends PO implements I_M_ShipperPickupTypes } */ } + /** Standard Constructor */ + public X_M_ShipperPickupTypes (Properties ctx, String M_ShipperPickupTypes_UU, String trxName) + { + super (ctx, M_ShipperPickupTypes_UU, trxName); + /** if (M_ShipperPickupTypes_UU == null) + { + setIsDefault (false); +// N + setM_Shipper_ID (0); + setM_ShipperPickupTypesCfg_ID (0); + setM_ShipperPickupTypes_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_ShipperPickupTypes (Properties ctx, String M_ShipperPickupTypes_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ShipperPickupTypes_UU, trxName, virtualColumns); + /** if (M_ShipperPickupTypes_UU == null) + { + setIsDefault (false); +// N + setM_Shipper_ID (0); + setM_ShipperPickupTypesCfg_ID (0); + setM_ShipperPickupTypes_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_ShipperPickupTypes (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +99,7 @@ public class X_M_ShipperPickupTypes extends PO implements I_M_ShipperPickupTypes } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -104,10 +134,10 @@ public class X_M_ShipperPickupTypes extends PO implements I_M_ShipperPickupTypes public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ShipperPickupTypesCfg.java b/org.adempiere.base/src/org/compiere/model/X_M_ShipperPickupTypesCfg.java index 6b69700fb2..2c9d9ca832 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ShipperPickupTypesCfg.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ShipperPickupTypesCfg.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_ShipperPickupTypesCfg - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ShipperPickupTypesCfg") -public class X_M_ShipperPickupTypesCfg extends PO implements I_M_ShipperPickupTypesCfg, I_Persistent +public class X_M_ShipperPickupTypesCfg extends PO implements I_M_ShipperPickupTypesCfg, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ShipperPickupTypesCfg (Properties ctx, int M_ShipperPickupTypesCfg_ID, String trxName) @@ -63,6 +63,36 @@ public class X_M_ShipperPickupTypesCfg extends PO implements I_M_ShipperPickupTy } */ } + /** Standard Constructor */ + public X_M_ShipperPickupTypesCfg (Properties ctx, String M_ShipperPickupTypesCfg_UU, String trxName) + { + super (ctx, M_ShipperPickupTypesCfg_UU, trxName); + /** if (M_ShipperPickupTypesCfg_UU == null) + { + setIsDefault (false); +// N + setM_ShipperCfg_ID (0); + setM_ShipperPickupTypesCfg_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_M_ShipperPickupTypesCfg (Properties ctx, String M_ShipperPickupTypesCfg_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ShipperPickupTypesCfg_UU, trxName, virtualColumns); + /** if (M_ShipperPickupTypesCfg_UU == null) + { + setIsDefault (false); +// N + setM_ShipperCfg_ID (0); + setM_ShipperPickupTypesCfg_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_M_ShipperPickupTypesCfg (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_M_ShipperPickupTypesCfg extends PO implements I_M_ShipperPickupTy } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -121,10 +151,10 @@ public class X_M_ShipperPickupTypesCfg extends PO implements I_M_ShipperPickupTy public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -212,7 +242,7 @@ public class X_M_ShipperPickupTypesCfg extends PO implements I_M_ShipperPickupTy /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ShippingProcessor.java b/org.adempiere.base/src/org/compiere/model/X_M_ShippingProcessor.java index f6f5ee6309..87c50abc0c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ShippingProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ShippingProcessor.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for M_ShippingProcessor - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ShippingProcessor") -public class X_M_ShippingProcessor extends PO implements I_M_ShippingProcessor, I_Persistent +public class X_M_ShippingProcessor extends PO implements I_M_ShippingProcessor, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ShippingProcessor (Properties ctx, int M_ShippingProcessor_ID, String trxName) @@ -60,6 +60,34 @@ public class X_M_ShippingProcessor extends PO implements I_M_ShippingProcessor, } */ } + /** Standard Constructor */ + public X_M_ShippingProcessor (Properties ctx, String M_ShippingProcessor_UU, String trxName) + { + super (ctx, M_ShippingProcessor_UU, trxName); + /** if (M_ShippingProcessor_UU == null) + { + setConnectionPassword (null); + setM_ShippingProcessorCfg_ID (0); + setM_ShippingProcessor_ID (0); + setName (null); + setUserID (null); + } */ + } + + /** Standard Constructor */ + public X_M_ShippingProcessor (Properties ctx, String M_ShippingProcessor_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ShippingProcessor_UU, trxName, virtualColumns); + /** if (M_ShippingProcessor_UU == null) + { + setConnectionPassword (null); + setM_ShippingProcessorCfg_ID (0); + setM_ShippingProcessor_ID (0); + setName (null); + setUserID (null); + } */ + } + /** Load Constructor */ public X_M_ShippingProcessor (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +95,7 @@ public class X_M_ShippingProcessor extends PO implements I_M_ShippingProcessor, } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ShippingProcessorCfg.java b/org.adempiere.base/src/org/compiere/model/X_M_ShippingProcessorCfg.java index ec69631b99..10cb13a695 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ShippingProcessorCfg.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ShippingProcessorCfg.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_ShippingProcessorCfg - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ShippingProcessorCfg") -public class X_M_ShippingProcessorCfg extends PO implements I_M_ShippingProcessorCfg, I_Persistent +public class X_M_ShippingProcessorCfg extends PO implements I_M_ShippingProcessorCfg, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ShippingProcessorCfg (Properties ctx, int M_ShippingProcessorCfg_ID, String trxName) @@ -59,6 +59,32 @@ public class X_M_ShippingProcessorCfg extends PO implements I_M_ShippingProcesso } */ } + /** Standard Constructor */ + public X_M_ShippingProcessorCfg (Properties ctx, String M_ShippingProcessorCfg_UU, String trxName) + { + super (ctx, M_ShippingProcessorCfg_UU, trxName); + /** if (M_ShippingProcessorCfg_UU == null) + { + setHostAddress (null); + setHostPort (0); + setM_ShippingProcessorCfg_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_M_ShippingProcessorCfg (Properties ctx, String M_ShippingProcessorCfg_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ShippingProcessorCfg_UU, trxName, virtualColumns); + /** if (M_ShippingProcessorCfg_UU == null) + { + setHostAddress (null); + setHostPort (0); + setM_ShippingProcessorCfg_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_M_ShippingProcessorCfg (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_M_ShippingProcessorCfg extends PO implements I_M_ShippingProcesso } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -193,7 +219,7 @@ public class X_M_ShippingProcessorCfg extends PO implements I_M_ShippingProcesso /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ShippingTransaction.java b/org.adempiere.base/src/org/compiere/model/X_M_ShippingTransaction.java index 3015f60216..ef0dfc93c3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ShippingTransaction.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ShippingTransaction.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_ShippingTransaction - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ShippingTransaction") -public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransaction, I_Persistent +public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransaction, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ShippingTransaction (Properties ctx, int M_ShippingTransaction_ID, String trxName) @@ -135,6 +135,106 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti } */ } + /** Standard Constructor */ + public X_M_ShippingTransaction (Properties ctx, String M_ShippingTransaction_UU, String trxName) + { + super (ctx, M_ShippingTransaction_UU, trxName); + /** if (M_ShippingTransaction_UU == null) + { + setAction (null); + setCashOnDelivery (false); +// N + setDeliveryConfirmation (false); +// N + setIsAccessible (false); +// N + setIsAddedHandling (false); +// N + setIsAlternateReturnAddress (false); +// N + setIsCargoAircraftOnly (false); +// N + setIsDryIce (false); +// N + setIsDutiable (false); +// N + setIsFutureDayShipment (false); +// N + setIsHazMat (false); +// N + setIsHoldAtLocation (false); +// N + setIsIgnoreZipNotFound (false); +// N + setIsIgnoreZipStateNotMatch (false); +// N + setIsPriviledgedRate (false); +// N + setIsResidential (true); +// Y + setIsSaturdayDelivery (false); +// N + setIsSaturdayPickup (false); +// N + setIsVerbalConfirmation (false); +// N + setM_Shipper_ID (0); + setM_ShippingTransaction_ID (0); + setProcessed (false); +// N + } */ + } + + /** Standard Constructor */ + public X_M_ShippingTransaction (Properties ctx, String M_ShippingTransaction_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ShippingTransaction_UU, trxName, virtualColumns); + /** if (M_ShippingTransaction_UU == null) + { + setAction (null); + setCashOnDelivery (false); +// N + setDeliveryConfirmation (false); +// N + setIsAccessible (false); +// N + setIsAddedHandling (false); +// N + setIsAlternateReturnAddress (false); +// N + setIsCargoAircraftOnly (false); +// N + setIsDryIce (false); +// N + setIsDutiable (false); +// N + setIsFutureDayShipment (false); +// N + setIsHazMat (false); +// N + setIsHoldAtLocation (false); +// N + setIsIgnoreZipNotFound (false); +// N + setIsIgnoreZipStateNotMatch (false); +// N + setIsPriviledgedRate (false); +// N + setIsResidential (true); +// Y + setIsSaturdayDelivery (false); +// N + setIsSaturdayPickup (false); +// N + setIsVerbalConfirmation (false); +// N + setM_Shipper_ID (0); + setM_ShippingTransaction_ID (0); + setProcessed (false); +// N + } */ + } + /** Load Constructor */ public X_M_ShippingTransaction (Properties ctx, ResultSet rs, String trxName) { @@ -142,7 +242,7 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -275,10 +375,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isCashOnDelivery() { Object oo = get_Value(COLUMNNAME_CashOnDelivery); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -573,10 +673,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isDeliveryConfirmation() { Object oo = get_Value(COLUMNNAME_DeliveryConfirmation); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -978,10 +1078,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isAccessible() { Object oo = get_Value(COLUMNNAME_IsAccessible); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1000,10 +1100,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isAddedHandling() { Object oo = get_Value(COLUMNNAME_IsAddedHandling); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1022,10 +1122,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isAlternateReturnAddress() { Object oo = get_Value(COLUMNNAME_IsAlternateReturnAddress); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1044,10 +1144,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isCargoAircraftOnly() { Object oo = get_Value(COLUMNNAME_IsCargoAircraftOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1066,10 +1166,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isDryIce() { Object oo = get_Value(COLUMNNAME_IsDryIce); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1088,10 +1188,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isDutiable() { Object oo = get_Value(COLUMNNAME_IsDutiable); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1110,10 +1210,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isFutureDayShipment() { Object oo = get_Value(COLUMNNAME_IsFutureDayShipment); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1132,10 +1232,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isHazMat() { Object oo = get_Value(COLUMNNAME_IsHazMat); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1154,10 +1254,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isHoldAtLocation() { Object oo = get_Value(COLUMNNAME_IsHoldAtLocation); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1176,10 +1276,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isIgnoreZipNotFound() { Object oo = get_Value(COLUMNNAME_IsIgnoreZipNotFound); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1198,10 +1298,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isIgnoreZipStateNotMatch() { Object oo = get_Value(COLUMNNAME_IsIgnoreZipStateNotMatch); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1220,10 +1320,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isPriviledgedRate() { Object oo = get_Value(COLUMNNAME_IsPriviledgedRate); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1242,10 +1342,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isResidential() { Object oo = get_Value(COLUMNNAME_IsResidential); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1264,10 +1364,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isSaturdayDelivery() { Object oo = get_Value(COLUMNNAME_IsSaturdayDelivery); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1286,10 +1386,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isSaturdayPickup() { Object oo = get_Value(COLUMNNAME_IsSaturdayPickup); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1308,10 +1408,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isVerbalConfirmation() { Object oo = get_Value(COLUMNNAME_IsVerbalConfirmation); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1747,10 +1847,10 @@ public class X_M_ShippingTransaction extends PO implements I_M_ShippingTransacti public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_ShippingTransactionLine.java b/org.adempiere.base/src/org/compiere/model/X_M_ShippingTransactionLine.java index fec9e14655..bc2331f72b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_ShippingTransactionLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_ShippingTransactionLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_ShippingTransactionLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_ShippingTransactionLine") -public class X_M_ShippingTransactionLine extends PO implements I_M_ShippingTransactionLine, I_Persistent +public class X_M_ShippingTransactionLine extends PO implements I_M_ShippingTransactionLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_ShippingTransactionLine (Properties ctx, int M_ShippingTransactionLine_ID, String trxName) @@ -61,6 +61,32 @@ public class X_M_ShippingTransactionLine extends PO implements I_M_ShippingTrans } */ } + /** Standard Constructor */ + public X_M_ShippingTransactionLine (Properties ctx, String M_ShippingTransactionLine_UU, String trxName) + { + super (ctx, M_ShippingTransactionLine_UU, trxName); + /** if (M_ShippingTransactionLine_UU == null) + { + setM_ShippingTransaction_ID (0); + setM_ShippingTransactionLine_ID (0); + setProcessed (false); +// N + } */ + } + + /** Standard Constructor */ + public X_M_ShippingTransactionLine (Properties ctx, String M_ShippingTransactionLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_ShippingTransactionLine_UU, trxName, virtualColumns); + /** if (M_ShippingTransactionLine_UU == null) + { + setM_ShippingTransaction_ID (0); + setM_ShippingTransactionLine_ID (0); + setProcessed (false); +// N + } */ + } + /** Load Constructor */ public X_M_ShippingTransactionLine (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +94,7 @@ public class X_M_ShippingTransactionLine extends PO implements I_M_ShippingTrans } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -269,7 +295,7 @@ public class X_M_ShippingTransactionLine extends PO implements I_M_ShippingTrans /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_ShippingTransaction_ID())); } @@ -343,10 +369,10 @@ public class X_M_ShippingTransactionLine extends PO implements I_M_ShippingTrans public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_StorageOnHand.java b/org.adempiere.base/src/org/compiere/model/X_M_StorageOnHand.java index 9a5b97c0ee..1acdde5866 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_StorageOnHand.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_StorageOnHand.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_StorageOnHand - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_StorageOnHand") -public class X_M_StorageOnHand extends PO implements I_M_StorageOnHand, I_Persistent +public class X_M_StorageOnHand extends PO implements I_M_StorageOnHand, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_StorageOnHand (Properties ctx, int M_StorageOnHand_ID, String trxName) @@ -63,6 +63,34 @@ public class X_M_StorageOnHand extends PO implements I_M_StorageOnHand, I_Persis } */ } + /** Standard Constructor */ + public X_M_StorageOnHand (Properties ctx, String M_StorageOnHand_UU, String trxName) + { + super (ctx, M_StorageOnHand_UU, trxName); + /** if (M_StorageOnHand_UU == null) + { + setDateMaterialPolicy (new Timestamp( System.currentTimeMillis() )); + setM_AttributeSetInstance_ID (0); + setM_Locator_ID (0); + setM_Product_ID (0); + setQtyOnHand (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_StorageOnHand (Properties ctx, String M_StorageOnHand_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_StorageOnHand_UU, trxName, virtualColumns); + /** if (M_StorageOnHand_UU == null) + { + setDateMaterialPolicy (new Timestamp( System.currentTimeMillis() )); + setM_AttributeSetInstance_ID (0); + setM_Locator_ID (0); + setM_Product_ID (0); + setQtyOnHand (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_StorageOnHand (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +98,7 @@ public class X_M_StorageOnHand extends PO implements I_M_StorageOnHand, I_Persis } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -87,7 +115,7 @@ public class X_M_StorageOnHand extends PO implements I_M_StorageOnHand, I_Persis public String toString() { StringBuilder sb = new StringBuilder ("X_M_StorageOnHand[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_StorageReservation.java b/org.adempiere.base/src/org/compiere/model/X_M_StorageReservation.java index a47e5d5140..ff42861e72 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_StorageReservation.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_StorageReservation.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_StorageReservation - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_StorageReservation") -public class X_M_StorageReservation extends PO implements I_M_StorageReservation, I_Persistent +public class X_M_StorageReservation extends PO implements I_M_StorageReservation, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_StorageReservation (Properties ctx, int M_StorageReservation_ID, String trxName) @@ -65,6 +65,36 @@ public class X_M_StorageReservation extends PO implements I_M_StorageReservation } */ } + /** Standard Constructor */ + public X_M_StorageReservation (Properties ctx, String M_StorageReservation_UU, String trxName) + { + super (ctx, M_StorageReservation_UU, trxName); + /** if (M_StorageReservation_UU == null) + { + setIsSOTrx (true); +// Y + setM_AttributeSetInstance_ID (0); + setM_Product_ID (0); + setM_Warehouse_ID (0); + setQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_StorageReservation (Properties ctx, String M_StorageReservation_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_StorageReservation_UU, trxName, virtualColumns); + /** if (M_StorageReservation_UU == null) + { + setIsSOTrx (true); +// Y + setM_AttributeSetInstance_ID (0); + setM_Product_ID (0); + setM_Warehouse_ID (0); + setQty (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_StorageReservation (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +102,7 @@ public class X_M_StorageReservation extends PO implements I_M_StorageReservation } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -89,7 +119,7 @@ public class X_M_StorageReservation extends PO implements I_M_StorageReservation public String toString() { StringBuilder sb = new StringBuilder ("X_M_StorageReservation[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -123,10 +153,10 @@ public class X_M_StorageReservation extends PO implements I_M_StorageReservation public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_StorageReservationLog.java b/org.adempiere.base/src/org/compiere/model/X_M_StorageReservationLog.java index 6683bc3a63..12ec624e52 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_StorageReservationLog.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_StorageReservationLog.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_StorageReservationLog - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_StorageReservationLog") -public class X_M_StorageReservationLog extends PO implements I_M_StorageReservationLog, I_Persistent +public class X_M_StorageReservationLog extends PO implements I_M_StorageReservationLog, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_StorageReservationLog (Properties ctx, int M_StorageReservationLog_ID, String trxName) @@ -74,6 +74,46 @@ public class X_M_StorageReservationLog extends PO implements I_M_StorageReservat } */ } + /** Standard Constructor */ + public X_M_StorageReservationLog (Properties ctx, String M_StorageReservationLog_UU, String trxName) + { + super (ctx, M_StorageReservationLog_UU, trxName); + /** if (M_StorageReservationLog_UU == null) + { + setAD_Table_ID (0); + setDeltaQty (Env.ZERO); + setIsSOTrx (false); + setM_AttributeSetInstance_ID (0); + setM_Product_ID (0); + setM_StorageReservationLog_ID (0); + setM_StorageReservationLog_UU (null); + setM_Warehouse_ID (0); + setNewQty (Env.ZERO); + setOldQty (Env.ZERO); + setRecord_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_StorageReservationLog (Properties ctx, String M_StorageReservationLog_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_StorageReservationLog_UU, trxName, virtualColumns); + /** if (M_StorageReservationLog_UU == null) + { + setAD_Table_ID (0); + setDeltaQty (Env.ZERO); + setIsSOTrx (false); + setM_AttributeSetInstance_ID (0); + setM_Product_ID (0); + setM_StorageReservationLog_ID (0); + setM_StorageReservationLog_UU (null); + setM_Warehouse_ID (0); + setNewQty (Env.ZERO); + setOldQty (Env.ZERO); + setRecord_ID (0); + } */ + } + /** Load Constructor */ public X_M_StorageReservationLog (Properties ctx, ResultSet rs, String trxName) { @@ -81,7 +121,7 @@ public class X_M_StorageReservationLog extends PO implements I_M_StorageReservat } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -207,10 +247,10 @@ public class X_M_StorageReservationLog extends PO implements I_M_StorageReservat public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Substitute.java b/org.adempiere.base/src/org/compiere/model/X_M_Substitute.java index 85e2ea0234..4224deacfa 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Substitute.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Substitute.java @@ -19,19 +19,19 @@ package org.compiere.model; import java.sql.ResultSet; import java.util.Properties; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for M_Substitute - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Substitute") -public class X_M_Substitute extends PO implements I_M_Substitute, I_Persistent +public class X_M_Substitute extends PO implements I_M_Substitute, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Substitute (Properties ctx, int M_Substitute_ID, String trxName) @@ -57,6 +57,30 @@ public class X_M_Substitute extends PO implements I_M_Substitute, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Substitute (Properties ctx, String M_Substitute_UU, String trxName) + { + super (ctx, M_Substitute_UU, trxName); + /** if (M_Substitute_UU == null) + { + setM_Product_ID (0); + setName (null); + setSubstitute_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_Substitute (Properties ctx, String M_Substitute_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Substitute_UU, trxName, virtualColumns); + /** if (M_Substitute_UU == null) + { + setM_Product_ID (0); + setName (null); + setSubstitute_ID (0); + } */ + } + /** Load Constructor */ public X_M_Substitute (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_M_Substitute extends PO implements I_M_Substitute, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -81,7 +105,7 @@ public class X_M_Substitute extends PO implements I_M_Substitute, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_M_Substitute[") - .append(get_ID()).append(",Name=").append(getName()).append("]"); + .append(get_UUID()).append(",Name=").append(getName()).append("]"); return sb.toString(); } @@ -160,12 +184,12 @@ public class X_M_Substitute extends PO implements I_M_Substitute, I_Persistent return (String)get_Value(COLUMNNAME_Name); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), getName()); + return new ValueNamePair(get_UUID(), getName()); } public org.compiere.model.I_M_Product getSubstitute() throws RuntimeException diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Transaction.java b/org.adempiere.base/src/org/compiere/model/X_M_Transaction.java index 9c61f796fb..95b570db37 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Transaction.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Transaction.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for M_Transaction - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Transaction") -public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent +public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Transaction (Properties ctx, int M_Transaction_ID, String trxName) @@ -68,6 +68,38 @@ public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Transaction (Properties ctx, String M_Transaction_UU, String trxName) + { + super (ctx, M_Transaction_UU, trxName); + /** if (M_Transaction_UU == null) + { + setM_AttributeSetInstance_ID (0); + setM_Locator_ID (0); + setMovementDate (new Timestamp( System.currentTimeMillis() )); + setMovementQty (Env.ZERO); + setMovementType (null); + setM_Product_ID (0); + setM_Transaction_ID (0); + } */ + } + + /** Standard Constructor */ + public X_M_Transaction (Properties ctx, String M_Transaction_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Transaction_UU, trxName, virtualColumns); + /** if (M_Transaction_UU == null) + { + setM_AttributeSetInstance_ID (0); + setM_Locator_ID (0); + setMovementDate (new Timestamp( System.currentTimeMillis() )); + setMovementQty (Env.ZERO); + setMovementType (null); + setM_Product_ID (0); + setM_Transaction_ID (0); + } */ + } + /** Load Constructor */ public X_M_Transaction (Properties ctx, ResultSet rs, String trxName) { @@ -75,7 +107,7 @@ public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -283,7 +315,7 @@ public class X_M_Transaction extends PO implements I_M_Transaction, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getMovementDate())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_TransactionAllocation.java b/org.adempiere.base/src/org/compiere/model/X_M_TransactionAllocation.java index 27fecaccf4..42f8326489 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_TransactionAllocation.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_TransactionAllocation.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for M_TransactionAllocation - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_TransactionAllocation") -public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllocation, I_Persistent +public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllocation, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_TransactionAllocation (Properties ctx, int M_TransactionAllocation_ID, String trxName) @@ -70,6 +70,42 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo } */ } + /** Standard Constructor */ + public X_M_TransactionAllocation (Properties ctx, String M_TransactionAllocation_UU, String trxName) + { + super (ctx, M_TransactionAllocation_UU, trxName); + /** if (M_TransactionAllocation_UU == null) + { + setAllocationStrategyType (null); + setIsAllocated (false); +// N + setIsManual (false); +// N + setM_AttributeSetInstance_ID (0); + setM_Product_ID (0); + setM_Transaction_ID (0); + setQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_M_TransactionAllocation (Properties ctx, String M_TransactionAllocation_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_TransactionAllocation_UU, trxName, virtualColumns); + /** if (M_TransactionAllocation_UU == null) + { + setAllocationStrategyType (null); + setIsAllocated (false); +// N + setIsManual (false); +// N + setM_AttributeSetInstance_ID (0); + setM_Product_ID (0); + setM_Transaction_ID (0); + setQty (Env.ZERO); + } */ + } + /** Load Constructor */ public X_M_TransactionAllocation (Properties ctx, ResultSet rs, String trxName) { @@ -77,7 +113,7 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -94,7 +130,7 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo public String toString() { StringBuilder sb = new StringBuilder ("X_M_TransactionAllocation[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -135,10 +171,10 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo public boolean isAllocated() { Object oo = get_Value(COLUMNNAME_IsAllocated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -158,10 +194,10 @@ public class X_M_TransactionAllocation extends PO implements I_M_TransactionAllo public boolean isManual() { Object oo = get_Value(COLUMNNAME_IsManual); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Warehouse.java b/org.adempiere.base/src/org/compiere/model/X_M_Warehouse.java index ad4c471e09..0895278668 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Warehouse.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Warehouse.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for M_Warehouse - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Warehouse") -public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent +public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Warehouse (Properties ctx, int M_Warehouse_ID, String trxName) @@ -67,6 +67,40 @@ public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent } */ } + /** Standard Constructor */ + public X_M_Warehouse (Properties ctx, String M_Warehouse_UU, String trxName) + { + super (ctx, M_Warehouse_UU, trxName); + /** if (M_Warehouse_UU == null) + { + setC_Location_ID (0); + setIsDisallowNegativeInv (false); +// N + setM_Warehouse_ID (0); + setName (null); + setSeparator (null); +// * + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_M_Warehouse (Properties ctx, String M_Warehouse_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Warehouse_UU, trxName, virtualColumns); + /** if (M_Warehouse_UU == null) + { + setC_Location_ID (0); + setIsDisallowNegativeInv (false); +// N + setM_Warehouse_ID (0); + setName (null); + setSeparator (null); +// * + setValue (null); + } */ + } + /** Load Constructor */ public X_M_Warehouse (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +108,7 @@ public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -153,10 +187,10 @@ public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent public boolean isDisallowNegativeInv() { Object oo = get_Value(COLUMNNAME_IsDisallowNegativeInv); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -176,10 +210,10 @@ public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent public boolean isInTransit() { Object oo = get_Value(COLUMNNAME_IsInTransit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -297,7 +331,7 @@ public class X_M_Warehouse extends PO implements I_M_Warehouse, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_M_Warehouse_Acct.java b/org.adempiere.base/src/org/compiere/model/X_M_Warehouse_Acct.java index 951b660845..c8b731f69f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_M_Warehouse_Acct.java +++ b/org.adempiere.base/src/org/compiere/model/X_M_Warehouse_Acct.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for M_Warehouse_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="M_Warehouse_Acct") -public class X_M_Warehouse_Acct extends PO implements I_M_Warehouse_Acct, I_Persistent +public class X_M_Warehouse_Acct extends PO implements I_M_Warehouse_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_M_Warehouse_Acct (Properties ctx, int M_Warehouse_Acct_ID, String trxName) @@ -56,6 +56,30 @@ public class X_M_Warehouse_Acct extends PO implements I_M_Warehouse_Acct, I_Pers } */ } + /** Standard Constructor */ + public X_M_Warehouse_Acct (Properties ctx, String M_Warehouse_Acct_UU, String trxName) + { + super (ctx, M_Warehouse_Acct_UU, trxName); + /** if (M_Warehouse_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setM_Warehouse_ID (0); + setW_Differences_Acct (0); + } */ + } + + /** Standard Constructor */ + public X_M_Warehouse_Acct (Properties ctx, String M_Warehouse_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, M_Warehouse_Acct_UU, trxName, virtualColumns); + /** if (M_Warehouse_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setM_Warehouse_ID (0); + setW_Differences_Acct (0); + } */ + } + /** Load Constructor */ public X_M_Warehouse_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_M_Warehouse_Acct extends PO implements I_M_Warehouse_Acct, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_M_Warehouse_Acct extends PO implements I_M_Warehouse_Acct, I_Pers public String toString() { StringBuilder sb = new StringBuilder ("X_M_Warehouse_Acct[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_Achievement.java b/org.adempiere.base/src/org/compiere/model/X_PA_Achievement.java index eff78e932c..bbeffe7357 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_Achievement.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_Achievement.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PA_Achievement - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_Achievement") -public class X_PA_Achievement extends PO implements I_PA_Achievement, I_Persistent +public class X_PA_Achievement extends PO implements I_PA_Achievement, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_Achievement (Properties ctx, int PA_Achievement_ID, String trxName) @@ -66,6 +66,36 @@ public class X_PA_Achievement extends PO implements I_PA_Achievement, I_Persiste } */ } + /** Standard Constructor */ + public X_PA_Achievement (Properties ctx, String PA_Achievement_UU, String trxName) + { + super (ctx, PA_Achievement_UU, trxName); + /** if (PA_Achievement_UU == null) + { + setIsAchieved (false); + setManualActual (Env.ZERO); + setName (null); + setPA_Achievement_ID (0); + setPA_Measure_ID (0); + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_PA_Achievement (Properties ctx, String PA_Achievement_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_Achievement_UU, trxName, virtualColumns); + /** if (PA_Achievement_UU == null) + { + setIsAchieved (false); + setManualActual (Env.ZERO); + setName (null); + setPA_Achievement_ID (0); + setPA_Measure_ID (0); + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_PA_Achievement (Properties ctx, ResultSet rs, String trxName) { @@ -73,7 +103,7 @@ public class X_PA_Achievement extends PO implements I_PA_Achievement, I_Persiste } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -140,10 +170,10 @@ public class X_PA_Achievement extends PO implements I_PA_Achievement, I_Persiste public boolean isAchieved() { Object oo = get_Value(COLUMNNAME_IsAchieved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -187,7 +217,7 @@ public class X_PA_Achievement extends PO implements I_PA_Achievement, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_Benchmark.java b/org.adempiere.base/src/org/compiere/model/X_PA_Benchmark.java index b64e4c9907..5953c9f5bc 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_Benchmark.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_Benchmark.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for PA_Benchmark - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_Benchmark") -public class X_PA_Benchmark extends PO implements I_PA_Benchmark, I_Persistent +public class X_PA_Benchmark extends PO implements I_PA_Benchmark, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_Benchmark (Properties ctx, int PA_Benchmark_ID, String trxName) @@ -57,6 +57,30 @@ public class X_PA_Benchmark extends PO implements I_PA_Benchmark, I_Persistent } */ } + /** Standard Constructor */ + public X_PA_Benchmark (Properties ctx, String PA_Benchmark_UU, String trxName) + { + super (ctx, PA_Benchmark_UU, trxName); + /** if (PA_Benchmark_UU == null) + { + setAccumulationType (null); + setName (null); + setPA_Benchmark_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PA_Benchmark (Properties ctx, String PA_Benchmark_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_Benchmark_UU, trxName, virtualColumns); + /** if (PA_Benchmark_UU == null) + { + setAccumulationType (null); + setName (null); + setPA_Benchmark_ID (0); + } */ + } + /** Load Constructor */ public X_PA_Benchmark (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_PA_Benchmark extends PO implements I_PA_Benchmark, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -159,7 +183,7 @@ public class X_PA_Benchmark extends PO implements I_PA_Benchmark, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_BenchmarkData.java b/org.adempiere.base/src/org/compiere/model/X_PA_BenchmarkData.java index a065297b09..e0f5724197 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_BenchmarkData.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_BenchmarkData.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PA_BenchmarkData - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_BenchmarkData") -public class X_PA_BenchmarkData extends PO implements I_PA_BenchmarkData, I_Persistent +public class X_PA_BenchmarkData extends PO implements I_PA_BenchmarkData, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_BenchmarkData (Properties ctx, int PA_BenchmarkData_ID, String trxName) @@ -64,6 +64,34 @@ public class X_PA_BenchmarkData extends PO implements I_PA_BenchmarkData, I_Pers } */ } + /** Standard Constructor */ + public X_PA_BenchmarkData (Properties ctx, String PA_BenchmarkData_UU, String trxName) + { + super (ctx, PA_BenchmarkData_UU, trxName); + /** if (PA_BenchmarkData_UU == null) + { + setBenchmarkDate (new Timestamp( System.currentTimeMillis() )); + setBenchmarkValue (Env.ZERO); + setName (null); + setPA_BenchmarkData_ID (0); + setPA_Benchmark_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PA_BenchmarkData (Properties ctx, String PA_BenchmarkData_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_BenchmarkData_UU, trxName, virtualColumns); + /** if (PA_BenchmarkData_UU == null) + { + setBenchmarkDate (new Timestamp( System.currentTimeMillis() )); + setBenchmarkValue (Env.ZERO); + setName (null); + setPA_BenchmarkData_ID (0); + setPA_Benchmark_ID (0); + } */ + } + /** Load Constructor */ public X_PA_BenchmarkData (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +99,7 @@ public class X_PA_BenchmarkData extends PO implements I_PA_BenchmarkData, I_Pers } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -162,7 +190,7 @@ public class X_PA_BenchmarkData extends PO implements I_PA_BenchmarkData, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_ColorSchema.java b/org.adempiere.base/src/org/compiere/model/X_PA_ColorSchema.java index a29377a170..0ba6819506 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_ColorSchema.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_ColorSchema.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for PA_ColorSchema - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_ColorSchema") -public class X_PA_ColorSchema extends PO implements I_PA_ColorSchema, I_Persistent +public class X_PA_ColorSchema extends PO implements I_PA_ColorSchema, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_ColorSchema (Properties ctx, int PA_ColorSchema_ID, String trxName) @@ -67,6 +67,40 @@ public class X_PA_ColorSchema extends PO implements I_PA_ColorSchema, I_Persiste } */ } + /** Standard Constructor */ + public X_PA_ColorSchema (Properties ctx, String PA_ColorSchema_UU, String trxName) + { + super (ctx, PA_ColorSchema_UU, trxName); + /** if (PA_ColorSchema_UU == null) + { + setAD_PrintColor1_ID (0); + setAD_PrintColor2_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setMark1Percent (0); + setMark2Percent (0); + setName (null); + setPA_ColorSchema_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PA_ColorSchema (Properties ctx, String PA_ColorSchema_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_ColorSchema_UU, trxName, virtualColumns); + /** if (PA_ColorSchema_UU == null) + { + setAD_PrintColor1_ID (0); + setAD_PrintColor2_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setMark1Percent (0); + setMark2Percent (0); + setName (null); + setPA_ColorSchema_ID (0); + } */ + } + /** Load Constructor */ public X_PA_ColorSchema (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +108,7 @@ public class X_PA_ColorSchema extends PO implements I_PA_ColorSchema, I_Persiste } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -337,7 +371,7 @@ public class X_PA_ColorSchema extends PO implements I_PA_ColorSchema, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_DashboardContent.java b/org.adempiere.base/src/org/compiere/model/X_PA_DashboardContent.java index 9e8e6b73ec..0057787b18 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_DashboardContent.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_DashboardContent.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PA_DashboardContent - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_DashboardContent") -public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, I_Persistent +public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_DashboardContent (Properties ctx, int PA_DashboardContent_ID, String trxName) @@ -81,6 +81,52 @@ public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, } */ } + /** Standard Constructor */ + public X_PA_DashboardContent (Properties ctx, String PA_DashboardContent_UU, String trxName) + { + super (ctx, PA_DashboardContent_UU, trxName); + /** if (PA_DashboardContent_UU == null) + { + setIsCollapsedByDefault (false); +// N + setIsCollapsible (true); +// Y + setIsEmbedReportContent (false); +// N + setIsMaximizable (true); +// Y + setIsShowInDashboard (true); +// 'Y' + setIsShowTitle (true); +// Y + setName (null); + setPA_DashboardContent_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PA_DashboardContent (Properties ctx, String PA_DashboardContent_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_DashboardContent_UU, trxName, virtualColumns); + /** if (PA_DashboardContent_UU == null) + { + setIsCollapsedByDefault (false); +// N + setIsCollapsible (true); +// Y + setIsEmbedReportContent (false); +// N + setIsMaximizable (true); +// Y + setIsShowInDashboard (true); +// 'Y' + setIsShowTitle (true); +// Y + setName (null); + setPA_DashboardContent_ID (0); + } */ + } + /** Load Constructor */ public X_PA_DashboardContent (Properties ctx, ResultSet rs, String trxName) { @@ -88,7 +134,7 @@ public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -392,10 +438,10 @@ public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, public boolean isCollapsedByDefault() { Object oo = get_Value(COLUMNNAME_IsCollapsedByDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -415,10 +461,10 @@ public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, public boolean isCollapsible() { Object oo = get_Value(COLUMNNAME_IsCollapsible); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -438,10 +484,10 @@ public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, public boolean isEmbedReportContent() { Object oo = get_Value(COLUMNNAME_IsEmbedReportContent); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -460,10 +506,10 @@ public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, public boolean isMaximizable() { Object oo = get_Value(COLUMNNAME_IsMaximizable); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -483,10 +529,10 @@ public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, public boolean isShowInDashboard() { Object oo = get_Value(COLUMNNAME_IsShowInDashboard); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -505,10 +551,10 @@ public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, public boolean isShowinLogin() { Object oo = get_Value(COLUMNNAME_IsShowinLogin); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -527,10 +573,10 @@ public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, public boolean isShowTitle() { Object oo = get_Value(COLUMNNAME_IsShowTitle); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -574,7 +620,7 @@ public class X_PA_DashboardContent extends PO implements I_PA_DashboardContent, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_DashboardContent_Access.java b/org.adempiere.base/src/org/compiere/model/X_PA_DashboardContent_Access.java index 8f173277b3..96c9df4656 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_DashboardContent_Access.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_DashboardContent_Access.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for PA_DashboardContent_Access - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_DashboardContent_Access") -public class X_PA_DashboardContent_Access extends PO implements I_PA_DashboardContent_Access, I_Persistent +public class X_PA_DashboardContent_Access extends PO implements I_PA_DashboardContent_Access, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_DashboardContent_Access (Properties ctx, int PA_DashboardContent_Access_ID, String trxName) @@ -52,6 +52,26 @@ public class X_PA_DashboardContent_Access extends PO implements I_PA_DashboardCo } */ } + /** Standard Constructor */ + public X_PA_DashboardContent_Access (Properties ctx, String PA_DashboardContent_Access_UU, String trxName) + { + super (ctx, PA_DashboardContent_Access_UU, trxName); + /** if (PA_DashboardContent_Access_UU == null) + { + setPA_DashboardContent_Access_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PA_DashboardContent_Access (Properties ctx, String PA_DashboardContent_Access_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_DashboardContent_Access_UU, trxName, virtualColumns); + /** if (PA_DashboardContent_Access_UU == null) + { + setPA_DashboardContent_Access_ID (0); + } */ + } + /** Load Constructor */ public X_PA_DashboardContent_Access (Properties ctx, ResultSet rs, String trxName) { @@ -59,7 +79,7 @@ public class X_PA_DashboardContent_Access extends PO implements I_PA_DashboardCo } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_DashboardPreference.java b/org.adempiere.base/src/org/compiere/model/X_PA_DashboardPreference.java index fd4858466f..4824943392 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_DashboardPreference.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_DashboardPreference.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for PA_DashboardPreference - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_DashboardPreference") -public class X_PA_DashboardPreference extends PO implements I_PA_DashboardPreference, I_Persistent +public class X_PA_DashboardPreference extends PO implements I_PA_DashboardPreference, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_DashboardPreference (Properties ctx, int PA_DashboardPreference_ID, String trxName) @@ -76,6 +76,48 @@ public class X_PA_DashboardPreference extends PO implements I_PA_DashboardPrefer } */ } + /** Standard Constructor */ + public X_PA_DashboardPreference (Properties ctx, String PA_DashboardPreference_UU, String trxName) + { + super (ctx, PA_DashboardPreference_UU, trxName); + /** if (PA_DashboardPreference_UU == null) + { + setAD_Role_ID (0); +// 0 + setAD_User_ID (0); +// 0 + setFlexGrow (0); +// 1 + setIsCollapsedByDefault (false); +// N + setIsShowInDashboard (true); +// 'Y' + setPA_DashboardContent_ID (0); + setPA_DashboardPreference_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PA_DashboardPreference (Properties ctx, String PA_DashboardPreference_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_DashboardPreference_UU, trxName, virtualColumns); + /** if (PA_DashboardPreference_UU == null) + { + setAD_Role_ID (0); +// 0 + setAD_User_ID (0); +// 0 + setFlexGrow (0); +// 1 + setIsCollapsedByDefault (false); +// N + setIsShowInDashboard (true); +// 'Y' + setPA_DashboardContent_ID (0); + setPA_DashboardPreference_ID (0); + } */ + } + /** Load Constructor */ public X_PA_DashboardPreference (Properties ctx, ResultSet rs, String trxName) { @@ -83,7 +125,7 @@ public class X_PA_DashboardPreference extends PO implements I_PA_DashboardPrefer } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -212,10 +254,10 @@ public class X_PA_DashboardPreference extends PO implements I_PA_DashboardPrefer public boolean isCollapsedByDefault() { Object oo = get_Value(COLUMNNAME_IsCollapsedByDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -235,10 +277,10 @@ public class X_PA_DashboardPreference extends PO implements I_PA_DashboardPrefer public boolean isShowInDashboard() { Object oo = get_Value(COLUMNNAME_IsShowInDashboard); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_DocumentStatus.java b/org.adempiere.base/src/org/compiere/model/X_PA_DocumentStatus.java index e719d44f81..9cac66f513 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_DocumentStatus.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_DocumentStatus.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for PA_DocumentStatus - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_DocumentStatus") -public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Persistent +public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_DocumentStatus (Properties ctx, int PA_DocumentStatus_ID, String trxName) @@ -62,6 +62,36 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe } */ } + /** Standard Constructor */ + public X_PA_DocumentStatus (Properties ctx, String PA_DocumentStatus_UU, String trxName) + { + super (ctx, PA_DocumentStatus_UU, trxName); + /** if (PA_DocumentStatus_UU == null) + { + setAD_Table_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setPA_DocumentStatus_ID (0); + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_PA_DocumentStatus (Properties ctx, String PA_DocumentStatus_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_DocumentStatus_UU, trxName, virtualColumns); + /** if (PA_DocumentStatus_UU == null) + { + setAD_Table_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setName (null); + setPA_DocumentStatus_ID (0); + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_PA_DocumentStatus (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +99,7 @@ public class X_PA_DocumentStatus extends PO implements I_PA_DocumentStatus, I_Pe } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_DocumentStatusAccess.java b/org.adempiere.base/src/org/compiere/model/X_PA_DocumentStatusAccess.java index eca797de0a..ad17b19b1a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_DocumentStatusAccess.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_DocumentStatusAccess.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for PA_DocumentStatusAccess - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_DocumentStatusAccess") -public class X_PA_DocumentStatusAccess extends PO implements I_PA_DocumentStatusAccess, I_Persistent +public class X_PA_DocumentStatusAccess extends PO implements I_PA_DocumentStatusAccess, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_DocumentStatusAccess (Properties ctx, int PA_DocumentStatusAccess_ID, String trxName) @@ -52,6 +52,26 @@ public class X_PA_DocumentStatusAccess extends PO implements I_PA_DocumentStatus } */ } + /** Standard Constructor */ + public X_PA_DocumentStatusAccess (Properties ctx, String PA_DocumentStatusAccess_UU, String trxName) + { + super (ctx, PA_DocumentStatusAccess_UU, trxName); + /** if (PA_DocumentStatusAccess_UU == null) + { + setPA_DocumentStatusAccess_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PA_DocumentStatusAccess (Properties ctx, String PA_DocumentStatusAccess_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_DocumentStatusAccess_UU, trxName, virtualColumns); + /** if (PA_DocumentStatusAccess_UU == null) + { + setPA_DocumentStatusAccess_ID (0); + } */ + } + /** Load Constructor */ public X_PA_DocumentStatusAccess (Properties ctx, ResultSet rs, String trxName) { @@ -59,7 +79,7 @@ public class X_PA_DocumentStatusAccess extends PO implements I_PA_DocumentStatus } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_Goal.java b/org.adempiere.base/src/org/compiere/model/X_PA_Goal.java index c10b4e4e00..509abbc808 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_Goal.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_Goal.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PA_Goal - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_Goal") -public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent +public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_Goal (Properties ctx, int PA_Goal_ID, String trxName) @@ -80,6 +80,50 @@ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent } */ } + /** Standard Constructor */ + public X_PA_Goal (Properties ctx, String PA_Goal_UU, String trxName) + { + super (ctx, PA_Goal_UU, trxName); + /** if (PA_Goal_UU == null) + { + setChartType (null); +// BC + setGoalPerformance (Env.ZERO); + setIsSummary (false); + setMeasureActual (Env.ZERO); + setMeasureScope (null); + setMeasureTarget (Env.ZERO); + setName (null); + setPA_ColorSchema_ID (0); + setPA_Goal_ID (0); + setRelativeWeight (Env.ZERO); +// 1 + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_PA_Goal (Properties ctx, String PA_Goal_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_Goal_UU, trxName, virtualColumns); + /** if (PA_Goal_UU == null) + { + setChartType (null); +// BC + setGoalPerformance (Env.ZERO); + setIsSummary (false); + setMeasureActual (Env.ZERO); + setMeasureScope (null); + setMeasureTarget (Env.ZERO); + setName (null); + setPA_ColorSchema_ID (0); + setPA_Goal_ID (0); + setRelativeWeight (Env.ZERO); +// 1 + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_PA_Goal (Properties ctx, ResultSet rs, String trxName) { @@ -87,7 +131,7 @@ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -292,10 +336,10 @@ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent public boolean isSummary() { Object oo = get_Value(COLUMNNAME_IsSummary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -420,7 +464,7 @@ public class X_PA_Goal extends PO implements I_PA_Goal, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_GoalRestriction.java b/org.adempiere.base/src/org/compiere/model/X_PA_GoalRestriction.java index 3d281c55a0..5f27d41c0c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_GoalRestriction.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_GoalRestriction.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for PA_GoalRestriction - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_GoalRestriction") -public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_Persistent +public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_GoalRestriction (Properties ctx, int PA_GoalRestriction_ID, String trxName) @@ -59,6 +59,32 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_ } */ } + /** Standard Constructor */ + public X_PA_GoalRestriction (Properties ctx, String PA_GoalRestriction_UU, String trxName) + { + super (ctx, PA_GoalRestriction_UU, trxName); + /** if (PA_GoalRestriction_UU == null) + { + setGoalRestrictionType (null); + setName (null); + setPA_Goal_ID (0); + setPA_GoalRestriction_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PA_GoalRestriction (Properties ctx, String PA_GoalRestriction_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_GoalRestriction_UU, trxName, virtualColumns); + /** if (PA_GoalRestriction_UU == null) + { + setGoalRestrictionType (null); + setName (null); + setPA_Goal_ID (0); + setPA_GoalRestriction_ID (0); + } */ + } + /** Load Constructor */ public X_PA_GoalRestriction (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_ } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -247,7 +273,7 @@ public class X_PA_GoalRestriction extends PO implements I_PA_GoalRestriction, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_Hierarchy.java b/org.adempiere.base/src/org/compiere/model/X_PA_Hierarchy.java index 59bb7c5873..8d0ec51668 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_Hierarchy.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_Hierarchy.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for PA_Hierarchy - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_Hierarchy") -public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent +public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_Hierarchy (Properties ctx, int PA_Hierarchy_ID, String trxName) @@ -71,6 +71,44 @@ public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent } */ } + /** Standard Constructor */ + public X_PA_Hierarchy (Properties ctx, String PA_Hierarchy_UU, String trxName) + { + super (ctx, PA_Hierarchy_UU, trxName); + /** if (PA_Hierarchy_UU == null) + { + setAD_Tree_Account_ID (0); + setAD_Tree_Activity_ID (0); + setAD_Tree_BPartner_ID (0); + setAD_Tree_Campaign_ID (0); + setAD_Tree_Org_ID (0); + setAD_Tree_Product_ID (0); + setAD_Tree_Project_ID (0); + setAD_Tree_SalesRegion_ID (0); + setName (null); + setPA_Hierarchy_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PA_Hierarchy (Properties ctx, String PA_Hierarchy_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_Hierarchy_UU, trxName, virtualColumns); + /** if (PA_Hierarchy_UU == null) + { + setAD_Tree_Account_ID (0); + setAD_Tree_Activity_ID (0); + setAD_Tree_BPartner_ID (0); + setAD_Tree_Campaign_ID (0); + setAD_Tree_Org_ID (0); + setAD_Tree_Product_ID (0); + setAD_Tree_Project_ID (0); + setAD_Tree_SalesRegion_ID (0); + setName (null); + setPA_Hierarchy_ID (0); + } */ + } + /** Load Constructor */ public X_PA_Hierarchy (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +116,7 @@ public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -374,7 +412,7 @@ public class X_PA_Hierarchy extends PO implements I_PA_Hierarchy, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_Measure.java b/org.adempiere.base/src/org/compiere/model/X_PA_Measure.java index eead2dc119..186e96ac5a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_Measure.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_Measure.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PA_Measure - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_Measure") -public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent +public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_Measure (Properties ctx, int PA_Measure_ID, String trxName) @@ -65,6 +65,36 @@ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent } */ } + /** Standard Constructor */ + public X_PA_Measure (Properties ctx, String PA_Measure_UU, String trxName) + { + super (ctx, PA_Measure_UU, trxName); + /** if (PA_Measure_UU == null) + { + setMeasureDataType (null); +// T + setMeasureType (null); +// M + setName (null); + setPA_Measure_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PA_Measure (Properties ctx, String PA_Measure_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_Measure_UU, trxName, virtualColumns); + /** if (PA_Measure_UU == null) + { + setMeasureDataType (null); +// T + setMeasureType (null); +// M + setName (null); + setPA_Measure_ID (0); + } */ + } + /** Load Constructor */ public X_PA_Measure (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +102,7 @@ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -263,7 +293,7 @@ public class X_PA_Measure extends PO implements I_PA_Measure, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_MeasureCalc.java b/org.adempiere.base/src/org/compiere/model/X_PA_MeasureCalc.java index bc25538c5e..7d2d572c9f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_MeasureCalc.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_MeasureCalc.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for PA_MeasureCalc - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_MeasureCalc") -public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persistent +public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_MeasureCalc (Properties ctx, int PA_MeasureCalc_ID, String trxName) @@ -79,6 +79,52 @@ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persiste } */ } + /** Standard Constructor */ + public X_PA_MeasureCalc (Properties ctx, String PA_MeasureCalc_UU, String trxName) + { + super (ctx, PA_MeasureCalc_UU, trxName); + /** if (PA_MeasureCalc_UU == null) + { + setAD_Table_ID (0); + setDateColumn (null); +// x.Date + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setKeyColumn (null); + setName (null); + setOrgColumn (null); +// x.AD_Org_ID + setPA_MeasureCalc_ID (0); + setSelectClause (null); +// SELECT ... FROM ... + setWhereClause (null); +// WHERE ... + } */ + } + + /** Standard Constructor */ + public X_PA_MeasureCalc (Properties ctx, String PA_MeasureCalc_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_MeasureCalc_UU, trxName, virtualColumns); + /** if (PA_MeasureCalc_UU == null) + { + setAD_Table_ID (0); + setDateColumn (null); +// x.Date + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setKeyColumn (null); + setName (null); + setOrgColumn (null); +// x.AD_Org_ID + setPA_MeasureCalc_ID (0); + setSelectClause (null); +// SELECT ... FROM ... + setWhereClause (null); +// WHERE ... + } */ + } + /** Load Constructor */ public X_PA_MeasureCalc (Properties ctx, ResultSet rs, String trxName) { @@ -86,7 +132,7 @@ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persiste } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -237,7 +283,7 @@ public class X_PA_MeasureCalc extends PO implements I_PA_MeasureCalc, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_Ratio.java b/org.adempiere.base/src/org/compiere/model/X_PA_Ratio.java index eb1af7b9fc..5ffda0ce55 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_Ratio.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_Ratio.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for PA_Ratio - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_Ratio") -public class X_PA_Ratio extends PO implements I_PA_Ratio, I_Persistent +public class X_PA_Ratio extends PO implements I_PA_Ratio, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_Ratio (Properties ctx, int PA_Ratio_ID, String trxName) @@ -57,6 +57,30 @@ public class X_PA_Ratio extends PO implements I_PA_Ratio, I_Persistent } */ } + /** Standard Constructor */ + public X_PA_Ratio (Properties ctx, String PA_Ratio_UU, String trxName) + { + super (ctx, PA_Ratio_UU, trxName); + /** if (PA_Ratio_UU == null) + { + setC_AcctSchema_ID (0); + setName (null); + setPA_Ratio_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PA_Ratio (Properties ctx, String PA_Ratio_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_Ratio_UU, trxName, virtualColumns); + /** if (PA_Ratio_UU == null) + { + setC_AcctSchema_ID (0); + setName (null); + setPA_Ratio_ID (0); + } */ + } + /** Load Constructor */ public X_PA_Ratio (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_PA_Ratio extends PO implements I_PA_Ratio, I_Persistent } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -164,7 +188,7 @@ public class X_PA_Ratio extends PO implements I_PA_Ratio, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_RatioElement.java b/org.adempiere.base/src/org/compiere/model/X_PA_RatioElement.java index a499e97a31..8be5b73602 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_RatioElement.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_RatioElement.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PA_RatioElement - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_RatioElement") -public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persistent +public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_RatioElement (Properties ctx, int PA_RatioElement_ID, String trxName) @@ -67,6 +67,38 @@ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persis } */ } + /** Standard Constructor */ + public X_PA_RatioElement (Properties ctx, String PA_RatioElement_UU, String trxName) + { + super (ctx, PA_RatioElement_UU, trxName); + /** if (PA_RatioElement_UU == null) + { + setName (null); + setPA_RatioElement_ID (0); + setPA_Ratio_ID (0); + setRatioElementType (null); + setRatioOperand (null); +// P + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_PA_RatioElement (Properties ctx, String PA_RatioElement_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_RatioElement_UU, trxName, virtualColumns); + /** if (PA_RatioElement_UU == null) + { + setName (null); + setPA_RatioElement_ID (0); + setPA_Ratio_ID (0); + setRatioElementType (null); + setRatioOperand (null); +// P + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_PA_RatioElement (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +106,7 @@ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persis } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -400,7 +432,7 @@ public class X_PA_RatioElement extends PO implements I_PA_RatioElement, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getSeqNo())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_Report.java b/org.adempiere.base/src/org/compiere/model/X_PA_Report.java index 5b75bab451..0f96b0d0fd 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_Report.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_Report.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for PA_Report - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_Report") -public class X_PA_Report extends PO implements I_PA_Report, I_Persistent +public class X_PA_Report extends PO implements I_PA_Report, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_Report (Properties ctx, int PA_Report_ID, String trxName) @@ -73,6 +73,46 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent } */ } + /** Standard Constructor */ + public X_PA_Report (Properties ctx, String PA_Report_UU, String trxName) + { + super (ctx, PA_Report_UU, trxName); + /** if (PA_Report_UU == null) + { + setC_AcctSchema_ID (0); + setC_Calendar_ID (0); + setExcludeAdjustmentPeriods (null); +// 1 + setListSources (false); + setListTrx (false); + setName (null); + setPA_ReportColumnSet_ID (0); + setPA_Report_ID (0); + setPA_ReportLineSet_ID (0); + setProcessing (false); + } */ + } + + /** Standard Constructor */ + public X_PA_Report (Properties ctx, String PA_Report_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_Report_UU, trxName, virtualColumns); + /** if (PA_Report_UU == null) + { + setC_AcctSchema_ID (0); + setC_Calendar_ID (0); + setExcludeAdjustmentPeriods (null); +// 1 + setListSources (false); + setListTrx (false); + setName (null); + setPA_ReportColumnSet_ID (0); + setPA_Report_ID (0); + setPA_ReportLineSet_ID (0); + setProcessing (false); + } */ + } + /** Load Constructor */ public X_PA_Report (Properties ctx, ResultSet rs, String trxName) { @@ -80,7 +120,7 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -282,10 +322,10 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent public boolean isListSources() { Object oo = get_Value(COLUMNNAME_ListSources); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -305,10 +345,10 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent public boolean isListSourcesXTrx() { Object oo = get_Value(COLUMNNAME_ListSourcesXTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -328,10 +368,10 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent public boolean isListTrx() { Object oo = get_Value(COLUMNNAME_ListTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -356,7 +396,7 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -494,10 +534,10 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_ReportColumn.java b/org.adempiere.base/src/org/compiere/model/X_PA_ReportColumn.java index 62f636ba97..7447c6171b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_ReportColumn.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_ReportColumn.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PA_ReportColumn - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_ReportColumn") -public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persistent +public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_ReportColumn (Properties ctx, int PA_ReportColumn_ID, String trxName) @@ -123,6 +123,94 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis } */ } + /** Standard Constructor */ + public X_PA_ReportColumn (Properties ctx, String PA_ReportColumn_UU, String trxName) + { + super (ctx, PA_ReportColumn_UU, trxName); + /** if (PA_ReportColumn_UU == null) + { + setColumnType (null); +// R + setIsIncludeNullsActivity (false); +// N + setIsIncludeNullsBPartner (false); +// N + setIsIncludeNullsCampaign (false); +// N + setIsIncludeNullsElementValue (false); +// N + setIsIncludeNullsLocation (false); +// N + setIsIncludeNullsOrg (false); +// N + setIsIncludeNullsOrgTrx (false); +// N + setIsIncludeNullsProduct (false); +// N + setIsIncludeNullsProject (false); +// N + setIsIncludeNullsSalesRegion (false); +// N + setIsIncludeNullsUserElement1 (false); +// N + setIsIncludeNullsUserElement2 (false); +// N + setIsPrinted (true); +// Y + setName (null); + setPA_ReportColumn_ID (0); + setPA_ReportColumnSet_ID (0); + setPostingType (null); +// A + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM PA_ReportColumn WHERE PA_ReportColumnSet_ID=@PA_ReportColumnSet_ID@ + } */ + } + + /** Standard Constructor */ + public X_PA_ReportColumn (Properties ctx, String PA_ReportColumn_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_ReportColumn_UU, trxName, virtualColumns); + /** if (PA_ReportColumn_UU == null) + { + setColumnType (null); +// R + setIsIncludeNullsActivity (false); +// N + setIsIncludeNullsBPartner (false); +// N + setIsIncludeNullsCampaign (false); +// N + setIsIncludeNullsElementValue (false); +// N + setIsIncludeNullsLocation (false); +// N + setIsIncludeNullsOrg (false); +// N + setIsIncludeNullsOrgTrx (false); +// N + setIsIncludeNullsProduct (false); +// N + setIsIncludeNullsProject (false); +// N + setIsIncludeNullsSalesRegion (false); +// N + setIsIncludeNullsUserElement1 (false); +// N + setIsIncludeNullsUserElement2 (false); +// N + setIsPrinted (true); +// Y + setName (null); + setPA_ReportColumn_ID (0); + setPA_ReportColumnSet_ID (0); + setPostingType (null); +// A + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM PA_ReportColumn WHERE PA_ReportColumnSet_ID=@PA_ReportColumnSet_ID@ + } */ + } + /** Load Constructor */ public X_PA_ReportColumn (Properties ctx, ResultSet rs, String trxName) { @@ -130,7 +218,7 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -619,10 +707,10 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public boolean isAdhocConversion() { Object oo = get_Value(COLUMNNAME_IsAdhocConversion); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -642,10 +730,10 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public boolean isAllowOppositeSign() { Object oo = get_Value(COLUMNNAME_IsAllowOppositeSign); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -665,10 +753,10 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public boolean isIncludeNullsActivity() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsActivity); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -688,10 +776,10 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public boolean isIncludeNullsBPartner() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsBPartner); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -711,10 +799,10 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public boolean isIncludeNullsCampaign() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsCampaign); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -734,10 +822,10 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public boolean isIncludeNullsElementValue() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsElementValue); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -757,10 +845,10 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public boolean isIncludeNullsLocation() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsLocation); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -780,10 +868,10 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public boolean isIncludeNullsOrg() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsOrg); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -803,10 +891,10 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public boolean isIncludeNullsOrgTrx() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsOrgTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -826,10 +914,10 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public boolean isIncludeNullsProduct() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsProduct); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -849,10 +937,10 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public boolean isIncludeNullsProject() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsProject); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -872,10 +960,10 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public boolean isIncludeNullsSalesRegion() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsSalesRegion); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -895,10 +983,10 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public boolean isIncludeNullsUserElement1() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsUserElement1); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -918,10 +1006,10 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public boolean isIncludeNullsUserElement2() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsUserElement2); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -941,10 +1029,10 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1016,7 +1104,7 @@ public class X_PA_ReportColumn extends PO implements I_PA_ReportColumn, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_ReportColumnSet.java b/org.adempiere.base/src/org/compiere/model/X_PA_ReportColumnSet.java index 386ffbff4b..c570d1e5cb 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_ReportColumnSet.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_ReportColumnSet.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for PA_ReportColumnSet - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_ReportColumnSet") -public class X_PA_ReportColumnSet extends PO implements I_PA_ReportColumnSet, I_Persistent +public class X_PA_ReportColumnSet extends PO implements I_PA_ReportColumnSet, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_ReportColumnSet (Properties ctx, int PA_ReportColumnSet_ID, String trxName) @@ -57,6 +57,30 @@ public class X_PA_ReportColumnSet extends PO implements I_PA_ReportColumnSet, I_ } */ } + /** Standard Constructor */ + public X_PA_ReportColumnSet (Properties ctx, String PA_ReportColumnSet_UU, String trxName) + { + super (ctx, PA_ReportColumnSet_UU, trxName); + /** if (PA_ReportColumnSet_UU == null) + { + setName (null); + setPA_ReportColumnSet_ID (0); + setProcessing (false); + } */ + } + + /** Standard Constructor */ + public X_PA_ReportColumnSet (Properties ctx, String PA_ReportColumnSet_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_ReportColumnSet_UU, trxName, virtualColumns); + /** if (PA_ReportColumnSet_UU == null) + { + setName (null); + setPA_ReportColumnSet_ID (0); + setProcessing (false); + } */ + } + /** Load Constructor */ public X_PA_ReportColumnSet (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_PA_ReportColumnSet extends PO implements I_PA_ReportColumnSet, I_ } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -120,7 +144,7 @@ public class X_PA_ReportColumnSet extends PO implements I_PA_ReportColumnSet, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -175,10 +199,10 @@ public class X_PA_ReportColumnSet extends PO implements I_PA_ReportColumnSet, I_ public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_ReportCube.java b/org.adempiere.base/src/org/compiere/model/X_PA_ReportCube.java index 139b32f425..87d72e89d5 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_ReportCube.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_ReportCube.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for PA_ReportCube - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_ReportCube") -public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent +public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_ReportCube (Properties ctx, int PA_ReportCube_ID, String trxName) @@ -62,6 +62,34 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent } */ } + /** Standard Constructor */ + public X_PA_ReportCube (Properties ctx, String PA_ReportCube_UU, String trxName) + { + super (ctx, PA_ReportCube_UU, trxName); + /** if (PA_ReportCube_UU == null) + { + setC_Calendar_ID (0); + setName (null); + setPA_ReportCube_ID (0); + setProcessing (false); +// N + } */ + } + + /** Standard Constructor */ + public X_PA_ReportCube (Properties ctx, String PA_ReportCube_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_ReportCube_UU, trxName, virtualColumns); + /** if (PA_ReportCube_UU == null) + { + setC_Calendar_ID (0); + setName (null); + setPA_ReportCube_ID (0); + setProcessing (false); +// N + } */ + } + /** Load Constructor */ public X_PA_ReportCube (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +97,7 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -148,10 +176,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isActivityDim() { Object oo = get_Value(COLUMNNAME_IsActivityDim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -171,10 +199,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isBPartnerDim() { Object oo = get_Value(COLUMNNAME_IsBPartnerDim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -194,10 +222,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isCampaignDim() { Object oo = get_Value(COLUMNNAME_IsCampaignDim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -217,10 +245,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isGLBudgetDim() { Object oo = get_Value(COLUMNNAME_IsGLBudgetDim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -240,10 +268,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isLocFromDim() { Object oo = get_Value(COLUMNNAME_IsLocFromDim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -263,10 +291,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isLocToDim() { Object oo = get_Value(COLUMNNAME_IsLocToDim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -286,10 +314,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isOrgTrxDim() { Object oo = get_Value(COLUMNNAME_IsOrgTrxDim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -309,10 +337,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isProductDim() { Object oo = get_Value(COLUMNNAME_IsProductDim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -332,10 +360,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isProjectDim() { Object oo = get_Value(COLUMNNAME_IsProjectDim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -355,10 +383,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isProjectPhaseDim() { Object oo = get_Value(COLUMNNAME_IsProjectPhaseDim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -378,10 +406,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isProjectTaskDim() { Object oo = get_Value(COLUMNNAME_IsProjectTaskDim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -401,10 +429,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isSalesRegionDim() { Object oo = get_Value(COLUMNNAME_IsSalesRegionDim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -424,10 +452,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isSubAcctDim() { Object oo = get_Value(COLUMNNAME_IsSubAcctDim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -447,10 +475,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isUser1Dim() { Object oo = get_Value(COLUMNNAME_IsUser1Dim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -470,10 +498,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isUser2Dim() { Object oo = get_Value(COLUMNNAME_IsUser2Dim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -493,10 +521,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isUserElement1Dim() { Object oo = get_Value(COLUMNNAME_IsUserElement1Dim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -516,10 +544,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isUserElement2Dim() { Object oo = get_Value(COLUMNNAME_IsUserElement2Dim); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -560,7 +588,7 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -615,10 +643,10 @@ public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_ReportLine.java b/org.adempiere.base/src/org/compiere/model/X_PA_ReportLine.java index 3309a93492..138f7808b4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_ReportLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_ReportLine.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PA_ReportLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_ReportLine") -public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent +public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_ReportLine (Properties ctx, int PA_ReportLine_ID, String trxName) @@ -73,6 +73,44 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent } */ } + /** Standard Constructor */ + public X_PA_ReportLine (Properties ctx, String PA_ReportLine_UU, String trxName) + { + super (ctx, PA_ReportLine_UU, trxName); + /** if (PA_ReportLine_UU == null) + { + setIsInverseDebitCreditOnly (false); +// N + setIsPrinted (true); +// Y + setLineType (null); + setName (null); + setPA_ReportLine_ID (0); + setPA_ReportLineSet_ID (0); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM PA_ReportLine WHERE PA_ReportLineSet_ID=@PA_ReportLineSet_ID@ + } */ + } + + /** Standard Constructor */ + public X_PA_ReportLine (Properties ctx, String PA_ReportLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_ReportLine_UU, trxName, virtualColumns); + /** if (PA_ReportLine_UU == null) + { + setIsInverseDebitCreditOnly (false); +// N + setIsPrinted (true); +// Y + setLineType (null); + setName (null); + setPA_ReportLine_ID (0); + setPA_ReportLineSet_ID (0); + setSeqNo (0); +// @SQL=SELECT NVL(MAX(SeqNo),0)+10 AS DefaultValue FROM PA_ReportLine WHERE PA_ReportLineSet_ID=@PA_ReportLineSet_ID@ + } */ + } + /** Load Constructor */ public X_PA_ReportLine (Properties ctx, ResultSet rs, String trxName) { @@ -80,7 +118,7 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -185,10 +223,10 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent public boolean isInverseDebitCreditOnly() { Object oo = get_Value(COLUMNNAME_IsInverseDebitCreditOnly); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -208,10 +246,10 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -231,10 +269,10 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent public boolean isShowOppositeSign() { Object oo = get_Value(COLUMNNAME_IsShowOppositeSign); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -302,7 +340,7 @@ public class X_PA_ReportLine extends PO implements I_PA_ReportLine, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_ReportLineSet.java b/org.adempiere.base/src/org/compiere/model/X_PA_ReportLineSet.java index 53bef15f6e..1c0225c462 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_ReportLineSet.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_ReportLineSet.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for PA_ReportLineSet - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_ReportLineSet") -public class X_PA_ReportLineSet extends PO implements I_PA_ReportLineSet, I_Persistent +public class X_PA_ReportLineSet extends PO implements I_PA_ReportLineSet, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_ReportLineSet (Properties ctx, int PA_ReportLineSet_ID, String trxName) @@ -57,6 +57,30 @@ public class X_PA_ReportLineSet extends PO implements I_PA_ReportLineSet, I_Pers } */ } + /** Standard Constructor */ + public X_PA_ReportLineSet (Properties ctx, String PA_ReportLineSet_UU, String trxName) + { + super (ctx, PA_ReportLineSet_UU, trxName); + /** if (PA_ReportLineSet_UU == null) + { + setName (null); + setPA_ReportLineSet_ID (0); + setProcessing (false); + } */ + } + + /** Standard Constructor */ + public X_PA_ReportLineSet (Properties ctx, String PA_ReportLineSet_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_ReportLineSet_UU, trxName, virtualColumns); + /** if (PA_ReportLineSet_UU == null) + { + setName (null); + setPA_ReportLineSet_ID (0); + setProcessing (false); + } */ + } + /** Load Constructor */ public X_PA_ReportLineSet (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_PA_ReportLineSet extends PO implements I_PA_ReportLineSet, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -120,7 +144,7 @@ public class X_PA_ReportLineSet extends PO implements I_PA_ReportLineSet, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -174,10 +198,10 @@ public class X_PA_ReportLineSet extends PO implements I_PA_ReportLineSet, I_Pers public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_ReportSource.java b/org.adempiere.base/src/org/compiere/model/X_PA_ReportSource.java index 2610c7df6d..1ad1a660a9 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_ReportSource.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_ReportSource.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for PA_ReportSource - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_ReportSource") -public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persistent +public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_ReportSource (Properties ctx, int PA_ReportSource_ID, String trxName) @@ -105,6 +105,78 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis } */ } + /** Standard Constructor */ + public X_PA_ReportSource (Properties ctx, String PA_ReportSource_UU, String trxName) + { + super (ctx, PA_ReportSource_UU, trxName); + /** if (PA_ReportSource_UU == null) + { + setElementType (null); + setIsIncludeNullsActivity (false); +// N + setIsIncludeNullsBPartner (false); +// N + setIsIncludeNullsCampaign (false); +// N + setIsIncludeNullsElementValue (false); +// N + setIsIncludeNullsLocation (false); +// N + setIsIncludeNullsOrg (false); +// N + setIsIncludeNullsOrgTrx (false); +// N + setIsIncludeNullsProduct (false); +// N + setIsIncludeNullsProject (false); +// N + setIsIncludeNullsSalesRegion (false); +// N + setIsIncludeNullsUserElement1 (false); +// N + setIsIncludeNullsUserElement2 (false); +// N + setPA_ReportLine_ID (0); + setPA_ReportSource_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PA_ReportSource (Properties ctx, String PA_ReportSource_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_ReportSource_UU, trxName, virtualColumns); + /** if (PA_ReportSource_UU == null) + { + setElementType (null); + setIsIncludeNullsActivity (false); +// N + setIsIncludeNullsBPartner (false); +// N + setIsIncludeNullsCampaign (false); +// N + setIsIncludeNullsElementValue (false); +// N + setIsIncludeNullsLocation (false); +// N + setIsIncludeNullsOrg (false); +// N + setIsIncludeNullsOrgTrx (false); +// N + setIsIncludeNullsProduct (false); +// N + setIsIncludeNullsProject (false); +// N + setIsIncludeNullsSalesRegion (false); +// N + setIsIncludeNullsUserElement1 (false); +// N + setIsIncludeNullsUserElement2 (false); +// N + setPA_ReportLine_ID (0); + setPA_ReportSource_ID (0); + } */ + } + /** Load Constructor */ public X_PA_ReportSource (Properties ctx, ResultSet rs, String trxName) { @@ -112,7 +184,7 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -423,7 +495,7 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getElementType())); } @@ -442,10 +514,10 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis public boolean isIncludeNullsActivity() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsActivity); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -465,10 +537,10 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis public boolean isIncludeNullsBPartner() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsBPartner); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -488,10 +560,10 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis public boolean isIncludeNullsCampaign() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsCampaign); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -511,10 +583,10 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis public boolean isIncludeNullsElementValue() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsElementValue); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -534,10 +606,10 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis public boolean isIncludeNullsLocation() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsLocation); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -557,10 +629,10 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis public boolean isIncludeNullsOrg() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsOrg); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -580,10 +652,10 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis public boolean isIncludeNullsOrgTrx() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsOrgTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -603,10 +675,10 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis public boolean isIncludeNullsProduct() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsProduct); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -626,10 +698,10 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis public boolean isIncludeNullsProject() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsProject); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -649,10 +721,10 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis public boolean isIncludeNullsSalesRegion() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsSalesRegion); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -672,10 +744,10 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis public boolean isIncludeNullsUserElement1() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsUserElement1); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -695,10 +767,10 @@ public class X_PA_ReportSource extends PO implements I_PA_ReportSource, I_Persis public boolean isIncludeNullsUserElement2() { Object oo = get_Value(COLUMNNAME_IsIncludeNullsUserElement2); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_SLA_Criteria.java b/org.adempiere.base/src/org/compiere/model/X_PA_SLA_Criteria.java index 0c48165caa..7dfc24b529 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_SLA_Criteria.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_SLA_Criteria.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for PA_SLA_Criteria - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_SLA_Criteria") -public class X_PA_SLA_Criteria extends PO implements I_PA_SLA_Criteria, I_Persistent +public class X_PA_SLA_Criteria extends PO implements I_PA_SLA_Criteria, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_SLA_Criteria (Properties ctx, int PA_SLA_Criteria_ID, String trxName) @@ -59,6 +59,32 @@ public class X_PA_SLA_Criteria extends PO implements I_PA_SLA_Criteria, I_Persis } */ } + /** Standard Constructor */ + public X_PA_SLA_Criteria (Properties ctx, String PA_SLA_Criteria_UU, String trxName) + { + super (ctx, PA_SLA_Criteria_UU, trxName); + /** if (PA_SLA_Criteria_UU == null) + { + setIsManual (true); +// Y + setName (null); + setPA_SLA_Criteria_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PA_SLA_Criteria (Properties ctx, String PA_SLA_Criteria_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_SLA_Criteria_UU, trxName, virtualColumns); + /** if (PA_SLA_Criteria_UU == null) + { + setIsManual (true); +// Y + setName (null); + setPA_SLA_Criteria_ID (0); + } */ + } + /** Load Constructor */ public X_PA_SLA_Criteria (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_PA_SLA_Criteria extends PO implements I_PA_SLA_Criteria, I_Persis } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -149,10 +175,10 @@ public class X_PA_SLA_Criteria extends PO implements I_PA_SLA_Criteria, I_Persis public boolean isManual() { Object oo = get_Value(COLUMNNAME_IsManual); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -177,7 +203,7 @@ public class X_PA_SLA_Criteria extends PO implements I_PA_SLA_Criteria, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_SLA_Goal.java b/org.adempiere.base/src/org/compiere/model/X_PA_SLA_Goal.java index 9c9df5f8cf..70c78a084f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_SLA_Goal.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_SLA_Goal.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PA_SLA_Goal - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_SLA_Goal") -public class X_PA_SLA_Goal extends PO implements I_PA_SLA_Goal, I_Persistent +public class X_PA_SLA_Goal extends PO implements I_PA_SLA_Goal, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_SLA_Goal (Properties ctx, int PA_SLA_Goal_ID, String trxName) @@ -68,6 +68,38 @@ public class X_PA_SLA_Goal extends PO implements I_PA_SLA_Goal, I_Persistent } */ } + /** Standard Constructor */ + public X_PA_SLA_Goal (Properties ctx, String PA_SLA_Goal_UU, String trxName) + { + super (ctx, PA_SLA_Goal_UU, trxName); + /** if (PA_SLA_Goal_UU == null) + { + setC_BPartner_ID (0); + setMeasureActual (Env.ZERO); + setMeasureTarget (Env.ZERO); + setName (null); + setPA_SLA_Criteria_ID (0); + setPA_SLA_Goal_ID (0); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_PA_SLA_Goal (Properties ctx, String PA_SLA_Goal_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_SLA_Goal_UU, trxName, virtualColumns); + /** if (PA_SLA_Goal_UU == null) + { + setC_BPartner_ID (0); + setMeasureActual (Env.ZERO); + setMeasureTarget (Env.ZERO); + setName (null); + setPA_SLA_Criteria_ID (0); + setPA_SLA_Goal_ID (0); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_PA_SLA_Goal (Properties ctx, ResultSet rs, String trxName) { @@ -75,7 +107,7 @@ public class X_PA_SLA_Goal extends PO implements I_PA_SLA_Goal, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -229,7 +261,7 @@ public class X_PA_SLA_Goal extends PO implements I_PA_SLA_Goal, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -313,10 +345,10 @@ public class X_PA_SLA_Goal extends PO implements I_PA_SLA_Goal, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -335,10 +367,10 @@ public class X_PA_SLA_Goal extends PO implements I_PA_SLA_Goal, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_PA_SLA_Measure.java b/org.adempiere.base/src/org/compiere/model/X_PA_SLA_Measure.java index e9a58a622a..3c9712190a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_PA_SLA_Measure.java +++ b/org.adempiere.base/src/org/compiere/model/X_PA_SLA_Measure.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PA_SLA_Measure - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PA_SLA_Measure") -public class X_PA_SLA_Measure extends PO implements I_PA_SLA_Measure, I_Persistent +public class X_PA_SLA_Measure extends PO implements I_PA_SLA_Measure, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PA_SLA_Measure (Properties ctx, int PA_SLA_Measure_ID, String trxName) @@ -64,6 +64,34 @@ public class X_PA_SLA_Measure extends PO implements I_PA_SLA_Measure, I_Persiste } */ } + /** Standard Constructor */ + public X_PA_SLA_Measure (Properties ctx, String PA_SLA_Measure_UU, String trxName) + { + super (ctx, PA_SLA_Measure_UU, trxName); + /** if (PA_SLA_Measure_UU == null) + { + setDateTrx (new Timestamp( System.currentTimeMillis() )); + setMeasureActual (Env.ZERO); + setPA_SLA_Goal_ID (0); + setPA_SLA_Measure_ID (0); + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_PA_SLA_Measure (Properties ctx, String PA_SLA_Measure_UU, String trxName, String ... virtualColumns) + { + super (ctx, PA_SLA_Measure_UU, trxName, virtualColumns); + /** if (PA_SLA_Measure_UU == null) + { + setDateTrx (new Timestamp( System.currentTimeMillis() )); + setMeasureActual (Env.ZERO); + setPA_SLA_Goal_ID (0); + setPA_SLA_Measure_ID (0); + setProcessed (false); + } */ + } + /** Load Constructor */ public X_PA_SLA_Measure (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +99,7 @@ public class X_PA_SLA_Measure extends PO implements I_PA_SLA_Measure, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -139,7 +167,7 @@ public class X_PA_SLA_Measure extends PO implements I_PA_SLA_Measure, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getDateTrx())); } @@ -258,10 +286,10 @@ public class X_PA_SLA_Measure extends PO implements I_PA_SLA_Measure, I_Persiste public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -280,10 +308,10 @@ public class X_PA_SLA_Measure extends PO implements I_PA_SLA_Measure, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_RV_BPartner.java b/org.adempiere.base/src/org/compiere/model/X_RV_BPartner.java index 1a5b30f19b..ce24e4ff56 100644 --- a/org.adempiere.base/src/org/compiere/model/X_RV_BPartner.java +++ b/org.adempiere.base/src/org/compiere/model/X_RV_BPartner.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for RV_BPartner - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="RV_BPartner") -public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent +public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_RV_BPartner (Properties ctx, int RV_BPartner_ID, String trxName) @@ -89,6 +89,60 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent } */ } + /** Standard Constructor */ + public X_RV_BPartner (Properties ctx, String RV_BPartner_UU, String trxName) + { + super (ctx, RV_BPartner_UU, trxName); + /** if (RV_BPartner_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_BP_Group_ID (0); + setC_Country_ID (0); + setContactName (null); + setCountryName (null); + setIsCustomer (false); + setIsEmployee (false); + setIsOneTime (false); + setIsProspect (false); + setIsSalesRep (false); + setIsSummary (false); + setIsVendor (false); + setLDAPUser (false); + setName (null); + setNotificationType (null); + setSendEMail (false); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_RV_BPartner (Properties ctx, String RV_BPartner_UU, String trxName, String ... virtualColumns) + { + super (ctx, RV_BPartner_UU, trxName, virtualColumns); + /** if (RV_BPartner_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_BP_Group_ID (0); + setC_Country_ID (0); + setContactName (null); + setCountryName (null); + setIsCustomer (false); + setIsEmployee (false); + setIsOneTime (false); + setIsProspect (false); + setIsSalesRep (false); + setIsSummary (false); + setIsVendor (false); + setLDAPUser (false); + setName (null); + setNotificationType (null); + setSendEMail (false); + setValue (null); + } */ + } + /** Load Constructor */ public X_RV_BPartner (Properties ctx, ResultSet rs, String trxName) { @@ -96,7 +150,7 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -437,10 +491,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isad_user_isactive() { Object oo = get_Value(COLUMNNAME_ad_user_isactive); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -702,10 +756,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isc_bp_ismanufacturer() { Object oo = get_Value(COLUMNNAME_c_bp_ismanufacturer); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -724,10 +778,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isc_bp_ispotaxexempt() { Object oo = get_Value(COLUMNNAME_c_bp_ispotaxexempt); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -875,10 +929,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isc_bp_location_isactive() { Object oo = get_Value(COLUMNNAME_c_bp_location_isactive); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -897,10 +951,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isc_bp_location_isbillto() { Object oo = get_Value(COLUMNNAME_c_bp_location_isbillto); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -934,10 +988,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isc_bp_location_ispayfrom() { Object oo = get_Value(COLUMNNAME_c_bp_location_ispayfrom); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -956,10 +1010,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isc_bp_location_isremitto() { Object oo = get_Value(COLUMNNAME_c_bp_location_isremitto); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -978,10 +1032,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isc_bp_location_isshipto() { Object oo = get_Value(COLUMNNAME_c_bp_location_isshipto); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1245,10 +1299,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isc_country_isactive() { Object oo = get_Value(COLUMNNAME_c_country_isactive); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1455,10 +1509,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isc_location_isactive() { Object oo = get_Value(COLUMNNAME_c_location_isactive); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1709,10 +1763,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isc_region_isactive() { Object oo = get_Value(COLUMNNAME_c_region_isactive); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -2038,10 +2092,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isCustomer() { Object oo = get_Value(COLUMNNAME_IsCustomer); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -2061,10 +2115,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -2084,10 +2138,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isDiscountPrinted() { Object oo = get_Value(COLUMNNAME_IsDiscountPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -2107,10 +2161,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isEmployee() { Object oo = get_Value(COLUMNNAME_IsEmployee); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -2129,10 +2183,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isOneTime() { Object oo = get_Value(COLUMNNAME_IsOneTime); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -2152,10 +2206,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isProspect() { Object oo = get_Value(COLUMNNAME_IsProspect); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -2175,10 +2229,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isSalesRep() { Object oo = get_Value(COLUMNNAME_IsSalesRep); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -2198,10 +2252,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isSummary() { Object oo = get_Value(COLUMNNAME_IsSummary); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -2221,10 +2275,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isTaxExempt() { Object oo = get_Value(COLUMNNAME_IsTaxExempt); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -2244,10 +2298,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isVendor() { Object oo = get_Value(COLUMNNAME_IsVendor); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -2299,10 +2353,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isLDAPUser() { Object oo = get_Value(COLUMNNAME_LDAPUser); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -2816,10 +2870,10 @@ public class X_RV_BPartner extends PO implements I_RV_BPartner, I_Persistent public boolean isSendEMail() { Object oo = get_Value(COLUMNNAME_SendEMail); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_RV_WarehousePrice.java b/org.adempiere.base/src/org/compiere/model/X_RV_WarehousePrice.java index 3f2fabaa3d..759787bf63 100644 --- a/org.adempiere.base/src/org/compiere/model/X_RV_WarehousePrice.java +++ b/org.adempiere.base/src/org/compiere/model/X_RV_WarehousePrice.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for RV_WarehousePrice - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="RV_WarehousePrice") -public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Persistent +public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_RV_WarehousePrice (Properties ctx, int RV_WarehousePrice_ID, String trxName) @@ -66,6 +66,38 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Pe } */ } + /** Standard Constructor */ + public X_RV_WarehousePrice (Properties ctx, String RV_WarehousePrice_UU, String trxName) + { + super (ctx, RV_WarehousePrice_UU, trxName); + /** if (RV_WarehousePrice_UU == null) + { + setC_UOM_ID (0); + setM_PriceList_Version_ID (0); + setM_Product_ID (0); + setM_Warehouse_ID (0); + setName (null); + setValue (null); + setWarehouseName (null); + } */ + } + + /** Standard Constructor */ + public X_RV_WarehousePrice (Properties ctx, String RV_WarehousePrice_UU, String trxName, String ... virtualColumns) + { + super (ctx, RV_WarehousePrice_UU, trxName, virtualColumns); + /** if (RV_WarehousePrice_UU == null) + { + setC_UOM_ID (0); + setM_PriceList_Version_ID (0); + setM_Product_ID (0); + setM_Warehouse_ID (0); + setName (null); + setValue (null); + setWarehouseName (null); + } */ + } + /** Load Constructor */ public X_RV_WarehousePrice (Properties ctx, ResultSet rs, String trxName) { @@ -73,7 +105,7 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Pe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -90,7 +122,7 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Pe public String toString() { StringBuilder sb = new StringBuilder ("X_RV_WarehousePrice[") - .append(get_ID()).append(",Name=").append(getName()).append("]"); + .append(get_UUID()).append(",Name=").append(getName()).append("]"); return sb.toString(); } @@ -136,10 +168,10 @@ public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Pe public boolean isInstanceAttribute() { Object oo = get_Value(COLUMNNAME_IsInstanceAttribute); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_R_Category.java b/org.adempiere.base/src/org/compiere/model/X_R_Category.java index 46900a249e..a64c907516 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_Category.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_Category.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_Category - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_Category") -public class X_R_Category extends PO implements I_R_Category, I_Persistent +public class X_R_Category extends PO implements I_R_Category, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_Category (Properties ctx, int R_Category_ID, String trxName) @@ -55,6 +55,28 @@ public class X_R_Category extends PO implements I_R_Category, I_Persistent } */ } + /** Standard Constructor */ + public X_R_Category (Properties ctx, String R_Category_UU, String trxName) + { + super (ctx, R_Category_UU, trxName); + /** if (R_Category_UU == null) + { + setName (null); + setR_Category_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_Category (Properties ctx, String R_Category_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_Category_UU, trxName, virtualColumns); + /** if (R_Category_UU == null) + { + setName (null); + setR_Category_ID (0); + } */ + } + /** Load Constructor */ public X_R_Category (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_R_Category extends PO implements I_R_Category, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -162,7 +184,7 @@ public class X_R_Category extends PO implements I_R_Category, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_R_CategoryUpdates.java b/org.adempiere.base/src/org/compiere/model/X_R_CategoryUpdates.java index 1dc8d931e2..d3f7d2046b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_CategoryUpdates.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_CategoryUpdates.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for R_CategoryUpdates - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_CategoryUpdates") -public class X_R_CategoryUpdates extends PO implements I_R_CategoryUpdates, I_Persistent +public class X_R_CategoryUpdates extends PO implements I_R_CategoryUpdates, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_CategoryUpdates (Properties ctx, int R_CategoryUpdates_ID, String trxName) @@ -56,6 +56,30 @@ public class X_R_CategoryUpdates extends PO implements I_R_CategoryUpdates, I_Pe } */ } + /** Standard Constructor */ + public X_R_CategoryUpdates (Properties ctx, String R_CategoryUpdates_UU, String trxName) + { + super (ctx, R_CategoryUpdates_UU, trxName); + /** if (R_CategoryUpdates_UU == null) + { + setAD_User_ID (0); + setIsSelfService (false); + setR_Category_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_CategoryUpdates (Properties ctx, String R_CategoryUpdates_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_CategoryUpdates_UU, trxName, virtualColumns); + /** if (R_CategoryUpdates_UU == null) + { + setAD_User_ID (0); + setIsSelfService (false); + setR_Category_ID (0); + } */ + } + /** Load Constructor */ public X_R_CategoryUpdates (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_R_CategoryUpdates extends PO implements I_R_CategoryUpdates, I_Pe } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_R_CategoryUpdates extends PO implements I_R_CategoryUpdates, I_Pe public String toString() { StringBuilder sb = new StringBuilder ("X_R_CategoryUpdates[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -126,10 +150,10 @@ public class X_R_CategoryUpdates extends PO implements I_R_CategoryUpdates, I_Pe public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_R_ContactInterest.java b/org.adempiere.base/src/org/compiere/model/X_R_ContactInterest.java index e5f82f9b6e..89361e0592 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_ContactInterest.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_ContactInterest.java @@ -20,19 +20,19 @@ package org.compiere.model; import java.sql.ResultSet; import java.sql.Timestamp; import java.util.Properties; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for R_ContactInterest - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_ContactInterest") -public class X_R_ContactInterest extends PO implements I_R_ContactInterest, I_Persistent +public class X_R_ContactInterest extends PO implements I_R_ContactInterest, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_ContactInterest (Properties ctx, int R_ContactInterest_ID, String trxName) @@ -58,6 +58,30 @@ public class X_R_ContactInterest extends PO implements I_R_ContactInterest, I_Pe } */ } + /** Standard Constructor */ + public X_R_ContactInterest (Properties ctx, String R_ContactInterest_UU, String trxName) + { + super (ctx, R_ContactInterest_UU, trxName); + /** if (R_ContactInterest_UU == null) + { + setAD_User_ID (0); +// @AD_User_ID@ + setR_InterestArea_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_ContactInterest (Properties ctx, String R_ContactInterest_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_ContactInterest_UU, trxName, virtualColumns); + /** if (R_ContactInterest_UU == null) + { + setAD_User_ID (0); +// @AD_User_ID@ + setR_InterestArea_ID (0); + } */ + } + /** Load Constructor */ public X_R_ContactInterest (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +89,7 @@ public class X_R_ContactInterest extends PO implements I_R_ContactInterest, I_Pe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -82,7 +106,7 @@ public class X_R_ContactInterest extends PO implements I_R_ContactInterest, I_Pe public String toString() { StringBuilder sb = new StringBuilder ("X_R_ContactInterest[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -114,12 +138,12 @@ public class X_R_ContactInterest extends PO implements I_R_ContactInterest, I_Pe return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getAD_User_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getAD_User_ID())); } /** Set Opt-out Date. diff --git a/org.adempiere.base/src/org/compiere/model/X_R_Group.java b/org.adempiere.base/src/org/compiere/model/X_R_Group.java index c9ca93a2a0..ace553e474 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_Group.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_Group.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_Group - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_Group") -public class X_R_Group extends PO implements I_R_Group, I_Persistent +public class X_R_Group extends PO implements I_R_Group, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_Group (Properties ctx, int R_Group_ID, String trxName) @@ -55,6 +55,28 @@ public class X_R_Group extends PO implements I_R_Group, I_Persistent } */ } + /** Standard Constructor */ + public X_R_Group (Properties ctx, String R_Group_UU, String trxName) + { + super (ctx, R_Group_UU, trxName); + /** if (R_Group_UU == null) + { + setName (null); + setR_Group_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_Group (Properties ctx, String R_Group_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_Group_UU, trxName, virtualColumns); + /** if (R_Group_UU == null) + { + setName (null); + setR_Group_ID (0); + } */ + } + /** Load Constructor */ public X_R_Group (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_R_Group extends PO implements I_R_Group, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -162,7 +184,7 @@ public class X_R_Group extends PO implements I_R_Group, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_R_GroupUpdates.java b/org.adempiere.base/src/org/compiere/model/X_R_GroupUpdates.java index fec48477df..6bd03a2600 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_GroupUpdates.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_GroupUpdates.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for R_GroupUpdates - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_GroupUpdates") -public class X_R_GroupUpdates extends PO implements I_R_GroupUpdates, I_Persistent +public class X_R_GroupUpdates extends PO implements I_R_GroupUpdates, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_GroupUpdates (Properties ctx, int R_GroupUpdates_ID, String trxName) @@ -56,6 +56,30 @@ public class X_R_GroupUpdates extends PO implements I_R_GroupUpdates, I_Persiste } */ } + /** Standard Constructor */ + public X_R_GroupUpdates (Properties ctx, String R_GroupUpdates_UU, String trxName) + { + super (ctx, R_GroupUpdates_UU, trxName); + /** if (R_GroupUpdates_UU == null) + { + setAD_User_ID (0); + setIsSelfService (false); + setR_Group_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_GroupUpdates (Properties ctx, String R_GroupUpdates_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_GroupUpdates_UU, trxName, virtualColumns); + /** if (R_GroupUpdates_UU == null) + { + setAD_User_ID (0); + setIsSelfService (false); + setR_Group_ID (0); + } */ + } + /** Load Constructor */ public X_R_GroupUpdates (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_R_GroupUpdates extends PO implements I_R_GroupUpdates, I_Persiste } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_R_GroupUpdates extends PO implements I_R_GroupUpdates, I_Persiste public String toString() { StringBuilder sb = new StringBuilder ("X_R_GroupUpdates[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -126,10 +150,10 @@ public class X_R_GroupUpdates extends PO implements I_R_GroupUpdates, I_Persiste public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_R_InterestArea.java b/org.adempiere.base/src/org/compiere/model/X_R_InterestArea.java index c513b95e54..39e7c3f47c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_InterestArea.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_InterestArea.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_InterestArea - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_InterestArea") -public class X_R_InterestArea extends PO implements I_R_InterestArea, I_Persistent +public class X_R_InterestArea extends PO implements I_R_InterestArea, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_InterestArea (Properties ctx, int R_InterestArea_ID, String trxName) @@ -61,6 +61,34 @@ public class X_R_InterestArea extends PO implements I_R_InterestArea, I_Persiste } */ } + /** Standard Constructor */ + public X_R_InterestArea (Properties ctx, String R_InterestArea_UU, String trxName) + { + super (ctx, R_InterestArea_UU, trxName); + /** if (R_InterestArea_UU == null) + { + setIsSelfService (true); +// Y + setName (null); + setR_InterestArea_ID (0); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_R_InterestArea (Properties ctx, String R_InterestArea_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_InterestArea_UU, trxName, virtualColumns); + /** if (R_InterestArea_UU == null) + { + setIsSelfService (true); +// Y + setName (null); + setR_InterestArea_ID (0); + setValue (null); + } */ + } + /** Load Constructor */ public X_R_InterestArea (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_R_InterestArea extends PO implements I_R_InterestArea, I_Persiste } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -119,10 +147,10 @@ public class X_R_InterestArea extends PO implements I_R_InterestArea, I_Persiste public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -147,7 +175,7 @@ public class X_R_InterestArea extends PO implements I_R_InterestArea, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_R_IssueKnown.java b/org.adempiere.base/src/org/compiere/model/X_R_IssueKnown.java index 059a16a14b..1148358dbe 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_IssueKnown.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_IssueKnown.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueKnown - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_IssueKnown") -public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent +public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_IssueKnown (Properties ctx, int R_IssueKnown_ID, String trxName) @@ -57,6 +57,30 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent } */ } + /** Standard Constructor */ + public X_R_IssueKnown (Properties ctx, String R_IssueKnown_UU, String trxName) + { + super (ctx, R_IssueKnown_UU, trxName); + /** if (R_IssueKnown_UU == null) + { + setIssueSummary (null); + setReleaseNo (null); + setR_IssueKnown_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_IssueKnown (Properties ctx, String R_IssueKnown_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_IssueKnown_UU, trxName, virtualColumns); + /** if (R_IssueKnown_UU == null) + { + setIssueSummary (null); + setReleaseNo (null); + setR_IssueKnown_ID (0); + } */ + } + /** Load Constructor */ public X_R_IssueKnown (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -181,10 +205,10 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -209,7 +233,7 @@ public class X_R_IssueKnown extends PO implements I_R_IssueKnown, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getReleaseNo()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_R_IssueProject.java b/org.adempiere.base/src/org/compiere/model/X_R_IssueProject.java index 553a3570f3..c7d360c66b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_IssueProject.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_IssueProject.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueProject - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_IssueProject") -public class X_R_IssueProject extends PO implements I_R_IssueProject, I_Persistent +public class X_R_IssueProject extends PO implements I_R_IssueProject, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_IssueProject (Properties ctx, int R_IssueProject_ID, String trxName) @@ -57,6 +57,30 @@ public class X_R_IssueProject extends PO implements I_R_IssueProject, I_Persiste } */ } + /** Standard Constructor */ + public X_R_IssueProject (Properties ctx, String R_IssueProject_UU, String trxName) + { + super (ctx, R_IssueProject_UU, trxName); + /** if (R_IssueProject_UU == null) + { + setName (null); + setR_IssueProject_ID (0); + setSystemStatus (null); + } */ + } + + /** Standard Constructor */ + public X_R_IssueProject (Properties ctx, String R_IssueProject_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_IssueProject_UU, trxName, virtualColumns); + /** if (R_IssueProject_UU == null) + { + setName (null); + setR_IssueProject_ID (0); + setSystemStatus (null); + } */ + } + /** Load Constructor */ public X_R_IssueProject (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_R_IssueProject extends PO implements I_R_IssueProject, I_Persiste } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -176,7 +200,7 @@ public class X_R_IssueProject extends PO implements I_R_IssueProject, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_R_IssueRecommendation.java b/org.adempiere.base/src/org/compiere/model/X_R_IssueRecommendation.java index 3c0610535e..1d3d1dcea8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_IssueRecommendation.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_IssueRecommendation.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueRecommendation - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_IssueRecommendation") -public class X_R_IssueRecommendation extends PO implements I_R_IssueRecommendation, I_Persistent +public class X_R_IssueRecommendation extends PO implements I_R_IssueRecommendation, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_IssueRecommendation (Properties ctx, int R_IssueRecommendation_ID, String trxName) @@ -55,6 +55,28 @@ public class X_R_IssueRecommendation extends PO implements I_R_IssueRecommendati } */ } + /** Standard Constructor */ + public X_R_IssueRecommendation (Properties ctx, String R_IssueRecommendation_UU, String trxName) + { + super (ctx, R_IssueRecommendation_UU, trxName); + /** if (R_IssueRecommendation_UU == null) + { + setName (null); + setR_IssueRecommendation_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_IssueRecommendation (Properties ctx, String R_IssueRecommendation_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_IssueRecommendation_UU, trxName, virtualColumns); + /** if (R_IssueRecommendation_UU == null) + { + setName (null); + setR_IssueRecommendation_ID (0); + } */ + } + /** Load Constructor */ public X_R_IssueRecommendation (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_R_IssueRecommendation extends PO implements I_R_IssueRecommendati } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -134,7 +156,7 @@ public class X_R_IssueRecommendation extends PO implements I_R_IssueRecommendati /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_R_IssueStatus.java b/org.adempiere.base/src/org/compiere/model/X_R_IssueStatus.java index d6712343d5..9fa28ae3e1 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_IssueStatus.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_IssueStatus.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueStatus - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_IssueStatus") -public class X_R_IssueStatus extends PO implements I_R_IssueStatus, I_Persistent +public class X_R_IssueStatus extends PO implements I_R_IssueStatus, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_IssueStatus (Properties ctx, int R_IssueStatus_ID, String trxName) @@ -55,6 +55,28 @@ public class X_R_IssueStatus extends PO implements I_R_IssueStatus, I_Persistent } */ } + /** Standard Constructor */ + public X_R_IssueStatus (Properties ctx, String R_IssueStatus_UU, String trxName) + { + super (ctx, R_IssueStatus_UU, trxName); + /** if (R_IssueStatus_UU == null) + { + setName (null); + setR_IssueStatus_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_IssueStatus (Properties ctx, String R_IssueStatus_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_IssueStatus_UU, trxName, virtualColumns); + /** if (R_IssueStatus_UU == null) + { + setName (null); + setR_IssueStatus_ID (0); + } */ + } + /** Load Constructor */ public X_R_IssueStatus (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_R_IssueStatus extends PO implements I_R_IssueStatus, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -118,7 +140,7 @@ public class X_R_IssueStatus extends PO implements I_R_IssueStatus, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_R_IssueSystem.java b/org.adempiere.base/src/org/compiere/model/X_R_IssueSystem.java index d8df8e067a..d54a41f6d1 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_IssueSystem.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_IssueSystem.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueSystem - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_IssueSystem") -public class X_R_IssueSystem extends PO implements I_R_IssueSystem, I_Persistent +public class X_R_IssueSystem extends PO implements I_R_IssueSystem, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_IssueSystem (Properties ctx, int R_IssueSystem_ID, String trxName) @@ -57,6 +57,30 @@ public class X_R_IssueSystem extends PO implements I_R_IssueSystem, I_Persistent } */ } + /** Standard Constructor */ + public X_R_IssueSystem (Properties ctx, String R_IssueSystem_UU, String trxName) + { + super (ctx, R_IssueSystem_UU, trxName); + /** if (R_IssueSystem_UU == null) + { + setDBAddress (null); + setR_IssueSystem_ID (0); + setSystemStatus (null); + } */ + } + + /** Standard Constructor */ + public X_R_IssueSystem (Properties ctx, String R_IssueSystem_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_IssueSystem_UU, trxName, virtualColumns); + /** if (R_IssueSystem_UU == null) + { + setDBAddress (null); + setR_IssueSystem_ID (0); + setSystemStatus (null); + } */ + } + /** Load Constructor */ public X_R_IssueSystem (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_R_IssueSystem extends PO implements I_R_IssueSystem, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -132,7 +156,7 @@ public class X_R_IssueSystem extends PO implements I_R_IssueSystem, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDBAddress()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_R_IssueUser.java b/org.adempiere.base/src/org/compiere/model/X_R_IssueUser.java index 2bd3a34b23..012664ad58 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_IssueUser.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_IssueUser.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_IssueUser - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_IssueUser") -public class X_R_IssueUser extends PO implements I_R_IssueUser, I_Persistent +public class X_R_IssueUser extends PO implements I_R_IssueUser, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_IssueUser (Properties ctx, int R_IssueUser_ID, String trxName) @@ -55,6 +55,28 @@ public class X_R_IssueUser extends PO implements I_R_IssueUser, I_Persistent } */ } + /** Standard Constructor */ + public X_R_IssueUser (Properties ctx, String R_IssueUser_UU, String trxName) + { + super (ctx, R_IssueUser_UU, trxName); + /** if (R_IssueUser_UU == null) + { + setR_IssueUser_ID (0); + setUserName (null); + } */ + } + + /** Standard Constructor */ + public X_R_IssueUser (Properties ctx, String R_IssueUser_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_IssueUser_UU, trxName, virtualColumns); + /** if (R_IssueUser_UU == null) + { + setR_IssueUser_ID (0); + setUserName (null); + } */ + } + /** Load Constructor */ public X_R_IssueUser (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_R_IssueUser extends PO implements I_R_IssueUser, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -182,7 +204,7 @@ public class X_R_IssueUser extends PO implements I_R_IssueUser, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getUserName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_R_MailText.java b/org.adempiere.base/src/org/compiere/model/X_R_MailText.java index 1505b99455..5a7287d1f3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_MailText.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_MailText.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_MailText - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_MailText") -public class X_R_MailText extends PO implements I_R_MailText, I_Persistent +public class X_R_MailText extends PO implements I_R_MailText, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_MailText (Properties ctx, int R_MailText_ID, String trxName) @@ -59,6 +59,32 @@ public class X_R_MailText extends PO implements I_R_MailText, I_Persistent } */ } + /** Standard Constructor */ + public X_R_MailText (Properties ctx, String R_MailText_UU, String trxName) + { + super (ctx, R_MailText_UU, trxName); + /** if (R_MailText_UU == null) + { + setIsHtml (false); + setMailText (null); + setName (null); + setR_MailText_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_MailText (Properties ctx, String R_MailText_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_MailText_UU, trxName, virtualColumns); + /** if (R_MailText_UU == null) + { + setIsHtml (false); + setMailText (null); + setName (null); + setR_MailText_ID (0); + } */ + } + /** Load Constructor */ public X_R_MailText (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_R_MailText extends PO implements I_R_MailText, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -101,10 +127,10 @@ public class X_R_MailText extends PO implements I_R_MailText, I_Persistent public boolean isHtml() { Object oo = get_Value(COLUMNNAME_IsHtml); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -193,7 +219,7 @@ public class X_R_MailText extends PO implements I_R_MailText, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_R_Request.java b/org.adempiere.base/src/org/compiere/model/X_R_Request.java index 5077917719..8fd1267444 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_Request.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_Request.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for R_Request - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_Request") -public class X_R_Request extends PO implements I_R_Request, I_Persistent +public class X_R_Request extends PO implements I_R_Request, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_Request (Properties ctx, int R_Request_ID, String trxName) @@ -90,6 +90,60 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent } */ } + /** Standard Constructor */ + public X_R_Request (Properties ctx, String R_Request_UU, String trxName) + { + super (ctx, R_Request_UU, trxName); + /** if (R_Request_UU == null) + { + setConfidentialType (null); +// C + setConfidentialTypeEntry (null); +// C + setDocumentNo (null); + setDueType (null); +// 5 + setIsEscalated (false); + setIsInvoiced (false); + setIsSelfService (false); +// N + setPriority (null); +// 5 + setProcessed (false); + setRequestAmt (Env.ZERO); + setR_Request_ID (0); + setR_RequestType_ID (0); + setSummary (null); + } */ + } + + /** Standard Constructor */ + public X_R_Request (Properties ctx, String R_Request_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_Request_UU, trxName, virtualColumns); + /** if (R_Request_UU == null) + { + setConfidentialType (null); +// C + setConfidentialTypeEntry (null); +// C + setDocumentNo (null); + setDueType (null); +// 5 + setIsEscalated (false); + setIsInvoiced (false); + setIsSelfService (false); +// N + setPriority (null); +// 5 + setProcessed (false); + setRequestAmt (Env.ZERO); + setR_Request_ID (0); + setR_RequestType_ID (0); + setSummary (null); + } */ + } + /** Load Constructor */ public X_R_Request (Properties ctx, ResultSet rs, String trxName) { @@ -97,7 +151,7 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -623,7 +677,7 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -683,10 +737,10 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent public boolean isEscalated() { Object oo = get_Value(COLUMNNAME_IsEscalated); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -706,10 +760,10 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent public boolean isInvoiced() { Object oo = get_Value(COLUMNNAME_IsInvoiced); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -729,10 +783,10 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1017,10 +1071,10 @@ public class X_R_Request extends PO implements I_R_Request, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_R_RequestAction.java b/org.adempiere.base/src/org/compiere/model/X_R_RequestAction.java index c4cbf4247c..37f03f796c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_RequestAction.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_RequestAction.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for R_RequestAction - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_RequestAction") -public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persistent +public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_RequestAction (Properties ctx, int R_RequestAction_ID, String trxName) @@ -57,6 +57,28 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis } */ } + /** Standard Constructor */ + public X_R_RequestAction (Properties ctx, String R_RequestAction_UU, String trxName) + { + super (ctx, R_RequestAction_UU, trxName); + /** if (R_RequestAction_UU == null) + { + setR_RequestAction_ID (0); + setR_Request_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_RequestAction (Properties ctx, String R_RequestAction_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_RequestAction_UU, trxName, virtualColumns); + /** if (R_RequestAction_UU == null) + { + setR_RequestAction_ID (0); + setR_Request_ID (0); + } */ + } + /** Load Constructor */ public X_R_RequestAction (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +86,7 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -465,10 +487,10 @@ public class X_R_RequestAction extends PO implements I_R_RequestAction, I_Persis public boolean isInvoiced() { Object oo = get_Value(COLUMNNAME_IsInvoiced); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessor.java b/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessor.java index 8d1b519398..ccc7498a78 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessor.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_RequestProcessor - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_RequestProcessor") -public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_Persistent +public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_RequestProcessor (Properties ctx, int R_RequestProcessor_ID, String trxName) @@ -80,6 +80,52 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ } */ } + /** Standard Constructor */ + public X_R_RequestProcessor (Properties ctx, String R_RequestProcessor_UU, String trxName) + { + super (ctx, R_RequestProcessor_UU, trxName); + /** if (R_RequestProcessor_UU == null) + { + setAD_Schedule_ID (0); + setInactivityAlertDays (0); +// 0 + setKeepLogDays (0); +// 7 + setName (null); + setOverdueAlertDays (0); +// 0 + setOverdueAssignDays (0); +// 0 + setRemindDays (0); +// 0 + setR_RequestProcessor_ID (0); + setSupervisor_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_RequestProcessor (Properties ctx, String R_RequestProcessor_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_RequestProcessor_UU, trxName, virtualColumns); + /** if (R_RequestProcessor_UU == null) + { + setAD_Schedule_ID (0); + setInactivityAlertDays (0); +// 0 + setKeepLogDays (0); +// 7 + setName (null); + setOverdueAlertDays (0); +// 0 + setOverdueAssignDays (0); +// 0 + setRemindDays (0); +// 0 + setR_RequestProcessor_ID (0); + setSupervisor_ID (0); + } */ + } + /** Load Constructor */ public X_R_RequestProcessor (Properties ctx, ResultSet rs, String trxName) { @@ -87,7 +133,7 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -240,7 +286,7 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -296,10 +342,10 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessorLog.java b/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessorLog.java index 088b768fad..8b636189e6 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessorLog.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for R_RequestProcessorLog - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_RequestProcessorLog") -public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorLog, I_Persistent +public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorLog, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_RequestProcessorLog (Properties ctx, int R_RequestProcessorLog_ID, String trxName) @@ -56,6 +56,30 @@ public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorL } */ } + /** Standard Constructor */ + public X_R_RequestProcessorLog (Properties ctx, String R_RequestProcessorLog_UU, String trxName) + { + super (ctx, R_RequestProcessorLog_UU, trxName); + /** if (R_RequestProcessorLog_UU == null) + { + setIsError (false); + setR_RequestProcessor_ID (0); + setR_RequestProcessorLog_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_RequestProcessorLog (Properties ctx, String R_RequestProcessorLog_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_RequestProcessorLog_UU, trxName, virtualColumns); + /** if (R_RequestProcessorLog_UU == null) + { + setIsError (false); + setR_RequestProcessor_ID (0); + setR_RequestProcessorLog_ID (0); + } */ + } + /** Load Constructor */ public X_R_RequestProcessorLog (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorL } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -130,10 +154,10 @@ public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorL public boolean isError() { Object oo = get_Value(COLUMNNAME_IsError); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessor_Route.java b/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessor_Route.java index 1a71350e84..6c2963821d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessor_Route.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessor_Route.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_RequestProcessor_Route - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_RequestProcessor_Route") -public class X_R_RequestProcessor_Route extends PO implements I_R_RequestProcessor_Route, I_Persistent +public class X_R_RequestProcessor_Route extends PO implements I_R_RequestProcessor_Route, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_RequestProcessor_Route (Properties ctx, int R_RequestProcessor_Route_ID, String trxName) @@ -59,6 +59,32 @@ public class X_R_RequestProcessor_Route extends PO implements I_R_RequestProcess } */ } + /** Standard Constructor */ + public X_R_RequestProcessor_Route (Properties ctx, String R_RequestProcessor_Route_UU, String trxName) + { + super (ctx, R_RequestProcessor_Route_UU, trxName); + /** if (R_RequestProcessor_Route_UU == null) + { + setAD_User_ID (0); + setR_RequestProcessor_ID (0); + setR_RequestProcessor_Route_ID (0); + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_R_RequestProcessor_Route (Properties ctx, String R_RequestProcessor_Route_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_RequestProcessor_Route_UU, trxName, virtualColumns); + /** if (R_RequestProcessor_Route_UU == null) + { + setAD_User_ID (0); + setR_RequestProcessor_ID (0); + setR_RequestProcessor_Route_ID (0); + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_R_RequestProcessor_Route (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_R_RequestProcessor_Route extends PO implements I_R_RequestProcess } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -246,7 +272,7 @@ public class X_R_RequestProcessor_Route extends PO implements I_R_RequestProcess /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getSeqNo())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_R_RequestType.java b/org.adempiere.base/src/org/compiere/model/X_R_RequestType.java index bea53e61a8..ccf883bdc4 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_RequestType.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_RequestType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_RequestType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_RequestType") -public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent +public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_RequestType (Properties ctx, int R_RequestType_ID, String trxName) @@ -85,6 +85,58 @@ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent } */ } + /** Standard Constructor */ + public X_R_RequestType (Properties ctx, String R_RequestType_UU, String trxName) + { + super (ctx, R_RequestType_UU, trxName); + /** if (R_RequestType_UU == null) + { + setConfidentialType (null); +// C + setDueDateTolerance (0); +// 7 + setIsAutoChangeRequest (false); + setIsConfidentialInfo (false); +// N + setIsDefault (false); +// N + setIsEMailWhenDue (false); + setIsEMailWhenOverdue (false); + setIsIndexed (false); + setIsSelfService (true); +// Y + setName (null); + setR_RequestType_ID (0); + setR_StatusCategory_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_RequestType (Properties ctx, String R_RequestType_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_RequestType_UU, trxName, virtualColumns); + /** if (R_RequestType_UU == null) + { + setConfidentialType (null); +// C + setDueDateTolerance (0); +// 7 + setIsAutoChangeRequest (false); + setIsConfidentialInfo (false); +// N + setIsDefault (false); +// N + setIsEMailWhenDue (false); + setIsEMailWhenOverdue (false); + setIsIndexed (false); + setIsSelfService (true); +// Y + setName (null); + setR_RequestType_ID (0); + setR_StatusCategory_ID (0); + } */ + } + /** Load Constructor */ public X_R_RequestType (Properties ctx, ResultSet rs, String trxName) { @@ -92,7 +144,7 @@ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -240,10 +292,10 @@ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent public boolean isAutoChangeRequest() { Object oo = get_Value(COLUMNNAME_IsAutoChangeRequest); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -263,10 +315,10 @@ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent public boolean isConfidentialInfo() { Object oo = get_Value(COLUMNNAME_IsConfidentialInfo); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -286,10 +338,10 @@ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -309,10 +361,10 @@ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent public boolean isEMailWhenDue() { Object oo = get_Value(COLUMNNAME_IsEMailWhenDue); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -332,10 +384,10 @@ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent public boolean isEMailWhenOverdue() { Object oo = get_Value(COLUMNNAME_IsEMailWhenOverdue); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -355,10 +407,10 @@ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent public boolean isIndexed() { Object oo = get_Value(COLUMNNAME_IsIndexed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -378,10 +430,10 @@ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent public boolean isInvoiced() { Object oo = get_Value(COLUMNNAME_IsInvoiced); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -401,10 +453,10 @@ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -429,7 +481,7 @@ public class X_R_RequestType extends PO implements I_R_RequestType, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_R_RequestTypeUpdates.java b/org.adempiere.base/src/org/compiere/model/X_R_RequestTypeUpdates.java index 5cce7a18d8..9984828c49 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_RequestTypeUpdates.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_RequestTypeUpdates.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for R_RequestTypeUpdates - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_RequestTypeUpdates") -public class X_R_RequestTypeUpdates extends PO implements I_R_RequestTypeUpdates, I_Persistent +public class X_R_RequestTypeUpdates extends PO implements I_R_RequestTypeUpdates, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_RequestTypeUpdates (Properties ctx, int R_RequestTypeUpdates_ID, String trxName) @@ -56,6 +56,30 @@ public class X_R_RequestTypeUpdates extends PO implements I_R_RequestTypeUpdates } */ } + /** Standard Constructor */ + public X_R_RequestTypeUpdates (Properties ctx, String R_RequestTypeUpdates_UU, String trxName) + { + super (ctx, R_RequestTypeUpdates_UU, trxName); + /** if (R_RequestTypeUpdates_UU == null) + { + setAD_User_ID (0); + setIsSelfService (false); + setR_RequestType_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_RequestTypeUpdates (Properties ctx, String R_RequestTypeUpdates_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_RequestTypeUpdates_UU, trxName, virtualColumns); + /** if (R_RequestTypeUpdates_UU == null) + { + setAD_User_ID (0); + setIsSelfService (false); + setR_RequestType_ID (0); + } */ + } + /** Load Constructor */ public X_R_RequestTypeUpdates (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_R_RequestTypeUpdates extends PO implements I_R_RequestTypeUpdates } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_R_RequestTypeUpdates extends PO implements I_R_RequestTypeUpdates public String toString() { StringBuilder sb = new StringBuilder ("X_R_RequestTypeUpdates[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -126,10 +150,10 @@ public class X_R_RequestTypeUpdates extends PO implements I_R_RequestTypeUpdates public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_R_RequestUpdate.java b/org.adempiere.base/src/org/compiere/model/X_R_RequestUpdate.java index 943e100751..3f3fac4c22 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_RequestUpdate.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_RequestUpdate.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for R_RequestUpdate - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_RequestUpdate") -public class X_R_RequestUpdate extends PO implements I_R_RequestUpdate, I_Persistent +public class X_R_RequestUpdate extends PO implements I_R_RequestUpdate, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_RequestUpdate (Properties ctx, int R_RequestUpdate_ID, String trxName) @@ -60,6 +60,30 @@ public class X_R_RequestUpdate extends PO implements I_R_RequestUpdate, I_Persis } */ } + /** Standard Constructor */ + public X_R_RequestUpdate (Properties ctx, String R_RequestUpdate_UU, String trxName) + { + super (ctx, R_RequestUpdate_UU, trxName); + /** if (R_RequestUpdate_UU == null) + { + setConfidentialTypeEntry (null); + setR_Request_ID (0); + setR_RequestUpdate_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_RequestUpdate (Properties ctx, String R_RequestUpdate_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_RequestUpdate_UU, trxName, virtualColumns); + /** if (R_RequestUpdate_UU == null) + { + setConfidentialTypeEntry (null); + setR_Request_ID (0); + setR_RequestUpdate_ID (0); + } */ + } + /** Load Constructor */ public X_R_RequestUpdate (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +91,7 @@ public class X_R_RequestUpdate extends PO implements I_R_RequestUpdate, I_Persis } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -266,7 +290,7 @@ public class X_R_RequestUpdate extends PO implements I_R_RequestUpdate, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getR_RequestUpdate_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_R_RequestUpdates.java b/org.adempiere.base/src/org/compiere/model/X_R_RequestUpdates.java index 5d60c3b1c7..8f2f5f8133 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_RequestUpdates.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_RequestUpdates.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for R_RequestUpdates - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_RequestUpdates") -public class X_R_RequestUpdates extends PO implements I_R_RequestUpdates, I_Persistent +public class X_R_RequestUpdates extends PO implements I_R_RequestUpdates, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_RequestUpdates (Properties ctx, int R_RequestUpdates_ID, String trxName) @@ -56,6 +56,30 @@ public class X_R_RequestUpdates extends PO implements I_R_RequestUpdates, I_Pers } */ } + /** Standard Constructor */ + public X_R_RequestUpdates (Properties ctx, String R_RequestUpdates_UU, String trxName) + { + super (ctx, R_RequestUpdates_UU, trxName); + /** if (R_RequestUpdates_UU == null) + { + setAD_User_ID (0); + setIsSelfService (false); + setR_Request_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_RequestUpdates (Properties ctx, String R_RequestUpdates_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_RequestUpdates_UU, trxName, virtualColumns); + /** if (R_RequestUpdates_UU == null) + { + setAD_User_ID (0); + setIsSelfService (false); + setR_Request_ID (0); + } */ + } + /** Load Constructor */ public X_R_RequestUpdates (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_R_RequestUpdates extends PO implements I_R_RequestUpdates, I_Pers } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -80,7 +104,7 @@ public class X_R_RequestUpdates extends PO implements I_R_RequestUpdates, I_Pers public String toString() { StringBuilder sb = new StringBuilder ("X_R_RequestUpdates[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -126,10 +150,10 @@ public class X_R_RequestUpdates extends PO implements I_R_RequestUpdates, I_Pers public boolean isSelfService() { Object oo = get_Value(COLUMNNAME_IsSelfService); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_R_Resolution.java b/org.adempiere.base/src/org/compiere/model/X_R_Resolution.java index 7293fac394..b4da1d6ffd 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_Resolution.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_Resolution.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_Resolution - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_Resolution") -public class X_R_Resolution extends PO implements I_R_Resolution, I_Persistent +public class X_R_Resolution extends PO implements I_R_Resolution, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_Resolution (Properties ctx, int R_Resolution_ID, String trxName) @@ -55,6 +55,28 @@ public class X_R_Resolution extends PO implements I_R_Resolution, I_Persistent } */ } + /** Standard Constructor */ + public X_R_Resolution (Properties ctx, String R_Resolution_UU, String trxName) + { + super (ctx, R_Resolution_UU, trxName); + /** if (R_Resolution_UU == null) + { + setName (null); + setR_Resolution_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_Resolution (Properties ctx, String R_Resolution_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_Resolution_UU, trxName, virtualColumns); + /** if (R_Resolution_UU == null) + { + setName (null); + setR_Resolution_ID (0); + } */ + } + /** Load Constructor */ public X_R_Resolution (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_R_Resolution extends PO implements I_R_Resolution, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -134,7 +156,7 @@ public class X_R_Resolution extends PO implements I_R_Resolution, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_R_StandardResponse.java b/org.adempiere.base/src/org/compiere/model/X_R_StandardResponse.java index 77067d749f..834636e97c 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_StandardResponse.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_StandardResponse.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_StandardResponse - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_StandardResponse") -public class X_R_StandardResponse extends PO implements I_R_StandardResponse, I_Persistent +public class X_R_StandardResponse extends PO implements I_R_StandardResponse, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_StandardResponse (Properties ctx, int R_StandardResponse_ID, String trxName) @@ -57,6 +57,30 @@ public class X_R_StandardResponse extends PO implements I_R_StandardResponse, I_ } */ } + /** Standard Constructor */ + public X_R_StandardResponse (Properties ctx, String R_StandardResponse_UU, String trxName) + { + super (ctx, R_StandardResponse_UU, trxName); + /** if (R_StandardResponse_UU == null) + { + setName (null); + setResponseText (null); + setR_StandardResponse_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_StandardResponse (Properties ctx, String R_StandardResponse_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_StandardResponse_UU, trxName, virtualColumns); + /** if (R_StandardResponse_UU == null) + { + setName (null); + setResponseText (null); + setR_StandardResponse_ID (0); + } */ + } + /** Load Constructor */ public X_R_StandardResponse (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_R_StandardResponse extends PO implements I_R_StandardResponse, I_ } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -104,7 +128,7 @@ public class X_R_StandardResponse extends PO implements I_R_StandardResponse, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_R_Status.java b/org.adempiere.base/src/org/compiere/model/X_R_Status.java index d596ffc91e..16e31b7549 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_Status.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_Status.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_Status - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_Status") -public class X_R_Status extends PO implements I_R_Status, I_Persistent +public class X_R_Status extends PO implements I_R_Status, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_Status (Properties ctx, int R_Status_ID, String trxName) @@ -75,6 +75,48 @@ public class X_R_Status extends PO implements I_R_Status, I_Persistent } */ } + /** Standard Constructor */ + public X_R_Status (Properties ctx, String R_Status_UU, String trxName) + { + super (ctx, R_Status_UU, trxName); + /** if (R_Status_UU == null) + { + setIsClosed (false); +// N + setIsDefault (false); + setIsFinalClose (false); +// N + setIsOpen (false); + setIsWebCanUpdate (false); + setName (null); + setR_StatusCategory_ID (0); + setR_Status_ID (0); + setSeqNo (0); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_R_Status (Properties ctx, String R_Status_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_Status_UU, trxName, virtualColumns); + /** if (R_Status_UU == null) + { + setIsClosed (false); +// N + setIsDefault (false); + setIsFinalClose (false); +// N + setIsOpen (false); + setIsWebCanUpdate (false); + setName (null); + setR_StatusCategory_ID (0); + setR_Status_ID (0); + setSeqNo (0); + setValue (null); + } */ + } + /** Load Constructor */ public X_R_Status (Properties ctx, ResultSet rs, String trxName) { @@ -82,7 +124,7 @@ public class X_R_Status extends PO implements I_R_Status, I_Persistent } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -149,10 +191,10 @@ public class X_R_Status extends PO implements I_R_Status, I_Persistent public boolean isClosed() { Object oo = get_Value(COLUMNNAME_IsClosed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -172,10 +214,10 @@ public class X_R_Status extends PO implements I_R_Status, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -195,10 +237,10 @@ public class X_R_Status extends PO implements I_R_Status, I_Persistent public boolean isFinalClose() { Object oo = get_Value(COLUMNNAME_IsFinalClose); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -218,10 +260,10 @@ public class X_R_Status extends PO implements I_R_Status, I_Persistent public boolean isOpen() { Object oo = get_Value(COLUMNNAME_IsOpen); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -241,10 +283,10 @@ public class X_R_Status extends PO implements I_R_Status, I_Persistent public boolean isWebCanUpdate() { Object oo = get_Value(COLUMNNAME_IsWebCanUpdate); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -381,7 +423,7 @@ public class X_R_Status extends PO implements I_R_Status, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getSeqNo())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_R_StatusCategory.java b/org.adempiere.base/src/org/compiere/model/X_R_StatusCategory.java index 1986bf64e8..8d31272d18 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_StatusCategory.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_StatusCategory.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for R_StatusCategory - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="R_StatusCategory") -public class X_R_StatusCategory extends PO implements I_R_StatusCategory, I_Persistent +public class X_R_StatusCategory extends PO implements I_R_StatusCategory, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_R_StatusCategory (Properties ctx, int R_StatusCategory_ID, String trxName) @@ -57,6 +57,30 @@ public class X_R_StatusCategory extends PO implements I_R_StatusCategory, I_Pers } */ } + /** Standard Constructor */ + public X_R_StatusCategory (Properties ctx, String R_StatusCategory_UU, String trxName) + { + super (ctx, R_StatusCategory_UU, trxName); + /** if (R_StatusCategory_UU == null) + { + setIsDefault (false); + setName (null); + setR_StatusCategory_ID (0); + } */ + } + + /** Standard Constructor */ + public X_R_StatusCategory (Properties ctx, String R_StatusCategory_UU, String trxName, String ... virtualColumns) + { + super (ctx, R_StatusCategory_UU, trxName, virtualColumns); + /** if (R_StatusCategory_UU == null) + { + setIsDefault (false); + setName (null); + setR_StatusCategory_ID (0); + } */ + } + /** Load Constructor */ public X_R_StatusCategory (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_R_StatusCategory extends PO implements I_R_StatusCategory, I_Pers } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -131,10 +155,10 @@ public class X_R_StatusCategory extends PO implements I_R_StatusCategory, I_Pers public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -159,7 +183,7 @@ public class X_R_StatusCategory extends PO implements I_R_StatusCategory, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_S_ExpenseType.java b/org.adempiere.base/src/org/compiere/model/X_S_ExpenseType.java index a702dffa0b..6ffd577873 100644 --- a/org.adempiere.base/src/org/compiere/model/X_S_ExpenseType.java +++ b/org.adempiere.base/src/org/compiere/model/X_S_ExpenseType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for S_ExpenseType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="S_ExpenseType") -public class X_S_ExpenseType extends PO implements I_S_ExpenseType, I_Persistent +public class X_S_ExpenseType extends PO implements I_S_ExpenseType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_S_ExpenseType (Properties ctx, int S_ExpenseType_ID, String trxName) @@ -65,6 +65,38 @@ public class X_S_ExpenseType extends PO implements I_S_ExpenseType, I_Persistent } */ } + /** Standard Constructor */ + public X_S_ExpenseType (Properties ctx, String S_ExpenseType_UU, String trxName) + { + super (ctx, S_ExpenseType_UU, trxName); + /** if (S_ExpenseType_UU == null) + { + setC_TaxCategory_ID (0); + setC_UOM_ID (0); + setIsInvoiced (false); + setM_Product_Category_ID (0); + setName (null); + setS_ExpenseType_ID (0); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_S_ExpenseType (Properties ctx, String S_ExpenseType_UU, String trxName, String ... virtualColumns) + { + super (ctx, S_ExpenseType_UU, trxName, virtualColumns); + /** if (S_ExpenseType_UU == null) + { + setC_TaxCategory_ID (0); + setC_UOM_ID (0); + setIsInvoiced (false); + setM_Product_Category_ID (0); + setName (null); + setS_ExpenseType_ID (0); + setValue (null); + } */ + } + /** Load Constructor */ public X_S_ExpenseType (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_S_ExpenseType extends PO implements I_S_ExpenseType, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -179,10 +211,10 @@ public class X_S_ExpenseType extends PO implements I_S_ExpenseType, I_Persistent public boolean isInvoiced() { Object oo = get_Value(COLUMNNAME_IsInvoiced); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -235,7 +267,7 @@ public class X_S_ExpenseType extends PO implements I_S_ExpenseType, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_S_Resource.java b/org.adempiere.base/src/org/compiere/model/X_S_Resource.java index 2acf51ddc5..35f905d4fa 100644 --- a/org.adempiere.base/src/org/compiere/model/X_S_Resource.java +++ b/org.adempiere.base/src/org/compiere/model/X_S_Resource.java @@ -24,16 +24,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for S_Resource - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="S_Resource") -public class X_S_Resource extends PO implements I_S_Resource, I_Persistent +public class X_S_Resource extends PO implements I_S_Resource, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_S_Resource (Properties ctx, int S_Resource_ID, String trxName) @@ -71,6 +71,42 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent } */ } + /** Standard Constructor */ + public X_S_Resource (Properties ctx, String S_Resource_UU, String trxName) + { + super (ctx, S_Resource_UU, trxName); + /** if (S_Resource_UU == null) + { + setIsAvailable (true); +// Y + setM_Warehouse_ID (0); + setName (null); + setPercentUtilization (Env.ZERO); +// 100 + setS_Resource_ID (0); + setS_ResourceType_ID (0); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_S_Resource (Properties ctx, String S_Resource_UU, String trxName, String ... virtualColumns) + { + super (ctx, S_Resource_UU, trxName, virtualColumns); + /** if (S_Resource_UU == null) + { + setIsAvailable (true); +// Y + setM_Warehouse_ID (0); + setName (null); + setPercentUtilization (Env.ZERO); +// 100 + setS_Resource_ID (0); + setS_ResourceType_ID (0); + setValue (null); + } */ + } + /** Load Constructor */ public X_S_Resource (Properties ctx, ResultSet rs, String trxName) { @@ -78,7 +114,7 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -193,10 +229,10 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent public boolean isAvailable() { Object oo = get_Value(COLUMNNAME_IsAvailable); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -215,10 +251,10 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent public boolean isManufacturingResource() { Object oo = get_Value(COLUMNNAME_IsManufacturingResource); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -297,7 +333,7 @@ public class X_S_Resource extends PO implements I_S_Resource, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_S_ResourceAssignment.java b/org.adempiere.base/src/org/compiere/model/X_S_ResourceAssignment.java index 67bc2411d1..47ce158231 100644 --- a/org.adempiere.base/src/org/compiere/model/X_S_ResourceAssignment.java +++ b/org.adempiere.base/src/org/compiere/model/X_S_ResourceAssignment.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for S_ResourceAssignment - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="S_ResourceAssignment") -public class X_S_ResourceAssignment extends PO implements I_S_ResourceAssignment, I_Persistent +public class X_S_ResourceAssignment extends PO implements I_S_ResourceAssignment, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_S_ResourceAssignment (Properties ctx, int S_ResourceAssignment_ID, String trxName) @@ -64,6 +64,34 @@ public class X_S_ResourceAssignment extends PO implements I_S_ResourceAssignment } */ } + /** Standard Constructor */ + public X_S_ResourceAssignment (Properties ctx, String S_ResourceAssignment_UU, String trxName) + { + super (ctx, S_ResourceAssignment_UU, trxName); + /** if (S_ResourceAssignment_UU == null) + { + setAssignDateFrom (new Timestamp( System.currentTimeMillis() )); + setIsConfirmed (false); + setName (null); + setS_ResourceAssignment_ID (0); + setS_Resource_ID (0); + } */ + } + + /** Standard Constructor */ + public X_S_ResourceAssignment (Properties ctx, String S_ResourceAssignment_UU, String trxName, String ... virtualColumns) + { + super (ctx, S_ResourceAssignment_UU, trxName, virtualColumns); + /** if (S_ResourceAssignment_UU == null) + { + setAssignDateFrom (new Timestamp( System.currentTimeMillis() )); + setIsConfirmed (false); + setName (null); + setS_ResourceAssignment_ID (0); + setS_Resource_ID (0); + } */ + } + /** Load Constructor */ public X_S_ResourceAssignment (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +99,7 @@ public class X_S_ResourceAssignment extends PO implements I_S_ResourceAssignment } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -154,10 +182,10 @@ public class X_S_ResourceAssignment extends PO implements I_S_ResourceAssignment public boolean isConfirmed() { Object oo = get_Value(COLUMNNAME_IsConfirmed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -266,7 +294,7 @@ public class X_S_ResourceAssignment extends PO implements I_S_ResourceAssignment /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getS_Resource_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_S_ResourceType.java b/org.adempiere.base/src/org/compiere/model/X_S_ResourceType.java index dd944e5c1e..1714402156 100644 --- a/org.adempiere.base/src/org/compiere/model/X_S_ResourceType.java +++ b/org.adempiere.base/src/org/compiere/model/X_S_ResourceType.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for S_ResourceType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="S_ResourceType") -public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persistent +public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_S_ResourceType (Properties ctx, int S_ResourceType_ID, String trxName) @@ -98,6 +98,70 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste } */ } + /** Standard Constructor */ + public X_S_ResourceType (Properties ctx, String S_ResourceType_UU, String trxName) + { + super (ctx, S_ResourceType_UU, trxName); + /** if (S_ResourceType_UU == null) + { + setAllowUoMFractions (false); +// N + setC_TaxCategory_ID (0); + setC_UOM_ID (0); + setIsDateSlot (false); + setIsSingleAssignment (false); + setIsTimeSlot (false); + setM_Product_Category_ID (0); + setName (null); + setOnFriday (true); +// Y + setOnMonday (true); +// Y + setOnSaturday (false); + setOnSunday (false); + setOnThursday (true); +// Y + setOnTuesday (true); +// Y + setOnWednesday (true); +// Y + setS_ResourceType_ID (0); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_S_ResourceType (Properties ctx, String S_ResourceType_UU, String trxName, String ... virtualColumns) + { + super (ctx, S_ResourceType_UU, trxName, virtualColumns); + /** if (S_ResourceType_UU == null) + { + setAllowUoMFractions (false); +// N + setC_TaxCategory_ID (0); + setC_UOM_ID (0); + setIsDateSlot (false); + setIsSingleAssignment (false); + setIsTimeSlot (false); + setM_Product_Category_ID (0); + setName (null); + setOnFriday (true); +// Y + setOnMonday (true); +// Y + setOnSaturday (false); + setOnSunday (false); + setOnThursday (true); +// Y + setOnTuesday (true); +// Y + setOnWednesday (true); +// Y + setS_ResourceType_ID (0); + setValue (null); + } */ + } + /** Load Constructor */ public X_S_ResourceType (Properties ctx, ResultSet rs, String trxName) { @@ -105,7 +169,7 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -140,10 +204,10 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste public boolean isAllowUoMFractions() { Object oo = get_Value(COLUMNNAME_AllowUoMFractions); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -253,10 +317,10 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste public boolean isDateSlot() { Object oo = get_Value(COLUMNNAME_IsDateSlot); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -276,10 +340,10 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste public boolean isSingleAssignment() { Object oo = get_Value(COLUMNNAME_IsSingleAssignment); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -299,10 +363,10 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste public boolean isTimeSlot() { Object oo = get_Value(COLUMNNAME_IsTimeSlot); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -355,7 +419,7 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -374,10 +438,10 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste public boolean isOnFriday() { Object oo = get_Value(COLUMNNAME_OnFriday); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -397,10 +461,10 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste public boolean isOnMonday() { Object oo = get_Value(COLUMNNAME_OnMonday); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -420,10 +484,10 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste public boolean isOnSaturday() { Object oo = get_Value(COLUMNNAME_OnSaturday); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -443,10 +507,10 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste public boolean isOnSunday() { Object oo = get_Value(COLUMNNAME_OnSunday); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -466,10 +530,10 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste public boolean isOnThursday() { Object oo = get_Value(COLUMNNAME_OnThursday); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -489,10 +553,10 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste public boolean isOnTuesday() { Object oo = get_Value(COLUMNNAME_OnTuesday); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -512,10 +576,10 @@ public class X_S_ResourceType extends PO implements I_S_ResourceType, I_Persiste public boolean isOnWednesday() { Object oo = get_Value(COLUMNNAME_OnWednesday); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_S_ResourceUnAvailable.java b/org.adempiere.base/src/org/compiere/model/X_S_ResourceUnAvailable.java index 563e1657f4..218716e4ae 100644 --- a/org.adempiere.base/src/org/compiere/model/X_S_ResourceUnAvailable.java +++ b/org.adempiere.base/src/org/compiere/model/X_S_ResourceUnAvailable.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for S_ResourceUnAvailable - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="S_ResourceUnAvailable") -public class X_S_ResourceUnAvailable extends PO implements I_S_ResourceUnAvailable, I_Persistent +public class X_S_ResourceUnAvailable extends PO implements I_S_ResourceUnAvailable, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_S_ResourceUnAvailable (Properties ctx, int S_ResourceUnAvailable_ID, String trxName) @@ -58,6 +58,30 @@ public class X_S_ResourceUnAvailable extends PO implements I_S_ResourceUnAvailab } */ } + /** Standard Constructor */ + public X_S_ResourceUnAvailable (Properties ctx, String S_ResourceUnAvailable_UU, String trxName) + { + super (ctx, S_ResourceUnAvailable_UU, trxName); + /** if (S_ResourceUnAvailable_UU == null) + { + setDateFrom (new Timestamp( System.currentTimeMillis() )); + setS_Resource_ID (0); + setS_ResourceUnAvailable_ID (0); + } */ + } + + /** Standard Constructor */ + public X_S_ResourceUnAvailable (Properties ctx, String S_ResourceUnAvailable_UU, String trxName, String ... virtualColumns) + { + super (ctx, S_ResourceUnAvailable_UU, trxName, virtualColumns); + /** if (S_ResourceUnAvailable_UU == null) + { + setDateFrom (new Timestamp( System.currentTimeMillis() )); + setS_Resource_ID (0); + setS_ResourceUnAvailable_ID (0); + } */ + } + /** Load Constructor */ public X_S_ResourceUnAvailable (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +89,7 @@ public class X_S_ResourceUnAvailable extends PO implements I_S_ResourceUnAvailab } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -165,7 +189,7 @@ public class X_S_ResourceUnAvailable extends PO implements I_S_ResourceUnAvailab /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getS_Resource_ID())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_S_TimeExpense.java b/org.adempiere.base/src/org/compiere/model/X_S_TimeExpense.java index 78de951a9e..a1c6c4836a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_S_TimeExpense.java +++ b/org.adempiere.base/src/org/compiere/model/X_S_TimeExpense.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for S_TimeExpense - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="S_TimeExpense") -public class X_S_TimeExpense extends PO implements I_S_TimeExpense, I_Persistent +public class X_S_TimeExpense extends PO implements I_S_TimeExpense, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_S_TimeExpense (Properties ctx, int S_TimeExpense_ID, String trxName) @@ -80,6 +80,50 @@ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, I_Persistent } */ } + /** Standard Constructor */ + public X_S_TimeExpense (Properties ctx, String S_TimeExpense_UU, String trxName) + { + super (ctx, S_TimeExpense_UU, trxName); + /** if (S_TimeExpense_UU == null) + { + setC_BPartner_ID (0); + setDateReport (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setIsApproved (false); + setM_PriceList_ID (0); + setM_Warehouse_ID (0); + setProcessed (false); + setS_TimeExpense_ID (0); + } */ + } + + /** Standard Constructor */ + public X_S_TimeExpense (Properties ctx, String S_TimeExpense_UU, String trxName, String ... virtualColumns) + { + super (ctx, S_TimeExpense_UU, trxName, virtualColumns); + /** if (S_TimeExpense_UU == null) + { + setC_BPartner_ID (0); + setDateReport (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setIsApproved (false); + setM_PriceList_ID (0); + setM_Warehouse_ID (0); + setProcessed (false); + setS_TimeExpense_ID (0); + } */ + } + /** Load Constructor */ public X_S_TimeExpense (Properties ctx, ResultSet rs, String trxName) { @@ -87,7 +131,7 @@ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -296,7 +340,7 @@ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -315,10 +359,10 @@ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, I_Persistent public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -394,10 +438,10 @@ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -416,10 +460,10 @@ public class X_S_TimeExpense extends PO implements I_S_TimeExpense, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_S_TimeExpenseLine.java b/org.adempiere.base/src/org/compiere/model/X_S_TimeExpenseLine.java index 940445e472..0ac3719dda 100644 --- a/org.adempiere.base/src/org/compiere/model/X_S_TimeExpenseLine.java +++ b/org.adempiere.base/src/org/compiere/model/X_S_TimeExpenseLine.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for S_TimeExpenseLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="S_TimeExpenseLine") -public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Persistent +public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_S_TimeExpenseLine (Properties ctx, int S_TimeExpenseLine_ID, String trxName) @@ -72,6 +72,42 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe } */ } + /** Standard Constructor */ + public X_S_TimeExpenseLine (Properties ctx, String S_TimeExpenseLine_UU, String trxName) + { + super (ctx, S_TimeExpenseLine_UU, trxName); + /** if (S_TimeExpenseLine_UU == null) + { + setDateExpense (new Timestamp( System.currentTimeMillis() )); +// @DateExpense@;@DateReport@ + setIsInvoiced (false); + setIsTimeReport (false); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM S_TimeExpenseLine WHERE S_TimeExpense_ID=@S_TimeExpense_ID@ + setProcessed (false); + setS_TimeExpense_ID (0); + setS_TimeExpenseLine_ID (0); + } */ + } + + /** Standard Constructor */ + public X_S_TimeExpenseLine (Properties ctx, String S_TimeExpenseLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, S_TimeExpenseLine_UU, trxName, virtualColumns); + /** if (S_TimeExpenseLine_UU == null) + { + setDateExpense (new Timestamp( System.currentTimeMillis() )); +// @DateExpense@;@DateReport@ + setIsInvoiced (false); + setIsTimeReport (false); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM S_TimeExpenseLine WHERE S_TimeExpense_ID=@S_TimeExpense_ID@ + setProcessed (false); + setS_TimeExpense_ID (0); + setS_TimeExpenseLine_ID (0); + } */ + } + /** Load Constructor */ public X_S_TimeExpenseLine (Properties ctx, ResultSet rs, String trxName) { @@ -79,7 +115,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -483,10 +519,10 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe public boolean isInvoiced() { Object oo = get_Value(COLUMNNAME_IsInvoiced); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -506,10 +542,10 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe public boolean isTimeReport() { Object oo = get_Value(COLUMNNAME_IsTimeReport); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -537,7 +573,7 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getLine())); } @@ -587,18 +623,17 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe } /** Set Price. - @param PriceEntered - Price Entered - the price based on the selected price list on header - */ + @param PriceEntered Price Entered - the price based on the selected/base UoM + */ public void setPriceEntered (BigDecimal PriceEntered) { set_Value (COLUMNNAME_PriceEntered, PriceEntered); } - + /** Get Price. - @return Price Entered - the price based on the selected price list on header + @return Price Entered - the price based on the selected/base UoM */ - public BigDecimal getPriceEntered () + public BigDecimal getPriceEntered() { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_PriceEntered); if (bd == null) @@ -658,10 +693,10 @@ public class X_S_TimeExpenseLine extends PO implements I_S_TimeExpenseLine, I_Pe public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_S_TimeType.java b/org.adempiere.base/src/org/compiere/model/X_S_TimeType.java index bb877b272d..df6807e357 100644 --- a/org.adempiere.base/src/org/compiere/model/X_S_TimeType.java +++ b/org.adempiere.base/src/org/compiere/model/X_S_TimeType.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for S_TimeType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="S_TimeType") -public class X_S_TimeType extends PO implements I_S_TimeType, I_Persistent +public class X_S_TimeType extends PO implements I_S_TimeType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_S_TimeType (Properties ctx, int S_TimeType_ID, String trxName) @@ -55,6 +55,28 @@ public class X_S_TimeType extends PO implements I_S_TimeType, I_Persistent } */ } + /** Standard Constructor */ + public X_S_TimeType (Properties ctx, String S_TimeType_UU, String trxName) + { + super (ctx, S_TimeType_UU, trxName); + /** if (S_TimeType_UU == null) + { + setName (null); + setS_TimeType_ID (0); + } */ + } + + /** Standard Constructor */ + public X_S_TimeType (Properties ctx, String S_TimeType_UU, String trxName, String ... virtualColumns) + { + super (ctx, S_TimeType_UU, trxName, virtualColumns); + /** if (S_TimeType_UU == null) + { + setName (null); + setS_TimeType_ID (0); + } */ + } + /** Load Constructor */ public X_S_TimeType (Properties ctx, ResultSet rs, String trxName) { @@ -62,7 +84,7 @@ public class X_S_TimeType extends PO implements I_S_TimeType, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -134,7 +156,7 @@ public class X_S_TimeType extends PO implements I_S_TimeType, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/compiere/model/X_S_Training.java b/org.adempiere.base/src/org/compiere/model/X_S_Training.java index 35ed8d0e94..1c0e89a60a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_S_Training.java +++ b/org.adempiere.base/src/org/compiere/model/X_S_Training.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for S_Training - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="S_Training") -public class X_S_Training extends PO implements I_S_Training, I_Persistent +public class X_S_Training extends PO implements I_S_Training, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_S_Training (Properties ctx, int S_Training_ID, String trxName) @@ -61,6 +61,34 @@ public class X_S_Training extends PO implements I_S_Training, I_Persistent } */ } + /** Standard Constructor */ + public X_S_Training (Properties ctx, String S_Training_UU, String trxName) + { + super (ctx, S_Training_UU, trxName); + /** if (S_Training_UU == null) + { + setC_TaxCategory_ID (0); + setC_UOM_ID (0); + setM_Product_Category_ID (0); + setName (null); + setS_Training_ID (0); + } */ + } + + /** Standard Constructor */ + public X_S_Training (Properties ctx, String S_Training_UU, String trxName, String ... virtualColumns) + { + super (ctx, S_Training_UU, trxName, virtualColumns); + /** if (S_Training_UU == null) + { + setC_TaxCategory_ID (0); + setC_UOM_ID (0); + setM_Product_Category_ID (0); + setName (null); + setS_Training_ID (0); + } */ + } + /** Load Constructor */ public X_S_Training (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_S_Training extends PO implements I_S_Training, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -272,7 +300,7 @@ public class X_S_Training extends PO implements I_S_Training, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -290,10 +318,10 @@ public class X_S_Training extends PO implements I_S_Training, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_S_Training_Class.java b/org.adempiere.base/src/org/compiere/model/X_S_Training_Class.java index bb68667c6e..9467a69e09 100644 --- a/org.adempiere.base/src/org/compiere/model/X_S_Training_Class.java +++ b/org.adempiere.base/src/org/compiere/model/X_S_Training_Class.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.KeyNamePair; /** Generated Model for S_Training_Class - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="S_Training_Class") -public class X_S_Training_Class extends PO implements I_S_Training_Class, I_Persistent +public class X_S_Training_Class extends PO implements I_S_Training_Class, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_S_Training_Class (Properties ctx, int S_Training_Class_ID, String trxName) @@ -62,6 +62,34 @@ public class X_S_Training_Class extends PO implements I_S_Training_Class, I_Pers } */ } + /** Standard Constructor */ + public X_S_Training_Class (Properties ctx, String S_Training_Class_UU, String trxName) + { + super (ctx, S_Training_Class_UU, trxName); + /** if (S_Training_Class_UU == null) + { + setEndDate (new Timestamp( System.currentTimeMillis() )); + setM_Product_ID (0); + setStartDate (new Timestamp( System.currentTimeMillis() )); + setS_Training_Class_ID (0); + setS_Training_ID (0); + } */ + } + + /** Standard Constructor */ + public X_S_Training_Class (Properties ctx, String S_Training_Class_UU, String trxName, String ... virtualColumns) + { + super (ctx, S_Training_Class_UU, trxName, virtualColumns); + /** if (S_Training_Class_UU == null) + { + setEndDate (new Timestamp( System.currentTimeMillis() )); + setM_Product_ID (0); + setStartDate (new Timestamp( System.currentTimeMillis() )); + setS_Training_Class_ID (0); + setS_Training_ID (0); + } */ + } + /** Load Constructor */ public X_S_Training_Class (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +97,7 @@ public class X_S_Training_Class extends PO implements I_S_Training_Class, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -153,7 +181,7 @@ public class X_S_Training_Class extends PO implements I_S_Training_Class, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getStartDate())); } diff --git a/org.adempiere.base/src/org/compiere/model/X_T_1099Extract.java b/org.adempiere.base/src/org/compiere/model/X_T_1099Extract.java index 4a34d57517..3a4cb65bab 100644 --- a/org.adempiere.base/src/org/compiere/model/X_T_1099Extract.java +++ b/org.adempiere.base/src/org/compiere/model/X_T_1099Extract.java @@ -24,22 +24,22 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for T_1099Extract - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="T_1099Extract") -public class X_T_1099Extract extends PO implements I_T_1099Extract, I_Persistent +public class X_T_1099Extract extends PO implements I_T_1099Extract, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ - public X_T_1099Extract (Properties ctx, int T_1099Extract_ID, String trxName) + public X_T_1099Extract (Properties ctx, String T_1099Extract_UU, String trxName) { - super (ctx, T_1099Extract_ID, trxName); - /** if (T_1099Extract_ID == 0) + super (ctx, T_1099Extract_UU, trxName); + /** if (T_1099Extract_UU == null) { setAD_PInstance_ID (0); setC_BPartner_ID (0); @@ -49,10 +49,10 @@ public class X_T_1099Extract extends PO implements I_T_1099Extract, I_Persistent } /** Standard Constructor */ - public X_T_1099Extract (Properties ctx, int T_1099Extract_ID, String trxName, String ... virtualColumns) + public X_T_1099Extract (Properties ctx, String T_1099Extract_UU, String trxName, String ... virtualColumns) { - super (ctx, T_1099Extract_ID, trxName, virtualColumns); - /** if (T_1099Extract_ID == 0) + super (ctx, T_1099Extract_UU, trxName, virtualColumns); + /** if (T_1099Extract_UU == null) { setAD_PInstance_ID (0); setC_BPartner_ID (0); @@ -68,7 +68,7 @@ public class X_T_1099Extract extends PO implements I_T_1099Extract, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -85,7 +85,7 @@ public class X_T_1099Extract extends PO implements I_T_1099Extract, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_T_1099Extract[") - .append(get_ID()).append(",Name=").append(getName()).append("]"); + .append(get_UUID()).append(",Name=").append(getName()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_T_Aging.java b/org.adempiere.base/src/org/compiere/model/X_T_Aging.java index ed4e7dac1b..ab39da175d 100644 --- a/org.adempiere.base/src/org/compiere/model/X_T_Aging.java +++ b/org.adempiere.base/src/org/compiere/model/X_T_Aging.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for T_Aging - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="T_Aging") -public class X_T_Aging extends PO implements I_T_Aging, I_Persistent +public class X_T_Aging extends PO implements I_T_Aging, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_T_Aging (Properties ctx, int T_Aging_ID, String trxName) @@ -113,6 +113,84 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent } */ } + /** Standard Constructor */ + public X_T_Aging (Properties ctx, String T_Aging_UU, String trxName) + { + super (ctx, T_Aging_UU, trxName); + /** if (T_Aging_UU == null) + { + setAD_PInstance_ID (0); + setC_BPartner_ID (0); + setC_BP_Group_ID (0); + setC_Currency_ID (0); + setDue0 (Env.ZERO); + setDue0_30 (Env.ZERO); + setDue0_7 (Env.ZERO); + setDue1_7 (Env.ZERO); + setDue31_60 (Env.ZERO); + setDue31_Plus (Env.ZERO); + setDue61_90 (Env.ZERO); + setDue61_Plus (Env.ZERO); + setDue8_30 (Env.ZERO); + setDue91_Plus (Env.ZERO); + setDueAmt (Env.ZERO); + setDueDate (new Timestamp( System.currentTimeMillis() )); + setInvoicedAmt (Env.ZERO); + setIsListInvoices (false); + setIsSOTrx (false); + setOpenAmt (Env.ZERO); + setPastDue1_30 (Env.ZERO); + setPastDue1_7 (Env.ZERO); + setPastDue31_60 (Env.ZERO); + setPastDue31_Plus (Env.ZERO); + setPastDue61_90 (Env.ZERO); + setPastDue61_Plus (Env.ZERO); + setPastDue8_30 (Env.ZERO); + setPastDue91_Plus (Env.ZERO); + setPastDueAmt (Env.ZERO); + setStatementDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_T_Aging (Properties ctx, String T_Aging_UU, String trxName, String ... virtualColumns) + { + super (ctx, T_Aging_UU, trxName, virtualColumns); + /** if (T_Aging_UU == null) + { + setAD_PInstance_ID (0); + setC_BPartner_ID (0); + setC_BP_Group_ID (0); + setC_Currency_ID (0); + setDue0 (Env.ZERO); + setDue0_30 (Env.ZERO); + setDue0_7 (Env.ZERO); + setDue1_7 (Env.ZERO); + setDue31_60 (Env.ZERO); + setDue31_Plus (Env.ZERO); + setDue61_90 (Env.ZERO); + setDue61_Plus (Env.ZERO); + setDue8_30 (Env.ZERO); + setDue91_Plus (Env.ZERO); + setDueAmt (Env.ZERO); + setDueDate (new Timestamp( System.currentTimeMillis() )); + setInvoicedAmt (Env.ZERO); + setIsListInvoices (false); + setIsSOTrx (false); + setOpenAmt (Env.ZERO); + setPastDue1_30 (Env.ZERO); + setPastDue1_7 (Env.ZERO); + setPastDue31_60 (Env.ZERO); + setPastDue31_Plus (Env.ZERO); + setPastDue61_90 (Env.ZERO); + setPastDue61_Plus (Env.ZERO); + setPastDue8_30 (Env.ZERO); + setPastDue91_Plus (Env.ZERO); + setPastDueAmt (Env.ZERO); + setStatementDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_T_Aging (Properties ctx, ResultSet rs, String trxName) { @@ -120,7 +198,7 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -137,7 +215,7 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_T_Aging[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -434,10 +512,10 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent public boolean isDateAcct() { Object oo = get_Value(COLUMNNAME_DateAcct); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -710,10 +788,10 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent public boolean isListInvoices() { Object oo = get_Value(COLUMNNAME_IsListInvoices); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -733,10 +811,10 @@ public class X_T_Aging extends PO implements I_T_Aging, I_Persistent public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_T_BOM_Indented.java b/org.adempiere.base/src/org/compiere/model/X_T_BOM_Indented.java index 22d4d6e6ea..5b471627db 100644 --- a/org.adempiere.base/src/org/compiere/model/X_T_BOM_Indented.java +++ b/org.adempiere.base/src/org/compiere/model/X_T_BOM_Indented.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for T_BOM_Indented - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="T_BOM_Indented") -public class X_T_BOM_Indented extends PO implements I_T_BOM_Indented, I_Persistent +public class X_T_BOM_Indented extends PO implements I_T_BOM_Indented, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_T_BOM_Indented (Properties ctx, int T_BOM_Indented_ID, String trxName) @@ -54,6 +54,26 @@ public class X_T_BOM_Indented extends PO implements I_T_BOM_Indented, I_Persiste } */ } + /** Standard Constructor */ + public X_T_BOM_Indented (Properties ctx, String T_BOM_Indented_UU, String trxName) + { + super (ctx, T_BOM_Indented_UU, trxName); + /** if (T_BOM_Indented_UU == null) + { + setT_BOM_Indented_ID (0); + } */ + } + + /** Standard Constructor */ + public X_T_BOM_Indented (Properties ctx, String T_BOM_Indented_UU, String trxName, String ... virtualColumns) + { + super (ctx, T_BOM_Indented_UU, trxName, virtualColumns); + /** if (T_BOM_Indented_UU == null) + { + setT_BOM_Indented_ID (0); + } */ + } + /** Load Constructor */ public X_T_BOM_Indented (Properties ctx, ResultSet rs, String trxName) { @@ -61,7 +81,7 @@ public class X_T_BOM_Indented extends PO implements I_T_BOM_Indented, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_T_BankRegister.java b/org.adempiere.base/src/org/compiere/model/X_T_BankRegister.java index 18ccdfca2c..14331ecaf8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_T_BankRegister.java +++ b/org.adempiere.base/src/org/compiere/model/X_T_BankRegister.java @@ -24,32 +24,32 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for T_BankRegister - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="T_BankRegister") -public class X_T_BankRegister extends PO implements I_T_BankRegister, I_Persistent +public class X_T_BankRegister extends PO implements I_T_BankRegister, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ - public X_T_BankRegister (Properties ctx, int T_BankRegister_ID, String trxName) + public X_T_BankRegister (Properties ctx, String T_BankRegister_UU, String trxName) { - super (ctx, T_BankRegister_ID, trxName); - /** if (T_BankRegister_ID == 0) + super (ctx, T_BankRegister_UU, trxName); + /** if (T_BankRegister_UU == null) { setAD_PInstance_ID (0); } */ } /** Standard Constructor */ - public X_T_BankRegister (Properties ctx, int T_BankRegister_ID, String trxName, String ... virtualColumns) + public X_T_BankRegister (Properties ctx, String T_BankRegister_UU, String trxName, String ... virtualColumns) { - super (ctx, T_BankRegister_ID, trxName, virtualColumns); - /** if (T_BankRegister_ID == 0) + super (ctx, T_BankRegister_UU, trxName, virtualColumns); + /** if (T_BankRegister_UU == null) { setAD_PInstance_ID (0); } */ @@ -62,7 +62,7 @@ public class X_T_BankRegister extends PO implements I_T_BankRegister, I_Persiste } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -79,7 +79,7 @@ public class X_T_BankRegister extends PO implements I_T_BankRegister, I_Persiste public String toString() { StringBuilder sb = new StringBuilder ("X_T_BankRegister[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_T_CashFlow.java b/org.adempiere.base/src/org/compiere/model/X_T_CashFlow.java index 2a55cc3acc..0b3e35cc0b 100644 --- a/org.adempiere.base/src/org/compiere/model/X_T_CashFlow.java +++ b/org.adempiere.base/src/org/compiere/model/X_T_CashFlow.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for T_CashFlow - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="T_CashFlow") -public class X_T_CashFlow extends PO implements I_T_CashFlow, I_Persistent +public class X_T_CashFlow extends PO implements I_T_CashFlow, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_T_CashFlow (Properties ctx, int T_CashFlow_ID, String trxName) @@ -59,6 +59,30 @@ public class X_T_CashFlow extends PO implements I_T_CashFlow, I_Persistent } */ } + /** Standard Constructor */ + public X_T_CashFlow (Properties ctx, String T_CashFlow_UU, String trxName) + { + super (ctx, T_CashFlow_UU, trxName); + /** if (T_CashFlow_UU == null) + { + setAD_PInstance_ID (0); + setDateTrx (new Timestamp( System.currentTimeMillis() )); + setIsSOTrx (false); + } */ + } + + /** Standard Constructor */ + public X_T_CashFlow (Properties ctx, String T_CashFlow_UU, String trxName, String ... virtualColumns) + { + super (ctx, T_CashFlow_UU, trxName, virtualColumns); + /** if (T_CashFlow_UU == null) + { + setAD_PInstance_ID (0); + setDateTrx (new Timestamp( System.currentTimeMillis() )); + setIsSOTrx (false); + } */ + } + /** Load Constructor */ public X_T_CashFlow (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +90,7 @@ public class X_T_CashFlow extends PO implements I_T_CashFlow, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -506,10 +530,10 @@ public class X_T_CashFlow extends PO implements I_T_CashFlow, I_Persistent public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_T_DistributionRunDetail.java b/org.adempiere.base/src/org/compiere/model/X_T_DistributionRunDetail.java index fcc10188cf..70c4885e93 100644 --- a/org.adempiere.base/src/org/compiere/model/X_T_DistributionRunDetail.java +++ b/org.adempiere.base/src/org/compiere/model/X_T_DistributionRunDetail.java @@ -21,19 +21,19 @@ import java.math.BigDecimal; import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.Env; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for T_DistributionRunDetail - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="T_DistributionRunDetail") -public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRunDetail, I_Persistent +public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRunDetail, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_T_DistributionRunDetail (Properties ctx, int T_DistributionRunDetail_ID, String trxName) @@ -73,6 +73,44 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun } */ } + /** Standard Constructor */ + public X_T_DistributionRunDetail (Properties ctx, String T_DistributionRunDetail_UU, String trxName) + { + super (ctx, T_DistributionRunDetail_UU, trxName); + /** if (T_DistributionRunDetail_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setM_DistributionList_ID (0); + setM_DistributionListLine_ID (0); + setM_DistributionRun_ID (0); + setM_DistributionRunLine_ID (0); + setMinQty (Env.ZERO); + setM_Product_ID (0); + setQty (Env.ZERO); + setRatio (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_T_DistributionRunDetail (Properties ctx, String T_DistributionRunDetail_UU, String trxName, String ... virtualColumns) + { + super (ctx, T_DistributionRunDetail_UU, trxName, virtualColumns); + /** if (T_DistributionRunDetail_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setM_DistributionList_ID (0); + setM_DistributionListLine_ID (0); + setM_DistributionRun_ID (0); + setM_DistributionRunLine_ID (0); + setMinQty (Env.ZERO); + setM_Product_ID (0); + setQty (Env.ZERO); + setRatio (Env.ZERO); + } */ + } + /** Load Constructor */ public X_T_DistributionRunDetail (Properties ctx, ResultSet rs, String trxName) { @@ -80,7 +118,7 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -97,7 +135,7 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun public String toString() { StringBuilder sb = new StringBuilder ("X_T_DistributionRunDetail[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -241,12 +279,12 @@ public class X_T_DistributionRunDetail extends PO implements I_T_DistributionRun return ii.intValue(); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), String.valueOf(getM_DistributionRun_ID())); + return new ValueNamePair(get_UUID(), String.valueOf(getM_DistributionRun_ID())); } public org.compiere.model.I_M_DistributionRunLine getM_DistributionRunLine() throws RuntimeException diff --git a/org.adempiere.base/src/org/compiere/model/X_T_InventoryValue.java b/org.adempiere.base/src/org/compiere/model/X_T_InventoryValue.java index 96f22dc376..69a08190b8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_T_InventoryValue.java +++ b/org.adempiere.base/src/org/compiere/model/X_T_InventoryValue.java @@ -24,22 +24,22 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for T_InventoryValue - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="T_InventoryValue") -public class X_T_InventoryValue extends PO implements I_T_InventoryValue, I_Persistent +public class X_T_InventoryValue extends PO implements I_T_InventoryValue, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ - public X_T_InventoryValue (Properties ctx, int T_InventoryValue_ID, String trxName) + public X_T_InventoryValue (Properties ctx, String T_InventoryValue_UU, String trxName) { - super (ctx, T_InventoryValue_ID, trxName); - /** if (T_InventoryValue_ID == 0) + super (ctx, T_InventoryValue_UU, trxName); + /** if (T_InventoryValue_UU == null) { setAD_PInstance_ID (0); setM_AttributeSetInstance_ID (0); @@ -49,10 +49,10 @@ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, I_Pers } /** Standard Constructor */ - public X_T_InventoryValue (Properties ctx, int T_InventoryValue_ID, String trxName, String ... virtualColumns) + public X_T_InventoryValue (Properties ctx, String T_InventoryValue_UU, String trxName, String ... virtualColumns) { - super (ctx, T_InventoryValue_ID, trxName, virtualColumns); - /** if (T_InventoryValue_ID == 0) + super (ctx, T_InventoryValue_UU, trxName, virtualColumns); + /** if (T_InventoryValue_UU == null) { setAD_PInstance_ID (0); setM_AttributeSetInstance_ID (0); @@ -68,7 +68,7 @@ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -85,7 +85,7 @@ public class X_T_InventoryValue extends PO implements I_T_InventoryValue, I_Pers public String toString() { StringBuilder sb = new StringBuilder ("X_T_InventoryValue[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_T_InvoiceGL.java b/org.adempiere.base/src/org/compiere/model/X_T_InvoiceGL.java index 2fa8ded5d4..be067c33c7 100644 --- a/org.adempiere.base/src/org/compiere/model/X_T_InvoiceGL.java +++ b/org.adempiere.base/src/org/compiere/model/X_T_InvoiceGL.java @@ -24,16 +24,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for T_InvoiceGL - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="T_InvoiceGL") -public class X_T_InvoiceGL extends PO implements I_T_InvoiceGL, I_Persistent +public class X_T_InvoiceGL extends PO implements I_T_InvoiceGL, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_T_InvoiceGL (Properties ctx, int T_InvoiceGL_ID, String trxName) @@ -81,6 +81,52 @@ public class X_T_InvoiceGL extends PO implements I_T_InvoiceGL, I_Persistent } */ } + /** Standard Constructor */ + public X_T_InvoiceGL (Properties ctx, String T_InvoiceGL_UU, String trxName) + { + super (ctx, T_InvoiceGL_UU, trxName); + /** if (T_InvoiceGL_UU == null) + { + setAD_PInstance_ID (0); + setAmtAcctBalance (Env.ZERO); + setAmtRevalCr (Env.ZERO); + setAmtRevalCrDiff (Env.ZERO); + setAmtRevalDr (Env.ZERO); + setAmtRevalDrDiff (Env.ZERO); + setAmtSourceBalance (Env.ZERO); + setC_ConversionTypeReval_ID (0); + setC_Invoice_ID (0); + setDateReval (new Timestamp( System.currentTimeMillis() )); + setFact_Acct_ID (0); + setGrandTotal (Env.ZERO); + setIsAllCurrencies (false); + setOpenAmt (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_T_InvoiceGL (Properties ctx, String T_InvoiceGL_UU, String trxName, String ... virtualColumns) + { + super (ctx, T_InvoiceGL_UU, trxName, virtualColumns); + /** if (T_InvoiceGL_UU == null) + { + setAD_PInstance_ID (0); + setAmtAcctBalance (Env.ZERO); + setAmtRevalCr (Env.ZERO); + setAmtRevalCrDiff (Env.ZERO); + setAmtRevalDr (Env.ZERO); + setAmtRevalDrDiff (Env.ZERO); + setAmtSourceBalance (Env.ZERO); + setC_ConversionTypeReval_ID (0); + setC_Invoice_ID (0); + setDateReval (new Timestamp( System.currentTimeMillis() )); + setFact_Acct_ID (0); + setGrandTotal (Env.ZERO); + setIsAllCurrencies (false); + setOpenAmt (Env.ZERO); + } */ + } + /** Load Constructor */ public X_T_InvoiceGL (Properties ctx, ResultSet rs, String trxName) { @@ -88,7 +134,7 @@ public class X_T_InvoiceGL extends PO implements I_T_InvoiceGL, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -430,10 +476,10 @@ public class X_T_InvoiceGL extends PO implements I_T_InvoiceGL, I_Persistent public boolean isAllCurrencies() { Object oo = get_Value(COLUMNNAME_IsAllCurrencies); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_T_Reconciliation.java b/org.adempiere.base/src/org/compiere/model/X_T_Reconciliation.java index 9f0413cf0d..51bf0b8532 100644 --- a/org.adempiere.base/src/org/compiere/model/X_T_Reconciliation.java +++ b/org.adempiere.base/src/org/compiere/model/X_T_Reconciliation.java @@ -21,22 +21,22 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for T_Reconciliation - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="T_Reconciliation") -public class X_T_Reconciliation extends PO implements I_T_Reconciliation, I_Persistent +public class X_T_Reconciliation extends PO implements I_T_Reconciliation, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ - public X_T_Reconciliation (Properties ctx, int T_Reconciliation_ID, String trxName) + public X_T_Reconciliation (Properties ctx, String T_Reconciliation_UU, String trxName) { - super (ctx, T_Reconciliation_ID, trxName); - /** if (T_Reconciliation_ID == 0) + super (ctx, T_Reconciliation_UU, trxName); + /** if (T_Reconciliation_UU == null) { setAD_PInstance_ID (0); setFact_Acct_ID (0); @@ -44,10 +44,10 @@ public class X_T_Reconciliation extends PO implements I_T_Reconciliation, I_Pers } /** Standard Constructor */ - public X_T_Reconciliation (Properties ctx, int T_Reconciliation_ID, String trxName, String ... virtualColumns) + public X_T_Reconciliation (Properties ctx, String T_Reconciliation_UU, String trxName, String ... virtualColumns) { - super (ctx, T_Reconciliation_ID, trxName, virtualColumns); - /** if (T_Reconciliation_ID == 0) + super (ctx, T_Reconciliation_UU, trxName, virtualColumns); + /** if (T_Reconciliation_UU == null) { setAD_PInstance_ID (0); setFact_Acct_ID (0); @@ -61,7 +61,7 @@ public class X_T_Reconciliation extends PO implements I_T_Reconciliation, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -78,7 +78,7 @@ public class X_T_Reconciliation extends PO implements I_T_Reconciliation, I_Pers public String toString() { StringBuilder sb = new StringBuilder ("X_T_Reconciliation[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_T_Replenish.java b/org.adempiere.base/src/org/compiere/model/X_T_Replenish.java index 632e018515..c9b8104d2e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_T_Replenish.java +++ b/org.adempiere.base/src/org/compiere/model/X_T_Replenish.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for T_Replenish - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="T_Replenish") -public class X_T_Replenish extends PO implements I_T_Replenish, I_Persistent +public class X_T_Replenish extends PO implements I_T_Replenish, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_T_Replenish (Properties ctx, int T_Replenish_ID, String trxName) @@ -66,6 +66,38 @@ public class X_T_Replenish extends PO implements I_T_Replenish, I_Persistent } */ } + /** Standard Constructor */ + public X_T_Replenish (Properties ctx, String T_Replenish_UU, String trxName) + { + super (ctx, T_Replenish_UU, trxName); + /** if (T_Replenish_UU == null) + { + setAD_PInstance_ID (0); + setC_BPartner_ID (0); + setLevel_Max (Env.ZERO); + setLevel_Min (Env.ZERO); + setM_Product_ID (0); + setM_Warehouse_ID (0); + setReplenishType (null); + } */ + } + + /** Standard Constructor */ + public X_T_Replenish (Properties ctx, String T_Replenish_UU, String trxName, String ... virtualColumns) + { + super (ctx, T_Replenish_UU, trxName, virtualColumns); + /** if (T_Replenish_UU == null) + { + setAD_PInstance_ID (0); + setC_BPartner_ID (0); + setLevel_Max (Env.ZERO); + setLevel_Min (Env.ZERO); + setM_Product_ID (0); + setM_Warehouse_ID (0); + setReplenishType (null); + } */ + } + /** Load Constructor */ public X_T_Replenish (Properties ctx, ResultSet rs, String trxName) { @@ -73,7 +105,7 @@ public class X_T_Replenish extends PO implements I_T_Replenish, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -90,7 +122,7 @@ public class X_T_Replenish extends PO implements I_T_Replenish, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_T_Replenish[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_T_Report.java b/org.adempiere.base/src/org/compiere/model/X_T_Report.java index d366779a8c..8fe07ed2e0 100644 --- a/org.adempiere.base/src/org/compiere/model/X_T_Report.java +++ b/org.adempiere.base/src/org/compiere/model/X_T_Report.java @@ -21,19 +21,19 @@ import java.math.BigDecimal; import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.Env; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for T_Report - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="T_Report") -public class X_T_Report extends PO implements I_T_Report, I_Persistent +public class X_T_Report extends PO implements I_T_Report, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_T_Report (Properties ctx, int T_Report_ID, String trxName) @@ -61,6 +61,32 @@ public class X_T_Report extends PO implements I_T_Report, I_Persistent } */ } + /** Standard Constructor */ + public X_T_Report (Properties ctx, String T_Report_UU, String trxName) + { + super (ctx, T_Report_UU, trxName); + /** if (T_Report_UU == null) + { + setAD_PInstance_ID (0); + setFact_Acct_ID (0); + setPA_ReportLine_ID (0); + setRecord_ID (0); + } */ + } + + /** Standard Constructor */ + public X_T_Report (Properties ctx, String T_Report_UU, String trxName, String ... virtualColumns) + { + super (ctx, T_Report_UU, trxName, virtualColumns); + /** if (T_Report_UU == null) + { + setAD_PInstance_ID (0); + setFact_Acct_ID (0); + setPA_ReportLine_ID (0); + setRecord_ID (0); + } */ + } + /** Load Constructor */ public X_T_Report (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +94,7 @@ public class X_T_Report extends PO implements I_T_Report, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -85,7 +111,7 @@ public class X_T_Report extends PO implements I_T_Report, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_T_Report[") - .append(get_ID()).append(",Name=").append(getName()).append("]"); + .append(get_UUID()).append(",Name=").append(getName()).append("]"); return sb.toString(); } @@ -746,12 +772,12 @@ public class X_T_Report extends PO implements I_T_Report, I_Persistent return (String)get_Value(COLUMNNAME_Name); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), getName()); + return new ValueNamePair(get_UUID(), getName()); } public org.compiere.model.I_PA_ReportLine getPA_ReportLine() throws RuntimeException diff --git a/org.adempiere.base/src/org/compiere/model/X_T_ReportStatement.java b/org.adempiere.base/src/org/compiere/model/X_T_ReportStatement.java index e5c5f3c84b..102779423f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_T_ReportStatement.java +++ b/org.adempiere.base/src/org/compiere/model/X_T_ReportStatement.java @@ -22,25 +22,25 @@ import java.sql.ResultSet; import java.sql.Timestamp; import java.util.Properties; import org.compiere.util.Env; -import org.compiere.util.KeyNamePair; +import org.compiere.util.ValueNamePair; /** Generated Model for T_ReportStatement - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="T_ReportStatement") -public class X_T_ReportStatement extends PO implements I_T_ReportStatement, I_Persistent +public class X_T_ReportStatement extends PO implements I_T_ReportStatement, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ - public X_T_ReportStatement (Properties ctx, int T_ReportStatement_ID, String trxName) + public X_T_ReportStatement (Properties ctx, String T_ReportStatement_UU, String trxName) { - super (ctx, T_ReportStatement_ID, trxName); - /** if (T_ReportStatement_ID == 0) + super (ctx, T_ReportStatement_UU, trxName); + /** if (T_ReportStatement_UU == null) { setAD_PInstance_ID (0); setDateAcct (new Timestamp( System.currentTimeMillis() )); @@ -50,10 +50,10 @@ public class X_T_ReportStatement extends PO implements I_T_ReportStatement, I_Pe } /** Standard Constructor */ - public X_T_ReportStatement (Properties ctx, int T_ReportStatement_ID, String trxName, String ... virtualColumns) + public X_T_ReportStatement (Properties ctx, String T_ReportStatement_UU, String trxName, String ... virtualColumns) { - super (ctx, T_ReportStatement_ID, trxName, virtualColumns); - /** if (T_ReportStatement_ID == 0) + super (ctx, T_ReportStatement_UU, trxName, virtualColumns); + /** if (T_ReportStatement_UU == null) { setAD_PInstance_ID (0); setDateAcct (new Timestamp( System.currentTimeMillis() )); @@ -69,7 +69,7 @@ public class X_T_ReportStatement extends PO implements I_T_ReportStatement, I_Pe } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -86,7 +86,7 @@ public class X_T_ReportStatement extends PO implements I_T_ReportStatement, I_Pe public String toString() { StringBuilder sb = new StringBuilder ("X_T_ReportStatement[") - .append(get_ID()).append(",Name=").append(getName()).append("]"); + .append(get_UUID()).append(",Name=").append(getName()).append("]"); return sb.toString(); } @@ -267,12 +267,12 @@ public class X_T_ReportStatement extends PO implements I_T_ReportStatement, I_Pe return (String)get_Value(COLUMNNAME_Name); } - /** Get Record ID/ColumnName - @return ID/ColumnName pair + /** Get Record UU/ColumnName + @return UU/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public ValueNamePair getValueNamePair() { - return new KeyNamePair(get_ID(), getName()); + return new ValueNamePair(get_UUID(), getName()); } /** Set Quantity. diff --git a/org.adempiere.base/src/org/compiere/model/X_T_Transaction.java b/org.adempiere.base/src/org/compiere/model/X_T_Transaction.java index 65c9900c1c..bace9c1bce 100644 --- a/org.adempiere.base/src/org/compiere/model/X_T_Transaction.java +++ b/org.adempiere.base/src/org/compiere/model/X_T_Transaction.java @@ -24,22 +24,22 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for T_Transaction - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="T_Transaction") -public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent +public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ - public X_T_Transaction (Properties ctx, int T_Transaction_ID, String trxName) + public X_T_Transaction (Properties ctx, String T_Transaction_UU, String trxName) { - super (ctx, T_Transaction_ID, trxName); - /** if (T_Transaction_ID == 0) + super (ctx, T_Transaction_UU, trxName); + /** if (T_Transaction_UU == null) { setAD_PInstance_ID (0); setM_AttributeSetInstance_ID (0); @@ -53,10 +53,10 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent } /** Standard Constructor */ - public X_T_Transaction (Properties ctx, int T_Transaction_ID, String trxName, String ... virtualColumns) + public X_T_Transaction (Properties ctx, String T_Transaction_UU, String trxName, String ... virtualColumns) { - super (ctx, T_Transaction_ID, trxName, virtualColumns); - /** if (T_Transaction_ID == 0) + super (ctx, T_Transaction_UU, trxName, virtualColumns); + /** if (T_Transaction_UU == null) { setAD_PInstance_ID (0); setM_AttributeSetInstance_ID (0); @@ -76,7 +76,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -93,7 +93,7 @@ public class X_T_Transaction extends PO implements I_T_Transaction, I_Persistent public String toString() { StringBuilder sb = new StringBuilder ("X_T_Transaction[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_T_TrialBalance.java b/org.adempiere.base/src/org/compiere/model/X_T_TrialBalance.java index 3b40f6aaef..6113d52e2f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_T_TrialBalance.java +++ b/org.adempiere.base/src/org/compiere/model/X_T_TrialBalance.java @@ -24,22 +24,22 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for T_TrialBalance - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="T_TrialBalance") -public class X_T_TrialBalance extends PO implements I_T_TrialBalance, I_Persistent +public class X_T_TrialBalance extends PO implements I_T_TrialBalance, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ - public X_T_TrialBalance (Properties ctx, int T_TrialBalance_ID, String trxName) + public X_T_TrialBalance (Properties ctx, String T_TrialBalance_UU, String trxName) { - super (ctx, T_TrialBalance_ID, trxName); - /** if (T_TrialBalance_ID == 0) + super (ctx, T_TrialBalance_UU, trxName); + /** if (T_TrialBalance_UU == null) { setAD_PInstance_ID (0); setAmtAcctBalance (Env.ZERO); @@ -53,10 +53,10 @@ public class X_T_TrialBalance extends PO implements I_T_TrialBalance, I_Persiste } /** Standard Constructor */ - public X_T_TrialBalance (Properties ctx, int T_TrialBalance_ID, String trxName, String ... virtualColumns) + public X_T_TrialBalance (Properties ctx, String T_TrialBalance_UU, String trxName, String ... virtualColumns) { - super (ctx, T_TrialBalance_ID, trxName, virtualColumns); - /** if (T_TrialBalance_ID == 0) + super (ctx, T_TrialBalance_UU, trxName, virtualColumns); + /** if (T_TrialBalance_UU == null) { setAD_PInstance_ID (0); setAmtAcctBalance (Env.ZERO); @@ -76,7 +76,7 @@ public class X_T_TrialBalance extends PO implements I_T_TrialBalance, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -93,7 +93,7 @@ public class X_T_TrialBalance extends PO implements I_T_TrialBalance, I_Persiste public String toString() { StringBuilder sb = new StringBuilder ("X_T_TrialBalance[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } diff --git a/org.adempiere.base/src/org/compiere/model/X_Test.java b/org.adempiere.base/src/org/compiere/model/X_Test.java index 56984ad82b..e9674fff29 100644 --- a/org.adempiere.base/src/org/compiere/model/X_Test.java +++ b/org.adempiere.base/src/org/compiere/model/X_Test.java @@ -34,7 +34,7 @@ public class X_Test extends PO implements I_Test, I_Persistent /** * */ - private static final long serialVersionUID = 20230318L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_Test (Properties ctx, int Test_ID, String trxName) @@ -529,6 +529,21 @@ public class X_Test extends PO implements I_Test, I_Persistent return ii.intValue(); } + /** Set Record UUID. + @param Record_UU Record UUID + */ + public void setRecord_UU (String Record_UU) + { + set_Value (COLUMNNAME_Record_UU, Record_UU); + } + + /** Get Record UUID. + @return Record UUID */ + public String getRecord_UU() + { + return (String)get_Value(COLUMNNAME_Record_UU); + } + /** Set Amount. @param T_Amount Amount */ diff --git a/org.adempiere.base/src/org/compiere/model/X_TestUU.java b/org.adempiere.base/src/org/compiere/model/X_TestUU.java index 8cf33fe5e5..62049dc92f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_TestUU.java +++ b/org.adempiere.base/src/org/compiere/model/X_TestUU.java @@ -30,7 +30,7 @@ public class X_TestUU extends PO implements I_TestUU, I_Persistent /** * */ - private static final long serialVersionUID = 20230318L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_TestUU (Properties ctx, String TestUU_UU, String trxName) @@ -128,16 +128,16 @@ public class X_TestUU extends PO implements I_TestUU, I_Persistent return (String)get_Value(COLUMNNAME_Name); } - /** Set TestUU_UU. - @param TestUU_UU TestUU_UU + /** Set Test UU. + @param TestUU_UU Test UU */ public void setTestUU_UU (String TestUU_UU) { set_Value (COLUMNNAME_TestUU_UU, TestUU_UU); } - /** Get TestUU_UU. - @return TestUU_UU */ + /** Get Test UU. + @return Test UU */ public String getTestUU_UU() { return (String)get_Value(COLUMNNAME_TestUU_UU); diff --git a/org.adempiere.base/src/org/compiere/model/X_TestUUDet.java b/org.adempiere.base/src/org/compiere/model/X_TestUUDet.java index 471c85822c..526d5b410f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_TestUUDet.java +++ b/org.adempiere.base/src/org/compiere/model/X_TestUUDet.java @@ -30,7 +30,7 @@ public class X_TestUUDet extends PO implements I_TestUUDet, I_Persistent /** * */ - private static final long serialVersionUID = 20230324L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_TestUUDet (Properties ctx, String TestUUDet_UU, String trxName) @@ -145,4 +145,22 @@ public class X_TestUUDet extends PO implements I_TestUUDet, I_Persistent { return (String)get_Value(COLUMNNAME_TestUU_UU); } + + /** TestUU_UUs AD_Reference_ID=200236 */ + public static final int TESTUU_UUS_AD_Reference_ID=200236; + /** Set Multi Test UU. + @param TestUU_UUs Multi Test UU + */ + public void setTestUU_UUs (String TestUU_UUs) + { + + set_Value (COLUMNNAME_TestUU_UUs, TestUU_UUs); + } + + /** Get Multi Test UU. + @return Multi Test UU */ + public String getTestUU_UUs() + { + return (String)get_Value(COLUMNNAME_TestUU_UUs); + } } \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_U_BlackListCheque.java b/org.adempiere.base/src/org/compiere/model/X_U_BlackListCheque.java index a1cf282d30..47d8d85335 100644 --- a/org.adempiere.base/src/org/compiere/model/X_U_BlackListCheque.java +++ b/org.adempiere.base/src/org/compiere/model/X_U_BlackListCheque.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for U_BlackListCheque - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="U_BlackListCheque") -public class X_U_BlackListCheque extends PO implements I_U_BlackListCheque, I_Persistent +public class X_U_BlackListCheque extends PO implements I_U_BlackListCheque, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_U_BlackListCheque (Properties ctx, int U_BlackListCheque_ID, String trxName) @@ -56,6 +56,30 @@ public class X_U_BlackListCheque extends PO implements I_U_BlackListCheque, I_Pe } */ } + /** Standard Constructor */ + public X_U_BlackListCheque (Properties ctx, String U_BlackListCheque_UU, String trxName) + { + super (ctx, U_BlackListCheque_UU, trxName); + /** if (U_BlackListCheque_UU == null) + { + setBankName (null); + setChequeNo (null); + setU_BlackListCheque_ID (0); + } */ + } + + /** Standard Constructor */ + public X_U_BlackListCheque (Properties ctx, String U_BlackListCheque_UU, String trxName, String ... virtualColumns) + { + super (ctx, U_BlackListCheque_UU, trxName, virtualColumns); + /** if (U_BlackListCheque_UU == null) + { + setBankName (null); + setChequeNo (null); + setU_BlackListCheque_ID (0); + } */ + } + /** Load Constructor */ public X_U_BlackListCheque (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_U_BlackListCheque extends PO implements I_U_BlackListCheque, I_Pe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_U_POSTerminal.java b/org.adempiere.base/src/org/compiere/model/X_U_POSTerminal.java index 01cc163224..a3fb607986 100644 --- a/org.adempiere.base/src/org/compiere/model/X_U_POSTerminal.java +++ b/org.adempiere.base/src/org/compiere/model/X_U_POSTerminal.java @@ -22,16 +22,16 @@ import java.sql.Timestamp; import java.util.Properties; /** Generated Model for U_POSTerminal - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="U_POSTerminal") -public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent +public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_U_POSTerminal (Properties ctx, int U_POSTerminal_ID, String trxName) @@ -63,6 +63,36 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent } */ } + /** Standard Constructor */ + public X_U_POSTerminal (Properties ctx, String U_POSTerminal_UU, String trxName) + { + super (ctx, U_POSTerminal_UU, trxName); + /** if (U_POSTerminal_UU == null) + { + setAutoLock (false); +// N + setCashBookTransferType (null); + setC_CashBook_ID (0); + setC_CashBPartner_ID (0); + setU_POSTerminal_ID (0); + } */ + } + + /** Standard Constructor */ + public X_U_POSTerminal (Properties ctx, String U_POSTerminal_UU, String trxName, String ... virtualColumns) + { + super (ctx, U_POSTerminal_UU, trxName, virtualColumns); + /** if (U_POSTerminal_UU == null) + { + setAutoLock (false); +// N + setCashBookTransferType (null); + setC_CashBook_ID (0); + setC_CashBPartner_ID (0); + setU_POSTerminal_ID (0); + } */ + } + /** Load Constructor */ public X_U_POSTerminal (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +100,7 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -105,10 +135,10 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent public boolean isAutoLock() { Object oo = get_Value(COLUMNNAME_AutoLock); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -551,10 +581,10 @@ public class X_U_POSTerminal extends PO implements I_U_POSTerminal, I_Persistent public boolean isLocked() { Object oo = get_Value(COLUMNNAME_Locked); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_U_RoleMenu.java b/org.adempiere.base/src/org/compiere/model/X_U_RoleMenu.java index 9343a4c87f..81e9457290 100644 --- a/org.adempiere.base/src/org/compiere/model/X_U_RoleMenu.java +++ b/org.adempiere.base/src/org/compiere/model/X_U_RoleMenu.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for U_RoleMenu - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="U_RoleMenu") -public class X_U_RoleMenu extends PO implements I_U_RoleMenu, I_Persistent +public class X_U_RoleMenu extends PO implements I_U_RoleMenu, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_U_RoleMenu (Properties ctx, int U_RoleMenu_ID, String trxName) @@ -56,6 +56,30 @@ public class X_U_RoleMenu extends PO implements I_U_RoleMenu, I_Persistent } */ } + /** Standard Constructor */ + public X_U_RoleMenu (Properties ctx, String U_RoleMenu_UU, String trxName) + { + super (ctx, U_RoleMenu_UU, trxName); + /** if (U_RoleMenu_UU == null) + { + setAD_Role_ID (0); + setU_RoleMenu_ID (0); + setU_WebMenu_ID (0); + } */ + } + + /** Standard Constructor */ + public X_U_RoleMenu (Properties ctx, String U_RoleMenu_UU, String trxName, String ... virtualColumns) + { + super (ctx, U_RoleMenu_UU, trxName, virtualColumns); + /** if (U_RoleMenu_UU == null) + { + setAD_Role_ID (0); + setU_RoleMenu_ID (0); + setU_WebMenu_ID (0); + } */ + } + /** Load Constructor */ public X_U_RoleMenu (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_U_RoleMenu extends PO implements I_U_RoleMenu, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/model/X_U_WebMenu.java b/org.adempiere.base/src/org/compiere/model/X_U_WebMenu.java index 9673903bab..387d4f07ac 100644 --- a/org.adempiere.base/src/org/compiere/model/X_U_WebMenu.java +++ b/org.adempiere.base/src/org/compiere/model/X_U_WebMenu.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.util.Env; /** Generated Model for U_WebMenu - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="U_WebMenu") -public class X_U_WebMenu extends PO implements I_U_WebMenu, I_Persistent +public class X_U_WebMenu extends PO implements I_U_WebMenu, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_U_WebMenu (Properties ctx, int U_WebMenu_ID, String trxName) @@ -64,6 +64,36 @@ public class X_U_WebMenu extends PO implements I_U_WebMenu, I_Persistent } */ } + /** Standard Constructor */ + public X_U_WebMenu (Properties ctx, String U_WebMenu_UU, String trxName) + { + super (ctx, U_WebMenu_UU, trxName); + /** if (U_WebMenu_UU == null) + { + setHasSubMenu (false); +// 'N' + setMenuLink (null); + setModule (null); + setName (null); + setU_WebMenu_ID (0); + } */ + } + + /** Standard Constructor */ + public X_U_WebMenu (Properties ctx, String U_WebMenu_UU, String trxName, String ... virtualColumns) + { + super (ctx, U_WebMenu_UU, trxName, virtualColumns); + /** if (U_WebMenu_UU == null) + { + setHasSubMenu (false); +// 'N' + setMenuLink (null); + setModule (null); + setName (null); + setU_WebMenu_ID (0); + } */ + } + /** Load Constructor */ public X_U_WebMenu (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +101,7 @@ public class X_U_WebMenu extends PO implements I_U_WebMenu, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -136,10 +166,10 @@ public class X_U_WebMenu extends PO implements I_U_WebMenu, I_Persistent public boolean isHasSubMenu() { Object oo = get_Value(COLUMNNAME_HasSubMenu); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/compiere/model/X_U_Web_Properties.java b/org.adempiere.base/src/org/compiere/model/X_U_Web_Properties.java index 78aaeff35c..90eff8d617 100644 --- a/org.adempiere.base/src/org/compiere/model/X_U_Web_Properties.java +++ b/org.adempiere.base/src/org/compiere/model/X_U_Web_Properties.java @@ -21,16 +21,16 @@ import java.sql.ResultSet; import java.util.Properties; /** Generated Model for U_Web_Properties - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="U_Web_Properties") -public class X_U_Web_Properties extends PO implements I_U_Web_Properties, I_Persistent +public class X_U_Web_Properties extends PO implements I_U_Web_Properties, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_U_Web_Properties (Properties ctx, int U_Web_Properties_ID, String trxName) @@ -56,6 +56,30 @@ public class X_U_Web_Properties extends PO implements I_U_Web_Properties, I_Pers } */ } + /** Standard Constructor */ + public X_U_Web_Properties (Properties ctx, String U_Web_Properties_UU, String trxName) + { + super (ctx, U_Web_Properties_UU, trxName); + /** if (U_Web_Properties_UU == null) + { + setU_Key (null); + setU_Value (null); + setU_Web_Properties_ID (0); + } */ + } + + /** Standard Constructor */ + public X_U_Web_Properties (Properties ctx, String U_Web_Properties_UU, String trxName, String ... virtualColumns) + { + super (ctx, U_Web_Properties_UU, trxName, virtualColumns); + /** if (U_Web_Properties_UU == null) + { + setU_Key (null); + setU_Value (null); + setU_Web_Properties_ID (0); + } */ + } + /** Load Constructor */ public X_U_Web_Properties (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +87,7 @@ public class X_U_Web_Properties extends PO implements I_U_Web_Properties, I_Pers } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/compiere/print/MPrintColor.java b/org.adempiere.base/src/org/compiere/print/MPrintColor.java index c3dbd99fbf..3207ca236e 100644 --- a/org.adempiere.base/src/org/compiere/print/MPrintColor.java +++ b/org.adempiere.base/src/org/compiere/print/MPrintColor.java @@ -143,6 +143,18 @@ public class MPrintColor extends X_AD_PrintColor implements ImmutablePOSupport } // get + /** + * UUID based Constructor + * @param ctx Context + * @param AD_PrintColor_UU UUID key + * @param trxName Transaction + */ + public MPrintColor(Properties ctx, String AD_PrintColor_UU, String trxName) { + super(ctx, AD_PrintColor_UU, trxName); + if (Util.isEmpty(AD_PrintColor_UU)) + setInitialDefaults(); + } + /************************************************************************** * Constructor * @param ctx context @@ -153,9 +165,16 @@ public class MPrintColor extends X_AD_PrintColor implements ImmutablePOSupport { super (ctx, AD_PrintColor_ID, trxName); if (AD_PrintColor_ID == 0) - setIsDefault(false); + setInitialDefaults(); } // MPrintColor + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsDefault(false); + } + public MPrintColor(Properties ctx, ResultSet rs, String trxName) { super (ctx, rs, trxName); diff --git a/org.adempiere.base/src/org/compiere/print/MPrintFont.java b/org.adempiere.base/src/org/compiere/print/MPrintFont.java index 95bd2bf6df..f17baefe0b 100644 --- a/org.adempiere.base/src/org/compiere/print/MPrintFont.java +++ b/org.adempiere.base/src/org/compiere/print/MPrintFont.java @@ -27,6 +27,7 @@ import java.util.logging.Level; import org.compiere.model.PO; import org.compiere.model.X_AD_PrintFont; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -43,6 +44,18 @@ public class MPrintFont extends X_AD_PrintFont implements ImmutablePOSupport */ private static final long serialVersionUID = -613305916546183810L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_PrintFont_UU UUID key + * @param trxName Transaction + */ + public MPrintFont(Properties ctx, String AD_PrintFont_UU, String trxName) { + super(ctx, AD_PrintFont_UU, trxName); + if (Util.isEmpty(AD_PrintFont_UU)) + setInitialDefaults(); + } + /** * Constructor * @param ctx context @@ -53,9 +66,16 @@ public class MPrintFont extends X_AD_PrintFont implements ImmutablePOSupport { super (ctx, AD_PrintFont_ID, trxName); if (AD_PrintFont_ID == 0) - setIsDefault(false); + setInitialDefaults(); } // MPrintFont + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsDefault(false); + } + public MPrintFont(Properties ctx, ResultSet rs, String trxName) { super (ctx, rs, trxName); diff --git a/org.adempiere.base/src/org/compiere/print/MPrintFormat.java b/org.adempiere.base/src/org/compiere/print/MPrintFormat.java index bf0cc7b8c4..e87eb74bb2 100644 --- a/org.adempiere.base/src/org/compiere/print/MPrintFormat.java +++ b/org.adempiere.base/src/org/compiere/print/MPrintFormat.java @@ -63,6 +63,21 @@ public class MPrintFormat extends X_AD_PrintFormat implements ImmutablePOSupport */ private static final long serialVersionUID = 7542581302442072662L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_PrintFormat_UU UUID key + * @param trxName Transaction + */ + public MPrintFormat(Properties ctx, String AD_PrintFormat_UU, String trxName) { + super(ctx, AD_PrintFormat_UU, trxName); + // Language=[Deutsch,Locale=de_DE,AD_Language=en_US,DatePattern=DD.MM.YYYY,DecimalPoint=false] + m_language = Env.getLanguage(ctx); + if (Util.isEmpty(AD_PrintFormat_UU)) + setInitialDefaults(); + m_items = getItems(); + } + /** * Public Constructor. * Use static get methods @@ -76,15 +91,20 @@ public class MPrintFormat extends X_AD_PrintFormat implements ImmutablePOSupport // Language=[Deutsch,Locale=de_DE,AD_Language=en_US,DatePattern=DD.MM.YYYY,DecimalPoint=false] m_language = Env.getLanguage(ctx); if (AD_PrintFormat_ID == 0) - { - setStandardHeaderFooter(true); - setIsTableBased(true); - setIsForm(false); - setIsDefault(false); - } + setInitialDefaults(); m_items = getItems(); } // MPrintFormat + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setStandardHeaderFooter(true); + setIsTableBased(true); + setIsForm(false); + setIsDefault(false); + } + public void reloadItems() { m_items = getItems(); if (is_Immutable() && m_items != null && m_items.length > 0) diff --git a/org.adempiere.base/src/org/compiere/print/MPrintFormatItem.java b/org.adempiere.base/src/org/compiere/print/MPrintFormatItem.java index 5b8bd76a73..b01a7d1c8f 100644 --- a/org.adempiere.base/src/org/compiere/print/MPrintFormatItem.java +++ b/org.adempiere.base/src/org/compiere/print/MPrintFormatItem.java @@ -51,6 +51,18 @@ public class MPrintFormatItem extends X_AD_PrintFormatItem implements ImmutableP */ private static final long serialVersionUID = 2950704375830865408L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_PrintFormatItem_UU UUID key + * @param trxName Transaction + */ + public MPrintFormatItem(Properties ctx, String AD_PrintFormatItem_UU, String trxName) { + super(ctx, AD_PrintFormatItem_UU, trxName); + if (Util.isEmpty(AD_PrintFormatItem_UU)) + setInitialDefaults(); + } + /** * Constructor * @param ctx context @@ -62,48 +74,53 @@ public class MPrintFormatItem extends X_AD_PrintFormatItem implements ImmutableP super (ctx, AD_PrintFormatItem_ID, trxName); // Default Setting if (AD_PrintFormatItem_ID == 0) - { - setFieldAlignmentType(FIELDALIGNMENTTYPE_Default); - setLineAlignmentType(LINEALIGNMENTTYPE_None); - setPrintFormatType(PRINTFORMATTYPE_Text); - setPrintAreaType(PRINTAREATYPE_Content); - setShapeType(SHAPETYPE_NormalRectangle); - // - setIsCentrallyMaintained(true); - setIsRelativePosition(true); - setIsNextLine(false); - setIsNextPage(false); - setIsSetNLPosition(false); - setIsFilledRectangle(false); - setIsImageField(false); - setXSpace(0); - setYSpace(0); - setXPosition(0); - setYPosition(0); - setMaxWidth(0); - setIsFixedWidth(false); - setIsHeightOneLine(false); - setMaxHeight(0); - setLineWidth(1); - setArcDiameter(0); - // - setIsOrderBy(false); - setSortNo(0); - setIsGroupBy(false); - setIsPageBreak(false); - setIsSummarized(false); - setIsAveraged(false); - setIsCounted(false); - setIsMinCalc(false); - setIsMaxCalc(false); - setIsVarianceCalc(false); - setIsDeviationCalc(false); - setIsRunningTotal(false); - setImageIsAttached(false); - setIsSuppressNull(false); - } + setInitialDefaults(); } // MPrintFormatItem + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setFieldAlignmentType(FIELDALIGNMENTTYPE_Default); + setLineAlignmentType(LINEALIGNMENTTYPE_None); + setPrintFormatType(PRINTFORMATTYPE_Text); + setPrintAreaType(PRINTAREATYPE_Content); + setShapeType(SHAPETYPE_NormalRectangle); + // + setIsCentrallyMaintained(true); + setIsRelativePosition(true); + setIsNextLine(false); + setIsNextPage(false); + setIsSetNLPosition(false); + setIsFilledRectangle(false); + setIsImageField(false); + setXSpace(0); + setYSpace(0); + setXPosition(0); + setYPosition(0); + setMaxWidth(0); + setIsFixedWidth(false); + setIsHeightOneLine(false); + setMaxHeight(0); + setLineWidth(1); + setArcDiameter(0); + // + setIsOrderBy(false); + setSortNo(0); + setIsGroupBy(false); + setIsPageBreak(false); + setIsSummarized(false); + setIsAveraged(false); + setIsCounted(false); + setIsMinCalc(false); + setIsMaxCalc(false); + setIsVarianceCalc(false); + setIsDeviationCalc(false); + setIsRunningTotal(false); + setImageIsAttached(false); + setIsSuppressNull(false); + } + /** * Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/print/MPrintGraph.java b/org.adempiere.base/src/org/compiere/print/MPrintGraph.java index b4c493f19e..960c85f514 100644 --- a/org.adempiere.base/src/org/compiere/print/MPrintGraph.java +++ b/org.adempiere.base/src/org/compiere/print/MPrintGraph.java @@ -34,6 +34,16 @@ public class MPrintGraph extends X_AD_PrintGraph */ private static final long serialVersionUID = 4827755559898685764L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_PrintGraph_UU UUID key + * @param trxName Transaction + */ + public MPrintGraph(Properties ctx, String AD_PrintGraph_UU, String trxName) { + super(ctx, AD_PrintGraph_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/print/MPrintPaper.java b/org.adempiere.base/src/org/compiere/print/MPrintPaper.java index 76e07f1a35..24e1e95788 100644 --- a/org.adempiere.base/src/org/compiere/print/MPrintPaper.java +++ b/org.adempiere.base/src/org/compiere/print/MPrintPaper.java @@ -30,6 +30,7 @@ import org.compiere.model.X_AD_PrintPaper; import org.compiere.util.CLogger; import org.compiere.util.Env; import org.compiere.util.Language; +import org.compiere.util.Util; import org.idempiere.cache.ImmutableIntPOCache; import org.idempiere.cache.ImmutablePOSupport; @@ -97,6 +98,18 @@ public class MPrintPaper extends X_AD_PrintPaper implements ImmutablePOSupport = new ImmutableIntPOCache(Table_Name, 5); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_PrintPaper_UU UUID key + * @param trxName Transaction + */ + public MPrintPaper(Properties ctx, String AD_PrintPaper_UU, String trxName) { + super(ctx, AD_PrintPaper_UU, trxName); + if (Util.isEmpty(AD_PrintPaper_UU)) + setInitialDefaults(); + } + /************************************************************************** * Constructor * @param ctx context @@ -107,17 +120,22 @@ public class MPrintPaper extends X_AD_PrintPaper implements ImmutablePOSupport { super(ctx, AD_PrintPaper_ID, trxName); if (AD_PrintPaper_ID == 0) - { - setIsDefault (false); - setIsLandscape (true); - setCode ("iso-a4"); - setMarginTop (36); - setMarginBottom (36); - setMarginLeft (36); - setMarginRight (36); - } + setInitialDefaults(); } // MPrintPaper + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsDefault (false); + setIsLandscape (true); + setCode ("iso-a4"); + setMarginTop (36); + setMarginBottom (36); + setMarginLeft (36); + setMarginRight (36); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/print/MPrintTableFormat.java b/org.adempiere.base/src/org/compiere/print/MPrintTableFormat.java index a47456c63b..03fd91199c 100644 --- a/org.adempiere.base/src/org/compiere/print/MPrintTableFormat.java +++ b/org.adempiere.base/src/org/compiere/print/MPrintTableFormat.java @@ -36,6 +36,7 @@ import org.compiere.model.X_AD_PrintTableFormat; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutablePOSupport; import org.idempiere.cache.IntPOCopyCache; @@ -55,6 +56,18 @@ public class MPrintTableFormat extends X_AD_PrintTableFormat implements Immutabl */ private static final long serialVersionUID = -1608017405401341288L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_PrintTableFormat_UU UUID key + * @param trxName Transaction + */ + public MPrintTableFormat(Properties ctx, String AD_PrintTableFormat_UU, String trxName) { + super(ctx, AD_PrintTableFormat_UU, trxName); + if (Util.isEmpty(AD_PrintTableFormat_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -65,16 +78,21 @@ public class MPrintTableFormat extends X_AD_PrintTableFormat implements Immutabl { super (ctx, AD_PrintTableFormat_ID, trxName); if (AD_PrintTableFormat_ID == 0) - { - setIsDefault (false); - setIsPaintHeaderLines (true); // Y - setIsPaintBoundaryLines (false); - setIsPaintHLines (false); - setIsPaintVLines (false); - setIsPrintFunctionSymbols (true); - } + setInitialDefaults(); } // MPrintTableFormat + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsDefault (false); + setIsPaintHeaderLines (true); // Y + setIsPaintBoundaryLines (false); + setIsPaintHLines (false); + setIsPaintVLines (false); + setIsPrintFunctionSymbols (true); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/report/MReport.java b/org.adempiere.base/src/org/compiere/report/MReport.java index 57d2dce23f..3781810ea1 100644 --- a/org.adempiere.base/src/org/compiere/report/MReport.java +++ b/org.adempiere.base/src/org/compiere/report/MReport.java @@ -20,6 +20,7 @@ import java.sql.ResultSet; import java.util.Properties; import org.compiere.model.X_PA_Report; +import org.compiere.util.Util; /** @@ -35,6 +36,23 @@ public class MReport extends X_PA_Report */ private static final long serialVersionUID = 1765138347185608173L; + /** + * UUID based Constructor + * @param ctx Context + * @param PA_Report_UU UUID key + * @param trxName Transaction + */ + public MReport(Properties ctx, String PA_Report_UU, String trxName) { + super(ctx, PA_Report_UU, trxName); + if (Util.isEmpty(PA_Report_UU)) + setInitialDefaults(); + else + { + m_columnSet = new MReportColumnSet (ctx, getPA_ReportColumnSet_ID(), trxName); + m_lineSet = new MReportLineSet (ctx, getPA_ReportLineSet_ID(), trxName); + } + } + /** * Constructor * @param ctx context @@ -45,13 +63,7 @@ public class MReport extends X_PA_Report { super (ctx, PA_Report_ID, trxName); if (PA_Report_ID == 0) - { - // setName (null); - // setPA_ReportLineSet_ID (0); - // setPA_ReportColumnSet_ID (0); - setListSources(false); - setListTrx(false); - } + setInitialDefaults(); else { m_columnSet = new MReportColumnSet (ctx, getPA_ReportColumnSet_ID(), trxName); @@ -59,6 +71,17 @@ public class MReport extends X_PA_Report } } // MReport + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + // setName (null); + // setPA_ReportLineSet_ID (0); + // setPA_ReportColumnSet_ID (0); + setListSources(false); + setListTrx(false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/report/MReportColumn.java b/org.adempiere.base/src/org/compiere/report/MReportColumn.java index df5266622e..d5f0b579b6 100644 --- a/org.adempiere.base/src/org/compiere/report/MReportColumn.java +++ b/org.adempiere.base/src/org/compiere/report/MReportColumn.java @@ -22,6 +22,7 @@ import java.util.Properties; import java.util.logging.Level; import org.compiere.model.X_PA_ReportColumn; +import org.compiere.util.Util; /** * Report Column Model @@ -36,6 +37,18 @@ public class MReportColumn extends X_PA_ReportColumn */ private static final long serialVersionUID = 2584173320087743126L; + /** + * UUID based Constructor + * @param ctx Context + * @param PA_ReportColumn_UU UUID key + * @param trxName Transaction + */ + public MReportColumn(Properties ctx, String PA_ReportColumn_UU, String trxName) { + super(ctx, PA_ReportColumn_UU, trxName); + if (Util.isEmpty(PA_ReportColumn_UU)) + setInitialDefaults(); + } + /** * Constructor * @param ctx context @@ -46,12 +59,17 @@ public class MReportColumn extends X_PA_ReportColumn { super (ctx, PA_ReportColumn_ID, trxName); if (PA_ReportColumn_ID == 0) - { - setIsPrinted (true); - setSeqNo (0); - } + setInitialDefaults(); } // MReportColumn + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsPrinted (true); + setSeqNo (0); + } + /** * Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/report/MReportColumnSet.java b/org.adempiere.base/src/org/compiere/report/MReportColumnSet.java index 4d5fc4239b..c20518e1cb 100644 --- a/org.adempiere.base/src/org/compiere/report/MReportColumnSet.java +++ b/org.adempiere.base/src/org/compiere/report/MReportColumnSet.java @@ -24,6 +24,7 @@ import java.util.logging.Level; import org.compiere.model.X_PA_ReportColumnSet; import org.compiere.util.DB; +import org.compiere.util.Util; /** @@ -39,6 +40,18 @@ public class MReportColumnSet extends X_PA_ReportColumnSet */ private static final long serialVersionUID = -3496781398287709753L; + /** + * UUID based Constructor + * @param ctx Context + * @param PA_ReportColumnSet_UU UUID key + * @param trxName Transaction + */ + public MReportColumnSet(Properties ctx, String PA_ReportColumnSet_UU, String trxName) { + super(ctx, PA_ReportColumnSet_UU, trxName); + if (!Util.isEmpty(PA_ReportColumnSet_UU)) + loadColumns(); + } + /** * Constructor * @param ctx context @@ -48,10 +61,7 @@ public class MReportColumnSet extends X_PA_ReportColumnSet public MReportColumnSet (Properties ctx, int PA_ReportColumnSet_ID, String trxName) { super (ctx, PA_ReportColumnSet_ID, trxName); - if (PA_ReportColumnSet_ID == 0) - { - } - else + if (PA_ReportColumnSet_ID != 0) loadColumns(); } // MReportColumnSet diff --git a/org.adempiere.base/src/org/compiere/report/MReportLine.java b/org.adempiere.base/src/org/compiere/report/MReportLine.java index 2e49a197bc..00a71e4fc7 100644 --- a/org.adempiere.base/src/org/compiere/report/MReportLine.java +++ b/org.adempiere.base/src/org/compiere/report/MReportLine.java @@ -28,6 +28,7 @@ import java.util.logging.Level; import org.compiere.model.MAcctSchemaElement; import org.compiere.model.X_PA_ReportLine; import org.compiere.util.DB; +import org.compiere.util.Util; /** @@ -46,6 +47,20 @@ public class MReportLine extends X_PA_ReportLine private BasicStroke overline_Stroke; private Stroke underline_Stroke; + /** + * UUID based Constructor + * @param ctx Context + * @param PA_ReportLine_UU UUID key + * @param trxName Transaction + */ + public MReportLine(Properties ctx, String PA_ReportLine_UU, String trxName) { + super(ctx, PA_ReportLine_UU, trxName); + if (Util.isEmpty(PA_ReportLine_UU)) + setInitialDefaults(); + else + loadSources(); + } + /** * Constructor * @param ctx context @@ -56,15 +71,20 @@ public class MReportLine extends X_PA_ReportLine { super (ctx, PA_ReportLine_ID, trxName); if (PA_ReportLine_ID == 0) - { - setSeqNo (0); - // setIsSummary (false); // not active in DD - setIsPrinted (false); - } + setInitialDefaults(); else loadSources(); } // MReportLine + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setSeqNo (0); + // setIsSummary (false); // not active in DD + setIsPrinted (false); + } + /** * Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/report/MReportLineSet.java b/org.adempiere.base/src/org/compiere/report/MReportLineSet.java index ead9f353e6..bd1594fe02 100644 --- a/org.adempiere.base/src/org/compiere/report/MReportLineSet.java +++ b/org.adempiere.base/src/org/compiere/report/MReportLineSet.java @@ -24,6 +24,7 @@ import java.util.logging.Level; import org.compiere.model.X_PA_ReportLineSet; import org.compiere.util.DB; +import org.compiere.util.Util; /** @@ -39,6 +40,18 @@ public class MReportLineSet extends X_PA_ReportLineSet */ private static final long serialVersionUID = 6882950634644885097L; + /** + * UUID based Constructor + * @param ctx Context + * @param PA_ReportLineSet_UU UUID key + * @param trxName Transaction + */ + public MReportLineSet(Properties ctx, String PA_ReportLineSet_UU, String trxName) { + super(ctx, PA_ReportLineSet_UU, trxName); + if (!Util.isEmpty(PA_ReportLineSet_UU)) + loadLines(); + } + /** * Constructor * @param ctx context @@ -48,10 +61,7 @@ public class MReportLineSet extends X_PA_ReportLineSet public MReportLineSet (Properties ctx, int PA_ReportLineSet_ID, String trxName) { super (ctx, PA_ReportLineSet_ID, trxName); - if (PA_ReportLineSet_ID == 0) - { - } - else + if (PA_ReportLineSet_ID != 0) loadLines(); } // MReportLineSet diff --git a/org.adempiere.base/src/org/compiere/report/MReportSource.java b/org.adempiere.base/src/org/compiere/report/MReportSource.java index 435687eaad..1d7fc117d7 100644 --- a/org.adempiere.base/src/org/compiere/report/MReportSource.java +++ b/org.adempiere.base/src/org/compiere/report/MReportSource.java @@ -36,6 +36,16 @@ public class MReportSource extends X_PA_ReportSource private static final long serialVersionUID = 6085437491271873555L; + /** + * UUID based Constructor + * @param ctx Context + * @param PA_ReportSource_UU UUID key + * @param trxName Transaction + */ + public MReportSource(Properties ctx, String PA_ReportSource_UU, String trxName) { + super(ctx, PA_ReportSource_UU, trxName); + } + /** * Constructor * @param ctx context @@ -45,9 +55,6 @@ public class MReportSource extends X_PA_ReportSource public MReportSource (Properties ctx, int PA_ReportSource_ID, String trxName) { super (ctx, PA_ReportSource_ID, trxName); - if (PA_ReportSource_ID == 0) - { - } } // MReportSource /** diff --git a/org.adempiere.base/src/org/compiere/wf/MWFActivity.java b/org.adempiere.base/src/org/compiere/wf/MWFActivity.java index d5ada0ce38..ac634aa72c 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWFActivity.java +++ b/org.adempiere.base/src/org/compiere/wf/MWFActivity.java @@ -143,6 +143,19 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable } // getActivityInfo + /** + * UUID based Constructor + * @param ctx Context + * @param AD_WF_Activity_UU UUID key + * @param trxName Transaction + */ + public MWFActivity(Properties ctx, String AD_WF_Activity_UU, String trxName) { + super(ctx, AD_WF_Activity_UU, trxName); + if (Util.isEmpty(AD_WF_Activity_UU)) + throw new IllegalArgumentException ("Cannot create new WF Activity directly"); + m_state = new StateEngine (getWFState()); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/wf/MWFBlock.java b/org.adempiere.base/src/org/compiere/wf/MWFBlock.java index e33ee26301..b5e2e7efb8 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWFBlock.java +++ b/org.adempiere.base/src/org/compiere/wf/MWFBlock.java @@ -73,6 +73,16 @@ public class MWFBlock extends X_AD_WF_Block implements ImmutablePOSupport private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 20); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_WF_Block_UU UUID key + * @param trxName Transaction + */ + public MWFBlock(Properties ctx, String AD_WF_Block_UU, String trxName) { + super(ctx, AD_WF_Block_UU, trxName); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/wf/MWFEventAudit.java b/org.adempiere.base/src/org/compiere/wf/MWFEventAudit.java index 7bc8e9acf7..3cdd077b37 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWFEventAudit.java +++ b/org.adempiere.base/src/org/compiere/wf/MWFEventAudit.java @@ -109,6 +109,16 @@ public class MWFEventAudit extends X_AD_WF_EventAudit } // get + /** + * UUID based Constructor + * @param ctx Context + * @param AD_WF_EventAudit_UU UUID key + * @param trxName Transaction + */ + public MWFEventAudit(Properties ctx, String AD_WF_EventAudit_UU, String trxName) { + super(ctx, AD_WF_EventAudit_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/wf/MWFNextCondition.java b/org.adempiere.base/src/org/compiere/wf/MWFNextCondition.java index d8340a9435..46611008d2 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWFNextCondition.java +++ b/org.adempiere.base/src/org/compiere/wf/MWFNextCondition.java @@ -46,6 +46,16 @@ public class MWFNextCondition extends X_AD_WF_NextCondition implements Immutable */ private static final long serialVersionUID = 3119863973003103716L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_WF_NextCondition_UU UUID key + * @param trxName Transaction + */ + public MWFNextCondition(Properties ctx, String AD_WF_NextCondition_UU, String trxName) { + super(ctx, AD_WF_NextCondition_UU, trxName); + } + /** * Default Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/wf/MWFNode.java b/org.adempiere.base/src/org/compiere/wf/MWFNode.java index fee55eb64d..85e81adf03 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWFNode.java +++ b/org.adempiere.base/src/org/compiere/wf/MWFNode.java @@ -38,8 +38,9 @@ import org.compiere.model.X_AD_WF_Node; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; -import org.idempiere.cache.ImmutablePOSupport; +import org.compiere.util.Util; import org.idempiere.cache.ImmutablePOCache; +import org.idempiere.cache.ImmutablePOSupport; /** * Workflow Node Model @@ -109,6 +110,22 @@ public class MWFNode extends X_AD_WF_Node implements ImmutablePOSupport private static ImmutablePOCache s_cache = new ImmutablePOCache (Table_Name, 50); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_WF_Node_UU UUID key + * @param trxName Transaction + */ + public MWFNode(Properties ctx, String AD_WF_Node_UU, String trxName) { + super(ctx, AD_WF_Node_UU, trxName); + if (Util.isEmpty(AD_WF_Node_UU)) + setInitialDefaults(); + if (getAD_WF_Node_ID() > 0) { + loadNext(); + loadTrl(); + } + } + /************************************************************************** * Standard Constructor - save to cache * @param ctx context @@ -119,29 +136,34 @@ public class MWFNode extends X_AD_WF_Node implements ImmutablePOSupport { super (ctx, AD_WF_Node_ID, trxName); if (AD_WF_Node_ID == 0) - { - // setAD_WF_Node_ID (0); - // setAD_Workflow_ID (0); - // setValue (null); - // setName (null); - setAction (ACTION_WaitSleep); - setCost (Env.ZERO); - setDuration (0); - setEntityType (ENTITYTYPE_UserMaintained); // U - setIsCentrallyMaintained (true); // Y - setJoinElement (JOINELEMENT_XOR); // X - setLimit (0); - setSplitElement (SPLITELEMENT_XOR); // X - setWaitingTime (0); - setXPosition (0); - setYPosition (0); - } + setInitialDefaults(); if (getAD_WF_Node_ID() > 0) { loadNext(); loadTrl(); } } // MWFNode + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + // setAD_WF_Node_ID (0); + // setAD_Workflow_ID (0); + // setValue (null); + // setName (null); + setAction (ACTION_WaitSleep); + setCost (Env.ZERO); + setDuration (0); + setEntityType (ENTITYTYPE_UserMaintained); // U + setIsCentrallyMaintained (true); // Y + setJoinElement (JOINELEMENT_XOR); // X + setLimit (0); + setSplitElement (SPLITELEMENT_XOR); // X + setWaitingTime (0); + setXPosition (0); + setYPosition (0); + } + /** * Parent Constructor * @param wf workflow (parent) diff --git a/org.adempiere.base/src/org/compiere/wf/MWFNodeNext.java b/org.adempiere.base/src/org/compiere/wf/MWFNodeNext.java index bdbd5eaffd..9304ec99a3 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWFNodeNext.java +++ b/org.adempiere.base/src/org/compiere/wf/MWFNodeNext.java @@ -28,6 +28,7 @@ import org.compiere.model.X_AD_WF_NodeNext; import org.compiere.process.DocAction; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Util; import org.idempiere.cache.ImmutablePOSupport; /** @@ -43,6 +44,18 @@ public class MWFNodeNext extends X_AD_WF_NodeNext implements ImmutablePOSupport */ private static final long serialVersionUID = 5965306487040965994L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_WF_NodeNext_UU UUID key + * @param trxName Transaction + */ + public MWFNodeNext(Properties ctx, String AD_WF_NodeNext_UU, String trxName) { + super(ctx, AD_WF_NodeNext_UU, trxName); + if (Util.isEmpty(AD_WF_NodeNext_UU)) + setInitialDefaults(); + } + /** * Standard Costructor * @param ctx context @@ -53,15 +66,20 @@ public class MWFNodeNext extends X_AD_WF_NodeNext implements ImmutablePOSupport { super (ctx, AD_WF_NodeNext_ID, trxName); if (AD_WF_NodeNext_ID == 0) - { - // setAD_WF_Next_ID (0); - // setAD_WF_Node_ID (0); - setEntityType (ENTITYTYPE_UserMaintained); // U - setIsStdUserWorkflow (false); - setSeqNo (10); // 10 - } + setInitialDefaults(); } // MWFNodeNext + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + // setAD_WF_Next_ID (0); + // setAD_WF_Node_ID (0); + setEntityType (ENTITYTYPE_UserMaintained); // U + setIsStdUserWorkflow (false); + setSeqNo (10); // 10 + } + /** * Default Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/wf/MWFNodePara.java b/org.adempiere.base/src/org/compiere/wf/MWFNodePara.java index 7d0442c47b..a901c7883d 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWFNodePara.java +++ b/org.adempiere.base/src/org/compiere/wf/MWFNodePara.java @@ -58,6 +58,16 @@ public class MWFNodePara extends X_AD_WF_Node_Para implements ImmutablePOSupport } // getParameters + /** + * UUID based Constructor + * @param ctx Context + * @param AD_WF_Node_Para_UU UUID key + * @param trxName Transaction + */ + public MWFNodePara(Properties ctx, String AD_WF_Node_Para_UU, String trxName) { + super(ctx, AD_WF_Node_Para_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/wf/MWFProcess.java b/org.adempiere.base/src/org/compiere/wf/MWFProcess.java index d7abceb7c7..e92a92f838 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWFProcess.java +++ b/org.adempiere.base/src/org/compiere/wf/MWFProcess.java @@ -51,6 +51,19 @@ public class MWFProcess extends X_AD_WF_Process */ private static final long serialVersionUID = 5981488658756275526L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_WF_Process_UU UUID key + * @param trxName Transaction + */ + public MWFProcess(Properties ctx, String AD_WF_Process_UU, String trxName) { + super(ctx, AD_WF_Process_UU, trxName); + if (Util.isEmpty(AD_WF_Process_UU)) + throw new IllegalArgumentException ("Cannot create new WF Process directly"); + m_state = new StateEngine (getWFState()); + } + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/wf/MWFResponsible.java b/org.adempiere.base/src/org/compiere/wf/MWFResponsible.java index b17b57ee93..5c10c9979a 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWFResponsible.java +++ b/org.adempiere.base/src/org/compiere/wf/MWFResponsible.java @@ -90,6 +90,16 @@ public class MWFResponsible extends X_AD_WF_Responsible implements ImmutablePOSu private static ImmutableIntPOCache s_cache = new ImmutableIntPOCache(Table_Name, 10); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_WF_Responsible_UU UUID key + * @param trxName Transaction + */ + public MWFResponsible(Properties ctx, String AD_WF_Responsible_UU, String trxName) { + super(ctx, AD_WF_Responsible_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/wf/MWorkflow.java b/org.adempiere.base/src/org/compiere/wf/MWorkflow.java index 0d50d0bf4d..8b1deae48a 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWorkflow.java +++ b/org.adempiere.base/src/org/compiere/wf/MWorkflow.java @@ -197,6 +197,20 @@ public class MWorkflow extends X_AD_Workflow implements ImmutablePOSupport private static CLogger s_log = CLogger.getCLogger (MWorkflow.class); + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Workflow_UU UUID key + * @param trxName Transaction + */ + public MWorkflow(Properties ctx, String AD_Workflow_UU, String trxName) { + super(ctx, AD_Workflow_UU, trxName); + if (Util.isEmpty(AD_Workflow_UU)) + setInitialDefaults(); + loadTrl(); + loadNodes(); + } + /************************************************************************** * Create/Load Workflow * @param ctx Context @@ -207,27 +221,32 @@ public class MWorkflow extends X_AD_Workflow implements ImmutablePOSupport { super (ctx, AD_Workflow_ID, trxName); if (AD_Workflow_ID == 0) - { - // setAD_Workflow_ID (0); - // setValue (null); - // setName (null); - setAccessLevel (ACCESSLEVEL_Organization); - setAuthor ("ComPiere, Inc."); - setDurationUnit(DURATIONUNIT_Day); - setDuration (1); - setEntityType (ENTITYTYPE_UserMaintained); // U - setIsDefault (false); - setPublishStatus (PUBLISHSTATUS_UnderRevision); // U - setVersion (0); - setCost (Env.ZERO); - setWaitingTime (0); - setWorkingTime (0); - setIsBetaFunctionality(false); - } + setInitialDefaults(); loadTrl(); loadNodes(); } // MWorkflow + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + // setAD_Workflow_ID (0); + // setValue (null); + // setName (null); + setAccessLevel (ACCESSLEVEL_Organization); + setAuthor ("ComPiere, Inc."); + setDurationUnit(DURATIONUNIT_Day); + setDuration (1); + setEntityType (ENTITYTYPE_UserMaintained); // U + setIsDefault (false); + setPublishStatus (PUBLISHSTATUS_UnderRevision); // U + setVersion (0); + setCost (Env.ZERO); + setWaitingTime (0); + setWorkingTime (0); + setIsBetaFunctionality(false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/wf/MWorkflowAccess.java b/org.adempiere.base/src/org/compiere/wf/MWorkflowAccess.java index b5d5ad697c..5e46c289ee 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWorkflowAccess.java +++ b/org.adempiere.base/src/org/compiere/wf/MWorkflowAccess.java @@ -21,6 +21,7 @@ import java.util.Properties; import org.compiere.model.MRole; import org.compiere.model.X_AD_Workflow_Access; +import org.compiere.util.Util; /** @@ -37,6 +38,18 @@ public class MWorkflowAccess extends X_AD_Workflow_Access */ private static final long serialVersionUID = 2598861248782340850L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_Workflow_Access_UU UUID key + * @param trxName Transaction + */ + public MWorkflowAccess(Properties ctx, String AD_Workflow_Access_UU, String trxName) { + super(ctx, AD_Workflow_Access_UU, trxName); + if (Util.isEmpty(AD_Workflow_Access_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -49,12 +62,17 @@ public class MWorkflowAccess extends X_AD_Workflow_Access if (ignored != 0) throw new IllegalArgumentException("Multi-Key"); else - { + setInitialDefaults(); + } // MWorkflowAccess + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { // setAD_Role_ID (0); // setAD_Workflow_ID (0); - setIsReadWrite (true); - } - } // MWorkflowAccess + setIsReadWrite (true); + } /** * Load Constructor diff --git a/org.adempiere.base/src/org/compiere/wf/MWorkflowProcessor.java b/org.adempiere.base/src/org/compiere/wf/MWorkflowProcessor.java index 5bfea31fae..332c4dce98 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWorkflowProcessor.java +++ b/org.adempiere.base/src/org/compiere/wf/MWorkflowProcessor.java @@ -63,6 +63,16 @@ public class MWorkflowProcessor extends X_AD_WorkflowProcessor } // getActive + /** + * UUID based Constructor + * @param ctx Context + * @param AD_WorkflowProcessor_UU UUID key + * @param trxName Transaction + */ + public MWorkflowProcessor(Properties ctx, String AD_WorkflowProcessor_UU, String trxName) { + super(ctx, AD_WorkflowProcessor_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/compiere/wf/MWorkflowProcessorLog.java b/org.adempiere.base/src/org/compiere/wf/MWorkflowProcessorLog.java index 6be139078f..e5f4d7e311 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWorkflowProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/wf/MWorkflowProcessorLog.java @@ -21,6 +21,7 @@ import java.util.Properties; import org.compiere.model.AdempiereProcessorLog; import org.compiere.model.X_AD_WorkflowProcessorLog; +import org.compiere.util.Util; /** @@ -37,6 +38,18 @@ public class MWorkflowProcessorLog extends X_AD_WorkflowProcessorLog */ private static final long serialVersionUID = 7646579803939292482L; + /** + * UUID based Constructor + * @param ctx Context + * @param AD_WorkflowProcessorLog_UU UUID key + * @param trxName Transaction + */ + public MWorkflowProcessorLog(Properties ctx, String AD_WorkflowProcessorLog_UU, String trxName) { + super(ctx, AD_WorkflowProcessorLog_UU, trxName); + if (Util.isEmpty(AD_WorkflowProcessorLog_UU)) + setInitialDefaults(); + } + /** * Standard Constructor * @param ctx context @@ -47,11 +60,16 @@ public class MWorkflowProcessorLog extends X_AD_WorkflowProcessorLog { super (ctx, AD_WorkflowProcessorLog_ID, trxName); if (AD_WorkflowProcessorLog_ID == 0) - { - setIsError (false); - } + setInitialDefaults(); } // MWorkflowProcessorLog + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setIsError (false); + } + /** * Load Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/eevolution/model/I_C_TaxBase.java b/org.adempiere.base/src/org/eevolution/model/I_C_TaxBase.java index 1d9a114dbd..dcf990d81c 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_C_TaxBase.java +++ b/org.adempiere.base/src/org/eevolution/model/I_C_TaxBase.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_TaxBase * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_C_TaxBase diff --git a/org.adempiere.base/src/org/eevolution/model/I_C_TaxDefinition.java b/org.adempiere.base/src/org/eevolution/model/I_C_TaxDefinition.java index 2746369698..8e3425ea61 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_C_TaxDefinition.java +++ b/org.adempiere.base/src/org/eevolution/model/I_C_TaxDefinition.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_TaxDefinition * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_C_TaxDefinition diff --git a/org.adempiere.base/src/org/eevolution/model/I_C_TaxGroup.java b/org.adempiere.base/src/org/eevolution/model/I_C_TaxGroup.java index 73387ad899..3db65773fd 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_C_TaxGroup.java +++ b/org.adempiere.base/src/org/eevolution/model/I_C_TaxGroup.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_TaxGroup * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_C_TaxGroup diff --git a/org.adempiere.base/src/org/eevolution/model/I_C_TaxType.java b/org.adempiere.base/src/org/eevolution/model/I_C_TaxType.java index 8d06926f33..8b41ec5b7f 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_C_TaxType.java +++ b/org.adempiere.base/src/org/eevolution/model/I_C_TaxType.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for C_TaxType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_C_TaxType diff --git a/org.adempiere.base/src/org/eevolution/model/I_DD_NetworkDistribution.java b/org.adempiere.base/src/org/eevolution/model/I_DD_NetworkDistribution.java index e97bde3b98..8b595dd0fa 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_DD_NetworkDistribution.java +++ b/org.adempiere.base/src/org/eevolution/model/I_DD_NetworkDistribution.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for DD_NetworkDistribution * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_DD_NetworkDistribution diff --git a/org.adempiere.base/src/org/eevolution/model/I_DD_NetworkDistributionLine.java b/org.adempiere.base/src/org/eevolution/model/I_DD_NetworkDistributionLine.java index 012c6b57bc..9c20f1a17c 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_DD_NetworkDistributionLine.java +++ b/org.adempiere.base/src/org/eevolution/model/I_DD_NetworkDistributionLine.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for DD_NetworkDistributionLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_DD_NetworkDistributionLine diff --git a/org.adempiere.base/src/org/eevolution/model/I_DD_Order.java b/org.adempiere.base/src/org/eevolution/model/I_DD_Order.java index 0dd0af1322..aa15f64269 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_DD_Order.java +++ b/org.adempiere.base/src/org/eevolution/model/I_DD_Order.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for DD_Order * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_DD_Order diff --git a/org.adempiere.base/src/org/eevolution/model/I_DD_OrderLine.java b/org.adempiere.base/src/org/eevolution/model/I_DD_OrderLine.java index da409e5e4d..936273b693 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_DD_OrderLine.java +++ b/org.adempiere.base/src/org/eevolution/model/I_DD_OrderLine.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for DD_OrderLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_DD_OrderLine diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Attribute.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Attribute.java index a567542c7f..99c0c53ddd 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Attribute.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Attribute.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Attribute * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_Attribute diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Concept.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Concept.java index 011138823e..fe83a65881 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Concept.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Concept.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Concept * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_Concept diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Concept_Acct.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Concept_Acct.java index 2b2684f1ba..7b9b8a89ee 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Concept_Acct.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Concept_Acct.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Concept_Acct * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_Concept_Acct diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Concept_Category.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Concept_Category.java index b498e5c081..0944c0f6bf 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Concept_Category.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Concept_Category.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Concept_Category * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_Concept_Category diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Contract.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Contract.java index 8bf2681936..d1fe5bbc3d 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Contract.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Contract.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Contract * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_Contract diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Department.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Department.java index a7afeab26d..7feda5dd9d 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Department.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Department.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Department * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_Department diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Employee.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Employee.java index 0a6bb3f59c..a612ddeec7 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Employee.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Employee.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Employee * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_Employee diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Job.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Job.java index ff1e5de59c..97051fc921 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Job.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Job.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Job * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_Job diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_List.java b/org.adempiere.base/src/org/eevolution/model/I_HR_List.java index b053e6e733..c15d1746f8 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_List.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_List.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_List * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_List diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_ListLine.java b/org.adempiere.base/src/org/eevolution/model/I_HR_ListLine.java index 3bdc9d6d2d..76bbfaa884 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_ListLine.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_ListLine.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_ListLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_ListLine diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_ListType.java b/org.adempiere.base/src/org/eevolution/model/I_HR_ListType.java index 2fdbf30244..6a1be7dba8 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_ListType.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_ListType.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_ListType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_ListType diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_ListVersion.java b/org.adempiere.base/src/org/eevolution/model/I_HR_ListVersion.java index bd525d8aff..4e1c091149 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_ListVersion.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_ListVersion.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_ListVersion * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_ListVersion diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Movement.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Movement.java index 5c9cf1d73d..1b05d8f331 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Movement.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Movement.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Movement * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_Movement diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Payroll.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Payroll.java index 37a535d2b0..c07f246e57 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Payroll.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Payroll.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Payroll * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_Payroll diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_PayrollConcept.java b/org.adempiere.base/src/org/eevolution/model/I_HR_PayrollConcept.java index d0509ca6f2..5c3d46b6d2 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_PayrollConcept.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_PayrollConcept.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_PayrollConcept * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_PayrollConcept diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Period.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Period.java index bfee2925eb..72499f4166 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Period.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Period.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Period * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_Period diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Process.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Process.java index bad54d7948..235b661cad 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Process.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Process.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Process * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_Process diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Year.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Year.java index 7156b8a815..7358ad54da 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Year.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Year.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for HR_Year * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_HR_Year diff --git a/org.adempiere.base/src/org/eevolution/model/I_I_HR_Movement.java b/org.adempiere.base/src/org/eevolution/model/I_I_HR_Movement.java index d105011883..d15632bf98 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_I_HR_Movement.java +++ b/org.adempiere.base/src/org/eevolution/model/I_I_HR_Movement.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_HR_Movement * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_I_HR_Movement diff --git a/org.adempiere.base/src/org/eevolution/model/I_I_Movement.java b/org.adempiere.base/src/org/eevolution/model/I_I_Movement.java index 90e90e34d8..8ed4d58004 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_I_Movement.java +++ b/org.adempiere.base/src/org/eevolution/model/I_I_Movement.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_Movement * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_I_Movement diff --git a/org.adempiere.base/src/org/eevolution/model/I_I_ProductPlanning.java b/org.adempiere.base/src/org/eevolution/model/I_I_ProductPlanning.java index b38557e660..f47eaeea37 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_I_ProductPlanning.java +++ b/org.adempiere.base/src/org/eevolution/model/I_I_ProductPlanning.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for I_ProductPlanning * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_I_ProductPlanning diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Cost_Collector.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Cost_Collector.java index 78d4ab254a..a801707d1c 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Cost_Collector.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Cost_Collector.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Cost_Collector * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_Cost_Collector diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Cost_CollectorMA.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Cost_CollectorMA.java index eb00a3612d..e91aa71b13 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Cost_CollectorMA.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Cost_CollectorMA.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Cost_CollectorMA * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_Cost_CollectorMA diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_MRP.java b/org.adempiere.base/src/org/eevolution/model/I_PP_MRP.java index 8151249135..30905e00a5 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_MRP.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_MRP.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_MRP * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_MRP diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Order.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Order.java index 530fd99850..7d91604789 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Order.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Order.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_Order diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_BOM.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_BOM.java index 3223dbc619..ed0347a6cf 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_BOM.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_BOM.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_BOM * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_Order_BOM diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_BOMLine.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_BOMLine.java index 40d515dcfe..f6c22b1fe4 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_BOMLine.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_BOMLine.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_BOMLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_Order_BOMLine diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Cost.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Cost.java index 839dd14064..b825f9cadb 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Cost.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Cost.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_Cost * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_Order_Cost diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node.java index 598f02775c..671983df38 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_Node * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_Order_Node diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_NodeNext.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_NodeNext.java index 79394ec4ed..350c32c055 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_NodeNext.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_NodeNext.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_NodeNext * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_Order_NodeNext diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node_Asset.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node_Asset.java index dea0a999a4..c6c288bb3a 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node_Asset.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node_Asset.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_Node_Asset * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_Order_Node_Asset diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node_Product.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node_Product.java index 4910c24302..aa255069eb 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node_Product.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node_Product.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_Node_Product * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_Order_Node_Product diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Workflow.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Workflow.java index cca688b225..d0725ec632 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Workflow.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Workflow.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Order_Workflow * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_Order_Workflow diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Product_BOM.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Product_BOM.java index 53fc53705b..7d01488c47 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Product_BOM.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Product_BOM.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Product_BOM * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_Product_BOM diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Product_BOMLine.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Product_BOMLine.java index d5c447480f..5a5245c082 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Product_BOMLine.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Product_BOMLine.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Product_BOMLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_Product_BOMLine diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Product_Planning.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Product_Planning.java index 450e176359..fc92f4b908 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Product_Planning.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Product_Planning.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_Product_Planning * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_Product_Planning diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_WF_Node_Asset.java b/org.adempiere.base/src/org/eevolution/model/I_PP_WF_Node_Asset.java index d0a11d452e..2416860ce2 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_WF_Node_Asset.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_WF_Node_Asset.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_WF_Node_Asset * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_WF_Node_Asset diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_WF_Node_Product.java b/org.adempiere.base/src/org/eevolution/model/I_PP_WF_Node_Product.java index 3fbce3c05e..21d7f29e7d 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_WF_Node_Product.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_WF_Node_Product.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for PP_WF_Node_Product * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_PP_WF_Node_Product diff --git a/org.adempiere.base/src/org/eevolution/model/I_QM_Specification.java b/org.adempiere.base/src/org/eevolution/model/I_QM_Specification.java index 66624e2ad7..d1c3eee58b 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_QM_Specification.java +++ b/org.adempiere.base/src/org/eevolution/model/I_QM_Specification.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for QM_Specification * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_QM_Specification diff --git a/org.adempiere.base/src/org/eevolution/model/I_QM_SpecificationLine.java b/org.adempiere.base/src/org/eevolution/model/I_QM_SpecificationLine.java index bacbb394f3..66a4054af1 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_QM_SpecificationLine.java +++ b/org.adempiere.base/src/org/eevolution/model/I_QM_SpecificationLine.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for QM_SpecificationLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_QM_SpecificationLine diff --git a/org.adempiere.base/src/org/eevolution/model/I_T_BOMLine.java b/org.adempiere.base/src/org/eevolution/model/I_T_BOMLine.java index 77ed066fa1..a9cbef2f8b 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_T_BOMLine.java +++ b/org.adempiere.base/src/org/eevolution/model/I_T_BOMLine.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for T_BOMLine * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_T_BOMLine diff --git a/org.adempiere.base/src/org/eevolution/model/I_T_MRP_CRP.java b/org.adempiere.base/src/org/eevolution/model/I_T_MRP_CRP.java index 8834314212..f2f2862301 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_T_MRP_CRP.java +++ b/org.adempiere.base/src/org/eevolution/model/I_T_MRP_CRP.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for T_MRP_CRP * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_T_MRP_CRP diff --git a/org.adempiere.base/src/org/eevolution/model/MDDOrder.java b/org.adempiere.base/src/org/eevolution/model/MDDOrder.java index df6474d574..05d7a55d3d 100644 --- a/org.adempiere.base/src/org/eevolution/model/MDDOrder.java +++ b/org.adempiere.base/src/org/eevolution/model/MDDOrder.java @@ -124,6 +124,18 @@ public class MDDOrder extends X_DD_Order implements DocAction } // copyFrom + /** + * UUID based Constructor + * @param ctx Context + * @param DD_Order_UU UUID key + * @param trxName Transaction + */ + public MDDOrder(Properties ctx, String DD_Order_UU, String trxName) { + super(ctx, DD_Order_UU, trxName); + if (Util.isEmpty(DD_Order_UU)) + setInitialDefaults(); + } + /************************************************************************** * Default Constructor * @param ctx context @@ -135,37 +147,41 @@ public class MDDOrder extends X_DD_Order implements DocAction super (ctx, DD_Order_ID, trxName); // New if (DD_Order_ID == 0) - { - setDocStatus(DOCSTATUS_Drafted); - setDocAction (DOCACTION_Prepare); - // - setDeliveryRule (DELIVERYRULE_Availability); - setFreightCostRule (FREIGHTCOSTRULE_FreightIncluded); - setPriorityRule (PRIORITYRULE_Medium); - setDeliveryViaRule (DELIVERYVIARULE_Pickup); - // - setIsSelected (false); - setIsSOTrx (true); - setIsDropShip(false); - setSendEMail (false); - // - setIsApproved(false); - setIsPrinted(false); - setIsDelivered(false); - // - super.setProcessed(false); - setProcessing(false); - setPosted(false); - - setDatePromised (new Timestamp(System.currentTimeMillis())); - setDateOrdered (new Timestamp(System.currentTimeMillis())); - - setFreightAmt (Env.ZERO); - setChargeAmt (Env.ZERO); - - } + setInitialDefaults(); } // MDDOrder + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { + setDocStatus(DOCSTATUS_Drafted); + setDocAction (DOCACTION_Prepare); + // + setDeliveryRule (DELIVERYRULE_Availability); + setFreightCostRule (FREIGHTCOSTRULE_FreightIncluded); + setPriorityRule (PRIORITYRULE_Medium); + setDeliveryViaRule (DELIVERYVIARULE_Pickup); + // + setIsSelected (false); + setIsSOTrx (true); + setIsDropShip(false); + setSendEMail (false); + // + setIsApproved(false); + setIsPrinted(false); + setIsDelivered(false); + // + super.setProcessed(false); + setProcessing(false); + setPosted(false); + + setDatePromised (new Timestamp(System.currentTimeMillis())); + setDateOrdered (new Timestamp(System.currentTimeMillis())); + + setFreightAmt (Env.ZERO); + setChargeAmt (Env.ZERO); + } + /************************************************************************** * Project Constructor * @param project Project to create Order from diff --git a/org.adempiere.base/src/org/eevolution/model/MDDOrderLine.java b/org.adempiere.base/src/org/eevolution/model/MDDOrderLine.java index bd3b7e43ec..46d9134751 100644 --- a/org.adempiere.base/src/org/eevolution/model/MDDOrderLine.java +++ b/org.adempiere.base/src/org/eevolution/model/MDDOrderLine.java @@ -32,6 +32,7 @@ import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Order Line Model. @@ -93,6 +94,18 @@ public class MDDOrderLine extends X_DD_OrderLine @SuppressWarnings("unused") private static CLogger s_log = CLogger.getCLogger (MDDOrderLine.class); + /** + * UUID based Constructor + * @param ctx Context + * @param DD_OrderLine_UU UUID key + * @param trxName Transaction + */ + public MDDOrderLine(Properties ctx, String DD_OrderLine_UU, String trxName) { + super(ctx, DD_OrderLine_UU, trxName); + if (Util.isEmpty(DD_OrderLine_UU)) + setInitialDefaults(); + } + /************************************************************************** * Default Constructor * @param ctx context @@ -103,7 +116,13 @@ public class MDDOrderLine extends X_DD_OrderLine { super (ctx, C_OrderLine_ID, trxName); if (C_OrderLine_ID == 0) - { + setInitialDefaults(); + } // MDDOrderLine + + /** + * Set the initial defaults for a new record + */ + private void setInitialDefaults() { // setC_Order_ID (0); // setLine (0); // setM_Warehouse_ID (0); // @M_Warehouse_ID@ @@ -111,30 +130,29 @@ public class MDDOrderLine extends X_DD_OrderLine // setC_BPartner_Location_ID (0); // @C_BPartner_Location_ID@ // setC_Currency_ID (0); // @C_Currency_ID@ // setDateOrdered (new Timestamp(System.currentTimeMillis())); // @DateOrdered@ - // + // // setC_Tax_ID (0); // setC_UOM_ID (0); - // - setFreightAmt (Env.ZERO); - setLineNetAmt (Env.ZERO); - // - setM_AttributeSetInstance_ID(0); - // - setQtyEntered (Env.ZERO); - setQtyInTransit (Env.ZERO); - setConfirmedQty(Env.ZERO); - setTargetQty(Env.ZERO); - setPickedQty(Env.ZERO); - setQtyOrdered (Env.ZERO); // 1 - setQtyDelivered (Env.ZERO); - setQtyReserved (Env.ZERO); - // - setIsDescription (false); // N - setProcessed (false); - setLine (0); - } - } // MDDOrderLine - + // + setFreightAmt (Env.ZERO); + setLineNetAmt (Env.ZERO); + // + setM_AttributeSetInstance_ID(0); + // + setQtyEntered (Env.ZERO); + setQtyInTransit (Env.ZERO); + setConfirmedQty(Env.ZERO); + setTargetQty(Env.ZERO); + setPickedQty(Env.ZERO); + setQtyOrdered (Env.ZERO); // 1 + setQtyDelivered (Env.ZERO); + setQtyReserved (Env.ZERO); + // + setIsDescription (false); // N + setProcessed (false); + setLine (0); + } + /** * Parent Constructor. ol.setM_Product_ID(wbl.getM_Product_ID()); diff --git a/org.adempiere.base/src/org/eevolution/model/MPPProductBOM.java b/org.adempiere.base/src/org/eevolution/model/MPPProductBOM.java index 389dbe547d..5051f8e2c3 100644 --- a/org.adempiere.base/src/org/eevolution/model/MPPProductBOM.java +++ b/org.adempiere.base/src/org/eevolution/model/MPPProductBOM.java @@ -233,6 +233,16 @@ public class MPPProductBOM extends X_PP_Product_BOM implements ImmutablePOSuppor } + /** + * UUID based Constructor + * @param ctx Context + * @param PP_Product_BOM_UU UUID key + * @param trxName Transaction + */ + public MPPProductBOM(Properties ctx, String PP_Product_BOM_UU, String trxName) { + super(ctx, PP_Product_BOM_UU, trxName); + } + public MPPProductBOM(Properties ctx, int PP_Product_BOM_ID,String trxName) { super (ctx, PP_Product_BOM_ID, trxName); diff --git a/org.adempiere.base/src/org/eevolution/model/MPPProductBOMLine.java b/org.adempiere.base/src/org/eevolution/model/MPPProductBOMLine.java index 2d9a9a1817..5a7244280c 100644 --- a/org.adempiere.base/src/org/eevolution/model/MPPProductBOMLine.java +++ b/org.adempiere.base/src/org/eevolution/model/MPPProductBOMLine.java @@ -88,6 +88,16 @@ public class MPPProductBOMLine extends X_PP_Product_BOMLine implements Immutable return retValue; } + /** + * UUID based Constructor + * @param ctx Context + * @param PP_Product_BOMLine_UU UUID key + * @param trxName Transaction + */ + public MPPProductBOMLine(Properties ctx, String PP_Product_BOMLine_UU, String trxName) { + super(ctx, PP_Product_BOMLine_UU, trxName); + } + /** * Default Constructor * @param ctx context diff --git a/org.adempiere.base/src/org/eevolution/model/MPPProductPlanning.java b/org.adempiere.base/src/org/eevolution/model/MPPProductPlanning.java index 021b2225d8..babffbaf37 100644 --- a/org.adempiere.base/src/org/eevolution/model/MPPProductPlanning.java +++ b/org.adempiere.base/src/org/eevolution/model/MPPProductPlanning.java @@ -47,6 +47,16 @@ public class MPPProductPlanning extends X_PP_Product_Planning private static CLogger log = CLogger.getCLogger(MPPProductPlanning.class); + /** + * UUID based Constructor + * @param ctx Context + * @param PP_Product_Planning_UU UUID key + * @param trxName Transaction + */ + public MPPProductPlanning(Properties ctx, String PP_Product_Planning_UU, String trxName) { + super(ctx, PP_Product_Planning_UU, trxName); + } + /************************************************************************** * Default Constructor * @param ctx context @@ -56,9 +66,6 @@ public class MPPProductPlanning extends X_PP_Product_Planning public MPPProductPlanning(Properties ctx, int pp_product_planning_id, String trxname) { super(ctx, pp_product_planning_id, trxname); - if (pp_product_planning_id == 0) - { - } } // MPPProductPlanning /** diff --git a/org.adempiere.base/src/org/eevolution/model/X_C_TaxBase.java b/org.adempiere.base/src/org/eevolution/model/X_C_TaxBase.java index 654ed31c45..4b64e97429 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_C_TaxBase.java +++ b/org.adempiere.base/src/org/eevolution/model/X_C_TaxBase.java @@ -23,16 +23,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for C_TaxBase - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_TaxBase") -public class X_C_TaxBase extends PO implements I_C_TaxBase, I_Persistent +public class X_C_TaxBase extends PO implements I_C_TaxBase, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_TaxBase (Properties ctx, int C_TaxBase_ID, String trxName) @@ -58,6 +58,30 @@ public class X_C_TaxBase extends PO implements I_C_TaxBase, I_Persistent } */ } + /** Standard Constructor */ + public X_C_TaxBase (Properties ctx, String C_TaxBase_UU, String trxName) + { + super (ctx, C_TaxBase_UU, trxName); + /** if (C_TaxBase_UU == null) + { + setC_TaxBase_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_TaxBase (Properties ctx, String C_TaxBase_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_TaxBase_UU, trxName, virtualColumns); + /** if (C_TaxBase_UU == null) + { + setC_TaxBase_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_TaxBase (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +89,7 @@ public class X_C_TaxBase extends PO implements I_C_TaxBase, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -200,7 +224,7 @@ public class X_C_TaxBase extends PO implements I_C_TaxBase, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_C_TaxDefinition.java b/org.adempiere.base/src/org/eevolution/model/X_C_TaxDefinition.java index 8c40d4d162..41fbf14a5e 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_C_TaxDefinition.java +++ b/org.adempiere.base/src/org/eevolution/model/X_C_TaxDefinition.java @@ -24,16 +24,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for C_TaxDefinition - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_TaxDefinition") -public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persistent +public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_TaxDefinition (Properties ctx, int C_TaxDefinition_ID, String trxName) @@ -59,6 +59,30 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis } */ } + /** Standard Constructor */ + public X_C_TaxDefinition (Properties ctx, String C_TaxDefinition_UU, String trxName) + { + super (ctx, C_TaxDefinition_UU, trxName); + /** if (C_TaxDefinition_UU == null) + { + setC_TaxDefinition_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_TaxDefinition (Properties ctx, String C_TaxDefinition_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_TaxDefinition_UU, trxName, virtualColumns); + /** if (C_TaxDefinition_UU == null) + { + setC_TaxDefinition_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_TaxDefinition (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +90,7 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -390,10 +414,10 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis public boolean isInvoiced() { Object oo = get_Value(COLUMNNAME_IsInvoiced); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -510,7 +534,7 @@ public class X_C_TaxDefinition extends PO implements I_C_TaxDefinition, I_Persis /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_C_TaxGroup.java b/org.adempiere.base/src/org/eevolution/model/X_C_TaxGroup.java index 0f616c3b7d..ab8b48acc2 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_C_TaxGroup.java +++ b/org.adempiere.base/src/org/eevolution/model/X_C_TaxGroup.java @@ -23,16 +23,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for C_TaxGroup - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_TaxGroup") -public class X_C_TaxGroup extends PO implements I_C_TaxGroup, I_Persistent +public class X_C_TaxGroup extends PO implements I_C_TaxGroup, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_TaxGroup (Properties ctx, int C_TaxGroup_ID, String trxName) @@ -58,6 +58,30 @@ public class X_C_TaxGroup extends PO implements I_C_TaxGroup, I_Persistent } */ } + /** Standard Constructor */ + public X_C_TaxGroup (Properties ctx, String C_TaxGroup_UU, String trxName) + { + super (ctx, C_TaxGroup_UU, trxName); + /** if (C_TaxGroup_UU == null) + { + setC_TaxGroup_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_TaxGroup (Properties ctx, String C_TaxGroup_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_TaxGroup_UU, trxName, virtualColumns); + /** if (C_TaxGroup_UU == null) + { + setC_TaxGroup_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_TaxGroup (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +89,7 @@ public class X_C_TaxGroup extends PO implements I_C_TaxGroup, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -173,7 +197,7 @@ public class X_C_TaxGroup extends PO implements I_C_TaxGroup, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_C_TaxType.java b/org.adempiere.base/src/org/eevolution/model/X_C_TaxType.java index 24f150a21d..0f2a8a82d4 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_C_TaxType.java +++ b/org.adempiere.base/src/org/eevolution/model/X_C_TaxType.java @@ -23,16 +23,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for C_TaxType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="C_TaxType") -public class X_C_TaxType extends PO implements I_C_TaxType, I_Persistent +public class X_C_TaxType extends PO implements I_C_TaxType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_C_TaxType (Properties ctx, int C_TaxType_ID, String trxName) @@ -58,6 +58,30 @@ public class X_C_TaxType extends PO implements I_C_TaxType, I_Persistent } */ } + /** Standard Constructor */ + public X_C_TaxType (Properties ctx, String C_TaxType_UU, String trxName) + { + super (ctx, C_TaxType_UU, trxName); + /** if (C_TaxType_UU == null) + { + setC_TaxType_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_C_TaxType (Properties ctx, String C_TaxType_UU, String trxName, String ... virtualColumns) + { + super (ctx, C_TaxType_UU, trxName, virtualColumns); + /** if (C_TaxType_UU == null) + { + setC_TaxType_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_C_TaxType (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +89,7 @@ public class X_C_TaxType extends PO implements I_C_TaxType, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -173,7 +197,7 @@ public class X_C_TaxType extends PO implements I_C_TaxType, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_DD_NetworkDistribution.java b/org.adempiere.base/src/org/eevolution/model/X_DD_NetworkDistribution.java index def68200c1..89838bd4a8 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_DD_NetworkDistribution.java +++ b/org.adempiere.base/src/org/eevolution/model/X_DD_NetworkDistribution.java @@ -24,16 +24,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for DD_NetworkDistribution - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="DD_NetworkDistribution") -public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribution, I_Persistent +public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribution, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_DD_NetworkDistribution (Properties ctx, int DD_NetworkDistribution_ID, String trxName) @@ -59,6 +59,30 @@ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribu } */ } + /** Standard Constructor */ + public X_DD_NetworkDistribution (Properties ctx, String DD_NetworkDistribution_UU, String trxName) + { + super (ctx, DD_NetworkDistribution_UU, trxName); + /** if (DD_NetworkDistribution_UU == null) + { + setDD_NetworkDistribution_ID (0); + setName (null); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_DD_NetworkDistribution (Properties ctx, String DD_NetworkDistribution_UU, String trxName, String ... virtualColumns) + { + super (ctx, DD_NetworkDistribution_UU, trxName, virtualColumns); + /** if (DD_NetworkDistribution_UU == null) + { + setDD_NetworkDistribution_ID (0); + setName (null); + setValue (null); + } */ + } + /** Load Constructor */ public X_DD_NetworkDistribution (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +90,7 @@ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribu } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -244,10 +268,10 @@ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribu public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -319,7 +343,7 @@ public class X_DD_NetworkDistribution extends PO implements I_DD_NetworkDistribu /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getValue()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_DD_NetworkDistributionLine.java b/org.adempiere.base/src/org/eevolution/model/X_DD_NetworkDistributionLine.java index 26a77197cd..c4c4e9576a 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_DD_NetworkDistributionLine.java +++ b/org.adempiere.base/src/org/eevolution/model/X_DD_NetworkDistributionLine.java @@ -25,16 +25,16 @@ import org.compiere.model.*; import org.compiere.util.Env; /** Generated Model for DD_NetworkDistributionLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="DD_NetworkDistributionLine") -public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDistributionLine, I_Persistent +public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDistributionLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_DD_NetworkDistributionLine (Properties ctx, int DD_NetworkDistributionLine_ID, String trxName) @@ -66,6 +66,36 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist } */ } + /** Standard Constructor */ + public X_DD_NetworkDistributionLine (Properties ctx, String DD_NetworkDistributionLine_UU, String trxName) + { + super (ctx, DD_NetworkDistributionLine_UU, trxName); + /** if (DD_NetworkDistributionLine_UU == null) + { + setDD_NetworkDistribution_ID (0); + setDD_NetworkDistributionLine_ID (0); + setM_Shipper_ID (0); + setM_Warehouse_ID (0); +// @M_Warehouse_ID@ + setM_WarehouseSource_ID (0); + } */ + } + + /** Standard Constructor */ + public X_DD_NetworkDistributionLine (Properties ctx, String DD_NetworkDistributionLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, DD_NetworkDistributionLine_UU, trxName, virtualColumns); + /** if (DD_NetworkDistributionLine_UU == null) + { + setDD_NetworkDistribution_ID (0); + setDD_NetworkDistributionLine_ID (0); + setM_Shipper_ID (0); + setM_Warehouse_ID (0); +// @M_Warehouse_ID@ + setM_WarehouseSource_ID (0); + } */ + } + /** Load Constructor */ public X_DD_NetworkDistributionLine (Properties ctx, ResultSet rs, String trxName) { @@ -73,7 +103,7 @@ public class X_DD_NetworkDistributionLine extends PO implements I_DD_NetworkDist } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/eevolution/model/X_DD_Order.java b/org.adempiere.base/src/org/eevolution/model/X_DD_Order.java index 37b2e82f32..1bd9b50451 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_DD_Order.java +++ b/org.adempiere.base/src/org/eevolution/model/X_DD_Order.java @@ -26,16 +26,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for DD_Order - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="DD_Order") -public class X_DD_Order extends PO implements I_DD_Order, I_Persistent +public class X_DD_Order extends PO implements I_DD_Order, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_DD_Order (Properties ctx, int DD_Order_ID, String trxName) @@ -117,6 +117,86 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent } */ } + /** Standard Constructor */ + public X_DD_Order (Properties ctx, String DD_Order_UU, String trxName) + { + super (ctx, DD_Order_UU, trxName); + /** if (DD_Order_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_DocType_ID (0); + setDateOrdered (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDatePromised (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDD_Order_ID (0); + setDeliveryRule (null); +// A + setDeliveryViaRule (null); +// P + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setFreightCostRule (null); +// I + setIsApproved (false); + setIsInDispute (false); + setIsInTransit (false); + setIsPrinted (false); + setIsSOTrx (false); +// @IsSOTrx@ + setM_Warehouse_ID (0); + setPosted (false); + setPriorityRule (null); +// 5 + setProcessed (false); + setSendEMail (false); + } */ + } + + /** Standard Constructor */ + public X_DD_Order (Properties ctx, String DD_Order_UU, String trxName, String ... virtualColumns) + { + super (ctx, DD_Order_UU, trxName, virtualColumns); + /** if (DD_Order_UU == null) + { + setC_BPartner_ID (0); + setC_BPartner_Location_ID (0); + setC_DocType_ID (0); + setDateOrdered (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDatePromised (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDD_Order_ID (0); + setDeliveryRule (null); +// A + setDeliveryViaRule (null); +// P + setDocAction (null); +// CO + setDocStatus (null); +// DR + setDocumentNo (null); + setFreightCostRule (null); +// I + setIsApproved (false); + setIsInDispute (false); + setIsInTransit (false); + setIsPrinted (false); + setIsSOTrx (false); +// @IsSOTrx@ + setM_Warehouse_ID (0); + setPosted (false); + setPriorityRule (null); +// 5 + setProcessed (false); + setSendEMail (false); + } */ + } + /** Load Constructor */ public X_DD_Order (Properties ctx, ResultSet rs, String trxName) { @@ -124,7 +204,7 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -793,7 +873,7 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -876,10 +956,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -898,10 +978,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public boolean isDelivered() { Object oo = get_Value(COLUMNNAME_IsDelivered); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -921,10 +1001,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public boolean isDropShip() { Object oo = get_Value(COLUMNNAME_IsDropShip); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -944,10 +1024,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public boolean isInDispute() { Object oo = get_Value(COLUMNNAME_IsInDispute); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -967,10 +1047,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public boolean isInTransit() { Object oo = get_Value(COLUMNNAME_IsInTransit); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -990,10 +1070,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1012,10 +1092,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public boolean isSelected() { Object oo = get_Value(COLUMNNAME_IsSelected); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1035,10 +1115,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1165,10 +1245,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1217,10 +1297,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1258,10 +1338,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1337,10 +1417,10 @@ public class X_DD_Order extends PO implements I_DD_Order, I_Persistent public boolean isSendEMail() { Object oo = get_Value(COLUMNNAME_SendEMail); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_DD_OrderLine.java b/org.adempiere.base/src/org/eevolution/model/X_DD_OrderLine.java index c46d0d2661..e8249df663 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_DD_OrderLine.java +++ b/org.adempiere.base/src/org/eevolution/model/X_DD_OrderLine.java @@ -26,16 +26,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for DD_OrderLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="DD_OrderLine") -public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent +public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_DD_OrderLine (Properties ctx, int DD_OrderLine_ID, String trxName) @@ -85,6 +85,54 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent } */ } + /** Standard Constructor */ + public X_DD_OrderLine (Properties ctx, String DD_OrderLine_UU, String trxName) + { + super (ctx, DD_OrderLine_UU, trxName); + /** if (DD_OrderLine_UU == null) + { + setC_UOM_ID (0); +// @#C_UOM_ID@ + setDD_Order_ID (0); + setDD_OrderLine_ID (0); + setIsDescription (false); +// N + setIsInvoiced (false); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM DD_OrderLine WHERE DD_Order_ID=@DD_Order_ID@ + setM_Locator_ID (0); +// @M_Locator_ID@ + setM_LocatorTo_ID (0); + setProcessed (false); + setQtyEntered (Env.ZERO); + setQtyOrdered (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_DD_OrderLine (Properties ctx, String DD_OrderLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, DD_OrderLine_UU, trxName, virtualColumns); + /** if (DD_OrderLine_UU == null) + { + setC_UOM_ID (0); +// @#C_UOM_ID@ + setDD_Order_ID (0); + setDD_OrderLine_ID (0); + setIsDescription (false); +// N + setIsInvoiced (false); + setLine (0); +// @SQL=SELECT NVL(MAX(Line),0)+10 AS DefaultValue FROM DD_OrderLine WHERE DD_Order_ID=@DD_Order_ID@ + setM_Locator_ID (0); +// @M_Locator_ID@ + setM_LocatorTo_ID (0); + setProcessed (false); + setQtyEntered (Env.ZERO); + setQtyOrdered (Env.ZERO); + } */ + } + /** Load Constructor */ public X_DD_OrderLine (Properties ctx, ResultSet rs, String trxName) { @@ -92,7 +140,7 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -454,10 +502,10 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent public boolean isDescription() { Object oo = get_Value(COLUMNNAME_IsDescription); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -477,10 +525,10 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent public boolean isInvoiced() { Object oo = get_Value(COLUMNNAME_IsInvoiced); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -508,7 +556,7 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getLine())); } @@ -732,10 +780,10 @@ public class X_DD_OrderLine extends PO implements I_DD_OrderLine, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_Attribute.java b/org.adempiere.base/src/org/eevolution/model/X_HR_Attribute.java index 73385aea50..9b98bf2222 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_Attribute.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_Attribute.java @@ -25,16 +25,16 @@ import org.compiere.model.*; import org.compiere.util.Env; /** Generated Model for HR_Attribute - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_Attribute") -public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent +public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_Attribute (Properties ctx, int HR_Attribute_ID, String trxName) @@ -60,6 +60,30 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent } */ } + /** Standard Constructor */ + public X_HR_Attribute (Properties ctx, String HR_Attribute_UU, String trxName) + { + super (ctx, HR_Attribute_UU, trxName); + /** if (HR_Attribute_UU == null) + { + setHR_Attribute_ID (0); + setHR_Concept_ID (0); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_HR_Attribute (Properties ctx, String HR_Attribute_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_Attribute_UU, trxName, virtualColumns); + /** if (HR_Attribute_UU == null) + { + setHR_Attribute_ID (0); + setHR_Concept_ID (0); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_HR_Attribute (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +91,7 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -413,10 +437,10 @@ public class X_HR_Attribute extends PO implements I_HR_Attribute, I_Persistent public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_Concept.java b/org.adempiere.base/src/org/eevolution/model/X_HR_Concept.java index 075cc197b0..e24fe271c3 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_Concept.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_Concept.java @@ -24,16 +24,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for HR_Concept - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_Concept") -public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent +public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_Concept (Properties ctx, int HR_Concept_ID, String trxName) @@ -61,6 +61,32 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent } */ } + /** Standard Constructor */ + public X_HR_Concept (Properties ctx, String HR_Concept_UU, String trxName) + { + super (ctx, HR_Concept_UU, trxName); + /** if (HR_Concept_UU == null) + { + setColumnType (null); + setHR_Concept_ID (0); + setName (null); + setType (null); + } */ + } + + /** Standard Constructor */ + public X_HR_Concept (Properties ctx, String HR_Concept_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_Concept_UU, trxName, virtualColumns); + /** if (HR_Concept_UU == null) + { + setColumnType (null); + setHR_Concept_ID (0); + setName (null); + setType (null); + } */ + } + /** Load Constructor */ public X_HR_Concept (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +94,7 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent } /** AccessLevel - * @return 7 - System - Client - Org + * @return 7 - System - Client - Org */ protected int get_AccessLevel() { @@ -342,10 +368,10 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -365,10 +391,10 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent public boolean isEmployee() { Object oo = get_Value(COLUMNNAME_IsEmployee); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -388,10 +414,10 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent public boolean isPaid() { Object oo = get_Value(COLUMNNAME_IsPaid); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -411,10 +437,10 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -434,10 +460,10 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent public boolean isReadWrite() { Object oo = get_Value(COLUMNNAME_IsReadWrite); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -457,10 +483,10 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent public boolean isReceipt() { Object oo = get_Value(COLUMNNAME_IsReceipt); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -480,10 +506,10 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent public boolean isRegistered() { Object oo = get_Value(COLUMNNAME_IsRegistered); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -602,7 +628,7 @@ public class X_HR_Concept extends PO implements I_HR_Concept, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getValue()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_Concept_Acct.java b/org.adempiere.base/src/org/eevolution/model/X_HR_Concept_Acct.java index de0c2339d2..69ff6d5cfe 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_Concept_Acct.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_Concept_Acct.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.model.*; /** Generated Model for HR_Concept_Acct - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_Concept_Acct") -public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persistent +public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_Concept_Acct (Properties ctx, int HR_Concept_Acct_ID, String trxName) @@ -61,6 +61,34 @@ public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persis } */ } + /** Standard Constructor */ + public X_HR_Concept_Acct (Properties ctx, String HR_Concept_Acct_UU, String trxName) + { + super (ctx, HR_Concept_Acct_UU, trxName); + /** if (HR_Concept_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setHR_Concept_Acct_ID (0); + setHR_Concept_ID (0); + setHR_Expense_Acct (0); + setHR_Revenue_Acct (0); + } */ + } + + /** Standard Constructor */ + public X_HR_Concept_Acct (Properties ctx, String HR_Concept_Acct_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_Concept_Acct_UU, trxName, virtualColumns); + /** if (HR_Concept_Acct_UU == null) + { + setC_AcctSchema_ID (0); + setHR_Concept_Acct_ID (0); + setHR_Concept_ID (0); + setHR_Expense_Acct (0); + setHR_Revenue_Acct (0); + } */ + } + /** Load Constructor */ public X_HR_Concept_Acct (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persis } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -270,10 +298,10 @@ public class X_HR_Concept_Acct extends PO implements I_HR_Concept_Acct, I_Persis public boolean isBalancing() { Object oo = get_Value(COLUMNNAME_IsBalancing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_Concept_Category.java b/org.adempiere.base/src/org/eevolution/model/X_HR_Concept_Category.java index 92f8bf31f6..a37026f736 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_Concept_Category.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_Concept_Category.java @@ -23,16 +23,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for HR_Concept_Category - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_Concept_Category") -public class X_HR_Concept_Category extends PO implements I_HR_Concept_Category, I_Persistent +public class X_HR_Concept_Category extends PO implements I_HR_Concept_Category, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_Concept_Category (Properties ctx, int HR_Concept_Category_ID, String trxName) @@ -56,6 +56,28 @@ public class X_HR_Concept_Category extends PO implements I_HR_Concept_Category, } */ } + /** Standard Constructor */ + public X_HR_Concept_Category (Properties ctx, String HR_Concept_Category_UU, String trxName) + { + super (ctx, HR_Concept_Category_UU, trxName); + /** if (HR_Concept_Category_UU == null) + { + setHR_Concept_Category_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_HR_Concept_Category (Properties ctx, String HR_Concept_Category_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_Concept_Category_UU, trxName, virtualColumns); + /** if (HR_Concept_Category_UU == null) + { + setHR_Concept_Category_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_HR_Concept_Category (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +85,7 @@ public class X_HR_Concept_Category extends PO implements I_HR_Concept_Category, } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -174,10 +196,10 @@ public class X_HR_Concept_Category extends PO implements I_HR_Concept_Category, public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -202,7 +224,7 @@ public class X_HR_Concept_Category extends PO implements I_HR_Concept_Category, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_Contract.java b/org.adempiere.base/src/org/eevolution/model/X_HR_Contract.java index e26b0b88de..099df55793 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_Contract.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_Contract.java @@ -24,16 +24,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for HR_Contract - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_Contract") -public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent +public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_Contract (Properties ctx, int HR_Contract_ID, String trxName) @@ -57,6 +57,28 @@ public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent } */ } + /** Standard Constructor */ + public X_HR_Contract (Properties ctx, String HR_Contract_UU, String trxName) + { + super (ctx, HR_Contract_UU, trxName); + /** if (HR_Contract_UU == null) + { + setHR_Contract_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_HR_Contract (Properties ctx, String HR_Contract_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_Contract_UU, trxName, virtualColumns); + /** if (HR_Contract_UU == null) + { + setHR_Contract_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_HR_Contract (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +86,7 @@ public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -240,7 +262,7 @@ public class X_HR_Contract extends PO implements I_HR_Contract, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_Department.java b/org.adempiere.base/src/org/eevolution/model/X_HR_Department.java index 8e3e542397..8613fea219 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_Department.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_Department.java @@ -23,16 +23,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for HR_Department - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_Department") -public class X_HR_Department extends PO implements I_HR_Department, I_Persistent +public class X_HR_Department extends PO implements I_HR_Department, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_Department (Properties ctx, int HR_Department_ID, String trxName) @@ -56,6 +56,28 @@ public class X_HR_Department extends PO implements I_HR_Department, I_Persistent } */ } + /** Standard Constructor */ + public X_HR_Department (Properties ctx, String HR_Department_UU, String trxName) + { + super (ctx, HR_Department_UU, trxName); + /** if (HR_Department_UU == null) + { + setHR_Department_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_HR_Department (Properties ctx, String HR_Department_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_Department_UU, trxName, virtualColumns); + /** if (HR_Department_UU == null) + { + setHR_Department_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_HR_Department (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +85,7 @@ public class X_HR_Department extends PO implements I_HR_Department, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -183,7 +205,7 @@ public class X_HR_Department extends PO implements I_HR_Department, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_Employee.java b/org.adempiere.base/src/org/eevolution/model/X_HR_Employee.java index a3ea616162..572a9b8ddc 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_Employee.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_Employee.java @@ -24,16 +24,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for HR_Employee - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_Employee") -public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent +public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_Employee (Properties ctx, int HR_Employee_ID, String trxName) @@ -63,6 +63,34 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent } */ } + /** Standard Constructor */ + public X_HR_Employee (Properties ctx, String HR_Employee_UU, String trxName) + { + super (ctx, HR_Employee_UU, trxName); + /** if (HR_Employee_UU == null) + { + setC_BPartner_ID (0); + setHR_Department_ID (0); + setHR_Employee_ID (0); + setHR_Job_ID (0); + setStartDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_HR_Employee (Properties ctx, String HR_Employee_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_Employee_UU, trxName, virtualColumns); + /** if (HR_Employee_UU == null) + { + setC_BPartner_ID (0); + setHR_Department_ID (0); + setHR_Employee_ID (0); + setHR_Job_ID (0); + setStartDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_HR_Employee (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +98,7 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -331,7 +359,7 @@ public class X_HR_Employee extends PO implements I_HR_Employee, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_Job.java b/org.adempiere.base/src/org/eevolution/model/X_HR_Job.java index 45c0cf0ac4..c0153ee760 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_Job.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_Job.java @@ -23,16 +23,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for HR_Job - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_Job") -public class X_HR_Job extends PO implements I_HR_Job, I_Persistent +public class X_HR_Job extends PO implements I_HR_Job, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_Job (Properties ctx, int HR_Job_ID, String trxName) @@ -56,6 +56,28 @@ public class X_HR_Job extends PO implements I_HR_Job, I_Persistent } */ } + /** Standard Constructor */ + public X_HR_Job (Properties ctx, String HR_Job_UU, String trxName) + { + super (ctx, HR_Job_UU, trxName); + /** if (HR_Job_UU == null) + { + setHR_Job_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_HR_Job (Properties ctx, String HR_Job_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_Job_UU, trxName, virtualColumns); + /** if (HR_Job_UU == null) + { + setHR_Job_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_HR_Job (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +85,7 @@ public class X_HR_Job extends PO implements I_HR_Job, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -177,10 +199,10 @@ public class X_HR_Job extends PO implements I_HR_Job, I_Persistent public boolean isParent() { Object oo = get_Value(COLUMNNAME_IsParent); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -223,7 +245,7 @@ public class X_HR_Job extends PO implements I_HR_Job, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_List.java b/org.adempiere.base/src/org/eevolution/model/X_HR_List.java index eca9d2347d..cc1fff1142 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_List.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_List.java @@ -24,16 +24,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for HR_List - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_List") -public class X_HR_List extends PO implements I_HR_List, I_Persistent +public class X_HR_List extends PO implements I_HR_List, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_List (Properties ctx, int HR_List_ID, String trxName) @@ -57,6 +57,28 @@ public class X_HR_List extends PO implements I_HR_List, I_Persistent } */ } + /** Standard Constructor */ + public X_HR_List (Properties ctx, String HR_List_UU, String trxName) + { + super (ctx, HR_List_UU, trxName); + /** if (HR_List_UU == null) + { + setHR_List_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_HR_List (Properties ctx, String HR_List_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_List_UU, trxName, virtualColumns); + /** if (HR_List_UU == null) + { + setHR_List_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_HR_List (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +86,7 @@ public class X_HR_List extends PO implements I_HR_List, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -259,10 +281,10 @@ public class X_HR_List extends PO implements I_HR_List, I_Persistent public boolean isEmployee() { Object oo = get_Value(COLUMNNAME_IsEmployee); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -287,7 +309,7 @@ public class X_HR_List extends PO implements I_HR_List, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_ListLine.java b/org.adempiere.base/src/org/eevolution/model/X_HR_ListLine.java index 4d00cb0a54..ca0f7113b5 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_ListLine.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_ListLine.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for HR_ListLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_ListLine") -public class X_HR_ListLine extends PO implements I_HR_ListLine, I_Persistent +public class X_HR_ListLine extends PO implements I_HR_ListLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_ListLine (Properties ctx, int HR_ListLine_ID, String trxName) @@ -60,6 +60,30 @@ public class X_HR_ListLine extends PO implements I_HR_ListLine, I_Persistent } */ } + /** Standard Constructor */ + public X_HR_ListLine (Properties ctx, String HR_ListLine_UU, String trxName) + { + super (ctx, HR_ListLine_UU, trxName); + /** if (HR_ListLine_UU == null) + { + setHR_ListLine_ID (0); + setMaxValue (Env.ZERO); + setMinValue (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_HR_ListLine (Properties ctx, String HR_ListLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_ListLine_UU, trxName, virtualColumns); + /** if (HR_ListLine_UU == null) + { + setHR_ListLine_ID (0); + setMaxValue (Env.ZERO); + setMinValue (Env.ZERO); + } */ + } + /** Load Constructor */ public X_HR_ListLine (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +91,7 @@ public class X_HR_ListLine extends PO implements I_HR_ListLine, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -350,7 +374,7 @@ public class X_HR_ListLine extends PO implements I_HR_ListLine, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_ListType.java b/org.adempiere.base/src/org/eevolution/model/X_HR_ListType.java index 9590ab7b36..b933c61184 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_ListType.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_ListType.java @@ -23,16 +23,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for HR_ListType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_ListType") -public class X_HR_ListType extends PO implements I_HR_ListType, I_Persistent +public class X_HR_ListType extends PO implements I_HR_ListType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_ListType (Properties ctx, int HR_ListType_ID, String trxName) @@ -56,6 +56,28 @@ public class X_HR_ListType extends PO implements I_HR_ListType, I_Persistent } */ } + /** Standard Constructor */ + public X_HR_ListType (Properties ctx, String HR_ListType_UU, String trxName) + { + super (ctx, HR_ListType_UU, trxName); + /** if (HR_ListType_UU == null) + { + setHR_ListType_ID (0); + setName (null); + } */ + } + + /** Standard Constructor */ + public X_HR_ListType (Properties ctx, String HR_ListType_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_ListType_UU, trxName, virtualColumns); + /** if (HR_ListType_UU == null) + { + setHR_ListType_ID (0); + setName (null); + } */ + } + /** Load Constructor */ public X_HR_ListType (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +85,7 @@ public class X_HR_ListType extends PO implements I_HR_ListType, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -155,7 +177,7 @@ public class X_HR_ListType extends PO implements I_HR_ListType, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_ListVersion.java b/org.adempiere.base/src/org/eevolution/model/X_HR_ListVersion.java index f59578b71a..f0075623fd 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_ListVersion.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_ListVersion.java @@ -24,16 +24,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for HR_ListVersion - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_ListVersion") -public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persistent +public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_ListVersion (Properties ctx, int HR_ListVersion_ID, String trxName) @@ -63,6 +63,34 @@ public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persiste } */ } + /** Standard Constructor */ + public X_HR_ListVersion (Properties ctx, String HR_ListVersion_UU, String trxName) + { + super (ctx, HR_ListVersion_UU, trxName); + /** if (HR_ListVersion_UU == null) + { + setHR_List_ID (0); + setHR_ListVersion_ID (0); + setName (null); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + setValidTo (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_HR_ListVersion (Properties ctx, String HR_ListVersion_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_ListVersion_UU, trxName, virtualColumns); + /** if (HR_ListVersion_UU == null) + { + setHR_List_ID (0); + setHR_ListVersion_ID (0); + setName (null); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + setValidTo (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_HR_ListVersion (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +98,7 @@ public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -216,7 +244,7 @@ public class X_HR_ListVersion extends PO implements I_HR_ListVersion, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_Movement.java b/org.adempiere.base/src/org/eevolution/model/X_HR_Movement.java index b2bcf7ab51..9514ad8290 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_Movement.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_Movement.java @@ -26,16 +26,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for HR_Movement - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_Movement") -public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent +public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_Movement (Properties ctx, int HR_Movement_ID, String trxName) @@ -63,6 +63,32 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent } */ } + /** Standard Constructor */ + public X_HR_Movement (Properties ctx, String HR_Movement_UU, String trxName) + { + super (ctx, HR_Movement_UU, trxName); + /** if (HR_Movement_UU == null) + { + setHR_Concept_ID (0); + setHR_Movement_ID (0); + setProcessed (false); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_HR_Movement (Properties ctx, String HR_Movement_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_Movement_UU, trxName, virtualColumns); + /** if (HR_Movement_UU == null) + { + setHR_Concept_ID (0); + setHR_Movement_ID (0); + setProcessed (false); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_HR_Movement (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +96,7 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -624,7 +650,7 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getHR_Process_ID())); } @@ -643,10 +669,10 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -666,10 +692,10 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent public boolean isRegistered() { Object oo = get_Value(COLUMNNAME_IsRegistered); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -716,10 +742,10 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_Payroll.java b/org.adempiere.base/src/org/eevolution/model/X_HR_Payroll.java index 2e3c482054..b039c2cc39 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_Payroll.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_Payroll.java @@ -23,16 +23,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for HR_Payroll - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_Payroll") -public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent +public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_Payroll (Properties ctx, int HR_Payroll_ID, String trxName) @@ -60,6 +60,32 @@ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent } */ } + /** Standard Constructor */ + public X_HR_Payroll (Properties ctx, String HR_Payroll_UU, String trxName) + { + super (ctx, HR_Payroll_UU, trxName); + /** if (HR_Payroll_UU == null) + { + setHR_Contract_ID (0); + setHR_Payroll_ID (0); + setName (null); + setPaymentRule (null); + } */ + } + + /** Standard Constructor */ + public X_HR_Payroll (Properties ctx, String HR_Payroll_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_Payroll_UU, trxName, virtualColumns); + /** if (HR_Payroll_UU == null) + { + setHR_Contract_ID (0); + setHR_Payroll_ID (0); + setName (null); + setPaymentRule (null); + } */ + } + /** Load Constructor */ public X_HR_Payroll (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +93,7 @@ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -242,7 +268,7 @@ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -292,10 +318,10 @@ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -314,10 +340,10 @@ public class X_HR_Payroll extends PO implements I_HR_Payroll, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_PayrollConcept.java b/org.adempiere.base/src/org/eevolution/model/X_HR_PayrollConcept.java index 9793fa5e3e..ba0bf1c359 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_PayrollConcept.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_PayrollConcept.java @@ -23,16 +23,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for HR_PayrollConcept - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_PayrollConcept") -public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Persistent +public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_PayrollConcept (Properties ctx, int HR_PayrollConcept_ID, String trxName) @@ -62,6 +62,34 @@ public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Pe } */ } + /** Standard Constructor */ + public X_HR_PayrollConcept (Properties ctx, String HR_PayrollConcept_UU, String trxName) + { + super (ctx, HR_PayrollConcept_UU, trxName); + /** if (HR_PayrollConcept_UU == null) + { + setHR_Concept_ID (0); + setHR_PayrollConcept_ID (0); + setHR_Payroll_ID (0); + setIsPrinted (false); +// N + } */ + } + + /** Standard Constructor */ + public X_HR_PayrollConcept (Properties ctx, String HR_PayrollConcept_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_PayrollConcept_UU, trxName, virtualColumns); + /** if (HR_PayrollConcept_UU == null) + { + setHR_Concept_ID (0); + setHR_PayrollConcept_ID (0); + setHR_Payroll_ID (0); + setIsPrinted (false); +// N + } */ + } + /** Load Constructor */ public X_HR_PayrollConcept (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +97,7 @@ public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Pe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -221,10 +249,10 @@ public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Pe public boolean isDisplayed() { Object oo = get_Value(COLUMNNAME_IsDisplayed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -244,10 +272,10 @@ public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Pe public boolean isInclude() { Object oo = get_Value(COLUMNNAME_IsInclude); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -267,10 +295,10 @@ public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Pe public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -295,7 +323,7 @@ public class X_HR_PayrollConcept extends PO implements I_HR_PayrollConcept, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_Period.java b/org.adempiere.base/src/org/eevolution/model/X_HR_Period.java index b1f55c2978..18b42301d6 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_Period.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_Period.java @@ -24,16 +24,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for HR_Period - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_Period") -public class X_HR_Period extends PO implements I_HR_Period, I_Persistent +public class X_HR_Period extends PO implements I_HR_Period, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_Period (Properties ctx, int HR_Period_ID, String trxName) @@ -69,6 +69,40 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent } */ } + /** Standard Constructor */ + public X_HR_Period (Properties ctx, String HR_Period_UU, String trxName) + { + super (ctx, HR_Period_UU, trxName); + /** if (HR_Period_UU == null) + { + setC_Period_ID (0); + setC_Year_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setHR_Payroll_ID (0); + setHR_Period_ID (0); + setName (null); + setPeriodNo (0); + setStartDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_HR_Period (Properties ctx, String HR_Period_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_Period_UU, trxName, virtualColumns); + /** if (HR_Period_UU == null) + { + setC_Period_ID (0); + setC_Year_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setHR_Payroll_ID (0); + setHR_Period_ID (0); + setName (null); + setPeriodNo (0); + setStartDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_HR_Period (Properties ctx, ResultSet rs, String trxName) { @@ -76,7 +110,7 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -310,7 +344,7 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -380,10 +414,10 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -402,10 +436,10 @@ public class X_HR_Period extends PO implements I_HR_Period, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_Process.java b/org.adempiere.base/src/org/eevolution/model/X_HR_Process.java index 4f46e45faf..d813f78cdc 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_Process.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_Process.java @@ -26,16 +26,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for HR_Process - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_Process") -public class X_HR_Process extends PO implements I_HR_Process, I_Persistent +public class X_HR_Process extends PO implements I_HR_Process, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_Process (Properties ctx, int HR_Process_ID, String trxName) @@ -77,6 +77,46 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent } */ } + /** Standard Constructor */ + public X_HR_Process (Properties ctx, String HR_Process_UU, String trxName) + { + super (ctx, HR_Process_UU, trxName); + /** if (HR_Process_UU == null) + { + setC_DocTypeTarget_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setHR_Payroll_ID (0); + setName (null); + setPosted (false); +// N + setProcessed (false); + } */ + } + + /** Standard Constructor */ + public X_HR_Process (Properties ctx, String HR_Process_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_Process_UU, trxName, virtualColumns); + /** if (HR_Process_UU == null) + { + setC_DocTypeTarget_ID (0); + setDateAcct (new Timestamp( System.currentTimeMillis() )); + setDocAction (null); +// CO + setDocStatus (null); +// DR + setHR_Payroll_ID (0); + setName (null); + setPosted (false); +// N + setProcessed (false); + } */ + } + /** Load Constructor */ public X_HR_Process (Properties ctx, ResultSet rs, String trxName) { @@ -84,7 +124,7 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -629,7 +669,7 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -648,10 +688,10 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -671,10 +711,10 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -712,10 +752,10 @@ public class X_HR_Process extends PO implements I_HR_Process, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_HR_Year.java b/org.adempiere.base/src/org/eevolution/model/X_HR_Year.java index a65c7d2410..1cf8997d42 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_HR_Year.java +++ b/org.adempiere.base/src/org/eevolution/model/X_HR_Year.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.model.*; /** Generated Model for HR_Year - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="HR_Year") -public class X_HR_Year extends PO implements I_HR_Year, I_Persistent +public class X_HR_Year extends PO implements I_HR_Year, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_HR_Year (Properties ctx, int HR_Year_ID, String trxName) @@ -64,6 +64,36 @@ public class X_HR_Year extends PO implements I_HR_Year, I_Persistent } */ } + /** Standard Constructor */ + public X_HR_Year (Properties ctx, String HR_Year_UU, String trxName) + { + super (ctx, HR_Year_UU, trxName); + /** if (HR_Year_UU == null) + { + setC_Year_ID (0); + setHR_Payroll_ID (0); + setHR_Year_ID (0); + setNetDays (0); + setQty (0); + setStartDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + + /** Standard Constructor */ + public X_HR_Year (Properties ctx, String HR_Year_UU, String trxName, String ... virtualColumns) + { + super (ctx, HR_Year_UU, trxName, virtualColumns); + /** if (HR_Year_UU == null) + { + setC_Year_ID (0); + setHR_Payroll_ID (0); + setHR_Year_ID (0); + setNetDays (0); + setQty (0); + setStartDate (new Timestamp( System.currentTimeMillis() )); + } */ + } + /** Load Constructor */ public X_HR_Year (Properties ctx, ResultSet rs, String trxName) { @@ -71,7 +101,7 @@ public class X_HR_Year extends PO implements I_HR_Year, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -216,10 +246,10 @@ public class X_HR_Year extends PO implements I_HR_Year, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -238,10 +268,10 @@ public class X_HR_Year extends PO implements I_HR_Year, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_I_HR_Movement.java b/org.adempiere.base/src/org/eevolution/model/X_I_HR_Movement.java index 82883082d3..c94fbb5bfd 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_I_HR_Movement.java +++ b/org.adempiere.base/src/org/eevolution/model/X_I_HR_Movement.java @@ -26,16 +26,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for I_HR_Movement - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_HR_Movement") -public class X_I_HR_Movement extends PO implements I_I_HR_Movement, I_Persistent +public class X_I_HR_Movement extends PO implements I_I_HR_Movement, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_HR_Movement (Properties ctx, int I_HR_Movement_ID, String trxName) @@ -61,6 +61,30 @@ public class X_I_HR_Movement extends PO implements I_I_HR_Movement, I_Persistent } */ } + /** Standard Constructor */ + public X_I_HR_Movement (Properties ctx, String I_HR_Movement_UU, String trxName) + { + super (ctx, I_HR_Movement_UU, trxName); + /** if (I_HR_Movement_UU == null) + { + setI_HR_Movement_ID (0); + setI_IsImported (null); +// N + } */ + } + + /** Standard Constructor */ + public X_I_HR_Movement (Properties ctx, String I_HR_Movement_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_HR_Movement_UU, trxName, virtualColumns); + /** if (I_HR_Movement_UU == null) + { + setI_HR_Movement_ID (0); + setI_IsImported (null); +// N + } */ + } + /** Load Constructor */ public X_I_HR_Movement (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +92,7 @@ public class X_I_HR_Movement extends PO implements I_I_HR_Movement, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -268,7 +292,7 @@ public class X_I_HR_Movement extends PO implements I_I_HR_Movement, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getHR_Process_ID())); } @@ -355,10 +379,10 @@ public class X_I_HR_Movement extends PO implements I_I_HR_Movement, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -377,10 +401,10 @@ public class X_I_HR_Movement extends PO implements I_I_HR_Movement, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_I_Movement.java b/org.adempiere.base/src/org/eevolution/model/X_I_Movement.java index afcc47d284..7b2605183c 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_I_Movement.java +++ b/org.adempiere.base/src/org/eevolution/model/X_I_Movement.java @@ -25,16 +25,16 @@ import org.compiere.model.*; import org.compiere.util.Env; /** Generated Model for I_Movement - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_Movement") -public class X_I_Movement extends PO implements I_I_Movement, I_Persistent +public class X_I_Movement extends PO implements I_I_Movement, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_Movement (Properties ctx, int I_Movement_ID, String trxName) @@ -66,6 +66,36 @@ public class X_I_Movement extends PO implements I_I_Movement, I_Persistent } */ } + /** Standard Constructor */ + public X_I_Movement (Properties ctx, String I_Movement_UU, String trxName) + { + super (ctx, I_Movement_UU, trxName); + /** if (I_Movement_UU == null) + { + setI_IsImported (false); +// N + setI_Movement_ID (0); + setProcessed (false); +// N + setProcessing (false); + } */ + } + + /** Standard Constructor */ + public X_I_Movement (Properties ctx, String I_Movement_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_Movement_UU, trxName, virtualColumns); + /** if (I_Movement_UU == null) + { + setI_IsImported (false); +// N + setI_Movement_ID (0); + setProcessed (false); +// N + setProcessing (false); + } */ + } + /** Load Constructor */ public X_I_Movement (Properties ctx, ResultSet rs, String trxName) { @@ -73,7 +103,7 @@ public class X_I_Movement extends PO implements I_I_Movement, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -398,10 +428,10 @@ public class X_I_Movement extends PO implements I_I_Movement, I_Persistent public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -739,10 +769,10 @@ public class X_I_Movement extends PO implements I_I_Movement, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -761,10 +791,10 @@ public class X_I_Movement extends PO implements I_I_Movement, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_I_ProductPlanning.java b/org.adempiere.base/src/org/eevolution/model/X_I_ProductPlanning.java index e936a3f728..e6f2643f5c 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_I_ProductPlanning.java +++ b/org.adempiere.base/src/org/eevolution/model/X_I_ProductPlanning.java @@ -25,16 +25,16 @@ import org.compiere.model.*; import org.compiere.util.Env; /** Generated Model for I_ProductPlanning - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="I_ProductPlanning") -public class X_I_ProductPlanning extends PO implements I_I_ProductPlanning, I_Persistent +public class X_I_ProductPlanning extends PO implements I_I_ProductPlanning, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_I_ProductPlanning (Properties ctx, int I_ProductPlanning_ID, String trxName) @@ -64,6 +64,34 @@ public class X_I_ProductPlanning extends PO implements I_I_ProductPlanning, I_Pe } */ } + /** Standard Constructor */ + public X_I_ProductPlanning (Properties ctx, String I_ProductPlanning_UU, String trxName) + { + super (ctx, I_ProductPlanning_UU, trxName); + /** if (I_ProductPlanning_UU == null) + { + setI_IsImported (false); + setI_ProductPlanning_ID (0); + setIsCreatePlan (false); + setIsPhantom (false); + setQty (Env.ZERO); + } */ + } + + /** Standard Constructor */ + public X_I_ProductPlanning (Properties ctx, String I_ProductPlanning_UU, String trxName, String ... virtualColumns) + { + super (ctx, I_ProductPlanning_UU, trxName, virtualColumns); + /** if (I_ProductPlanning_UU == null) + { + 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) { @@ -71,7 +99,7 @@ public class X_I_ProductPlanning extends PO implements I_I_ProductPlanning, I_Pe } /** AccessLevel - * @return 2 - Client + * @return 2 - Client */ protected int get_AccessLevel() { @@ -272,10 +300,10 @@ public class X_I_ProductPlanning extends PO implements I_I_ProductPlanning, I_Pe public boolean isI_IsImported() { Object oo = get_Value(COLUMNNAME_I_IsImported); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -331,10 +359,10 @@ public class X_I_ProductPlanning extends PO implements I_I_ProductPlanning, I_Pe public boolean isCreatePlan() { Object oo = get_Value(COLUMNNAME_IsCreatePlan); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -353,10 +381,10 @@ public class X_I_ProductPlanning extends PO implements I_I_ProductPlanning, I_Pe public boolean isMPS() { Object oo = get_Value(COLUMNNAME_IsMPS); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -376,10 +404,10 @@ public class X_I_ProductPlanning extends PO implements I_I_ProductPlanning, I_Pe public boolean isPhantom() { Object oo = get_Value(COLUMNNAME_IsPhantom); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -758,10 +786,10 @@ public class X_I_ProductPlanning extends PO implements I_I_ProductPlanning, I_Pe public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -780,10 +808,10 @@ public class X_I_ProductPlanning extends PO implements I_I_ProductPlanning, I_Pe public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_Cost_Collector.java b/org.adempiere.base/src/org/eevolution/model/X_PP_Cost_Collector.java index 5ecbc25dd3..263be83c96 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_Cost_Collector.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_Cost_Collector.java @@ -26,16 +26,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PP_Cost_Collector - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_Cost_Collector") -public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Persistent +public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_Cost_Collector (Properties ctx, int PP_Cost_Collector_ID, String trxName) @@ -91,6 +91,60 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe } */ } + /** Standard Constructor */ + public X_PP_Cost_Collector (Properties ctx, String PP_Cost_Collector_UU, String trxName) + { + super (ctx, PP_Cost_Collector_UU, trxName); + /** if (PP_Cost_Collector_UU == null) + { + setC_DocType_ID (0); +// 0 + setC_DocTypeTarget_ID (0); + setCostCollectorType (null); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setM_Locator_ID (0); + setMovementDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setMovementQty (Env.ZERO); +// 0 + setM_Product_ID (0); + setM_Warehouse_ID (0); + setPosted (false); + setPP_Cost_Collector_ID (0); + setPP_Order_ID (0); + setProcessed (false); + setS_Resource_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PP_Cost_Collector (Properties ctx, String PP_Cost_Collector_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_Cost_Collector_UU, trxName, virtualColumns); + /** if (PP_Cost_Collector_UU == null) + { + setC_DocType_ID (0); +// 0 + setC_DocTypeTarget_ID (0); + setCostCollectorType (null); + setDateAcct (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setM_Locator_ID (0); + setMovementDate (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setMovementQty (Env.ZERO); +// 0 + setM_Product_ID (0); + setM_Warehouse_ID (0); + setPosted (false); + setPP_Cost_Collector_ID (0); + setPP_Order_ID (0); + setProcessed (false); + setS_Resource_ID (0); + } */ + } + /** Load Constructor */ public X_PP_Cost_Collector (Properties ctx, ResultSet rs, String trxName) { @@ -98,7 +152,7 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -539,10 +593,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe public boolean isBatchTime() { Object oo = get_Value(COLUMNNAME_IsBatchTime); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -561,10 +615,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe public boolean isSubcontracting() { Object oo = get_Value(COLUMNNAME_IsSubcontracting); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -692,7 +746,7 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_Product_ID())); } @@ -739,10 +793,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -908,10 +962,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -949,10 +1003,10 @@ public class X_PP_Cost_Collector extends PO implements I_PP_Cost_Collector, I_Pe public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_Cost_CollectorMA.java b/org.adempiere.base/src/org/eevolution/model/X_PP_Cost_CollectorMA.java index 74b7c127c6..24dbf9c665 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_Cost_CollectorMA.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_Cost_CollectorMA.java @@ -24,16 +24,16 @@ import org.compiere.model.*; import org.compiere.util.Env; /** Generated Model for PP_Cost_CollectorMA - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_Cost_CollectorMA") -public class X_PP_Cost_CollectorMA extends PO implements I_PP_Cost_CollectorMA, I_Persistent +public class X_PP_Cost_CollectorMA extends PO implements I_PP_Cost_CollectorMA, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_Cost_CollectorMA (Properties ctx, int PP_Cost_CollectorMA_ID, String trxName) @@ -61,6 +61,32 @@ public class X_PP_Cost_CollectorMA extends PO implements I_PP_Cost_CollectorMA, } */ } + /** Standard Constructor */ + public X_PP_Cost_CollectorMA (Properties ctx, String PP_Cost_CollectorMA_UU, String trxName) + { + super (ctx, PP_Cost_CollectorMA_UU, trxName); + /** if (PP_Cost_CollectorMA_UU == null) + { + setM_AttributeSetInstance_ID (0); + setMovementQty (Env.ZERO); + setPP_Cost_Collector_ID (0); + setPP_Cost_CollectorMA_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PP_Cost_CollectorMA (Properties ctx, String PP_Cost_CollectorMA_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_Cost_CollectorMA_UU, trxName, virtualColumns); + /** if (PP_Cost_CollectorMA_UU == null) + { + setM_AttributeSetInstance_ID (0); + setMovementQty (Env.ZERO); + setPP_Cost_Collector_ID (0); + setPP_Cost_CollectorMA_ID (0); + } */ + } + /** Load Constructor */ public X_PP_Cost_CollectorMA (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +94,7 @@ public class X_PP_Cost_CollectorMA extends PO implements I_PP_Cost_CollectorMA, } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_MRP.java b/org.adempiere.base/src/org/eevolution/model/X_PP_MRP.java index 59a2d60b0e..c8fd2f5236 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_MRP.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_MRP.java @@ -26,16 +26,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PP_MRP - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_MRP") -public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent +public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_MRP (Properties ctx, int PP_MRP_ID, String trxName) @@ -65,6 +65,34 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent } */ } + /** Standard Constructor */ + public X_PP_MRP (Properties ctx, String PP_MRP_UU, String trxName) + { + super (ctx, PP_MRP_UU, trxName); + /** if (PP_MRP_UU == null) + { + setDateOrdered (new Timestamp( System.currentTimeMillis() )); + setDatePromised (new Timestamp( System.currentTimeMillis() )); + setM_Warehouse_ID (0); + setPP_MRP_ID (0); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_PP_MRP (Properties ctx, String PP_MRP_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_MRP_UU, trxName, virtualColumns); + /** if (PP_MRP_UU == null) + { + setDateOrdered (new Timestamp( System.currentTimeMillis() )); + setDatePromised (new Timestamp( System.currentTimeMillis() )); + setM_Warehouse_ID (0); + setPP_MRP_ID (0); + setValue (null); + } */ + } + /** Load Constructor */ public X_PP_MRP (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +100,7 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -416,10 +444,10 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent public boolean isAvailable() { Object oo = get_Value(COLUMNNAME_IsAvailable); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -612,7 +640,7 @@ public class X_PP_MRP extends PO implements I_PP_MRP, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_Order.java b/org.adempiere.base/src/org/eevolution/model/X_PP_Order.java index 0ce463128e..fc755f9a2c 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_Order.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_Order.java @@ -26,16 +26,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PP_Order - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_Order") -public class X_PP_Order extends PO implements I_PP_Order, I_Persistent +public class X_PP_Order extends PO implements I_PP_Order, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_Order (Properties ctx, int PP_Order_ID, String trxName) @@ -139,6 +139,108 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent } */ } + /** Standard Constructor */ + public X_PP_Order (Properties ctx, String PP_Order_UU, String trxName) + { + super (ctx, PP_Order_UU, trxName); + /** if (PP_Order_UU == null) + { + setAD_Workflow_ID (0); + setC_DocTypeTarget_ID (0); +// 0 + setC_UOM_ID (0); +// @UOMConversion@=Y | @Processed@='Y' + setDateOrdered (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDatePromised (new Timestamp( System.currentTimeMillis() )); + setDateStartSchedule (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// -- + setDocStatus (null); +// DR + setDocumentNo (null); + setIsApproved (false); +// N + setIsPrinted (false); +// N + setIsSelected (false); +// N + setIsSOTrx (false); +// N + setLine (0); + setM_Product_ID (0); + setM_Warehouse_ID (0); + setPP_Order_ID (0); + setPP_Product_BOM_ID (0); + setPriorityRule (null); + setProcessed (false); +// N + setQtyDelivered (Env.ZERO); +// 0 + setQtyOrdered (Env.ZERO); +// 1 + setQtyReject (Env.ZERO); +// 0 + setQtyScrap (Env.ZERO); +// 0 + setS_Resource_ID (0); + setYield (Env.ZERO); +// 100 + } */ + } + + /** Standard Constructor */ + public X_PP_Order (Properties ctx, String PP_Order_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_Order_UU, trxName, virtualColumns); + /** if (PP_Order_UU == null) + { + setAD_Workflow_ID (0); + setC_DocTypeTarget_ID (0); +// 0 + setC_UOM_ID (0); +// @UOMConversion@=Y | @Processed@='Y' + setDateOrdered (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDatePromised (new Timestamp( System.currentTimeMillis() )); + setDateStartSchedule (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + setDocAction (null); +// -- + setDocStatus (null); +// DR + setDocumentNo (null); + setIsApproved (false); +// N + setIsPrinted (false); +// N + setIsSelected (false); +// N + setIsSOTrx (false); +// N + setLine (0); + setM_Product_ID (0); + setM_Warehouse_ID (0); + setPP_Order_ID (0); + setPP_Product_BOM_ID (0); + setPriorityRule (null); + setProcessed (false); +// N + setQtyDelivered (Env.ZERO); +// 0 + setQtyOrdered (Env.ZERO); +// 1 + setQtyReject (Env.ZERO); +// 0 + setQtyScrap (Env.ZERO); +// 0 + setS_Resource_ID (0); + setYield (Env.ZERO); +// 100 + } */ + } + /** Load Constructor */ public X_PP_Order (Properties ctx, ResultSet rs, String trxName) { @@ -146,7 +248,7 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent } /** AccessLevel - * @return 1 - Org + * @return 1 - Org */ protected int get_AccessLevel() { @@ -701,7 +803,7 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getDocumentNo()); } @@ -756,10 +858,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent public boolean isApproved() { Object oo = get_Value(COLUMNNAME_IsApproved); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -779,10 +881,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent public boolean isPrinted() { Object oo = get_Value(COLUMNNAME_IsPrinted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -802,10 +904,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent public boolean isQtyPercentage() { Object oo = get_Value(COLUMNNAME_IsQtyPercentage); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -824,10 +926,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent public boolean isSelected() { Object oo = get_Value(COLUMNNAME_IsSelected); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -847,10 +949,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent public boolean isSOTrx() { Object oo = get_Value(COLUMNNAME_IsSOTrx); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1032,10 +1134,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent public boolean isPosted() { Object oo = get_Value(COLUMNNAME_Posted); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1149,10 +1251,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent public boolean isProcessed() { Object oo = get_Value(COLUMNNAME_Processed); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -1190,10 +1292,10 @@ public class X_PP_Order extends PO implements I_PP_Order, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_Order_BOM.java b/org.adempiere.base/src/org/eevolution/model/X_PP_Order_BOM.java index 7b3fc4465e..ecc5a47812 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_Order_BOM.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_Order_BOM.java @@ -24,16 +24,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for PP_Order_BOM - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_Order_BOM") -public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent +public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_Order_BOM (Properties ctx, int PP_Order_BOM_ID, String trxName) @@ -67,6 +67,38 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent } */ } + /** Standard Constructor */ + public X_PP_Order_BOM (Properties ctx, String PP_Order_BOM_UU, String trxName) + { + super (ctx, PP_Order_BOM_UU, trxName); + /** if (PP_Order_BOM_UU == null) + { + setC_UOM_ID (0); + setM_Product_ID (0); + setName (null); + setPP_Order_BOM_ID (0); + setPP_Order_ID (0); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_PP_Order_BOM (Properties ctx, String PP_Order_BOM_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_Order_BOM_UU, trxName, virtualColumns); + /** if (PP_Order_BOM_UU == null) + { + setC_UOM_ID (0); + setM_Product_ID (0); + setName (null); + setPP_Order_BOM_ID (0); + setPP_Order_ID (0); + setValidFrom (new Timestamp( System.currentTimeMillis() )); + setValue (null); + } */ + } + /** Load Constructor */ public X_PP_Order_BOM (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +106,7 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -356,7 +388,7 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } @@ -438,10 +470,10 @@ public class X_PP_Order_BOM extends PO implements I_PP_Order_BOM, I_Persistent public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_Order_BOMLine.java b/org.adempiere.base/src/org/eevolution/model/X_PP_Order_BOMLine.java index 4babdbd340..1bd9f71254 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_Order_BOMLine.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_Order_BOMLine.java @@ -26,16 +26,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PP_Order_BOMLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_Order_BOMLine") -public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Persistent +public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_Order_BOMLine (Properties ctx, int PP_Order_BOMLine_ID, String trxName) @@ -93,6 +93,62 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers } */ } + /** Standard Constructor */ + public X_PP_Order_BOMLine (Properties ctx, String PP_Order_BOMLine_UU, String trxName) + { + super (ctx, PP_Order_BOMLine_UU, trxName); + /** if (PP_Order_BOMLine_UU == null) + { + setC_UOM_ID (0); + setIsCritical (false); + setLine (0); +// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM PP_Order_BOMLine WHERE PP_Order_ID=@PP_Order_ID@ + setM_Product_ID (0); + setM_Warehouse_ID (0); + setPP_Order_BOM_ID (0); + setPP_Order_BOMLine_ID (0); + setPP_Order_ID (0); + setQtyBatch (Env.ZERO); + setQtyBOM (Env.ZERO); + setQtyDelivered (Env.ZERO); + setQtyPost (Env.ZERO); + setQtyReject (Env.ZERO); + setQtyRequiered (Env.ZERO); + setQtyReserved (Env.ZERO); + setQtyScrap (Env.ZERO); + setValidFrom (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + } */ + } + + /** Standard Constructor */ + public X_PP_Order_BOMLine (Properties ctx, String PP_Order_BOMLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_Order_BOMLine_UU, trxName, virtualColumns); + /** if (PP_Order_BOMLine_UU == null) + { + setC_UOM_ID (0); + setIsCritical (false); + setLine (0); +// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM PP_Order_BOMLine WHERE PP_Order_ID=@PP_Order_ID@ + setM_Product_ID (0); + setM_Warehouse_ID (0); + setPP_Order_BOM_ID (0); + setPP_Order_BOMLine_ID (0); + setPP_Order_ID (0); + setQtyBatch (Env.ZERO); + setQtyBOM (Env.ZERO); + setQtyDelivered (Env.ZERO); + setQtyPost (Env.ZERO); + setQtyReject (Env.ZERO); + setQtyRequiered (Env.ZERO); + setQtyReserved (Env.ZERO); + setQtyScrap (Env.ZERO); + setValidFrom (new Timestamp( System.currentTimeMillis() )); +// @#Date@ + } */ + } + /** Load Constructor */ public X_PP_Order_BOMLine (Properties ctx, ResultSet rs, String trxName) { @@ -100,7 +156,7 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -365,10 +421,10 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers public boolean isCritical() { Object oo = get_Value(COLUMNNAME_IsCritical); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -388,10 +444,10 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers public boolean isQtyPercentage() { Object oo = get_Value(COLUMNNAME_IsQtyPercentage); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -575,7 +631,7 @@ public class X_PP_Order_BOMLine extends PO implements I_PP_Order_BOMLine, I_Pers /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_Product_ID())); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Cost.java b/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Cost.java index 5bed254c85..ed09a7fb78 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Cost.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Cost.java @@ -24,16 +24,16 @@ import org.compiere.model.*; import org.compiere.util.Env; /** Generated Model for PP_Order_Cost - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_Order_Cost") -public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent +public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_Order_Cost (Properties ctx, int PP_Order_Cost_ID, String trxName) @@ -63,6 +63,34 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent } */ } + /** Standard Constructor */ + public X_PP_Order_Cost (Properties ctx, String PP_Order_Cost_UU, String trxName) + { + super (ctx, PP_Order_Cost_UU, trxName); + /** if (PP_Order_Cost_UU == null) + { + setC_AcctSchema_ID (0); + setM_CostType_ID (0); + setM_Product_ID (0); + setPP_Order_Cost_ID (0); + setPP_Order_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PP_Order_Cost (Properties ctx, String PP_Order_Cost_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_Order_Cost_UU, trxName, virtualColumns); + /** if (PP_Order_Cost_UU == null) + { + setC_AcctSchema_ID (0); + setM_CostType_ID (0); + setM_Product_ID (0); + setPP_Order_Cost_ID (0); + setPP_Order_ID (0); + } */ + } + /** Load Constructor */ public X_PP_Order_Cost (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +98,7 @@ public class X_PP_Order_Cost extends PO implements I_PP_Order_Cost, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Node.java b/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Node.java index a7c19ddfc3..311f038a52 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Node.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Node.java @@ -26,16 +26,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PP_Order_Node - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_Order_Node") -public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent +public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_Order_Node (Properties ctx, int PP_Order_Node_ID, String trxName) @@ -101,6 +101,70 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent } */ } + /** Standard Constructor */ + public X_PP_Order_Node (Properties ctx, String PP_Order_Node_UU, String trxName) + { + super (ctx, PP_Order_Node_UU, trxName); + /** if (PP_Order_Node_UU == null) + { + setAction (null); +// Z + setAD_WF_Node_ID (0); + setAD_Workflow_ID (0); + setCost (Env.ZERO); + setEntityType (null); +// @SQL=select get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) from dual + setIsCentrallyMaintained (false); + setJoinElement (null); +// X + setLimit (0); + setName (null); + setPP_Order_ID (0); + setPP_Order_Node_ID (0); + setPP_Order_Workflow_ID (0); + setPriority (0); + setSplitElement (null); +// X + setValue (null); + setWaitingTime (0); + setWorkingTime (0); + setXPosition (0); + setYPosition (0); + } */ + } + + /** Standard Constructor */ + public X_PP_Order_Node (Properties ctx, String PP_Order_Node_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_Order_Node_UU, trxName, virtualColumns); + /** if (PP_Order_Node_UU == null) + { + setAction (null); +// Z + setAD_WF_Node_ID (0); + setAD_Workflow_ID (0); + setCost (Env.ZERO); + setEntityType (null); +// @SQL=select get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) from dual + setIsCentrallyMaintained (false); + setJoinElement (null); +// X + setLimit (0); + setName (null); + setPP_Order_ID (0); + setPP_Order_Node_ID (0); + setPP_Order_Workflow_ID (0); + setPriority (0); + setSplitElement (null); +// X + setValue (null); + setWaitingTime (0); + setWorkingTime (0); + setXPosition (0); + setYPosition (0); + } */ + } + /** Load Constructor */ public X_PP_Order_Node (Properties ctx, ResultSet rs, String trxName) { @@ -108,7 +172,7 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -830,10 +894,10 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent public boolean isCentrallyMaintained() { Object oo = get_Value(COLUMNNAME_IsCentrallyMaintained); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -852,10 +916,10 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent public boolean isMilestone() { Object oo = get_Value(COLUMNNAME_IsMilestone); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -874,10 +938,10 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent public boolean isSubcontracting() { Object oo = get_Value(COLUMNNAME_IsSubcontracting); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -962,7 +1026,7 @@ public class X_PP_Order_Node extends PO implements I_PP_Order_Node, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_Order_NodeNext.java b/org.adempiere.base/src/org/eevolution/model/X_PP_Order_NodeNext.java index 5e59a080d4..9e16a57fcb 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_Order_NodeNext.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_Order_NodeNext.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.model.*; /** Generated Model for PP_Order_NodeNext - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_Order_NodeNext") -public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Persistent +public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_Order_NodeNext (Properties ctx, int PP_Order_NodeNext_ID, String trxName) @@ -65,6 +65,38 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe } */ } + /** Standard Constructor */ + public X_PP_Order_NodeNext (Properties ctx, String PP_Order_NodeNext_UU, String trxName) + { + super (ctx, PP_Order_NodeNext_UU, trxName); + /** if (PP_Order_NodeNext_UU == null) + { + setAD_WF_Node_ID (0); + setEntityType (null); +// @SQL=select get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) from dual + setPP_Order_ID (0); + setPP_Order_Node_ID (0); + setSeqNo (0); +// 10 + } */ + } + + /** Standard Constructor */ + public X_PP_Order_NodeNext (Properties ctx, String PP_Order_NodeNext_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_Order_NodeNext_UU, trxName, virtualColumns); + /** if (PP_Order_NodeNext_UU == null) + { + setAD_WF_Node_ID (0); + setEntityType (null); +// @SQL=select get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) from dual + setPP_Order_ID (0); + setPP_Order_Node_ID (0); + setSeqNo (0); +// 10 + } */ + } + /** Load Constructor */ public X_PP_Order_NodeNext (Properties ctx, ResultSet rs, String trxName) { @@ -72,7 +104,7 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -198,10 +230,10 @@ public class X_PP_Order_NodeNext extends PO implements I_PP_Order_NodeNext, I_Pe public boolean isStdUserWorkflow() { Object oo = get_Value(COLUMNNAME_IsStdUserWorkflow); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Node_Asset.java b/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Node_Asset.java index a5cee28155..cdbba90b7e 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Node_Asset.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Node_Asset.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.model.*; /** Generated Model for PP_Order_Node_Asset - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_Order_Node_Asset") -public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset, I_Persistent +public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_Order_Node_Asset (Properties ctx, int PP_Order_Node_Asset_ID, String trxName) @@ -61,6 +61,34 @@ public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset, } */ } + /** Standard Constructor */ + public X_PP_Order_Node_Asset (Properties ctx, String PP_Order_Node_Asset_UU, String trxName) + { + super (ctx, PP_Order_Node_Asset_UU, trxName); + /** if (PP_Order_Node_Asset_UU == null) + { + setA_Asset_ID (0); + setPP_Order_ID (0); + setPP_Order_Node_Asset_ID (0); + setPP_Order_Node_ID (0); + setPP_Order_Workflow_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PP_Order_Node_Asset (Properties ctx, String PP_Order_Node_Asset_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_Order_Node_Asset_UU, trxName, virtualColumns); + /** if (PP_Order_Node_Asset_UU == null) + { + setA_Asset_ID (0); + setPP_Order_ID (0); + setPP_Order_Node_Asset_ID (0); + setPP_Order_Node_ID (0); + setPP_Order_Workflow_ID (0); + } */ + } + /** Load Constructor */ public X_PP_Order_Node_Asset (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +96,7 @@ public class X_PP_Order_Node_Asset extends PO implements I_PP_Order_Node_Asset, } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Node_Product.java b/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Node_Product.java index 0b38e5d42d..890a0dda80 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Node_Product.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Node_Product.java @@ -24,16 +24,16 @@ import org.compiere.model.*; import org.compiere.util.Env; /** Generated Model for PP_Order_Node_Product - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_Order_Node_Product") -public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Product, I_Persistent +public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Product, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_Order_Node_Product (Properties ctx, int PP_Order_Node_Product_ID, String trxName) @@ -63,6 +63,34 @@ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Produ } */ } + /** Standard Constructor */ + public X_PP_Order_Node_Product (Properties ctx, String PP_Order_Node_Product_UU, String trxName) + { + super (ctx, PP_Order_Node_Product_UU, trxName); + /** if (PP_Order_Node_Product_UU == null) + { + setM_Product_ID (0); + setPP_Order_ID (0); + setPP_Order_Node_ID (0); + setPP_Order_Node_Product_ID (0); + setPP_Order_Workflow_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PP_Order_Node_Product (Properties ctx, String PP_Order_Node_Product_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_Order_Node_Product_UU, trxName, virtualColumns); + /** if (PP_Order_Node_Product_UU == null) + { + setM_Product_ID (0); + setPP_Order_ID (0); + setPP_Order_Node_ID (0); + setPP_Order_Node_Product_ID (0); + setPP_Order_Workflow_ID (0); + } */ + } + /** Load Constructor */ public X_PP_Order_Node_Product (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +98,7 @@ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Produ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -104,10 +132,10 @@ public class X_PP_Order_Node_Product extends PO implements I_PP_Order_Node_Produ public boolean isSubcontracting() { Object oo = get_Value(COLUMNNAME_IsSubcontracting); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Workflow.java b/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Workflow.java index 1c90f9c6e1..5eaa39d721 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Workflow.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_Order_Workflow.java @@ -26,16 +26,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PP_Order_Workflow - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_Order_Workflow") -public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Persistent +public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_Order_Workflow (Properties ctx, int PP_Order_Workflow_ID, String trxName) @@ -93,6 +93,62 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe } */ } + /** Standard Constructor */ + public X_PP_Order_Workflow (Properties ctx, String PP_Order_Workflow_UU, String trxName) + { + super (ctx, PP_Order_Workflow_UU, trxName); + /** if (PP_Order_Workflow_UU == null) + { + setAccessLevel (null); + setAD_Workflow_ID (0); + setAuthor (null); + setCost (Env.ZERO); + setDuration (0); +// 0 + setDurationUnit (null); +// h + setEntityType (null); +// @SQL=select get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) from dual + setLimit (0); + setName (null); + setPP_Order_ID (0); + setPP_Order_Workflow_ID (0); + setPriority (0); + setPublishStatus (null); +// U + setVersion (0); + setWaitingTime (0); + } */ + } + + /** Standard Constructor */ + public X_PP_Order_Workflow (Properties ctx, String PP_Order_Workflow_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_Order_Workflow_UU, trxName, virtualColumns); + /** if (PP_Order_Workflow_UU == null) + { + setAccessLevel (null); + setAD_Workflow_ID (0); + setAuthor (null); + setCost (Env.ZERO); + setDuration (0); +// 0 + setDurationUnit (null); +// h + setEntityType (null); +// @SQL=select get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) from dual + setLimit (0); + setName (null); + setPP_Order_ID (0); + setPP_Order_Workflow_ID (0); + setPriority (0); + setPublishStatus (null); +// U + setVersion (0); + setWaitingTime (0); + } */ + } + /** Load Constructor */ public X_PP_Order_Workflow (Properties ctx, ResultSet rs, String trxName) { @@ -100,7 +156,7 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -458,10 +514,10 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe public boolean isDefault() { Object oo = get_Value(COLUMNNAME_IsDefault); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -523,7 +579,7 @@ public class X_PP_Order_Workflow extends PO implements I_PP_Order_Workflow, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_Product_BOM.java b/org.adempiere.base/src/org/eevolution/model/X_PP_Product_BOM.java index 6281a99c8c..0c4bd4d3b7 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_Product_BOM.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_Product_BOM.java @@ -24,16 +24,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for PP_Product_BOM - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_Product_BOM") -public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persistent +public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_Product_BOM (Properties ctx, int PP_Product_BOM_ID, String trxName) @@ -61,6 +61,32 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste } */ } + /** Standard Constructor */ + public X_PP_Product_BOM (Properties ctx, String PP_Product_BOM_UU, String trxName) + { + super (ctx, PP_Product_BOM_UU, trxName); + /** if (PP_Product_BOM_UU == null) + { + setM_Product_ID (0); + setName (null); + setPP_Product_BOM_ID (0); + setValue (null); + } */ + } + + /** Standard Constructor */ + public X_PP_Product_BOM (Properties ctx, String PP_Product_BOM_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_Product_BOM_UU, trxName, virtualColumns); + /** if (PP_Product_BOM_UU == null) + { + setM_Product_ID (0); + setName (null); + setPP_Product_BOM_ID (0); + setValue (null); + } */ + } + /** Load Constructor */ public X_PP_Product_BOM (Properties ctx, ResultSet rs, String trxName) { @@ -68,7 +94,7 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -381,10 +407,10 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste public boolean isProcessing() { Object oo = get_Value(COLUMNNAME_Processing); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -456,7 +482,7 @@ public class X_PP_Product_BOM extends PO implements I_PP_Product_BOM, I_Persiste /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getValue()); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_Product_BOMLine.java b/org.adempiere.base/src/org/eevolution/model/X_PP_Product_BOMLine.java index fdce6fc136..ac181946ca 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_Product_BOMLine.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_Product_BOMLine.java @@ -26,16 +26,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PP_Product_BOMLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_Product_BOMLine") -public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_Persistent +public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_Product_BOMLine (Properties ctx, int PP_Product_BOMLine_ID, String trxName) @@ -67,6 +67,36 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_ } */ } + /** Standard Constructor */ + public X_PP_Product_BOMLine (Properties ctx, String PP_Product_BOMLine_UU, String trxName) + { + super (ctx, PP_Product_BOMLine_UU, trxName); + /** if (PP_Product_BOMLine_UU == null) + { + setLine (0); +// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM PP_Product_BOMLine WHERE PP_Product_BOM_ID=@PP_Product_BOM_ID@ + setM_Product_ID (0); +// -1 + setPP_Product_BOM_ID (0); + setPP_Product_BOMLine_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PP_Product_BOMLine (Properties ctx, String PP_Product_BOMLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_Product_BOMLine_UU, trxName, virtualColumns); + /** if (PP_Product_BOMLine_UU == null) + { + setLine (0); +// @SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM PP_Product_BOMLine WHERE PP_Product_BOM_ID=@PP_Product_BOM_ID@ + setM_Product_ID (0); +// -1 + setPP_Product_BOM_ID (0); + setPP_Product_BOMLine_ID (0); + } */ + } + /** Load Constructor */ public X_PP_Product_BOMLine (Properties ctx, ResultSet rs, String trxName) { @@ -74,7 +104,7 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -295,10 +325,10 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_ public boolean isCritical() { Object oo = get_Value(COLUMNNAME_IsCritical); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -318,10 +348,10 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_ public boolean isQtyPercentage() { Object oo = get_Value(COLUMNNAME_IsQtyPercentage); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -477,7 +507,7 @@ public class X_PP_Product_BOMLine extends PO implements I_PP_Product_BOMLine, I_ /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_Product_ID())); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_Product_Planning.java b/org.adempiere.base/src/org/eevolution/model/X_PP_Product_Planning.java index 3bb658eb11..8bc1d7a236 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_Product_Planning.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_Product_Planning.java @@ -25,16 +25,16 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; /** Generated Model for PP_Product_Planning - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_Product_Planning") -public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning, I_Persistent +public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_Product_Planning (Properties ctx, int PP_Product_Planning_ID, String trxName) @@ -68,6 +68,38 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning, } */ } + /** Standard Constructor */ + public X_PP_Product_Planning (Properties ctx, String PP_Product_Planning_UU, String trxName) + { + super (ctx, PP_Product_Planning_UU, trxName); + /** if (PP_Product_Planning_UU == null) + { + setIsCreatePlan (true); +// Y + setIsPhantom (false); + setIsRequiredDRP (false); + setIsRequiredMRP (false); + setM_Product_ID (0); + setPP_Product_Planning_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PP_Product_Planning (Properties ctx, String PP_Product_Planning_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_Product_Planning_UU, trxName, virtualColumns); + /** if (PP_Product_Planning_UU == null) + { + setIsCreatePlan (true); +// Y + setIsPhantom (false); + setIsRequiredDRP (false); + setIsRequiredMRP (false); + setM_Product_ID (0); + setPP_Product_Planning_ID (0); + } */ + } + /** Load Constructor */ public X_PP_Product_Planning (Properties ctx, ResultSet rs, String trxName) { @@ -75,7 +107,7 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning, } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -184,10 +216,10 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning, public boolean isCreatePlan() { Object oo = get_Value(COLUMNNAME_IsCreatePlan); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -206,10 +238,10 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning, public boolean isMPS() { Object oo = get_Value(COLUMNNAME_IsMPS); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -229,10 +261,10 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning, public boolean isPhantom() { Object oo = get_Value(COLUMNNAME_IsPhantom); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -251,10 +283,10 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning, public boolean isRequiredDRP() { Object oo = get_Value(COLUMNNAME_IsRequiredDRP); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -273,10 +305,10 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning, public boolean isRequiredMRP() { Object oo = get_Value(COLUMNNAME_IsRequiredMRP); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -313,7 +345,7 @@ public class X_PP_Product_Planning extends PO implements I_PP_Product_Planning, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getM_Product_ID())); } diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_WF_Node_Asset.java b/org.adempiere.base/src/org/eevolution/model/X_PP_WF_Node_Asset.java index 22245c0f84..24641410f3 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_WF_Node_Asset.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_WF_Node_Asset.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.model.*; /** Generated Model for PP_WF_Node_Asset - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_WF_Node_Asset") -public class X_PP_WF_Node_Asset extends PO implements I_PP_WF_Node_Asset, I_Persistent +public class X_PP_WF_Node_Asset extends PO implements I_PP_WF_Node_Asset, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_WF_Node_Asset (Properties ctx, int PP_WF_Node_Asset_ID, String trxName) @@ -59,6 +59,32 @@ public class X_PP_WF_Node_Asset extends PO implements I_PP_WF_Node_Asset, I_Pers } */ } + /** Standard Constructor */ + public X_PP_WF_Node_Asset (Properties ctx, String PP_WF_Node_Asset_UU, String trxName) + { + super (ctx, PP_WF_Node_Asset_UU, trxName); + /** if (PP_WF_Node_Asset_UU == null) + { + setA_Asset_ID (0); + setAD_WF_Node_ID (0); + setPP_WF_Node_Asset_ID (0); + setSeqNo (0); + } */ + } + + /** Standard Constructor */ + public X_PP_WF_Node_Asset (Properties ctx, String PP_WF_Node_Asset_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_WF_Node_Asset_UU, trxName, virtualColumns); + /** if (PP_WF_Node_Asset_UU == null) + { + setA_Asset_ID (0); + setAD_WF_Node_ID (0); + setPP_WF_Node_Asset_ID (0); + setSeqNo (0); + } */ + } + /** Load Constructor */ public X_PP_WF_Node_Asset (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_PP_WF_Node_Asset extends PO implements I_PP_WF_Node_Asset, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/eevolution/model/X_PP_WF_Node_Product.java b/org.adempiere.base/src/org/eevolution/model/X_PP_WF_Node_Product.java index e6ba672501..6cab6346da 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_PP_WF_Node_Product.java +++ b/org.adempiere.base/src/org/eevolution/model/X_PP_WF_Node_Product.java @@ -24,16 +24,16 @@ import org.compiere.model.*; import org.compiere.util.Env; /** Generated Model for PP_WF_Node_Product - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="PP_WF_Node_Product") -public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_Persistent +public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_PP_WF_Node_Product (Properties ctx, int PP_WF_Node_Product_ID, String trxName) @@ -63,6 +63,34 @@ public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_ } */ } + /** Standard Constructor */ + public X_PP_WF_Node_Product (Properties ctx, String PP_WF_Node_Product_UU, String trxName) + { + super (ctx, PP_WF_Node_Product_UU, trxName); + /** if (PP_WF_Node_Product_UU == null) + { + setAD_WF_Node_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setM_Product_ID (0); + setPP_WF_Node_Product_ID (0); + } */ + } + + /** Standard Constructor */ + public X_PP_WF_Node_Product (Properties ctx, String PP_WF_Node_Product_UU, String trxName, String ... virtualColumns) + { + super (ctx, PP_WF_Node_Product_UU, trxName, virtualColumns); + /** if (PP_WF_Node_Product_UU == null) + { + setAD_WF_Node_ID (0); + setEntityType (null); +// @SQL=SELECT CASE WHEN '@P|AdempiereSys:N@'='Y' THEN 'D' ELSE get_sysconfig('DEFAULT_ENTITYTYPE','U',0,0) END FROM Dual + setM_Product_ID (0); + setPP_WF_Node_Product_ID (0); + } */ + } + /** Load Constructor */ public X_PP_WF_Node_Product (Properties ctx, ResultSet rs, String trxName) { @@ -70,7 +98,7 @@ public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_ } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -176,10 +204,10 @@ public class X_PP_WF_Node_Product extends PO implements I_PP_WF_Node_Product, I_ public boolean isSubcontracting() { Object oo = get_Value(COLUMNNAME_IsSubcontracting); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_QM_Specification.java b/org.adempiere.base/src/org/eevolution/model/X_QM_Specification.java index 77ee730fc1..08a9fe3236 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_QM_Specification.java +++ b/org.adempiere.base/src/org/eevolution/model/X_QM_Specification.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.model.*; /** Generated Model for QM_Specification - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="QM_Specification") -public class X_QM_Specification extends PO implements I_QM_Specification, I_Persistent +public class X_QM_Specification extends PO implements I_QM_Specification, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_QM_Specification (Properties ctx, int QM_Specification_ID, String trxName) @@ -58,6 +58,30 @@ public class X_QM_Specification extends PO implements I_QM_Specification, I_Pers } */ } + /** Standard Constructor */ + public X_QM_Specification (Properties ctx, String QM_Specification_UU, String trxName) + { + super (ctx, QM_Specification_UU, trxName); + /** if (QM_Specification_UU == null) + { + setM_AttributeSet_ID (0); + setM_Product_ID (0); + setQM_Specification_ID (0); + } */ + } + + /** Standard Constructor */ + public X_QM_Specification (Properties ctx, String QM_Specification_UU, String trxName, String ... virtualColumns) + { + super (ctx, QM_Specification_UU, trxName, virtualColumns); + /** if (QM_Specification_UU == null) + { + setM_AttributeSet_ID (0); + setM_Product_ID (0); + setQM_Specification_ID (0); + } */ + } + /** Load Constructor */ public X_QM_Specification (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +89,7 @@ public class X_QM_Specification extends PO implements I_QM_Specification, I_Pers } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/eevolution/model/X_QM_SpecificationLine.java b/org.adempiere.base/src/org/eevolution/model/X_QM_SpecificationLine.java index dd2b608f83..1b8d80ef9c 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_QM_SpecificationLine.java +++ b/org.adempiere.base/src/org/eevolution/model/X_QM_SpecificationLine.java @@ -23,16 +23,16 @@ import java.util.Properties; import org.compiere.model.*; /** Generated Model for QM_SpecificationLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="QM_SpecificationLine") -public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine, I_Persistent +public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_QM_SpecificationLine (Properties ctx, int QM_SpecificationLine_ID, String trxName) @@ -60,6 +60,32 @@ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine } */ } + /** Standard Constructor */ + public X_QM_SpecificationLine (Properties ctx, String QM_SpecificationLine_UU, String trxName) + { + super (ctx, QM_SpecificationLine_UU, trxName); + /** if (QM_SpecificationLine_UU == null) + { + setAndOr (null); + setM_Attribute_ID (0); + setOperation (null); + setQM_SpecificationLine_ID (0); + } */ + } + + /** Standard Constructor */ + public X_QM_SpecificationLine (Properties ctx, String QM_SpecificationLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, QM_SpecificationLine_UU, trxName, virtualColumns); + /** if (QM_SpecificationLine_UU == null) + { + setAndOr (null); + setM_Attribute_ID (0); + setOperation (null); + setQM_SpecificationLine_ID (0); + } */ + } + /** Load Constructor */ public X_QM_SpecificationLine (Properties ctx, ResultSet rs, String trxName) { @@ -67,7 +93,7 @@ public class X_QM_SpecificationLine extends PO implements I_QM_SpecificationLine } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/eevolution/model/X_T_BOMLine.java b/org.adempiere.base/src/org/eevolution/model/X_T_BOMLine.java index 92046d447e..ad701a8bb5 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_T_BOMLine.java +++ b/org.adempiere.base/src/org/eevolution/model/X_T_BOMLine.java @@ -24,16 +24,16 @@ import org.compiere.model.*; import org.compiere.util.Env; /** Generated Model for T_BOMLine - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="T_BOMLine") -public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent +public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_T_BOMLine (Properties ctx, int T_BOMLine_ID, String trxName) @@ -57,6 +57,28 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent } */ } + /** Standard Constructor */ + public X_T_BOMLine (Properties ctx, String T_BOMLine_UU, String trxName) + { + super (ctx, T_BOMLine_UU, trxName); + /** if (T_BOMLine_UU == null) + { + setSel_Product_ID (0); + setT_BOMLine_ID (0); + } */ + } + + /** Standard Constructor */ + public X_T_BOMLine (Properties ctx, String T_BOMLine_UU, String trxName, String ... virtualColumns) + { + super (ctx, T_BOMLine_UU, trxName, virtualColumns); + /** if (T_BOMLine_UU == null) + { + setSel_Product_ID (0); + setT_BOMLine_ID (0); + } */ + } + /** Load Constructor */ public X_T_BOMLine (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +86,7 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { @@ -304,10 +326,10 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent public boolean isImplosion() { Object oo = get_Value(COLUMNNAME_Implosion); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -327,10 +349,10 @@ public class X_T_BOMLine extends PO implements I_T_BOMLine, I_Persistent public boolean isCostFrozen() { Object oo = get_Value(COLUMNNAME_IsCostFrozen); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.adempiere.base/src/org/eevolution/model/X_T_MRP_CRP.java b/org.adempiere.base/src/org/eevolution/model/X_T_MRP_CRP.java index 3e2f75402c..59a0934844 100644 --- a/org.adempiere.base/src/org/eevolution/model/X_T_MRP_CRP.java +++ b/org.adempiere.base/src/org/eevolution/model/X_T_MRP_CRP.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.model.*; /** Generated Model for T_MRP_CRP - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="T_MRP_CRP") -public class X_T_MRP_CRP extends PO implements I_T_MRP_CRP, I_Persistent +public class X_T_MRP_CRP extends PO implements I_T_MRP_CRP, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_T_MRP_CRP (Properties ctx, int T_MRP_CRP_ID, String trxName) @@ -53,6 +53,26 @@ public class X_T_MRP_CRP extends PO implements I_T_MRP_CRP, I_Persistent } */ } + /** Standard Constructor */ + public X_T_MRP_CRP (Properties ctx, String T_MRP_CRP_UU, String trxName) + { + super (ctx, T_MRP_CRP_UU, trxName); + /** if (T_MRP_CRP_UU == null) + { + setT_MRP_CRP_ID (0); + } */ + } + + /** Standard Constructor */ + public X_T_MRP_CRP (Properties ctx, String T_MRP_CRP_UU, String trxName, String ... virtualColumns) + { + super (ctx, T_MRP_CRP_UU, trxName, virtualColumns); + /** if (T_MRP_CRP_UU == null) + { + setT_MRP_CRP_ID (0); + } */ + } + /** Load Constructor */ public X_T_MRP_CRP (Properties ctx, ResultSet rs, String trxName) { @@ -60,7 +80,7 @@ public class X_T_MRP_CRP extends PO implements I_T_MRP_CRP, I_Persistent } /** AccessLevel - * @return 3 - Client - Org + * @return 3 - Client - Org */ protected int get_AccessLevel() { diff --git a/org.adempiere.base/src/org/idempiere/model/IMappedModelFactory.java b/org.adempiere.base/src/org/idempiere/model/IMappedModelFactory.java index 8dc3be8777..aefcc32394 100644 --- a/org.adempiere.base/src/org/idempiere/model/IMappedModelFactory.java +++ b/org.adempiere.base/src/org/idempiere/model/IMappedModelFactory.java @@ -45,8 +45,23 @@ public interface IMappedModelFactory { * @param recordIdFunction * @param resultSetFunction */ + default void addMapping(String tableName, Supplier> classSupplier, + BiFunction recordIdFunction, + BiFunction resultSetFunction) { + addMapping(tableName, classSupplier, recordIdFunction, null, resultSetFunction); + } + + /** + * add table name to class mapping + * @param tableName + * @param classSupplier + * @param recordIdFunction + * @param recordUUIDFunction + * @param resultSetFunction + */ void addMapping(String tableName, Supplier> classSupplier, BiFunction recordIdFunction, + BiFunction recordUUIDFunction, BiFunction resultSetFunction); /** diff --git a/org.adempiere.base/src/org/idempiere/model/MappedModelFactory.java b/org.adempiere.base/src/org/idempiere/model/MappedModelFactory.java index 79609fd86a..9265142f01 100644 --- a/org.adempiere.base/src/org/idempiere/model/MappedModelFactory.java +++ b/org.adempiere.base/src/org/idempiere/model/MappedModelFactory.java @@ -60,6 +60,7 @@ public class MappedModelFactory implements IModelFactory, IMappedModelFactory { private final ConcurrentHashMap>> classMap = new ConcurrentHashMap<>(); private final ConcurrentHashMap> recordIdMap = new ConcurrentHashMap<>(); + private final ConcurrentHashMap> recordUUIDMap = new ConcurrentHashMap<>(); private final ConcurrentHashMap> resultSetMap = new ConcurrentHashMap<>(); private static final CLogger s_log = CLogger.getCLogger(MappedModelFactory.class); @@ -82,6 +83,12 @@ public class MappedModelFactory implements IModelFactory, IMappedModelFactory { return function != null ? function.apply(Record_ID, trxName) : null; } + @Override + public PO getPO(String tableName, String Record_UU, String trxName) { + var function = recordUUIDMap.get(tableName); + return function != null ? function.apply(Record_UU, trxName) : null; + } + @Override public PO getPO(String tableName, ResultSet rs, String trxName) { var function = resultSetMap.get(tableName); @@ -91,8 +98,16 @@ public class MappedModelFactory implements IModelFactory, IMappedModelFactory { @Override public void addMapping(String tableName, Supplier> classSupplier, BiFunction recordIdFunction, BiFunction resultSetFunction) { + addMapping(tableName, classSupplier, recordIdFunction, null, resultSetFunction); + } + + @Override + public void addMapping(String tableName, Supplier> classSupplier, BiFunction recordIdFunction, + BiFunction recordUUIDFunction, BiFunction resultSetFunction) { classMap.put(tableName, classSupplier); recordIdMap.put(tableName, recordIdFunction); + if (recordUUIDFunction != null) + recordUUIDMap.put(tableName, recordUUIDFunction); resultSetMap.put(tableName, resultSetFunction); } diff --git a/org.idempiere.test/src/org/idempiere/test/model/MTestTest.java b/org.idempiere.test/src/org/idempiere/test/model/MTestTest.java new file mode 100644 index 0000000000..1f9afefd20 --- /dev/null +++ b/org.idempiere.test/src/org/idempiere/test/model/MTestTest.java @@ -0,0 +1,101 @@ +/*********************************************************************** + * This file is part of iDempiere ERP Open Source * + * http://www.idempiere.org * + * * + * Copyright (C) Contributors * + * * + * This program is free software; you can redistribute it and/or * + * modify it under the terms of the GNU General Public License * + * as published by the Free Software Foundation; either version 2 * + * of the License, or (at your option) any later version. * + * * + * 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., 51 Franklin Street, Fifth Floor, Boston, * + * MA 02110-1301, USA. * + * * + * Contributors: * + * - Carlos Ruiz - globalqss - bxservice * + **********************************************************************/ + +package org.idempiere.test.model; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.junit.jupiter.api.Assertions.assertTrue; + +import java.util.Properties; + +import org.adempiere.exceptions.AdempiereException; +import org.compiere.model.MTest; +import org.compiere.model.PO; +import org.compiere.util.Env; +import org.compiere.util.Util; +import org.idempiere.test.AbstractTestCase; +import org.junit.jupiter.api.Test; + +/** + * + * @author Carlos Ruiz - globalqss - bxservice + * + */ +public class MTestTest extends AbstractTestCase { + + private static final String TestInGardenWorld = "6846b9eb-aff1-47c8-8b50-e9632b39c0c7"; + private static final String TestInSystem = "d08e9de9-39e5-485c-ad50-e8bc7ee0f575" + + ""; + + public MTestTest() { + } + + @Test + public void testReadingUpdatingTest() { + Properties ctx = Env.getCtx(); + String trxName = getTrxName(); + MTest test = new MTest(ctx, TestInGardenWorld, trxName); + test.setDescription("Test setting description"); + test.saveEx(); + test.load(trxName); + assertEquals("Test setting description", test.getDescription()); + MTest testSys = new MTest(ctx, TestInSystem, trxName); + testSys.setDescription("Test setting description"); + AdempiereException thrown = assertThrows( + AdempiereException.class, + () -> testSys.saveEx(), + "Expected test.SaveEx() to throw cross tenant error, but it didn't" + ); + assertTrue(thrown.getMessage().startsWith("Cross tenant PO ")); + } + + @Test + public void testInsertingTest() { + Properties ctx = Env.getCtx(); + String trxName = getTrxName(); + MTest test = new MTest(ctx, PO.UUID_NEW_RECORD, trxName); + test.setName("Test UU record created on JUnit test"); + test.saveEx(); + test.load(trxName); + assertEquals("Test UU record created on JUnit test", test.getName()); + String uukey = test.getTest_UU(); + String uuid = test.get_UUID(); + assertTrue(Util.isUUID(uukey)); + assertEquals(uukey, uuid); + } + + @Test + public void testDeletingTest() { + Properties ctx = Env.getCtx(); + String trxName = getTrxName(); + MTest test = new MTest(ctx, TestInGardenWorld, trxName); + test.deleteEx(true); + MTest test2 = new MTest(ctx, TestInGardenWorld, trxName); + assertFalse(test2.get_UUID().equals(TestInGardenWorld)); + } + +} diff --git a/org.idempiere.test/src/org/idempiere/test/model/MappedModelFactoryTest.java b/org.idempiere.test/src/org/idempiere/test/model/MappedModelFactoryTest.java index d21bd2894a..cf83386f33 100644 --- a/org.idempiere.test/src/org/idempiere/test/model/MappedModelFactoryTest.java +++ b/org.idempiere.test/src/org/idempiere/test/model/MappedModelFactoryTest.java @@ -112,32 +112,38 @@ public class MappedModelFactoryTest extends AbstractTestCase { } private final static class MyTest extends X_Test { - /** * */ - private static final long serialVersionUID = 2010413233032792416L; + private static final long serialVersionUID = 6598731099622814068L; public MyTest(Properties ctx, int Test_ID, String trxName) { super(ctx, Test_ID, trxName); } + public MyTest(Properties ctx, String Test_UU, String trxName) { + super(ctx, Test_UU, trxName); + } + public MyTest(Properties ctx, ResultSet rs, String trxName) { super(ctx, rs, trxName); } } private final static class MyTest2 extends X_Test { - /** * */ - private static final long serialVersionUID = 2010413233032792416L; + private static final long serialVersionUID = 7420832191690522686L; public MyTest2(Properties ctx, int Test_ID, String trxName) { super(ctx, Test_ID, trxName); } + public MyTest2(Properties ctx, String Test_UU, String trxName) { + super(ctx, Test_UU, trxName); + } + public MyTest2(Properties ctx, ResultSet rs, String trxName) { super(ctx, rs, trxName); } diff --git a/org.idempiere.test/src/org/idempiere/test/model/annotated/MyAnnotatedColorModel.java b/org.idempiere.test/src/org/idempiere/test/model/annotated/MyAnnotatedColorModel.java index 57cc7d8814..3e29dc79ce 100644 --- a/org.idempiere.test/src/org/idempiere/test/model/annotated/MyAnnotatedColorModel.java +++ b/org.idempiere.test/src/org/idempiere/test/model/annotated/MyAnnotatedColorModel.java @@ -36,16 +36,19 @@ import org.compiere.model.MColor; */ @org.adempiere.base.Model(table = MColor.Table_Name) public class MyAnnotatedColorModel extends MColor { - /** * */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -4031355909606578271L; public MyAnnotatedColorModel(Properties ctx, int Test_ID, String trxName) { super(ctx, Test_ID, trxName); } + public MyAnnotatedColorModel(Properties ctx, String Test_UU, String trxName) { + super(ctx, Test_UU, trxName); + } + public MyAnnotatedColorModel(Properties ctx, ResultSet rs, String trxName) { super(ctx, rs, trxName); } diff --git a/org.idempiere.test/src/org/idempiere/test/ui/MiniTableImpl.java b/org.idempiere.test/src/org/idempiere/test/ui/MiniTableImpl.java index 244574db54..0f5c6a6853 100644 --- a/org.idempiere.test/src/org/idempiere/test/ui/MiniTableImpl.java +++ b/org.idempiere.test/src/org/idempiere/test/ui/MiniTableImpl.java @@ -24,6 +24,7 @@ **********************************************************************/ package org.idempiere.test.ui; +import java.io.Serializable; import java.math.BigDecimal; import java.sql.ResultSet; import java.sql.SQLException; @@ -258,7 +259,7 @@ public class MiniTableImpl implements IMiniTable { } @Override - public Integer getSelectedRowKey() { + public T getSelectedRowKey() { int row = getSelectedRow(); // make common function @@ -270,7 +271,8 @@ public class MiniTableImpl implements IMiniTable { * @param index * @return */ - public Integer getRowKeyAt (int index){ + @SuppressWarnings("unchecked") + public T getRowKeyAt (int index){ if (index < 0 || m_keyColumnIndex < 0 || index >= model.size()) return null; @@ -283,7 +285,7 @@ public class MiniTableImpl implements IMiniTable { } if (data instanceof Integer) { - return (Integer)data; + return (T)data; } return null; } diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebService.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebService.java index 5c45ff01e1..3d687fe11e 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebService.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebService.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for WS_WebService * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_WS_WebService diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceFieldInput.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceFieldInput.java index b1219c7ad0..6f150e4a78 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceFieldInput.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceFieldInput.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for WS_WebServiceFieldInput * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_WS_WebServiceFieldInput diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceFieldOutput.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceFieldOutput.java index b40542ed5d..7e7f7de512 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceFieldOutput.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceFieldOutput.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for WS_WebServiceFieldOutput * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_WS_WebServiceFieldOutput diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceMethod.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceMethod.java index 091ac89cb5..f640551ea6 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceMethod.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceMethod.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for WS_WebServiceMethod * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_WS_WebServiceMethod diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceType.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceType.java index 6d764e9bcb..216ee06528 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceType.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceType.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for WS_WebServiceType * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_WS_WebServiceType diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceTypeAccess.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceTypeAccess.java index 2ec89c09c6..1ab7ec9c09 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceTypeAccess.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebServiceTypeAccess.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for WS_WebServiceTypeAccess * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_WS_WebServiceTypeAccess diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebService_Para.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebService_Para.java index 15a9ac8c4c..154bf0542c 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebService_Para.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/I_WS_WebService_Para.java @@ -23,7 +23,7 @@ import org.compiere.util.KeyNamePair; /** Generated Interface for WS_WebService_Para * @author iDempiere (generated) - * @version Release 10 + * @version Release 11 */ @SuppressWarnings("all") public interface I_WS_WebService_Para diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/MWebService.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/MWebService.java index abf8f88c0d..62b499f1d8 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/MWebService.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/MWebService.java @@ -200,6 +200,16 @@ public class MWebService extends X_WS_WebService implements ImmutablePOSupport /** Static Logger */ private static final CLogger s_log = CLogger.getCLogger (MWebService.class); + /** + * UUID based Constructor + * @param ctx Context + * @param WS_WebService_UU UUID key + * @param trxName Transaction + */ + public MWebService(Properties ctx, String WS_WebService_UU, String trxName) { + super(ctx, WS_WebService_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -209,12 +219,6 @@ public class MWebService extends X_WS_WebService implements ImmutablePOSupport public MWebService (Properties ctx, int WS_WebService_ID, String trxName) { super (ctx, WS_WebService_ID, trxName); - /** if (WS_WebService_ID == 0) - { - setName (null); - setValue (null); - setWS_WebService_ID (0); - } */ } // MWebService /** diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/MWebServiceMethod.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/MWebServiceMethod.java index c861f2449f..f3e3193a31 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/MWebServiceMethod.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/MWebServiceMethod.java @@ -43,6 +43,16 @@ public class MWebServiceMethod extends X_WS_WebServiceMethod implements Immutabl */ private static final long serialVersionUID = 6822623209157500849L; + /** + * UUID based Constructor + * @param ctx Context + * @param WS_WebServiceMethod_UU UUID key + * @param trxName Transaction + */ + public MWebServiceMethod(Properties ctx, String WS_WebServiceMethod_UU, String trxName) { + super(ctx, WS_WebServiceMethod_UU, trxName); + } + /** * @param ctx * @param WS_WebServiceMethod_ID diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/MWebServicePara.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/MWebServicePara.java index 1706366b4d..cd533b15d9 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/MWebServicePara.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/MWebServicePara.java @@ -47,6 +47,16 @@ public class MWebServicePara extends X_WS_WebService_Para */ private static final long serialVersionUID = 3561409141850981248L; + /** + * UUID based Constructor + * @param ctx Context + * @param WS_WebService_Para_UU UUID key + * @param trxName Transaction + */ + public MWebServicePara(Properties ctx, String WS_WebService_Para_UU, String trxName) { + super(ctx, WS_WebService_Para_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -56,12 +66,6 @@ public class MWebServicePara extends X_WS_WebService_Para public MWebServicePara (Properties ctx, int WS_WebService_Para_ID, String trxName) { super (ctx, WS_WebService_Para_ID, trxName); - /** if (WS_WebService_Para_ID == 0) - { - setName (null); - setValue (null); - WS_WebService_Para_ID (0); - } */ } // MWebServicePara /** diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/MWebServiceType.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/MWebServiceType.java index 38623c9f04..75457d270d 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/MWebServiceType.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/MWebServiceType.java @@ -217,6 +217,16 @@ public class MWebServiceType extends X_WS_WebServiceType implements ImmutablePOS @SuppressWarnings("unused") private static final CLogger s_log = CLogger.getCLogger (MWebServiceType.class); + /** + * UUID based Constructor + * @param ctx Context + * @param WS_WebServiceType_UU UUID key + * @param trxName Transaction + */ + public MWebServiceType(Properties ctx, String WS_WebServiceType_UU, String trxName) { + super(ctx, WS_WebServiceType_UU, trxName); + } + /************************************************************************** * Standard Constructor * @param ctx context @@ -226,14 +236,6 @@ public class MWebServiceType extends X_WS_WebServiceType implements ImmutablePOS public MWebServiceType (Properties ctx, int WS_WebServiceType_ID, String trxName) { super (ctx, WS_WebServiceType_ID, trxName); - /** if (WS_WebServiceType_ID == 0) - { - setName (null); - setValue (null); - setWS_WebService_ID (0); - setWS_WebServiceMethod_ID (0); - setWS_WebServiceType_ID (0); - } */ } // MWebServiceType /** diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebService.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebService.java index c80f5cbcd9..55a33426f8 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebService.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebService.java @@ -23,16 +23,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for WS_WebService - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="WS_WebService") -public class X_WS_WebService extends PO implements I_WS_WebService, I_Persistent +public class X_WS_WebService extends PO implements I_WS_WebService, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_WS_WebService (Properties ctx, int WS_WebService_ID, String trxName) @@ -58,6 +58,30 @@ public class X_WS_WebService extends PO implements I_WS_WebService, I_Persistent } */ } + /** Standard Constructor */ + public X_WS_WebService (Properties ctx, String WS_WebService_UU, String trxName) + { + super (ctx, WS_WebService_UU, trxName); + /** if (WS_WebService_UU == null) + { + setName (null); + setValue (null); + setWS_WebService_ID (0); + } */ + } + + /** Standard Constructor */ + public X_WS_WebService (Properties ctx, String WS_WebService_UU, String trxName, String ... virtualColumns) + { + super (ctx, WS_WebService_UU, trxName, virtualColumns); + /** if (WS_WebService_UU == null) + { + setName (null); + setValue (null); + setWS_WebService_ID (0); + } */ + } + /** Load Constructor */ public X_WS_WebService (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +89,7 @@ public class X_WS_WebService extends PO implements I_WS_WebService, I_Persistent } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -137,7 +161,7 @@ public class X_WS_WebService extends PO implements I_WS_WebService, I_Persistent /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceFieldInput.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceFieldInput.java index 8daff0a7a0..379a39b054 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceFieldInput.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceFieldInput.java @@ -23,16 +23,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for WS_WebServiceFieldInput - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="WS_WebServiceFieldInput") -public class X_WS_WebServiceFieldInput extends PO implements I_WS_WebServiceFieldInput, I_Persistent +public class X_WS_WebServiceFieldInput extends PO implements I_WS_WebServiceFieldInput, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_WS_WebServiceFieldInput (Properties ctx, int WS_WebServiceFieldInput_ID, String trxName) @@ -56,6 +56,28 @@ public class X_WS_WebServiceFieldInput extends PO implements I_WS_WebServiceFiel } */ } + /** Standard Constructor */ + public X_WS_WebServiceFieldInput (Properties ctx, String WS_WebServiceFieldInput_UU, String trxName) + { + super (ctx, WS_WebServiceFieldInput_UU, trxName); + /** if (WS_WebServiceFieldInput_UU == null) + { + setWS_WebServiceFieldInput_ID (0); + setWS_WebServiceType_ID (0); + } */ + } + + /** Standard Constructor */ + public X_WS_WebServiceFieldInput (Properties ctx, String WS_WebServiceFieldInput_UU, String trxName, String ... virtualColumns) + { + super (ctx, WS_WebServiceFieldInput_UU, trxName, virtualColumns); + /** if (WS_WebServiceFieldInput_UU == null) + { + setWS_WebServiceFieldInput_ID (0); + setWS_WebServiceType_ID (0); + } */ + } + /** Load Constructor */ public X_WS_WebServiceFieldInput (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +85,7 @@ public class X_WS_WebServiceFieldInput extends PO implements I_WS_WebServiceFiel } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -213,10 +235,10 @@ public class X_WS_WebServiceFieldInput extends PO implements I_WS_WebServiceFiel public boolean isIdentifier() { Object oo = get_Value(COLUMNNAME_IsIdentifier); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -236,10 +258,10 @@ public class X_WS_WebServiceFieldInput extends PO implements I_WS_WebServiceFiel public boolean isNullIdentifier() { Object oo = get_Value(COLUMNNAME_IsNullIdentifier); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; @@ -269,7 +291,7 @@ public class X_WS_WebServiceFieldInput extends PO implements I_WS_WebServiceFiel /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getWS_WebServiceFieldInput_ID())); } diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceFieldOutput.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceFieldOutput.java index a6ee405b71..0f47b89e43 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceFieldOutput.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceFieldOutput.java @@ -23,16 +23,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for WS_WebServiceFieldOutput - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="WS_WebServiceFieldOutput") -public class X_WS_WebServiceFieldOutput extends PO implements I_WS_WebServiceFieldOutput, I_Persistent +public class X_WS_WebServiceFieldOutput extends PO implements I_WS_WebServiceFieldOutput, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_WS_WebServiceFieldOutput (Properties ctx, int WS_WebServiceFieldOutput_ID, String trxName) @@ -56,6 +56,28 @@ public class X_WS_WebServiceFieldOutput extends PO implements I_WS_WebServiceFie } */ } + /** Standard Constructor */ + public X_WS_WebServiceFieldOutput (Properties ctx, String WS_WebServiceFieldOutput_UU, String trxName) + { + super (ctx, WS_WebServiceFieldOutput_UU, trxName); + /** if (WS_WebServiceFieldOutput_UU == null) + { + setWS_WebServiceFieldOutput_ID (0); + setWS_WebServiceType_ID (0); + } */ + } + + /** Standard Constructor */ + public X_WS_WebServiceFieldOutput (Properties ctx, String WS_WebServiceFieldOutput_UU, String trxName, String ... virtualColumns) + { + super (ctx, WS_WebServiceFieldOutput_UU, trxName, virtualColumns); + /** if (WS_WebServiceFieldOutput_UU == null) + { + setWS_WebServiceFieldOutput_ID (0); + setWS_WebServiceType_ID (0); + } */ + } + /** Load Constructor */ public X_WS_WebServiceFieldOutput (Properties ctx, ResultSet rs, String trxName) { @@ -63,7 +85,7 @@ public class X_WS_WebServiceFieldOutput extends PO implements I_WS_WebServiceFie } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -136,7 +158,7 @@ public class X_WS_WebServiceFieldOutput extends PO implements I_WS_WebServiceFie /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getWS_WebServiceFieldOutput_ID())); } diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceMethod.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceMethod.java index 6d8730094d..02ef9f8ddd 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceMethod.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceMethod.java @@ -23,16 +23,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for WS_WebServiceMethod - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="WS_WebServiceMethod") -public class X_WS_WebServiceMethod extends PO implements I_WS_WebServiceMethod, I_Persistent +public class X_WS_WebServiceMethod extends PO implements I_WS_WebServiceMethod, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_WS_WebServiceMethod (Properties ctx, int WS_WebServiceMethod_ID, String trxName) @@ -58,6 +58,30 @@ public class X_WS_WebServiceMethod extends PO implements I_WS_WebServiceMethod, } */ } + /** Standard Constructor */ + public X_WS_WebServiceMethod (Properties ctx, String WS_WebServiceMethod_UU, String trxName) + { + super (ctx, WS_WebServiceMethod_UU, trxName); + /** if (WS_WebServiceMethod_UU == null) + { + setName (null); + setValue (null); + setWS_WebServiceMethod_ID (0); + } */ + } + + /** Standard Constructor */ + public X_WS_WebServiceMethod (Properties ctx, String WS_WebServiceMethod_UU, String trxName, String ... virtualColumns) + { + super (ctx, WS_WebServiceMethod_UU, trxName, virtualColumns); + /** if (WS_WebServiceMethod_UU == null) + { + setName (null); + setValue (null); + setWS_WebServiceMethod_ID (0); + } */ + } + /** Load Constructor */ public X_WS_WebServiceMethod (Properties ctx, ResultSet rs, String trxName) { @@ -65,7 +89,7 @@ public class X_WS_WebServiceMethod extends PO implements I_WS_WebServiceMethod, } /** AccessLevel - * @return 4 - System + * @return 4 - System */ protected int get_AccessLevel() { @@ -180,7 +204,7 @@ public class X_WS_WebServiceMethod extends PO implements I_WS_WebServiceMethod, /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), String.valueOf(getWS_WebService_ID())); } diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceType.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceType.java index f27928a4c0..280469456d 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceType.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceType.java @@ -23,16 +23,16 @@ import org.compiere.model.*; import org.compiere.util.KeyNamePair; /** Generated Model for WS_WebServiceType - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="WS_WebServiceType") -public class X_WS_WebServiceType extends PO implements I_WS_WebServiceType, I_Persistent +public class X_WS_WebServiceType extends PO implements I_WS_WebServiceType, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_WS_WebServiceType (Properties ctx, int WS_WebServiceType_ID, String trxName) @@ -62,6 +62,34 @@ public class X_WS_WebServiceType extends PO implements I_WS_WebServiceType, I_Pe } */ } + /** Standard Constructor */ + public X_WS_WebServiceType (Properties ctx, String WS_WebServiceType_UU, String trxName) + { + super (ctx, WS_WebServiceType_UU, trxName); + /** if (WS_WebServiceType_UU == null) + { + setName (null); + setValue (null); + setWS_WebService_ID (0); + setWS_WebServiceMethod_ID (0); + setWS_WebServiceType_ID (0); + } */ + } + + /** Standard Constructor */ + public X_WS_WebServiceType (Properties ctx, String WS_WebServiceType_UU, String trxName, String ... virtualColumns) + { + super (ctx, WS_WebServiceType_UU, trxName, virtualColumns); + /** if (WS_WebServiceType_UU == null) + { + setName (null); + setValue (null); + setWS_WebService_ID (0); + setWS_WebServiceMethod_ID (0); + setWS_WebServiceType_ID (0); + } */ + } + /** Load Constructor */ public X_WS_WebServiceType (Properties ctx, ResultSet rs, String trxName) { @@ -69,7 +97,7 @@ public class X_WS_WebServiceType extends PO implements I_WS_WebServiceType, I_Pe } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -184,7 +212,7 @@ public class X_WS_WebServiceType extends PO implements I_WS_WebServiceType, I_Pe /** Get Record ID/ColumnName @return ID/ColumnName pair */ - public KeyNamePair getKeyNamePair() + public KeyNamePair getKeyNamePair() { return new KeyNamePair(get_ID(), getName()); } diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceTypeAccess.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceTypeAccess.java index 961a33b607..1cbb1d4c55 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceTypeAccess.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebServiceTypeAccess.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.model.*; /** Generated Model for WS_WebServiceTypeAccess - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="WS_WebServiceTypeAccess") -public class X_WS_WebServiceTypeAccess extends PO implements I_WS_WebServiceTypeAccess, I_Persistent +public class X_WS_WebServiceTypeAccess extends PO implements I_WS_WebServiceTypeAccess, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_WS_WebServiceTypeAccess (Properties ctx, int WS_WebServiceTypeAccess_ID, String trxName) @@ -59,6 +59,32 @@ public class X_WS_WebServiceTypeAccess extends PO implements I_WS_WebServiceType } */ } + /** Standard Constructor */ + public X_WS_WebServiceTypeAccess (Properties ctx, String WS_WebServiceTypeAccess_UU, String trxName) + { + super (ctx, WS_WebServiceTypeAccess_UU, trxName); + /** if (WS_WebServiceTypeAccess_UU == null) + { + setAD_Role_ID (0); + setIsReadWrite (true); +// Y + setWS_WebServiceType_ID (0); + } */ + } + + /** Standard Constructor */ + public X_WS_WebServiceTypeAccess (Properties ctx, String WS_WebServiceTypeAccess_UU, String trxName, String ... virtualColumns) + { + super (ctx, WS_WebServiceTypeAccess_UU, trxName, virtualColumns); + /** if (WS_WebServiceTypeAccess_UU == null) + { + setAD_Role_ID (0); + setIsReadWrite (true); +// Y + setWS_WebServiceType_ID (0); + } */ + } + /** Load Constructor */ public X_WS_WebServiceTypeAccess (Properties ctx, ResultSet rs, String trxName) { @@ -66,7 +92,7 @@ public class X_WS_WebServiceTypeAccess extends PO implements I_WS_WebServiceType } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -83,7 +109,7 @@ public class X_WS_WebServiceTypeAccess extends PO implements I_WS_WebServiceType public String toString() { StringBuilder sb = new StringBuilder ("X_WS_WebServiceTypeAccess[") - .append(get_ID()).append("]"); + .append(get_UUID()).append("]"); return sb.toString(); } @@ -129,10 +155,10 @@ public class X_WS_WebServiceTypeAccess extends PO implements I_WS_WebServiceType public boolean isReadWrite() { Object oo = get_Value(COLUMNNAME_IsReadWrite); - if (oo != null) + if (oo != null) { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); return "Y".equals(oo); } return false; diff --git a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebService_Para.java b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebService_Para.java index c536972a6b..81df659eb6 100644 --- a/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebService_Para.java +++ b/org.idempiere.webservices/WEB-INF/src/org/idempiere/webservices/model/X_WS_WebService_Para.java @@ -22,16 +22,16 @@ import java.util.Properties; import org.compiere.model.*; /** Generated Model for WS_WebService_Para - * @author iDempiere (generated) - * @version Release 10 - $Id$ */ + * @author iDempiere (generated) + * @version Release 11 - $Id$ */ @org.adempiere.base.Model(table="WS_WebService_Para") -public class X_WS_WebService_Para extends PO implements I_WS_WebService_Para, I_Persistent +public class X_WS_WebService_Para extends PO implements I_WS_WebService_Para, I_Persistent { /** * */ - private static final long serialVersionUID = 20221224L; + private static final long serialVersionUID = 20230409L; /** Standard Constructor */ public X_WS_WebService_Para (Properties ctx, int WS_WebService_Para_ID, String trxName) @@ -57,6 +57,30 @@ public class X_WS_WebService_Para extends PO implements I_WS_WebService_Para, I_ } */ } + /** Standard Constructor */ + public X_WS_WebService_Para (Properties ctx, String WS_WebService_Para_UU, String trxName) + { + super (ctx, WS_WebService_Para_UU, trxName); + /** if (WS_WebService_Para_UU == null) + { + setParameterType (null); + setWS_WebService_Para_ID (0); + setWS_WebServiceType_ID (0); + } */ + } + + /** Standard Constructor */ + public X_WS_WebService_Para (Properties ctx, String WS_WebService_Para_UU, String trxName, String ... virtualColumns) + { + super (ctx, WS_WebService_Para_UU, trxName, virtualColumns); + /** if (WS_WebService_Para_UU == null) + { + setParameterType (null); + setWS_WebService_Para_ID (0); + setWS_WebServiceType_ID (0); + } */ + } + /** Load Constructor */ public X_WS_WebService_Para (Properties ctx, ResultSet rs, String trxName) { @@ -64,7 +88,7 @@ public class X_WS_WebService_Para extends PO implements I_WS_WebService_Para, I_ } /** AccessLevel - * @return 6 - System - Client + * @return 6 - System - Client */ protected int get_AccessLevel() {