Related to Issue 28238: Clear Goods Shipment Lines when changing Goods Shipment.
authorUnai Martirena <unai.martirena@openbravo.com>
Thu, 04 Dec 2014 16:58:28 +0100
changeset 25492 107d831cf383
parent 25491 a363c29aeee3
child 25493 1f26de8763c0
Related to Issue 28238: Clear Goods Shipment Lines when changing Goods Shipment.

A callout has been implemented in Goods Shipment field.
src-db/database/sourcedata/AD_CALLOUT.xml
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_MODEL_OBJECT.xml
src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
src/org/openbravo/erpCommon/ad_callouts/SL_LandedCost_Receipt.java
--- a/src-db/database/sourcedata/AD_CALLOUT.xml	Thu Dec 04 13:09:42 2014 +0100
+++ b/src-db/database/sourcedata/AD_CALLOUT.xml	Thu Dec 04 16:58:28 2014 +0100
@@ -997,6 +997,15 @@
 <!--6C7A1DC738044D2880CF60856508FC81-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--6C7A1DC738044D2880CF60856508FC81--></AD_CALLOUT>
 
+<!--6D1C09018D30444EB4F04E724A8D252A--><AD_CALLOUT>
+<!--6D1C09018D30444EB4F04E724A8D252A-->  <AD_CALLOUT_ID><![CDATA[6D1C09018D30444EB4F04E724A8D252A]]></AD_CALLOUT_ID>
+<!--6D1C09018D30444EB4F04E724A8D252A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--6D1C09018D30444EB4F04E724A8D252A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--6D1C09018D30444EB4F04E724A8D252A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--6D1C09018D30444EB4F04E724A8D252A-->  <NAME><![CDATA[SL_LandedCost_Receipt]]></NAME>
+<!--6D1C09018D30444EB4F04E724A8D252A-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--6D1C09018D30444EB4F04E724A8D252A--></AD_CALLOUT>
+
 <!--6D209ED20216469B826243233BD68A6A--><AD_CALLOUT>
 <!--6D209ED20216469B826243233BD68A6A-->  <AD_CALLOUT_ID><![CDATA[6D209ED20216469B826243233BD68A6A]]></AD_CALLOUT_ID>
 <!--6D209ED20216469B826243233BD68A6A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_COLUMN.xml	Thu Dec 04 13:09:42 2014 +0100
+++ b/src-db/database/sourcedata/AD_COLUMN.xml	Thu Dec 04 16:58:28 2014 +0100
@@ -222799,6 +222799,7 @@
 <!--00E37E26A3AB0E3BE050007F010076CF-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
 <!--00E37E26A3AB0E3BE050007F010076CF-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
 <!--00E37E26A3AB0E3BE050007F010076CF-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <AD_CALLOUT_ID><![CDATA[6D1C09018D30444EB4F04E724A8D252A]]></AD_CALLOUT_ID>
 <!--00E37E26A3AB0E3BE050007F010076CF-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--00E37E26A3AB0E3BE050007F010076CF-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--00E37E26A3AB0E3BE050007F010076CF-->  <POSITION><![CDATA[11]]></POSITION>
--- a/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Thu Dec 04 13:09:42 2014 +0100
+++ b/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Thu Dec 04 16:58:28 2014 +0100
@@ -4013,6 +4013,18 @@
 <!--7E8D14B5264B3E6CE040007F01010D94-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
 <!--7E8D14B5264B3E6CE040007F01010D94--></AD_MODEL_OBJECT>
 
