diff --git a/andromedia.midsuit.feature/feature.xml b/andromedia.midsuit.feature/feature.xml
index 2cc5415..e3d9254 100644
--- a/andromedia.midsuit.feature/feature.xml
+++ b/andromedia.midsuit.feature/feature.xml
@@ -1,26 +1,26 @@
-
-
-
-
- [Enter Feature Description here.]
-
-
-
- [Enter Copyright Description here.]
-
-
-
- [Enter License Description here.]
-
-
-
-
-
+
+
+
+
+ [Enter Feature Description here.]
+
+
+
+ [Enter Copyright Description here.]
+
+
+
+ [Enter License Description here.]
+
+
+
+
+
diff --git a/andromeida.midsuit.project/.classpath b/andromeida.midsuit.project/.classpath
index eca7bdb..f2ff597 100644
--- a/andromeida.midsuit.project/.classpath
+++ b/andromeida.midsuit.project/.classpath
@@ -1,7 +1,15 @@
+
+
+
+
+
+
+
+
diff --git a/andromeida.midsuit.project/META-INF/MANIFEST.MF b/andromeida.midsuit.project/META-INF/MANIFEST.MF
index c7151e4..e14947c 100644
--- a/andromeida.midsuit.project/META-INF/MANIFEST.MF
+++ b/andromeida.midsuit.project/META-INF/MANIFEST.MF
@@ -11,7 +11,8 @@ Require-Bundle: org.adempiere.base;bundle-version="5.1.0",
zcommon;bundle-version="8.0.2",
zul;bundle-version="8.0.2",
org.adempiere.ui.zk,
- org.adempiere.ui;bundle-version="5.1.0"
+ org.adempiere.ui;bundle-version="5.1.0",
+ org.apache.poi
Bundle-ActivationPolicy: lazy
Service-Component: OSGI-INF/MID_ProcessFactory.xml,OSGI-INF/MID_ModelFactory.xml,OSGI-INF/MID_CalloutFactory.xml,OSGI-INF/MID_ValidatorFactory.xml,OSGI-INF/MID_CreateFromFactory.xml,OSGI-INF/MID_FormFactory.xml,
OSGI-INF/MID_DocFactory.xml
@@ -20,3 +21,12 @@ Import-Package: org.compiere.apps,
org.compiere.minigrid,
org.compiere.process
Bundle-Activator: org.adempiere.plugin.utils.AdempiereActivator
+Bundle-ClassPath: META-INF/poi-ooxml-3.9.jar,
+ .,
+ META-INF/ucanaccess-4.0.4.jar,
+ META-INF/jackcess-2.2.0.jar,
+ META-INF/hsqldb.jar,
+ META-INF/org-apache-commons-logging.jar,
+ META-INF/jackcess-encrypt-2.1.4.jar,
+ META-INF/bcprov-ext-jdk15on-160.jar,
+ META-INF/apache-commons-lang.jar
diff --git a/andromeida.midsuit.project/build.properties b/andromeida.midsuit.project/build.properties
index 43bce03..4799ec8 100644
--- a/andromeida.midsuit.project/build.properties
+++ b/andromeida.midsuit.project/build.properties
@@ -1,11 +1,18 @@
output.. = bin/
-bin.includes = META-INF/,\
- .,\
+bin.includes = .,\
OSGI-INF/MID_ProcessFactory.xml,\
OSGI-INF/MID_ModelFactory.xml,\
OSGI-INF/MID_CalloutFactory.xml,\
OSGI-INF/MID_ValidatorFactory.xml,\
OSGI-INF/MID_CreateFromFactory.xml,\
OSGI-INF/MID_FormFactory.xml,\
- OSGI-INF/MID_DocFactory.xml
+ OSGI-INF/MID_DocFactory.xml,\
+ META-INF/poi-ooxml-3.9.jar,\
+ META-INF/ucanaccess-4.0.4.jar,\
+ META-INF/jackcess-2.2.0.jar,\
+ META-INF/hsqldb.jar,\
+ META-INF/org-apache-commons-logging.jar,\
+ META-INF/jackcess-encrypt-2.1.4.jar,\
+ META-INF/bcprov-ext-jdk15on-160.jar,\
+ META-INF/apache-commons-lang.jar
source.. = src/
diff --git a/andromeida.midsuit.project/src/andromedia/midsuit/callout/MID_CalloutOrderLineMA.java b/andromeida.midsuit.project/src/andromedia/midsuit/callout/MID_CalloutOrderLineMA.java
index 9632dfb..7ee9cb1 100644
--- a/andromeida.midsuit.project/src/andromedia/midsuit/callout/MID_CalloutOrderLineMA.java
+++ b/andromeida.midsuit.project/src/andromedia/midsuit/callout/MID_CalloutOrderLineMA.java
@@ -1,39 +1,39 @@
-//package andromedia.midsuit.callout;
-//
-//import java.sql.Timestamp;
-//import java.util.Properties;
-//
-//import org.adempiere.base.IColumnCallout;
-//import org.compiere.model.CalloutEngine;
-//import org.compiere.model.GridField;
-//import org.compiere.model.GridTab;
-//import org.compiere.model.MOrder;
-//import org.compiere.model.MPriceList;
-//import org.compiere.model.Query;
-//import org.compiere.util.DB;
-//import org.compiere.util.Env;
-//
-//import andromedia.midsuit.model.X_C_OrderLineMA;
-//
-//public class MID_CalloutOrderLineMA extends CalloutEngine implements IColumnCallout {
-//
-// @Override
-// public String start(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue) {
-// // TODO Auto-generated method stub
-// if(value == null) return null;
-// if(mField.getColumnName().equals(X_C_OrderLineMA.COLUMNNAME_M_AttributeSetInstance_ID)) {
-// return setDateMaterialPolicy(ctx, WindowNo, mTab, mField, value, oldValue);
-// }
-// return null;
-// }
-//
-// private String setDateMaterialPolicy(Properties ctx, int windowNo, GridTab mTab, GridField mField, Object value,
-// Object oldValue) {
-// if(value==null) return "";
-// Timestamp retValue = DB.getSQLValueTSEx(null, "SELECT DateMaterialPolicy FROM M_Storage WHERE M_AttributeSetInstance_ID =? ", new Object[] { (int)value });
-// if(retValue!=null)
-// mTab.setValue(X_C_OrderLineMA.COLUMNNAME_DateMaterialPolicy, retValue);
-// return "";
-// }
-//
-//}
+package andromedia.midsuit.callout;
+
+import java.sql.Timestamp;
+import java.util.Properties;
+
+import org.adempiere.base.IColumnCallout;
+import org.compiere.model.CalloutEngine;
+import org.compiere.model.GridField;
+import org.compiere.model.GridTab;
+import org.compiere.model.MOrder;
+import org.compiere.model.MPriceList;
+import org.compiere.model.Query;
+import org.compiere.util.DB;
+import org.compiere.util.Env;
+
+import andromedia.midsuit.model.X_C_OrderLineMA;
+
+public class MID_CalloutOrderLineMA extends CalloutEngine implements IColumnCallout {
+
+ @Override
+ public String start(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value, Object oldValue) {
+ // TODO Auto-generated method stub
+ if(value == null) return null;
+ if(mField.getColumnName().equals(X_C_OrderLineMA.COLUMNNAME_M_AttributeSetInstance_ID)) {
+ return setDateMaterialPolicy(ctx, WindowNo, mTab, mField, value, oldValue);
+ }
+ return null;
+ }
+
+ private String setDateMaterialPolicy(Properties ctx, int windowNo, GridTab mTab, GridField mField, Object value,
+ Object oldValue) {
+ if(value==null) return "";
+ Timestamp retValue = DB.getSQLValueTSEx(null, "SELECT DateMaterialPolicy FROM M_Storage WHERE M_AttributeSetInstance_ID =? ", new Object[] { (int)value });
+ if(retValue!=null)
+ mTab.setValue(X_C_OrderLineMA.COLUMNNAME_DateMaterialPolicy, retValue);
+ return "";
+ }
+
+}