From e44bce99af29eee137d7119d361b6718d501ab54 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Wed, 1 Jul 2009 12:52:40 +0000 Subject: [PATCH] MPPProductPlanning.getS_Resource - override to implement caching support (optimization) --- base/src/org/eevolution/model/MPPProductPlanning.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/base/src/org/eevolution/model/MPPProductPlanning.java b/base/src/org/eevolution/model/MPPProductPlanning.java index e9d618ca15..1ce0597274 100644 --- a/base/src/org/eevolution/model/MPPProductPlanning.java +++ b/base/src/org/eevolution/model/MPPProductPlanning.java @@ -222,6 +222,14 @@ public class MPPProductPlanning extends X_PP_Product_Planning return MWorkflow.get(getCtx(), getAD_Workflow_ID()); } + @Override + public MResource getS_Resource() + { + return MResource.get(getCtx(), getS_Resource_ID()); + } + + + private int m_C_BPartner_ID = 0; /**