+<!--7FBEDB7A3B4B4A1BA6C2294AF4AEE704--><AD_MODEL_OBJECT>
+<!--7FBEDB7A3B4B4A1BA6C2294AF4AEE704-->  <AD_MODEL_OBJECT_ID><![CDATA[7FBEDB7A3B4B4A1BA6C2294AF4AEE704]]></AD_MODEL_OBJECT_ID>
+<!--7FBEDB7A3B4B4A1BA6C2294AF4AEE704-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--7FBEDB7A3B4B4A1BA6C2294AF4AEE704-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--7FBEDB7A3B4B4A1BA6C2294AF4AEE704-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--7FBEDB7A3B4B4A1BA6C2294AF4AEE704-->  <ACTION><![CDATA[C]]></ACTION>
+<!--7FBEDB7A3B4B4A1BA6C2294AF4AEE704-->  <CLASSNAME><![CDATA[org.openbravo.erpCommon.ad_callouts.SL_LandedCost_Receipt]]></CLASSNAME>
+<!--7FBEDB7A3B4B4A1BA6C2294AF4AEE704-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
+<!--7FBEDB7A3B4B4A1BA6C2294AF4AEE704-->  <AD_CALLOUT_ID><![CDATA[6D1C09018D30444EB4F04E724A8D252A]]></AD_CALLOUT_ID>
+<!--7FBEDB7A3B4B4A1BA6C2294AF4AEE704-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
+<!--7FBEDB7A3B4B4A1BA6C2294AF4AEE704--></AD_MODEL_OBJECT>
+
 <!--83A12B7DAABDAB88E040007F01017CB8--><AD_MODEL_OBJECT>
 <!--83A12B7DAABDAB88E040007F01017CB8-->  <AD_MODEL_OBJECT_ID><![CDATA[83A12B7DAABDAB88E040007F01017CB8]]></AD_MODEL_OBJECT_ID>
 <!--83A12B7DAABDAB88E040007F01017CB8-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml	Thu Dec 04 13:09:42 2014 +0100
+++ b/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml	Thu Dec 04 16:58:28 2014 +0100
@@ -4340,6 +4340,16 @@
 <!--ACF55029BBC7476AA1EB6C502EDE5BA9-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
 <!--ACF55029BBC7476AA1EB6C502EDE5BA9--></AD_MODEL_OBJECT_MAPPING>
 
+<!--AEDDFFD4924046D0BCB219DDDF5ECE40--><AD_MODEL_OBJECT_MAPPING>
+<!--AEDDFFD4924046D0BCB219DDDF5ECE40-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[AEDDFFD4924046D0BCB219DDDF5ECE40]]></AD_MODEL_OBJECT_MAPPING_ID>
+<!--AEDDFFD4924046D0BCB219DDDF5ECE40-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--AEDDFFD4924046D0BCB219DDDF5ECE40-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--AEDDFFD4924046D0BCB219DDDF5ECE40-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--AEDDFFD4924046D0BCB219DDDF5ECE40-->  <AD_MODEL_OBJECT_ID><![CDATA[7FBEDB7A3B4B4A1BA6C2294AF4AEE704]]></AD_MODEL_OBJECT_ID>
+<!--AEDDFFD4924046D0BCB219DDDF5ECE40-->  <MAPPINGNAME><![CDATA[/ad_callouts/SL_LandedCost_Receipt.html]]></MAPPINGNAME>
+<!--AEDDFFD4924046D0BCB219DDDF5ECE40-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
+<!--AEDDFFD4924046D0BCB219DDDF5ECE40--></AD_MODEL_OBJECT_MAPPING>
+
 <!--AFEFA3ECE5E543C8BFCB049F0208577F--><AD_MODEL_OBJECT_MAPPING>
 <!--AFEFA3ECE5E543C8BFCB049F0208577F-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[AFEFA3ECE5E543C8BFCB049F0208577F]]></AD_MODEL_OBJECT_MAPPING_ID>
 <!--AFEFA3ECE5E543C8BFCB049F0208577F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_LandedCost_Receipt.java	Thu Dec 04 16:58:28 2014 +0100
@@ -0,0 +1,31 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2014 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+package org.openbravo.erpCommon.ad_callouts;
+
+import javax.servlet.ServletException;
+
+public class SL_LandedCost_Receipt extends SimpleCallout {
+
+  private static final long serialVersionUID = 1L;
+
+  @Override
+  protected void execute(CalloutInfo info) throws ServletException {
+    info.addResult("inpmInoutlineId", "");
+  }
+}